6 - 50 6 - 50
MELSEC-Q
6 DEDICATED INSTRUCTIONS
(b) Status display device at completion ((D2) + 1)
Turns on and off depending on the completion status of the SWRITE instruction.
Normal completion
: Stays off and does not change.
Abnormal completion: Turns on at the END processing of the scan where
the SWRITE instruction is completed, and turns off
at the next END processing.
[Operation of the local station when the SWRITE instruction is being executed]
OFF
ON
OFF
ON
OFF
OFF
ON
ON
Sequence program
SWRITE instruction
SWRITE 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
[Operation of the other station when the SWRITE instruction is being executed]
OFF
ON
Write completion of device
data designated with the
SWRITE instruction.
Sequence program
END
processing
Completion device
END
processing
END
processing
END
processing
(5) When the instruction is executed using J.SWRITE/G.SWRITE, the next read
processing is executed in succession after one read processing is completed
while the read command is on.
When the instruction is executed using JP.SWRITE /GP.SWRITE, the read
processing is executed only once when the read command switches from off to on
(at rise).
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 (S1) + 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)
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......