Technical data

Table Of Contents
Generating Block-Related Messages
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
24-31
Instance Overflow
If the number of SFC 17 or SFC 18 calls is higher than the maximum amount of
CPU system resources, this may result in a lack of resources (instance overflow).
This is indicated both by the information in RET_VAL as well as by indications at
the logged on display devices.
The maximum number of SFC 17 or SFC 18 calls depends on the particular CPU.
You will find this information in /70/ and /101/ .
Parameter Declaration Data Type Memory Area Description
SIG INPUT BOOL I, Q, M, D, L The signal to trigger a message
ID INPUT WORD I, Q, M, D, L,
constant
Data channel for messages: W#16#EEEE
EV_ID INPUT DWORD I, Q, M, D, L,
constant
Message number (0 not permitted)
SD INPUT ANY I, Q, M, D, T, C Associated value
Maximum length: 12 bytes
The following data types are permitted
BOOL (not permitted: bit field) BYTE,
CHAR, WORD,
INT, DWORD, DINT,
REAL, DATE, TOD, TIME, S5TIME,
DATE_AND_TIME,
COUNTER, TIMER.
RET_VAL OUTPUT INT I, Q, M, D, L Error information
Error Information
Error Code (W#16#...) Explanation
0000 No error occurred.
0001
The associated value is longer than the maximum permitted length or
Access to the user memory is not possible (for example, access to a
deleted DB). The message is sent.
The associated value points to a value in the local data area. The
message is sent.
0002 Warning: the last free message acknowledgment memory has been used.
8081 The specified EV_ID is outside the permitted range.
8082 Loss of messages since your CPU has no more resources for generating
block-related messages by SFCs.
8083 Message loss since the same signal change already exists but could not yet be
sent (signal overflow).
8084 The signal that triggered the message (SIG) had the same value at the current
SFC 17 or SFC 18 call as at the last call.
8085 No logon for the specified EV_ID
8086 An SFC call for the specified EV_ID is already being executed in a lower
priority class.
8087 When SFC 17 or SFC 18 were first called, the message trigger signal had the
value 0.
8088 The specified EV_ID is already being used by another system resource (to
SFC 17, 18, 107, 108).
8xyy General error information, see Evaluating Errors with Output Parameter
RET_VAL