APPENDICES APPENDIX
Appendix 7 When Connecting the Module to a Remote Head Module
547
A
Communication procedure
The following shows the procedure to send/receive data.
■Data communication using the predefined protocol
Writes the send data to the link register (W) of CPU module to store the send data in the data storage area set in the
packet setting of the predefined protocol support function.
Executes the REMTO instruction to write the number of continuous protocol executions to the buffer memory of C24.
Executes the REMTO instruction to write the protocol number to be executed to the buffer memory of C24.
Executes the protocol by 'CH2 protocol execution request' (YA).
Checks the protocol execution by 'CH2 protocol execution completion' (XC).
Reads the predefined protocol execution result, result of the execution count, and matched packet number from the buffer
memory of C24 with the REMFR instruction.
Reads the data received from the external device which is transferred from the device of the remote head module to the
link register (W) of the CPU module.
: Link refresh
: Link scan
: link dedicated instruction (REMTO, REMFR)
R04CPU
Y
1000H
D
0
1
8
100
117
X
1000H
W
0000H
1000H
RJ71GF11-T2
RY
RX
RWw
RWr
RJ72GF15-T2
RY
0000H
0000H
0000H
0000H
Y
0000H
X
0000H
W
0000H
1000H
RJ71C24
RX
RWw
RWr
REMFR
REMTO
REMTO
Ó
Ò
Ø
Õ
Ö
Ô
×
Un\G4020H
Un\G
Un\G4022H
Un\G4024H
Un\G402BH
Un\G4033H