Mitsubishi Electric Melsec Q Series User Manual page 221

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS
[Operation of the local station when the SWRITE instruction is being executed]
Sequence program
SWRITE instruction
Send/receive
direction flag
Completion device
Status display device
at completion
[Operation of the other station when the SWRITE instruction is being executed]
Sequence program
OFF
Completion device
Errors
6 - 54
(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
END
END
processing
processing
ON
OFF
ON
OFF
OFF
OFF
END
END
processing
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).
(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
or less
: User's Manual (Hardware Design, Maintenance and Inspection)
H
C000
or higher: User's Manual (Basic)
H
the SWRITE instruction is completed, and turns off
at the next END processing.
SWRITE instruction
execution is completed
Write completion of device
data designated with the
SWRITE instruction.
for the CPU module used
MELSEC-Q/L
END
END
processing
processing
ON
Abnormal
ON
completion
Normal
completion
One scan
END
END
processing
processing
ON
6 - 54

Advertisement

Table of Contents
loading

Table of Contents