SoftwareDescription
FlexibleAutomation
5−4
5.1.1 Organizational Modules OM
The organizational modules are the link between the system program
and the user program. They are programmed in the same way as pro
gram modules but they can only be called up by the system program.
The user can determine programs in the different organizational mod
ules to be executed in response to certain events, e.g. time sequences,
start−up behavior, etc. 9 organizational modules are available for the
CL300:
OM1 for cyclic program flow
OM2 to OM4 for interrupt control via the inputs EI1.0−EI1.2
OM5 and OM6 for time controlled program execution with
variable time bases
OM7 and OM8 for starting up by cold start or restart, etc.
(see paragraph 5.3)
OM9 for error handling
Module length is 256 instructions and can be expanded if necessary. No
parameters can be set in organizational modules.
OM1
CM
A
CMC
CM
CM
CM
EP
PM1
I5.0
PM2
PM3
PM4
PM5
.
.
.
.
UnconditionalCall
ConditionalCall
TerminationwithEP
Fig.5−2Example of module calls in OM1
The OM1 is terminated with end of program (EP). All other OMs can be
terminated with end of program (PE) or with end of module (ME).