13-36 13. OMRON
Indirect Device Memory Designation
For bit designation, an expansion code setting is required.
00H: when designating bit 0 to 15
01H: when designating bit 16 to 31
PLC_CTL
Macro command “PLC_CTL F0 F1 F2”
15 8 7 0
n + 0 Model (91 to 98) Device type
n + 1 Address No.
n + 2 Expansion code Bit designation
n + 3 00 Station number
Contents F0 F1 (= $u n) F2
Read controller status
1 - 8
(PLC1 - 8)
n Station number
2
n + 1 Command: 0006H
n + 2
Status
n + 3
Relevant information
Operation instructions
1 - 8
(PLC1 - 8)
n
Station number
*1
3
n + 1 Command: 0030H
n + 2
Communication writing
0000H: Communication writing OFF (disabled)
0001H: Communication writing ON (enabled)
Control start/stop
0100H: Channel 1 RUN
0101H: Channel 1 STOP
0110H: Channel 2 RUN
0111H: Channel 2 STOP
0120H: Channel 3 RUN
0121H: Channel 3 STOP
0130H: Channel 4 RUN
0131H: Channel 4 STOP
01F0H: All channels Run
01F1H: All channels Stop
Bank selection
0200 to 0207H: Channel 1 Bank Nos. 0 to 7
0210 to 0217H: Channel 2 Bank Nos. 0 to 7
0220 to 0227H: Channel 3 Bank Nos. 0 to 7
0230 to 0237H: Channel 4 Bank Nos. 0 to 7
02F0 to 02F7H: All channels Bank Nos. 0 to 7
AT execution
0300H: Channel 1 PID group number currently selected
0301 to 0308H: Channel 1 PID group Nos. 1 to 8 designation
0310H: Channel 2 PID group number currently selected
0311 to 0318H: Channel 2 PID group Nos. 1 to 8 designation
0320H: Channel 3 PID group number currently selected
0321 to 0328H: Channel 3 PID group Nos. 1 to 8 designation
0330H: Channel 4 PID group number currently selected
0331 to 0338H: Channel 4 PID group Nos. 1 to 8 designation
03F0H: All channels PID group number currently selected
03F1 to 03F8H: All channels PID group Nos. 1 to 8 designation