
4 Using Protocol Macros
4-36
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
z
Protocol Status Area Descriptions
Name
Device variable for
CJ-series Unit
Meaning
Timing
Initialize
Set
Reset
Protocol
Macro Exe-
cuting Flag
*_P1_PmrExecSta
*_P2_PmrExecSta
This flag is changed to TRUE when a ExecP-
MCR instruction (sequence) is executed. The
flag remains FALSE when execution fails.
When the sequence is completed and the
receive data is written, the flag is changed to
FALSE after all the receive data is written to
the memory used for CJ-series Unit.
This flag is changed to FALSE when the
sequence is completed (either when it is ended
by End, or when it is ended by Abort).
Note
When the scan response notification
method is set for the sequence, first a
check is made to see if the received data
was written to the memory used for CJ-
series Unit before the Protocol Macro
Executing Flag is changed to FALSE.
Controller
reset (*)
When
instruc-
tion is
executing
When
instruc-
tion exe-
cution is
completed
Step End
Error
*_P1_PmrStepErr
*_P2_PmrStepErr
This flag is changed to TRUE when a step
ended abnormally. It remains FALSE if the step
ends normally as a result of a retry.
TRUE: Step ended abnormally
FALSE: Step ended normally
When ver-
ification
error
occurs
after
receiving
When
sequence
starts
Abort Flag
*_P1_PmrAbtSta
*_P2_PmrAbtSta
This flag is changed to FALSE when process-
ing is ended by using the Abort Switch from the
user program. When the Abort Switch is
changed to TRUE at the end of a sequence,
the sequence may end with either End or Abort
status.
When a
forced
abort
occurs
When
sequence
starts
Tracing Flag
*_P1_PmrTracingSta
*_P2_PmrTracingSta
This flag is changed to TRUE while time-series
data for send and receive messages is traced
with an instruction from the CX-Protocol.
When
trace
begins
When
sequence
starts, and
when
trace
ends.
Sequence
End Com-
pletion Flag
*_P1_PmrSeqEndSt
a
*_P2_PmrSeqEndSt
a
This flag is changed to TRUE when a
sequence is completed for the next process or
for an error process with an End command.
When a sequence ends normally, setting End
(Abort when the sequence ends abnormally)
enables this flag to be used to determine
whether or not the sequence execution ended
normally.
TRUE: Sequence ended
FALSE: Sequence not ended
When
sequence
ends.
When
sequence
starts
Sequence
Abort Com-
pletion Flag
*_P1_PmrSeqAbtSta
*_P2_PmrSeqAbtSta
This flag is changed to TRUE when a
sequence is ended for the next process or for
an error processing with an Abort command.
TRUE: Sequence aborted
FALSE: Sequence not aborted
When
sequence
aborts
When
sequence
starts
Содержание CJ1W-SCU22
Страница 192: ...4 Using Protocol Macros 4 56 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 250: ...6 No protocol Mode 6 22 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 460: ...A Standard System Protocol R 126 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494...
Страница 473: ...Index 1 CJ series Serial Communications Units Operation Manual for NJ series CPU Unit W494 I Index...