Technical data

Table Of Contents
Generating Block-Related Messages
System Software for S7-300/400 System and Standard Functions - Volume 2/2
24-34
A5E00739858-01
The SFCs 107 and 108 contain one parameter more than the SFCs 17 and 18,
namely the input CMP_ID. Use this input to assign the messages generated with
SFCs 107 and 108 to logical areas, for example to parts of the system. If you call
SFC 107/SFC 108 in an FB the obvious thing to do is to assign the number of the
corresponding instance DB to CMP_ID.
Parameter
s
Declaration Data type Memory Area Description
SIG INPUT BOOL I, Q, M, D, L The message triggering signal
ID INPUT WORD I, Q, M, D, L, Const. Data channel for messages:
W#16#EEEE
EV_ID INPUT DWORD I, Q, M, D, L, Const. Message number (not allowed: 0)
CMP_ID INPUT DWORD I, Q, M, D, L, Const. Component identifier (not allowed: 0)
ID for the partial system to which the
corresponding message is assigned
Recommended values:
low word: 1 to 65535
high word: 0
You will not be confronted with any
conflicts with the SIEMENS program
package if you are compliant with these
recommendations.
SD INPUT ANY I, Q, M, D, T, C Associated value
Maximum length: 12 bytes
Permitted are only data of the type BOOL
(not allowed: Bit field), BYTE, CHAR,
WORD, INT, DWORD, DINT, REAL,
DATE, TOD, TIME, S5TIME,
DATE_AND_TIME
RET_VAL OUTPUT INT E, A, M, D, L Error Information