![background image](http://html1.mh-extra.com/html/omron/cj1w-scu22/cj1w-scu22_operation-manual_742498185.webp)
4-49
4 Using Protocol Macros
CJ-series Serial Communications Units Operation Manual for NJ-series CPU Unit(W494)
4-3 Usin
g Pr
otoco
l Macr
o
s
4
4-3-2 U
s
er Prog
ram Example
Device variables for CJ-series Unit (To be created on the I/O Map View
window after the unit configuration is created)
Name
Data
type
Factory
setting
Allocated
address (AT)
Comments
Details
SCU_P1_PmrExecSt
a
BOOL
---
IOBus://rack#0/slo
t#0/P1_PmrSta/P
1
_PmrExecSta
Port 1:
Protocol
Macro Exe-
cuting Flag
This flag becomes TRUE
when a ExecPMCR
instruction (sequence) is
executed.
This flag becomes
FALSE when the
sequence is completed
for the next process or for
an error process with an
Abort command.
SCU_P1_PmrSeqEn
dSta
BOOL
---
IOBus://rack#0/slo
t#0/P1_PmrSta/P
1
_PmrSeqEndSta
Port 1:
Sequence
End Com-
pletion Flag
The flag becomes TRUE
when a sequence is com-
pleted for the next pro-
cess or by an error
processing End com-
mand.
SCU_P1_PmrSeqAbt
Sta
BOOL
---
IOBus://rack#0/slo
t#0/P1_PmrSta/P
1
_PmrSeqAbtSta
Port 1:
Sequence
Abort Com-
pletion Flag
The flag becomes TRUE
when a sequence is
ended for the next pro-
cess or for an error pro-
cessing with an Abort
command.