8
- 55
8.3 Using Link Special Relay (SB) and Link Special Register (SW)
8
PROGRAMMING
(b) RECV instruction
1) When data are stored in the own station channel area, the corresponding
RECV execution request flag (SB0030 to SB0037) turns ON.
Use a RECV execution request flag as a start contact to execute the RECV
instruction.
Upon completion of the RECV instruction, the RECV execution request flag
turns OFF.
2) Create an interlock with Baton pass status (own station) (SB0047) before
executing the instruction.
(c) ZNRD/ZNWR instruction
1) Create an interlock with the following link special relay (SB) and link special
register (SW) before executing an instruction.
• Baton pass status (own station) (SB0047)
• Baton pass status of each station (SB00A0) (When all stations are
specified)
• Baton pass status of each station (SB00A0 to SW00A7)
2) If the ZNRD instruction failed, an error code is stored in ZNRD processing
result (SW0030).
Check the error and take corrective actions according to the error code.
(
3) If the ZNWR instruction failed, an error code is stored in ZNWR processing
result (SW0031).
Check the error and take corrective actions according to the error code.
(
Table 8.39 SB used for RECV instruction
No.
Description
No.
Description
SB0030
RECV execution request flag (1)
—
SB0031
RECV execution request flag (2)
SB0032
RECV execution request flag (3)
SB0033
RECV execution request flag (4)
SB0034
RECV execution request flag (5)
SB0035
RECV execution request flag (6)
SB0036
RECV execution request flag (7)
SB0037
RECV execution request flag (8)
SB0047
Baton pass status (own station)
Table 8.40 SB/SW used for ZNRD/ZNWR instruction
No.
Description
No.
Description
SB0047
Baton pass status (own station)
—
—
SW0030
ZNRD instruction processing result
SW0031
ZNWR instruction processing result
SB00A0
Baton pass status of each station
SW00A0 to
SW00A7
Baton pass status of each station
Содержание QJ71GP21-SX
Страница 1: ......
Страница 2: ......
Страница 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Страница 649: ......
Страница 650: ......