User`s manual
65
CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION
2
2.3 Settings for Using the Programmable Controller CPU Monitoring Function
(a) Example of a program for performing programmable controller CPU monitoring
registration
This example shows a program that registers programmable controller CPU monitoring for the CH1 side
interface.
This registration is for transmitting the contents of M0 to M15 and D100 to D109 to the external device using
constant cycle transmission (cycle time is 3 min).
Converts registration command to pulses
Sets execution type
Sets cycle time unit to minutes
Sets cycle time to 3 (min)
Sets the monitoring function to constant cycle
transmission
Sets the means of transmission to data
transmission
Sets data set complete flag -1
Sets the number of registered word blocks to 1
Registers the devices for D100 to D109
as the first block
Registers the devices for M0 to M15
as the second block
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)
Executes programmable controller CPU
monitoring registration