User`s manual

64
2.3.2 How to register and cancel the programmable controller CPU
monitoring function
The following describes the method for registering and canceling the programmable controller CPU monitoring
function from the programmable controller CPU.
For details on the method for registering and canceling the programmable controller CPU monitoring function with GX
Configurator-SC, refer to the Q Corresponding Serial Communication Module User's Manual (Basic).
For details on the method for registering or canceling the programmable controller CPU monitoring with a command of
MC protocol, refer to the MELSEC Communication Protocol Reference Manual.
(When registering or canceling from the programmable controller CPU)
For details on the CSET command, see Page 375, Section 17.3.
(1) Stores the data for programmable controller CPU monitoring registration in
the device that designates the control data for the CSET instruction.
(2) Executes the CSET instruction.
At the end of the scan in which the CSET instruction was completed, the completion device (M0) designated by
(D2) turns ON and then turns OFF at the next END processing.
(3) When there is an error, (D2)+1 turns ON and the error code in stored in the
completion status (S2)+1.
ZP.CSET
"Un"
M0
D200
D0
K1
M1
M1M0
Create control code data from D0
Processing for abnormal completion
Processing for normal completion
Registering
programmable controller
CPU monitoring
Scan Scan Scan
END
processing
END
processing
END
processing
At abnormal completion
Instruction
execution
Setting processing
Sequence program
Completion device
Completion device +1
Programmable controller CPU
CSET instruction