10 - 5 10 - 5
MELSEC-Q
10 DEDICATED INSTRUCTIONS
(3) Whether an ONDEMAND instruction was completed normally or abnormally can
be checked by the completion device ((D)) or status display device at completion
((D)+1).
(a) Completion device : Turns on at the END processing of the scan where
the ONDEMAND instruction is completed, and turns
off at the next END processing.
(b) Status display device
at completion
: Turns on and off depending on the completion status
of the ONDEMAND instruction.
• Normal completion : Off with no change.
• Abnormal completion: Turns on at the END
processing of the scan where
the ONDEMAND instruction
is completed, and turns off at
the next END processing.
[Operation during execution of an ONDEMAND instruction]
Sequence
program
ONDEMAND
instruction
Completion device
Status display device
at completion
END
processing
END
processing
Execution of ONDEMAND
instruction
Completion of reading user frame
by ONDEMAND instruction
ON
ON
Abnormal
completion
Normal
completion
One scan
OFF
OFF
END
processing
END
processing
Error
(1) When a dedicated instruction is completed abnormally, the abnormal completion
signal, (D)+1, turns on and the error code is stored in the transmission result
(S1)+1.
In case of operation errors, the error flag (SM0) turns on and the error code is
stored in the SD0.
See one of the following manuals according to the error code, and check and
correct the error.
<Error code>
4FFF
H
or less : QCPU User's Manual
(Hardware Design, Maintenance and Inspection)
7000
H
or more: Section 11.2
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......