7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-258
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Paramet
er
RemarksPossible
Values
Data
type
Declarat
ion
ID OUTPUT WORD Logical start address of the PNIO
component that triggers the alarm
(module or submodule).
For an output module, bit 15 is set
(example of output address 5:
ID:=DW#16#8005).
For a mixed module, the lower of the
two addresses is specified.
LEN OUTPUT INT Length of the received alarm
information (AINFO)
MODE IN_OUT DWORD 0 Reserved
TINFO IN_OUT ANY (as
VARTYPE
, BYTE,
WORD
and
DWORD
are
permitted)
The address of the data
area points to one of the
alternatives:
Memory bit area
Data block area
The length of the ANY
pointer must be >= 32
bytes.
task information
Destination area for the alarm
management information.
The error OB start information (OB
header = byte 0...19 of TINFO) is
reproduced as far as possible by the
CP firmware.
See also
1)
AINFO IN_OUT ANY (as
VARTYPE
, BYTE,
WORD
and
DWORD
are
permitted)
The address of the data
area points to one of the
alternatives:
Memory bit area
Data block area
The length of the ANY
pointer must be greater
than or equal to the
maximum additional
alarm information that can
be expected, maximum
1432 bytes (see LEN
parameter)
alarm information
Destination area for header
information and additional alarm
information If the ANY pointer AINFO
is too low, the information will be
truncated.
See also
1)
1)
Reference Manual “STEP 7 - System and Standard Functions for S7-300 and
S7-400”, receiving an alarm with SFB54 “RALRM”
Condition Codes
The following table shows the condition codes formed by the DONE, NEW,
ERROR and STATUS parameters that must be evaluated by the user program.