Technical data

Table Of Contents
Organization Blocks
System Software for S7-300/400 System and Standard Functions - Volume 1/2
1-18
A5E00709327-01
1.9 Manufacturer Specific Interrupt OB (OB57)
Note
An OB for manufacturer specific interrupts(OB57) is only available for DPV1
capable CPUs.
Description
The CPU operating system calls OB57 if an manufacturer specific interrupt was
triggered via the slot of a DPV1 slave.
Local data of the OB for manufacturer specific interrupts
The table below contains the temporary (TEMP) variables of the OB for
manufacturer specific interrupt interrupts. Selected variable names are the default
names of OB57.
Variable Data type Description
OB57_EV_CLASS BYTE Event class and identifiers:
B#16#11 (upcoming event)
OB57_STRT_INF BYTE B#16#57: Manufacturer interrupt for DP
B#16#5A: Manufacturer interrupt for PN IO
B#16#5B: IO: Profile-specific interrupt
OB57_PRIORITY BYTE Configured priority class, default values 2
OB57_OB_NUMBR BYTE OB number (57)
OB57_RESERVED_1 BYTE Reserved
OB57_IO_FLAG BYTE Input module: B#16#54
Output module: B#16#55
OB57_MDL_ADDR WORD logical base address of the interrupt triggering component
(module)
OB57_LEN BYTE Data block length supplied by the interrupt
OB57_TYPE BYTE ID for the interrupt type "Manufacturer specific interrupt"
OB57_SLOT BYTE slot number of the interrupt triggering component (module)
OB57_SPEC BYTE Specifier
Bit 0 to 1: Interrupt specifier
bit 2: Add_Ack
Bit 3 to 7: Seq. no.
OB57_DATE_TIME DATE_AND_TIME Date and time at which the OB was called
Note
You can obtain the full auxiliary information on the interrupt the DP message frame
contains by calling SFB54 "RALRM" with OB57.