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


 
5-196
5.4 Network Dedicated Instruction
5.4.17 ZNWR instruction
J_ZNWR
*1: Local devices and file registers per program cannot be used as a device which is used in setting
data.
*2: In addition to the setting data, the ZNWR instruction is executed using the following fixed values.
Channel used by host station: Channel 2
Arrival monitoring time (monitoring time until instruction completion): 10 seconds
Number of resends for arrival monitoring timeout: 5 times
Function
This instruction writes data to devices of a programmable controller CPU on another station. (In
units of words)
1. Specify devices of the target station's CPU within the range allowed for the host
station CPU when writing data to the devices with the ZNWR instruction.
(Target station's start device number
where data are written)
+ (Write points - 1)
(End device No. of host station's CPU
*1
)
*1
End device No. of the device in the host station CPU, and whose device name is same as in
2. Specify the host station's start device number within the range allowed for
storing
write data.
(Example) When D150 and after the area in the host station's CPU has been
already used
Setting
data
*1,*2
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word
n1


n2



s
d1
d2
s1
s1
d1
D50
D0
D99
D0
D99
100 words100 words
D100
D150
D199
D149
D150
Host station CPU Other station CPU Host station CPU Other station CPU
: Data to be written with ZNWR instruction
: Area already used by target station's CPU
: Duplicated area
Good example (D50 is specified in ( ).) Bad example (D100 is specified in ( ).)