Performing A Message Transmission To A Remote Device Station - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

19.8
Performing a Message Transmission to a Remote
Device Station
G(P).RDMSG
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions read/write parameters from/to the remote device station and read the status of the remote device station.
The instructions can be executed to a remote device station, for example NZ2AW1C2AL, that supports the message
transmission function.
Ladder
(U)
(s1) (s2)
FBD/LD
EN
ENO
U
d1
s1
d2
s2
■Execution condition
Instruction
G.RDMSG
GP.RDMSG
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module
(s1)
Start device where control data is stored
*1
(s2)
Start device for storing the message data to be sent
*1
(d1)
Start device for storing the message data received
(d2)
Device that turns on for one scan upon completion of the
instruction
When the instruction completes with an error, (d2)+1
also turns on.
EN
Execution condition
ENO
Execution result
*1 For details on the send data and receive data, refer to the following.
 Manuals for the remote device stations that support the message transmission function
*2 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
RnSFCPU RnSFCPU
(Standard)
(Safety)
(d1) (d2)
Execution condition

19.8 Performing a Message Transmission to a Remote Device Station

ST
ENO:=G_RDMSG(EN,U,s1,s2,d1,d2);
ENO:=GP_RDMSG(EN,U,s1,s2,d1,d2);
Range
Data type
00H to FEH
16-bit unsigned binary
Refer to the control data.
Device name
Device name
Device name
Bit
Bit
Bit
Data type (label)
ANY16
*2
ANY16
*2
ANY16
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
19 CC-LINK INSTRUCTIONS
19
1667

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents