Technical data

Table Of Contents
Generating Block-Related Messages
System Software for S7-300/400 System and Standard Functions - Volume 2/2
24-8
A5E00739858-01
Parameter Declaration Data type Memory area Description
SEVERITY INPUT WORD constant (I, Q, M,
D, L)
Weighting of the event
Possible: 0 to 127 (value 0 = highest
weighting); Default value: 64
This parameter is irrelevant for
processing the message.
DONE OUTPUT BOOL I, Q, M, D, L Status parameter DONE: Message
generation completed.
ERROR OUTPUT BOOL I, Q, M, D, L Status parameter ERROR
ERROR=TRUE indicates that an error
has occurred during processing. For
details refer to parameter STATUS.
STATUS OUTPUT WORD I, Q, M, D, L Status parameter STATUS: Display of
an error information
SD_i,
1
i
10
IN_OUT ANY I, Q, M, D, T, Z i-th associated value
Permitted are only data of the type
BOOL (not permitted: bit field), BYTE,
CHAR, WORD, INT, DWORD, DINT,
REAL, DATE, TOD, TIME, S5TIME,
DATE_AND_TIME.
Note:
When the ANY pointer accesses a DB,
the DB always must be specified.
(e.g.: P# DB10.DBX5.0 Byte 10)
Error information
The table below contains all error information specific to SFB 31 and that can be
output via the parameters ERROR and STATUS.
ERROR STATUS (decimal) Explanation
0 11 Message lost
0 11 Message lost, at least one signal transition/message could nor be sent
0 22
Error in the pointer to the associated values SD_i:
- Relating to data length / type
- No access to associated values in user
memory, e.g. because of a deleted DB or
area length error
The activated message is transferred without or, is required,
with the maximum possible number of associated values.
Your selected actual parameter of SEVERITY is out of high limits.
The activated message will be sent with SEVERITY=127.
0 25 Communication was initiated. The message is being processed.
1 1 Communication errors: communication shut-down or no login
1 4 At the initial call
the specified EV_ID was out of the permitted range
formal error in the ANY pointers SD_i
the maximum memory area length the CPU can transfer per
SFB 31 has been exceeded