Parameter Declaration Data type Memory block Description
MODE INPUT INT I, Q, M, D, L,
constant
Operating mode
F_ID INPUT DWORD I, Q, M, D, L,
constant
Logical start address of the Component (module),
from which interrupts are to be received.
MLEN INPUT INT I, Q, M, D, L,
constant
Maximum length in bytes of the data interrupt infor-
mation to be received
NEW OUTPUT BOOL I, Q, M, D, L TRUE: A new interrupt was received.
FALSE: No new interrupt was received.
STATUS OUTPUT DWORD I, Q, M, D, L C0000000h: no error
C080C300h: Resources are presently occupied
C0809000h: Invalid logical start address
Only PROFINET IO:
C080A000h: Read error
C080B700h: Invalid area
ID OUTPUT DWORD I, Q, M, D, L Logical start address of the component (module),
from which an interrupt was received.
Bit 15 contains the I/O ID:
0: for an input address
1: for an output address
LEN OUTPUT INT I, Q, M, D, L Length of the received interrupt information
TINFO IN_OUT ANY I, Q, M, D, L (task information)
Target range OB start and management information
AINFO IN_OUT ANY I, Q, M, D, L (interrupt information)
Target area for header information and additional
information.
For AINFO you should provide a length of at least
MLEN bytes.
You can call the SFB 54 in three operating modes (MODE):
n 0: shows the component that triggered the interrupt in the output parameter ID and
sets the output parameter NEW to TRUE.
n 1: describes all output parameters, independent on the interrupt-triggering compo-
nent.
n 2: checks whether the component specified in input parameter F_ID has triggered the
interrupt.
– if not, NEW = FALSE
– if yes, NEW = TRUE, and all other outputs parameters are described.
Parameters
MODE
VIPA SPEED7
Integrated Standard
System Function Blocks > SFB 54 - RALRM - Receiving an interrupt from a periphery module
HB00 | OPL_SP7 | Operation list | en | 18-30 778