Overview of the error codes

Codes (hex)

Codes (dec)

Error source

Description

0x00000000-0x00007800

0-30720

TwinCAT system error codes

TwinCAT system error (including ADS error codes)

0x00008000-0x000080FF

32768-33023

Internal TwinCAT TCP/IP Connection Server error codes

Internal error of the TwinCAT TCP/IP Connection Server

0x80070000-0x8007FFFF

2147942400-2148007935

Error source = Code - 0x80070000 = Win32 system error codes

Win32 system error (including Windows sockets error codes)

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v3.1

PC, CX (x86) or CX (ARM)

Tc2_TcpIp