Internal S5/S7 communication error codes

Code
(hex)

Code
(dec)

Symbolic constant

Description

 

 

General error codes

Offset 0x8300 + error code

0x00000000

0

NLINK_COMMERR_NOERROR

No error.

0x00008300

33536

NLINK_COMMERR_TIMEOUT

Timeout during communication (transaction)

0x00008301

33537

NLINK_COMMERR_TXOVERFLOW

Send buffer overflow

0x00008302

33538

NLINK_COMMERR_RXOVERFLOW

Receive buffer overflow

0x00008303

33539

NLINK_COMMERR_FATAL

Fatal internal error

0x00008304

33540

NLINK_COMMERR_SYSTEMID

Invalid system ID

0x00008305

33541

NLINK_COMMERR_HEADERLEN

Invalid header length parameter

0x00008306

33542

NLINK_COMMERR_OPCODE

Invalid OP code, OP code length or OP code word

0x00008307

33543

NLINK_COMMERR_INVALIDSIZE

Invalid data length

0x00008308

33544

NLINK_COMMERR_INVALIDSTATE

Device or connection is in a faulty/invalid state

0x00008309

33545

NLINK_COMMERR_INVALIDVALUE

An invalid parameter value was specified

0x0000830A

33546

NLINK_COMMERR_INVALIDAREA

Invalid/unsupported data area

0x0000830B

33547

NLINK_COMMERR_UNEXPTECTED

Unexpected error

 

 

IBH Link S5++ specific error codes

Offset 0x8400 + error code

0x00008402

33794

NLINK_COMMERR_IBH_AREA_NOT_AVAILABLE

Data area not available in the controller, data block not available

0x00008403

33795

NLINK_COMMERR_IBH_AREA_TO_SMALL

Requested area is too small

0x00008406

33798

NLINK_COMMERR_IBH_INVALID_HEADER

Invalid frame/header format

0x00008407

33799

NLINK_COMMERR_IBH_DATA_OVERFLOW

Permitted data size exceeded, data buffer too small

0x00008409

33801

NLINK_COMMERR_IBH_TIMEOUT

Timeout during communication with the controller

0x0000840A

33802

NLINK_COMMERR_IBH_DATA_UNDERFLOW

Too few data were received

 

 

Hilscher NL-MPI interface error codes

Offset 0x8500 + MPI response message error code

0x00008501

34049

NLINK_COMMERR_MPI_UE

Timeout from remote station remote station remote station has not responded within 1 sec.timeout

0x00008502

34050

NLINK_COMMERR_MPI_RR

Resource unavailable remote station remote station has no left buffer space for the requested service

0x00008503

34051

NLINK_COMMERR_MPI_RS

Requested function of master is not activated within the remote station. The connection seems to be closed in the remote station. Try to send command again

0x00008511

34065

NLINK_COMMERR_MPI_NA

No response of the remote station remote station check network wiring, check remote address, check baud rate

0x00008512

34066

NLINK_COMMERR_MPI_DS

Master not into the logical token ring network in general check master DP-Address or highest-station-Addres s of other masters. Examine bus wiring to bus short circuits

0x00008514

34068

NLINK_COMMERR_MPI_LR

Resource of the local FDL controller not available or not sifficient. HOST too many messages. no more segments in DEVICE free

0x00008515

34069

NLINK_COMMERR_MPI_IV

The specified msg.data_cnt parameter invalid HOST check the limit of 222 bytes (read) respectively 216 bytes (write) in msg.data_cnt

0x00008530

34096

NLINK_COMMERR_MPI_TO

Timeout, the request message was accepted but no indication is sent back by the remote station remote station MPI protocol error, or station not presentor

0x00008539

34105

NLINK_COMMERR_MPI_SE

Sequence fault, internal state machine error. Remote station does not react like awaited or a reconnection was retried while connection is already open or device has no SAPs left to open connection channel

0x00008585

34181

NLINK_COMMERR_MPI_REJ_IV

Specified offset address out of limits or not known in the remote station HOST please check msg.data_adr if present or offset parameter in request message

0x00008586

34182

NLINK_COMMERR_MPI_REJ_PDU

Wrong PDU coding in the MPI response of the remote station DEVICE contact hotline

0x00008587

34183

NLINK_COMMERR_MPI_REJ_OP

Specified length to write or to read results in an access outside the limits HOST please check msg.data_cnt length in request message

0x00008588

34184

NLINK_COMMERR_MPI_REJ_OP

Specified address not defined in the remote station, please check msg.data_adr in the request message

0x00008589

34185

NLINK_COMMERR_MPI_REJ_OP

MPI remote station not in the right operational mode, bring S7 into RUN-P Mode

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v2.11.0 Build > 1536

PC or CX (x86, ARM)

TcS5S7Comm.Lib