19 CC-LINK INSTRUCTIONS
19.8 Performing a Message Transmission to a Remote Device Station
1669
19
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.
• 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.
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.
• 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.
G(P).RDMSG
(s2)
(d1)
Ô
Ó
Õ
Ò
Ö
CPU module
CC-Link master station
[Own station]
[Target station]
Response message
Request message
Receive data
Send data
CC-Link remote device station
END
0
0
END
0
END
END
0
END
0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
G(P).RDMSG instruction
Completion device (d2)
1 scan
Completion of
the instruction
Completed successfully
Execution of the instruction
Completion status
indication device (d2)+1
Completed with an error
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......