Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series
5-192
5.4 Network Dedicated Instruction
5.4.16 ZNRD instruction
5.4.16 ZNRD instruction
J_ZNRD
5.4.16
ZNRD instruction
J_ZNRD
*1: Local devices and file registers per program cannot be used as setting data.
*2: In addition to the setting data, the ZNRD instruction is executed using the following fixed values.
*2: In addition to the setting data, the ZNRD instruction is executed using the following fixed values.
Channel used by host station: Channel 1
Arrival monitoring time (monitoring time until instruction completion): 10 seconds
Number of resends for arrival monitoring timeout: 5 times
Arrival monitoring time (monitoring time until instruction completion): 10 seconds
Number of resends for arrival monitoring timeout: 5 times
J(P)_ZNRD
P: Executing condition
:
indicates any of the following
instructions.
J_ZNRD
JP_ZNRD
Input argument
EN:
Executing condition
:Bit
Jn*:
Network number of the host station (1 to 239)
:ANY16
n1:
Target station number (1 to 64)
:ANY16
s
Target station's start device number where data to be read are
stored
stored
:ANY16
n2:
Read 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
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:
The host station's start device number where readout data will
be stored
(A contiguous area for the read data length is required.)
be stored
(A contiguous area for the read 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.
completion of the instruction
d2[1] also turns ON if the instruction execution has failed.
:Array of bit [0..1]
Setting
data
*1,*2
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
n1
n2
CC IE C NET/H
Ether
Structured ladder/FBD
J_ZNRD
EN
ENO
Jn*
d1
d2
s
n2
n1
ST
J_ZNRD
(EN, Jn*, n1, s, n2, d1, d2);
ENO:=
s
d1
d2