Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.3 Serial Communication
5.3.11 CSET instruction (programmable controller CPU monitor)
5-99
ZP_CSET
5
MODULE DEDICATED
INSTRUCTION
ZP_CSET
Program Example
(1) Program to register the programmable controller CPU monitoring
The following program registers the programmable controller CPU monitoring and sends the
monitoring result from the CH1 side interface.
The following setting is to send content of devices from M0 to M15 and devices from D100 to
D109 to the external device through the constant cycle transmission. (Cycle time: 3 minutes)
(For the Q series C24 whose I/O signals are X/Y00 to X/Y1F)
[Structured ladder/FBD]
continued on the next page
Instruction pulse
Sets execution type
Sets request type
Sets cycle time unit
to minute
Sets cycle time
to 3 minutes
Sets programmable controller
CPU monitoring function to
constant cycle transmission
Sets transmission method
to data transmission
Sets output start pointer
Sets number of user
frame transmissions
Turns data set flag ON