Omron CJ - 09-2009 Operation Manual page 647

Programmable controllers
Table of Contents

Advertisement

Auxiliary Area
Address
Name
Words
Bits
A200
A20011 First Cycle
Flag
A20012 Step Flag
A20014 Task Started
Flag
A20015 First Task
Startup Flag
A201
A20110 Online Editing
Wait Flag
A20111 Online Editing
Flag
A202
A20200
Communica-
to
tions Port
A20207
Enabled Flags
A20215 Network Com-
munications
Port Alloca-
tion Enabled
Flag
Function
ON for one cycle after PLC operation begins (after
the mode is switched from PROGRAM to RUN or
MONITOR, for example).
ON for the first cycle
ON for one cycle when step execution is started with
STEP(008). This flag can be used for initialization
processing at the beginning of a step.
ON for the first cycle after execution of STEP(008).
When a task switches from WAIT or INI to RUN sta-
tus, this flag will be turned ON within the task for one
cycle only.
1: ON for first cycle (including transitions from WAIT
and IN)
0: Other
The only difference between this flag and A20015 is
that this flag also turns ON when the task switches
from WAIT to RUN status.
ON when a task is executed for the first time. This
flag can be used to check whether the current task is
being executed for the first time so that initialization
processing can be performed if necessary.
1: First execution
0: Not executable for the first time or not being exe-
cuted.
ON when an online editing process is waiting.
1: Waiting for online editing
0: Not waiting for online editing
(If another online editing command is received while
waiting, the other command won't be recorded and
an error will occur.)
ON when an online editing process is being exe-
cuted.
1: Online editing in progress
0: Online editing not in progress
ON when a network instruction (SEND, RECV,
CMND, PMCR, TXDU, or RXDU) or background exe-
cution (CJ1-H and CJ1M CPU Units only) can be
executed with the corresponding port number. Bits
00 to 07 correspond to communications ports 0 to 7.
1: Network instruction is not being executed
0: Network instruction is being executed (port busy)
When two or more network instructions are pro-
grammed with the same port number, use the corre-
sponding flag as an execution condition to prevent
the instructions from being executed simultaneously.
(The flag for a given port is turned OFF while a net-
work instruction with that port number is being exe-
cuted.)
(When the simple backup operation is used to per-
formed a write or compare operation for a Memory
Card on a CJ1-H or CJ1M CPU Unit, a communica-
tions port will be automatically allocated, and the cor-
responding Flag will be turned OFF.)
ON when there is a communications port available
for automatic allocation when executing communica-
tions instructions (SEND, RECV, CMND, PMCR,
TXDU, or RXDU).
1: Communications port available
0: Communications port not available
Note: Use this flag to confirm whether a communica-
tions port is available for automatic allocation before
executing communications instructions when using 9
or more communications instructions simultaneously.
Appendix C
Status
Status
Write timing/
after
at star-
Related flags,
mode
tup
settings
change
---
---
---
Cleared
---
---
Cleared
Cleared
Not supported by
CJ1@-CPU@@ CPU
Units
Cleared
---
---
Cleared
Cleared
A527
Cleared
Cleared
A527
Cleared
---
---
Cleared
---
---
599

Advertisement

Table of Contents
loading

Table of Contents