![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498168.webp)
4 Using Protocol Macros
4-32
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
The information shown in the following table is input from the Unit to the Protocol Status Words in
the CPU Unit.
4-2-6
Protocol Status
Device variable for CJ-series Unit
Type
R/W
Name
Function
Port 1
Port 2
*_P1_PmrSta
*_P2_PmrSta
WORD
R
Protocol Macro
Operating Sta-
tus
Bit 15: Protocol Macro
Executing Flag
Bit 14: Step End Error
Bit 13: Abort Flag
Bit 12: Tracing Flag
Bit 11: Sequence End
Completion Flag
Bit 10: Sequence Abort
Completion Flag
Bit 09: Sequence Wait
Flag
Bit 08: Serial Gateway
Prohibited Flag (protocol
macros)
Bits 00 to 03: Protocol
Macro Error Code
*_P1_PmrExecSta
*_P2_PmrExecSta
BOOL
R
Protocol Macro
Executing Flag
This flag changes to
TRUE when a ExecP-
MCR instruction
(sequence) is executed.
The flag remains FALSE
when execution fails.
When the sequence is
completed and receive
data is written, the flag is
changed to FALSE after
all the receive data is writ-
ten to I/O memory.
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).
*_P1_PmrStepErr
*_P2_PmrStepErr
BOOL
R
Step End Error
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 abnor-
mally
FALSE: Step ended nor-
mally
Содержание 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...