Siemens SIMATIC ET 200SP System Manual page 145

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200SP:
Table of Contents

Advertisement

Basics of program execution
8.1 Events and OBs
Types of event sources
Programming error (only for
global error handling)
I/O access error (only for
global error handling)
If you have not configured the OB.
1)
In the case of these event sources, besides the permanently assigned OB numbers (see column: Possible OB numbers)
2)
in STEP 7 you can assign OB numbers from the range ≥ 123.
If the maximum cycle time has been exceeded twice within one cycle, the CPU always assumes the STOP state, re-
3)
gardless of whether you have configured OB 80.
You will find more information on these event sources and the starting behavior in the S7-1500 Motion Control function
4)
manual.
Response to triggers
The occurrence of a start event results in the following reaction:
● If the event comes from an event source to which you have assigned an OB, this event
triggers the execution of the assigned OB. The event enters the queue according to its
priority.
● If the event comes from an event source to which you have not assigned an OB, the CPU
executes the default system reaction.
Note
Some event sources, such as startup, pull/plug, exist even if you do not configure them.
Assignment between event source and OBs
The type of OB determines where you make the assignment between OB and event source:
● With hardware interrupts and isochronous mode interrupts, the assignment is made
during the configuration of the hardware or when the OB is created.
● In the case of the MC-Servo, MC-PreServo, MC-PostServo and MC-Interpolator, STEP 7
automatically assigns the OBs 91/92 as soon as you add a technology object.
● For all other types of OB, the assignment is made when the OB is created, where
applicable after you have configured the event source.
For hardware interrupts, you can change an assignment which has already been made
during runtime with the instructions ATTACH and DETACH. In this case, only the actually
effective assignment changes, and not the configured assignment. The configured
assignment takes effect after loading, and at startup.
The CPU ignores hardware interrupts to which you did not assign an OB in your
configuration or which occur after the DETACH instruction. The CPU does not check
whether an OB is assigned to this event when an event arrives, but only prior to the actual
processing of the hardware interrupt.
144
Possible priorities (default
priority)
2 to 26 (7)
2 to 26 (7)
Possible OB num-
Default system
bers
response
121
STOP
122
Ignore
System Manual, 09/2019, A5E03576849-AJ
Number of OBs
1)
0 or 1
0 or 1
Distributed I/O system

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents