Specifications
6 - 6
6.4 Checking with Program
C0, C1 and C2 current value of station 2 (E) on the network No.150 are read to D100,
D101 and D102 of station 1 (A) on the network No.1 with ZNRD instruction and
displayed at Y60 to Y6F.
6.4.1 Reading/writing word devices of other stations (ZNRD/ZNWR)
The ZNRD and ZNWR instructions are used for data reading/writing on the same
network or other network by the transient function.
(1) ZNRD/ZNWR instruction format
(a) ZNRD
(Network No. designation)
J.ZNRD
J: Executed
when on
Read instruction
JP.ZNRD
JP: Executed
at startup
Read instruction
Jn n1 n2
Jn n1 n2
(S1) (D1) (D2)
(S1) (D1) (D2)
Setting details Setting range
Jn Network No. where the target station exists 1 to 239
n1 Target station number
1 to 64 (Constant)
Designation of the number of digits
for bit device *
2
Word device *
3
(S1) Head device of the target station from which data is read T,C,D,W
(D1) Head device of the host that stores the data read Word device *
3
(n2) Number of points to be read (word)
1 to 230 (Constant)
Designation of the number of digits
for bit device *
2
Word device *
3
(D2)
Completion device
Designate the host's device to be turned on for one scan upon
read completion
(D2)............. OFF: Not completed ON: Complete
(D2) + 1 ...... OFF: Normal ON: Abnormal
Bit device *
1
Bit designation of word device *
4
*1: Bit device : X, Y, M, L, F, V, and B
*2: Designation of the number of digits for bit device : Number of digits of K, bit device
head No.
*3: Word device : T, C, D, W, ST, R, and ZR
*4: Bit designation of word device : Word device, bit number