Mitsubishi Electric Melsec Q Series User Manual page 220

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS
Control data
Functions
[Local station]
Programmable
controller CPU
(S2)
6 - 53
See Section 6.12 for information about how to handle the control data of the
SWRITE instruction when writing to the word device memory of other station.
The control data should be handled is the same as when writing to the word device
memory using the WRITE instruction. Thus, this section omits its explanation.
The number of steps for the SWRITE instruction is 11.
(1) This instruction writes data in the device designated in (S2) and succeeding
devices of the local station to the word devices of the station, which is connected
to other networks or Ethernet that has been specified with the target station
network number and target station number in the control data.
When writing device data from other stations' number is completed, the
completion device designated in (D2) turns on.
Also, when writing the device data designated in (S2) is completed, the device on
other stations designated in (D3) turns on.
Ethernet module
Channel 1
SWRITE
Channel n
Channel 8
(2) Device data can be written to stations connected to other networks or Ethernet
having the specified numbers, in addition to stations connected to the local
station's network.
(3) The data link instruction and instructions for the Ethernet network system cannot
be executed at two or more locations for the same channel.
If the execution conditions are met at two or more locations at the same time,
instructions to be executed later have to wait until the channel becomes available
because handshaking is automatically performed at the execution of the first
instruction.
(4) Whether the SWRITE instruction is being executed or has been completed
normally or abnormally can be checked with the send/receive instruction flag
corresponds to the channel used, completion device (D2), or completion status
display flag ((D2) + 1) designated in the set data.
(a) Completion device (D2)
Turns on at the END processing of the scan where the SWRITE instruction is
completed, and turns off at the next END processing.
[Response station]
Programmable
controller CPU
(D1)
Ethernet
MELSEC-Q/L
Ethernet module
6 - 53

Advertisement

Table of Contents
loading

Table of Contents