Note
The DONE, NDR, and ERROR parameters are set for one execution only. Your program
logic must save temporary output state values in data latches, so you can detect state
changes in subsequent program scans.
Table 13- 5
Common condition codes
STATUS (W#16#....)
0000
7000
7001
7002
8x3A
8070
8080
8081
8082
8083
8090
8091
8092
Table 13- 6
Common error classes
Class description
Port configuration
Transmit configuration
Receive configuration
Transmission runtime
Reception runtime
Signal handling
Pointer errors
Embedded protocol errors
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
Description
No error
Function is not busy
Function is busy with the first call.
Function is busy with subsequent calls (polls after the first call).
Illegal pointer in parameter x
All internal instance memory in use, too many concurrent instructions in progress
Port number is illegal.
Timeout, module error, or other internal error
Parameterization failed because parameterization is in progress in background.
Buffer overflow:
The CM or CB returned a received message with a length greater than the length parameter
allowed.
Internal error: Wrong message length, wrong sub-module, or illegal message
Contact customer support.
Internal error: Wrong version in parameterization message
Contact customer support.
Internal error: Wrong record length in parameterization message
Contact customer support.
Error classes
16#81Ax
16#81Bx
16#81Cx
16#82Cx
16#81Dx
16#81Ex
16#81Fx
16#8p01 to 16#8p51 Used for ANY pointer errors where "p" is the parameter number
16#848x
16#858x
Communication processor and Modbus TCP
13.3 Point-to-point (PtP) communication
Description
Used to define common port configuration errors
Used to define common transmit configuration errors
Used to define common receive configuration errors
Used to define common transmission runtime errors
Used to define common reception runtime errors
Used to define common errors associated with all signal han-
dling
of the instruction
Used for embedded protocol errors
1109