Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.4 Network Dedicated Instruction
5.4.17 ZNWR instruction
5-195
J_ZNWR
5
MODULE DEDICATED
INSTRUCTION
J_ZNWR
5.4.17 ZNWR instruction
J_ZNWR
J(P)_ZNWR
P: Executing condition
:
indicates any of the following
instructions.
J_ZNWR JP_ZNWR
Input argument EN:
Executing condition :Bit
Jn*:
Network number of the host station (1 to 239)
:ANY16
n1:
Target station number
(1) Station No. specification
1 to 64: Station number
(2) Group specification
81
H to A0H: All stations of a group (No.1 to 32)
(3) All stations
FF
H: All stations of the target network number (Except the
host station)
:ANY16
s
Host station's start device number where data to be written are
stored
:ANY16
n2:
Write data length
When the target station is Q/QnA/AnUCPU: 1 to 230 words
When the target station is anything other than Q/QnA/
AnUCPU: 1 to 32 words
:ANY16
Output argument ENO:
Execution result :Bit
d1:
Target station's start device number where data is written
(A contiguous area for the write data length is required.)
:ANY16
d2:
The host station's device that is turned on for one scan upon
completion of the instruction
d2[1] also turns ON if the instruction execution has failed.
:Array of bit [0..1]
CC IE C
NET/H Ether
Structured ladder/FBD
J_ZNWR
EN ENO
Jn* d1
d2
s
n2
n1
ST
J_ZNWR
(EN, Jn*, n1, s, n2, d1, d2);ENO:=