4
- 22
4.1 Cyclic Transmission Function
4.1.5 Assurance of cyclic data integrity
4
FUNCTIONS
(3) Interlock program
When handling cyclic data of more than 32 bits, interlock the data in the link relay
(LB).
Handshake using link relay (LB) data can prevent data separation of the link register
(LW). The figure below shows a program example in which data in W0 to W2 of
station No.1 are sent to W0 to W2 of station No.2.
Handshake is performed by setting B0 to ON upon completion of storing send data.
1) The send request turns ON.
2) The contents of D0 to D2 are stored in W0 to W2.
3) Upon completion of storage in W0 to W2, B0 for handshaking turns ON.
4) By cyclic transmission, link relay (LB) data are sent after link register (LW) data
transmission, which turns ON B0 of the receiving station.
5) The contents of W0 to W2 are stored in D100 to D102.
6) Upon completion of storage in D100 to D102, B100 for handshaking turns ON.
7) When the data are sent to the receiving station, B0 turns OFF.
Figure 4.29 Interlock program
Cyclic transmission
Link refresh
Control station
No.1
Normal station
No.2
Send
request
SET B0
Station
No.1
Station
No.1
Station
No.2
Station
No.2
Station
No.1
Station
No.2
Station
No.1
Station
No.2
Station
No.1
Station
No.2
Station
No.1
Station
No.2
Station
No.1
Station
No.2
Station
No.1
Station
No.2
B0
LB0
LB0
LW0
LW0
LW100
LW100
LB100
B0
W0
W100
W0
W100
B100
B100
LB100
CPU module
CPU module
CC-Link IE
controller network
module
CC-Link IE
controller network
module
Sending station
Receiving station
Send data (W)
Receive data (W)
B0
Sending station (No.1)
1)
2)
3)
7)
6)
Receiving station (No.2)
4)
5)
Содержание QJ71GP21-SX
Страница 1: ......
Страница 2: ......
Страница 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Страница 649: ......
Страница 650: ......