6 - 63 6 - 63
MELSEC-Q
6 DEDICATED INSTRUCTIONS
POINT
(1) The ZNWR instruction can be executed when the target station is a QCPU or
QnACPU.
Access to an AnUCPU is available via MELSECNET/10.
(2) When writing data from the other station CPU module device with the ZNWR
instruction, specify the device within the range applicable to the host station
CPU module.
(Head device number to be write in other station CPU module (S)) + (number of
write points -1)
< (last device number of host station CPU module )
: Last device number in host station CPU module having the same device
name as (S).
(3) The normal/abnormal completion status at write completion is stored in the data
link instruction communication completion result (Channel 2) storage area
(address: 209) of the buffer memory.
If the write completion device ((D2) + 1) is on due to abnormal end, read the
error code stored in the area mentioned above and correct the error
accordingly.
For a list of error codes, see Section 11.3.3 of the Q Corresponding Ethernet
Interface Module User's Manual (Basic).
Functions
(1) This instruction write n2 points of data from the word device designated by (S) of
the local station to the word device of the connected station having the network
number designated by Jn/n1 in the Ethernet network system.
When writing the device data to the target station is completed, the completion
device designated in (D2) turns on
Q/QnA
Ethernet module
(S)
[Local station]
[Response station]
QCPU
Ethernet module
Channel 2
Ethernet
(D1)
ZNWR
* Fixed
(2) The ZNWR instruction is executed using channel 2 (fixed).
The data link instructions and the Ethernet instructions cannot be executed from
two or more stations at the same time on the same channel.
If the conditions of more than one instruction to be executed match at the same
time, the instruction executed later is made to wait until the channel becomes
available since handshaking is performed automatically.
(3) Whether the ZNWR instruction is currently being executed or has been completed
normally or abnormally can be checked with the completion device (D2)
designated in the set data.
(a) Completion device (D2)
Turns on at the END processing of the scan where the ZNWR instruction is
completed, and turns off at the next END processing.
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......