1474
15 NETWORK COMMON INSTRUCTIONS
15.1 Link Dedicated Instructions
• The continuous area (a maximum of 8192 words) for the write data length ((s1)+9) is required in the write
data storage device (d1).
• When a number from 1 to 120 is specified for the target station number, the WRITE instruction should be
executed with the execution type set to "Arrival acknowledgment used". This is to improve data reliability.
When a number from 81H to A0H or FFH is specified for the target station number, the WRITE instruction
should be executed with the execution type set to "No arrival acknowledgment".
• When performing device writing to the same station from multiple stations, do not overlap the write timing.
When the execution type is set to "No arrival acknowledgment", successful completion results in the write
source station if communication is completed successfully even when the send data contains an error. Also,
even when the send data is normal, a timeout results in the write source station if the WRITE instructions
are executed for the same station from multiple stations.
• The number of resends (s1)+7 must be set every time the WRITE instruction is executed.
Processing details
• These instructions write the data in the device/label specified by (s2) in the own station to the word device in the target
station specified by the target network number and target station number of the control data or the target station specified
by the IP address. Upon completion of writing device data to another station number, the completion device specified by
(d2) turns on.
• For the target stations that can be specified, refer to the following.
Page 1449 Target networks and target station types
• When "network number" and "station number" are specified ("0" is specified in bit 15 of (s1)+0) by the target station address
specification method, device data can be written also to the stations connected to networks other than the stations
connected to the own station network. (If "IP address" is specified ("1" is specified in bit 15 of (s1)+0), device data cannot
be read from stations connected via a relay station.)
• When executing multiple link dedicated instructions concurrently, be careful not to overlap the channels of the link
dedicated instructions. Multiple link dedicated instructions specifying the same channel cannot be used concurrently.
• The execution status and the completion status of the WRITE instruction can be checked with the completion device (d2)
and the completion status indication device (d2)+1.
CH: Channel
• Completion device (d2)
This device turns on during END processing of the scan where the WRITE 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 WRITE 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 WRITE instruction completes, and turns off during the next
END processing.
WRITE
(s2)
(d1)
·
·
CH1
CHn
CPU module
CPU module
Network module
Network module
[Own station]
[Target station]
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: ......