Hide thumbs Also See for S7-1200:
Table of Contents
Time parameter examples:
● If the CYCLE time = 100 us, then the interrupt OB referenced by OB_NR interrupts the
● If the CYCLE time = 0, then the interrupt event is deactivated and the interrupt OB is not
● The PHASE (phase shift) time is a specified delay time that occurs before the CYCLE
If lower and higher priority OBs are called in the same time interval, the lower priority OB is
only called after the higher priority OB has finished processing. The execution start time for
the low priority OB can shift depending on the processing time of higher priority OBs.
If you want to start the execution of a lower priority OB on a fixed time cycle, then phase shift
time should be greater then the processing time of higher priority OBs.
Table 8- 90
RET_VAL (W#16#....)
0000
8090
8091
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
cyclic program scan every 100 us. The interrupt OB executes and then returns execution
control to the program scan, at the point of interruption.
executed.
time interval begins. You can use the phase shift to control the execution timing of lower
priority OBs.
Condition codes
Description
No error
OB does not exist or is of wrong type
Invalid cycle time
Extended instructions
8.4 Interrupts
335
Table of Contents
loading

Table of Contents