Technical data

Table Of Contents
Common Parameters for SFCs
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
2-3
General Error Information
The general error code indicates errors that can occur in any system function.
A general error code consists of the following two numbers:
A parameter number from 1 to 111, where 1 indicates the first parameter, 2
indicates the second parameter of the SFC, etc.
An event number from 0 to 127. The event number indicates that a synchronous
error occurred.
The following table lists the codes for general errors and an explanation of each
error.
07815
Bits
Sign
Event numberParameter number
1
Note
If a general error code was entered in RET_VAL, the following situations are
possible:
The action associated with the SFC may have been started or already
completed.
A specific SFC error may have occurred when the action was performed. As a
result of a general error that occurred later, the specific error could, however,
no longer be indicated.
Specific Error Information
Some system functions (SFCs) have a return value that provides a specific error
code. This error code indicates that an error pertaining to a particular system
function occurred during the execution of the function (see figure). A specific error
code consists of the following two numbers:
An error class from 0 to 7.
An error number from 0 to 15.
07815
Bits
Sign
Error no.Error class1
34
01