SoftwareDescription
FlexibleAutomation
5−12
5.3.1 Cyclic Program Execution
The modules of the user program are executed according to the se
quence specified in the OM1 organizational module. OM1 is automati
cally called by the system after start−up.
OM1
CM
CM
CM
CM
CM
EP
I/OUpdate
PM1
EM
PM8
EM
PM5
EM
PM4
EM
PM3
EM
.
.
PM1
PM3
PM8
PM4
PM5
Fig.5−7Cyclic Program Execution
5.3.2 Interrupt−controlled Program Execution
When a positive edge of one of the special interface input interrupt sig
nals EI1.0−EI1.2 occurs, cyclic program execution is interrupted after
the current command has been executed, and another organizational
module, OM2, OM3, or OM4 with a fixed allocation to the interrupt input is
started. Interrupt input priority is EI1.0, EI1.1 and EI1.2.
In this organizational module, the user can program the desired re
sponse to the interrupt signal. Further interrupts are disabled, but can be
enabled using the PLC command IF". After interrupt signal processing,
cyclic program execution is resumed at the point of interruption.