Mitsubishi Electric Q Series Reference Manual page 280

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 APPLICATION FUNCTIONS
7 - 78
2)
J(P).ZNWR instruction
[Network No. designation]
Write command
J.ZNWR
Write command
JP.ZNWR
Jn
Target network No.
n1
Target station number
(D1) Head device of the target station from which data is written
(S1) Head device of the host that stores the data to write
n2
Number of points to write (word)
Complete device
Designate the host's device to be turned on for one scan upon write completion
(D2)
Off : Not completed
(D2)
(D2)+1
Off : Normal
If the writing is not normally completed, the corresponding error code will be
stored at SW0033. (For the error code, refer to Section 8.3.)
1: Bit device
2: Designation of the number
of digits for bit device
3: Word device
4: Bit designation of word device : Word device. bit number
5: 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: 0 times
Jn
(D1)
(S1)
n1
Jn
n1
(D1)
(S1)
Description of setting
5
On : Complete
On : Error
: X, Y, M, L, F, V, and B
: Number of digits of K , bit device head No.
: T, C, D, W, ST, ST, R, and ZR
(The Q00JCPU cannot use R and ZR.)
MELSEC-Q
n2
(D2)
J: Executed when on
n2
JP: Executed at startup
(D2)
Setting range
1 to 239
1 to 64 (Constant)
81
to A0
: Group designation
H
H
FF
: Target network No. for all
H
stations: excluding the host
Designation of the number of digits
for bit device
Word device
When a group is designated, set
the group No. of the target station
with the network parameters from
GX Developer.
T, C, D, and W
Word device
1 to 230 (constant):
When the target station is a QCPU,
QnACPU, or AnUCPU
1 to 32 (constant):
When the target station is other
than a QCPU, QnACPU, or
AnUCPU
Designation of the number of digits
for bit device
Word device
Bit device
1
Bit designation of word device
2
3
3
2
3
4
7 - 78

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents