Siemens SIMATIC S7-1500/ET 200MP System Manual page 209

Hide thumbs Also See for SIMATIC S7-1500/ET 200MP:
Table of Contents

Advertisement

Basics of program execution
9.1 Events and OBs
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)
For these event sources, apart from the permanently assigned OB numbers (see column: possible OB numbers), you can
2)
also assign OB numbers from the range ≥ 123 in STEP 7.
If the maximum cycle time has been exceeded twice within a cycle, the CPU always switches to STOP regardless of
3)
whether you have configured OB80.
You will find more information on these event sources and the starting behavior in the S7-1500/S7-1500T Motion Con-
4)
trol function manual.
Response to start events
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 assign OB to event source:
• For hardware interrupts and isochronous mode interrupts: The assignment is made during
the configuration of the hardware or when the OB is created.
• For MC-servo, MC-PreServo, MC-PostServo, MC-Interpolator and MC-PreInterpolator:
automatic assignment of OBs 91/92 by STEP 7 as soon as you add a technology object.
• For all other OB types: Assignment 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 upon each 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.
208
Possible priorities (default
priority)
2 to 26 (7)
2 to 26 (7)
Possible OB
Default system
numbers
reaction
121
STOP
122
Ignore
System Manual, 01/2023, A5E03461182-AK
Number of OBs
1)
0 or 1
0 or 1
Automation system

Advertisement

Table of Contents
loading

Table of Contents