Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1671

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

Advertisement

Processing details
• These instructions performs a message transmission to a remote device station.
• The instructions can be executed to a remote device station, for example NZ2AW1C2AL, that supports the message
transmission function.
• The following figure shows how the G(P).RDMSG instruction operates during execution.
[Own station]
CPU module
G(P).RDMSG
(s2)
(d1)
 The send data specified by (s2) is stored to the master station for the size specified by (s1)+2.
 The master station sends data to the target station specified by (s1)+1.
 Processing is performed for the data in the target station.
 The master station receives a processing result from the target station.
 The master station stores data in the device specified by (d1) and later, and the device specified by (d2) turns on.
• The completion status of the G(P).RDMSG instruction can be checked with the completion device (d2) and the completion
status indication device (d2)+1.
• Completion device (d2)
This device turns on during END processing of the scan where the G(P).RDMSG instruction completes, and turns off during the next END processing.
• Completion status indication device (d2)+1
This device turns on or off depending on the completion status of the G(P).RDMSG instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the G(P).RDMSG instruction completes, and turns off during the
next END processing.
0
Sequence scan
G(P).RDMSG instruction
Completion device (d2)
OFF
Completion status
OFF
indication device (d2)+1
CC-Link master station
Send data
Ò
Receive data
Ö
END
0
Execution of the instruction
19.8 Performing a Message Transmission to a Remote Device Station
[Target station]
CC-Link remote device station
Request message
Ó
Response message
Õ
END
0
END
0
Completion of
the instruction
ON
Completed with an error
ON
Completed successfully
Ô
END
0
END
OFF
OFF
1 scan
19 CC-LINK INSTRUCTIONS
19
1669

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents