Profile Ob; Event Execution Priorities And Queuing - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents
PLC concepts
4.1 Execution of the user program
Update events
For detailed information on events that trigger an update interrupt, refer to the manufacturer's
documentation for the DPV1 or PNIO slave.
Table 4- 11
Input
LADDR
Slot
Specifier
4.1.3.13

Profile OB

Profile OBs execute if a DPV1 or PNIO slave triggers a profile-specific interrupt.
Profile events
For detailed information on events that trigger a profile interrupt, refer to the manufacturer's
documentation for the DPV1 or PNIO slave.
Table 4- 12
Input
LADDR
Slot
Specifier
4.1.3.14

Event execution priorities and queuing

The CPU processing is controlled by events. An event triggers an interrupt OB to be
executed. You can specify the interrupt OB for an event during the creation of the block,
during the device configuration, or with an ATTACH or DETACH instruction. Some events
happen on a regular basis like the program cycle or cyclic events. Other events happen only
a single time, like the startup event and time delay events. Some events happen when the
hardware triggers an event, such as an edge event on an input point or a high speed counter
event. Events like the diagnostic error and time error event only happen when an error
occurs. The event priorities and queues are used to determine the processing order for the
event interrupt OBs.
The CPU processes events in order of priority where 1 is the lowest priority and 26 is the
highest priority. Prior to V4.0 of the S7-1200 CPU, each type of OB belonged to a fixed
priority class (1 to 26). With V4.0, you can assign a priority class to each OB that you
configure. You configure the priority number in the attributes of the OB properties.
94
Start information for update OB
Data type
Description
HW_IO
Hardware identifier
UInt
Slot number
Word
Alarm specifier
Start information for profile OB
Data type
Description
HW_IO
Hardware identifier
UInt
Slot number
Word
Alarm specifier
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Table of Contents
loading

Table of Contents