Download Q Corresponding Ethernet Interface Module User`s Manual

Transcript
6 DEDICATED INSTRUCTIONS
MELSEC-Q
REMARKS
The allowable write data length ((S1)+9) of the WRITE instruction varies depending
on the version. (See the User’s Manual (Basic), Section 2.7.)
Specifying a length value outside the setting range will cause a 4101 error
(OPERATION ERROR) on the local station.
Functions
(1) This instruction writes data for the device designated in (S2) of the local station
and succeeding devices to the word devices of the station designated with the
target station network number and target station number in the control data. The
station must be connected to either a CC-Link IE controller network,
MELSECNET/H, MELSECNET/10 or Ethernet network system.
When writing device data to other station number is completed, the completion
device designated in (D2) turns on.
[Local station]
[Response station]
Ethernet module
QCPU
(S2)
Channel 1
WRITE
Ethernet module
Q/QnACPU
(D1)
Channel n
Channel 8
Ethernet
(2) Data can be written to stations connected to either the CC-Link IE controller
network, MELSECNET/H, MELSECNET/10 or Ethernet networks having the
designated 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 WRITE instruction is being executed or has been completed normally
or abnormally can be checked with the 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 WRITE instruction is
completed, and turns off at the next END processing.
6 - 61
6 - 61