19 CC-LINK INSTRUCTIONS
19.8 Performing a Message Transmission to a Remote Device Station
1671
19
■Receivable data size and receive data size
Set the receivable data size ((s1)+3) so that it satisfies the following.
Receivable data size ((s1)+3) Receive data size ((s1)+4)
If the receivable data size ((s1)+3) is smaller than the receive data size ((s1)+4), the master station cannot receive data from
the remote device station. The G(P).RDMSG instruction completes with an error (error code: B418H).
• When the number of bytes in the receivable data ((s1)+3) is odd
If the receive data has the same number of bytes, 0 is stored in the upper byte of the last data.
• When the number of bytes in the receive data ((s1)+4) is odd
The last receive data is stored in the lower byte of the last data storage area in the device memory. In the upper byte of the
last data storage area, 0 is stored.
(d1)
(s1)+4
(s1)+3
Response
message
CC-Link remote device stationCPU module
Receive data
CC-Link master station
Data are
not stored.
0
(d1)
In the upper
byte of the
last data,
0 is stored.
Response
message
CC-Link remote device stationCPU module
Receive
data
CC-Link master station
0
(d1)
In the upper
byte of the last
data, 0 is stored.
Response
message
CC-Link remote device stationCPU module
Receive
data
CC-Link master station