User`s manual
382
17.3.5 Program example
(1) A program that registers the programmable controller CPU monitoring
The following example shows how to register the programmable controller CPU monitoring and send the
monitoring results from the interface on the CH1 side.
*1
*1 The following registration is done to send the contents of M0 to M15 and D100 to D109 to the external device on a
constant cycle (cycle time is 3 min).
When the input/output signals of the Q series C24 are X/Y00 to X/Y1F
Converts registration command to pulses
Sets execution type
Sets cycle time unit to minutes
Sets cycle time to 3 (minutes)
Sets the means of transmission to data transmission
Sets data set complete flag -1
Sets the number of registered word blocks to 1
Sets data setting complete flag -2
Normal completion
Abnormal completion
Sets the number of registered bit blocks to 1
Sets the output head pointer
Sets the transmission count of the user frame
Sets request type (programmable controller CPU
monitoring registration)
Sets the monitoring function to constant cycle transmission
Registers the devices for D100 to D109 as the first block
Registers the devices for M0 to M15 as the second block
Executes programmable controller CPU
monitoring registration