The Cpm1 Cycle - Omron SYSMAC CPM1 Operation Manual

Hide thumbs Also See for SYSMAC CPM1:
Table of Contents

Advertisement

The CPM1 Cycle

5-2

The CPM1 Cycle

Set error flags and
activate indicators.
ERROR or ALARM?
ERROR
(lit)
88
The overall flow of CPM1 operation is as shown in the following flowchart. The
CPM1 is initialized internally when the power is turned on. If no errors are
detected, the overseeing processes, program execution, I/O refreshing, and
Peripheral Device servicing are executed consecutively (cyclically). The aver-
age cycle time can be monitor from a Peripheral Device.
Power application
Initialization processes
Check hardware and
Program Memory.
No
Check OK?
Preset cycle time
monitoring time.
ALARM
(flashing)
Execute user program.
End of program?
Yes
Check cycle time set-
ting.
Minimum
cycle time set?
Yes
Wait until minimum cycle
time expires.
Compute cycle time.
Refresh input bits and
output terminals.
Service peripheral port.
Note Initialization processes include clearing the IR, SR, and AR areas, presetting
system timers, and checking I/O Units.
Yes
No
No
Section 5-2
Initialization
Overseeing
processes
Program
execution
Cycle
time
Cycle time
processing
I/O refreshing
Service
peripheral
port.

Advertisement

Table of Contents
loading

Table of Contents