Troubleshoot the TWINCAT Communication Driver
- Last UpdatedSep 04, 2025
- 2 minute read
TWINCAT Communication Driver Error Codes
The following tables describe the additional error codes that you might receive when poll/poke requests and operations fail.
|
Code |
Description |
Possible Causes |
Solution |
|
1 |
Invalid AMS Net ID Station |
Invalid AMS Net ID Station. The AMS Net ID must have 6 fields. |
Type a valid AMS Net ID. |
|
30 |
Error loading third party library |
The third party library is not installed (tcAdsDll.dll or tcADsDllCE.dll). |
Install the third party library TwinCAT ADS Interface PLC software. |
|
40 |
Error loading extern function |
The extern function cannot be loaded. |
Install the correct tcAdsDll.dll or tcAdsDllCE.dll library. The library exists, but the extern functions cannot be loaded. |
|
60 |
Invalid datatype |
Specified address contains an invalid value. |
Type a valid address. |
|
70 |
Error in the GetLocalAddress function |
The TwinCAT ADS Interface PLC is not working properly, or TwinCAT software is not running. |
Contact your application technical support representative. |
|
90 |
Error writing data |
The TwinCAT ADS Interface PLC is not working properly, or TwinCAT software is not running. |
Note the error text in the LogWin, and contact your application technical support representative. |
|
100 |
Error in the ADSIGRP_SYM_READWRITE (InfoByNameEx) service |
Cannot load the TwinCAT PLC variables information. The TwinCAT ADS Interface PLC is not working properly, TwinCAT software is not running, or the configured variable name is not configured in the TwinCAT PLC software. |
Confirm that the variable name is configured the same as in the PLC program. |
|
110 |
Error in the ADSIGRP_SYM_READWRITE service |
Cannot read the TwinCAT PLC variables values. The TwinCAT ADS Interface PLC is not working properly, or TwinCAT software is not running. |
Confirm that the variable name is configured the same as in the PLC program. |
|
120 |
Error processing value |
The configured variable name or address is not configured in the TwinCAT PLC software or is out of range. |
Confirm that the variable name is configured the same as in the PLC program. |
|
200 |
Too many connections |
Ams Net ID is over the limit. |
Only 64 Ams Net ID addresses can be configured. |
|
211 |
Invalid Read Block Size |
Not enough data buffer. |
Configure upto 7 KB of data. |
|
213 |
Invalid Header |
The configured Header is not valid. |
Check the documentation for a valid Header configuration. |
|
215 216 |
Invalid Block Size ARRAY Invalid Symbol |
Not enough data buffer ARRAY. Invalid NAME |
Configure upto 7 KB of data. Correct the invalid NAME |
|
217 |
Invalid Connection |
Invalid connection configuration. |
Check the connection configuration |
|
0 |
OK |
Communicating without error. |
None required. |
|
-15 |
Time out waiting for message to start |
|
|