Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1476

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

Advertisement

• 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
[Own station]
CPU module
(s2)
CH: Channel
• 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.
• 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.
15 NETWORK COMMON INSTRUCTIONS
1474
15.1 Link Dedicated Instructions
Network module
CH1
WRITE
·
CHn
·
[Target station]
CPU module
(d1)
Network module

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents