6 - 64 6 - 64
MELSEC-Q
6 DEDICATED INSTRUCTIONS
(b) Status display device at completion ((D2) + 1)
Turns on and off depending on the completion status of the ZNWR instruction.
Normal completion
: Stays off and does not change.
Abnormal completion: Turns on at the END processing of the scan where
the ZNWR instruction is completed, and turns off at
the next END processing.
[Operation of the local station when the ZNWR instruction is being executed]
OFF
ON
OFF
ON
OFF
OFF
ON
ON
Sequence program
ZNWR instruction
ZNWR instruction execution
is completed
END
processing
Send/receive
direction flag
Completion device
Status display device
at completion
Abnormal
completion
Normal
completion
One scan
END
processing
END
processing
END
processing
Errors
(1) When a dedicated instruction ends with an error, the abnormal completion signal
(D2) + 1 turns on and the error code is stored in the completion status (S) + 1.
See the following manuals regarding the error code, check the errors and take
corrective actions.
<Error codes>
4FFF
H
or less
: QCPU (Q Mode) User's Manual (Hardware Design, Maintenance
and Inspection)
C000
H
or higher: Section 11.3.3 of the Q Corresponding Ethernet Interface
Module User's Manual (Basic)
Program example
A program that writes the contents of D300 to 303 of station number 2 to D50 to 53 of
station number 3.
When I/O signals of the Ethernet module are X/Y00 to X/Y1F
Normal completion display
Error code
Error completion display
X19: Initial normal completion signal
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......