10 - 27 10 - 27
MELSEC-Q
10 DEDICATED INSTRUCTIONS
(3) Program example
The following is a program in which a cancellation is requested to the protocol
being executed when the start I/O number of the QJ71C24N(-R2/R4) is 0000.
Devices used by program example
Device Purpose
M100 Cancellation request command flag
M101 Cancellation request flag
M110 Turns ON during execution of the CPRTCL instruction.
U0\G16448 Cancellation designation area
\
\
Cancellation request
Set a flag for cancellation
request
Cancellation completed
Reset a flag for cancellation
request