Mitsubishi Electric MELSEC iQ-R Series User Manual page 549

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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.
R04CPU
RJ71GF11-T2
Y
1000H
Õ
X
1000H
Ö
W
0000H
Ò
1000H
Ø
Ó
D
0
REMTO
1
REMTO
Ô
8
×
100
REMFR
117
: Link refresh
: Link scan
: link dedicated instruction (REMTO, REMFR)
RY
RY
0000H
RX
RX
0000H
RWw
RWw
0000H
RWr
RWr
0000H
Appendix 7 When Connecting the Module to a Remote Head Module
RJ72GF15-T2
Y
0000H
X
0000H
W
0000H
1000H
RJ71C24
Un\G
Un\G4020H
Un\G4022H
Un\G4024H
Un\G402BH
Un\G4033H
APPENDICES APPENDIX
A
547

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents