0% found this document useful (0 votes)
899 views7 pages

ADS Return Codes ERRORS

This document contains error codes from several sources: - ADS error codes ranging from 0x0 to 0x755 with descriptions of causes and solutions - RTime error codes from 0x1000 to 0x1010 related to real-time system issues - TCP Winsock error codes 0x274C and 0x274D for network connection problems The majority of the codes are for ADS communication issues with suggested fixes like reducing message load, checking routes between devices, or ensuring the firewall allows connections.

Uploaded by

Mike more
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
899 views7 pages

ADS Return Codes ERRORS

This document contains error codes from several sources: - ADS error codes ranging from 0x0 to 0x755 with descriptions of causes and solutions - RTime error codes from 0x1000 to 0x1010 related to real-time system issues - TCP Winsock error codes 0x274C and 0x274D for network connection problems The majority of the codes are for ADS communication issues with suggested fixes like reducing message load, checking routes between devices, or ensuring the firewall allows connections.

Uploaded by

Mike more
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

ADS Return Codes ERRORS

Error codes: 0x000..., 0x500..., 0x700..., 0x1000..., 0x274C...
Global Error Codes

De
Hex c Description Causes Solution

0x0 0 no error

0x1 1 Internal error

0x2 2 No Rtime

0x3 3 Allocation locked memory


error

Too many simultaneous Reduce the number of


0x4 4 Insert mailbox error ADS messages were messages:
requested. - by serialization so they
are not all triggered on the
No ADS mailbox was same PLC cycle
available to process this
message. - use ADS-Sum commands
- increase the Max
Delay for buffering

0x5 5 Wrong receive HMSG


0x6 6 target port not found System not switched to
RUN
0x7 7 target machine not found Missing ADS routes
0x8 8 Unknown command ID
0x9 9 Bad task ID
0xA 10 No IO
0xB 11 Unknown ADS command
0xC 12 Win 32 error
0xD 13 Port not connected
0xE 14 Invalid ADS length
0xF 15 Invalid ADS Net ID
0x10 16 Low Installation level
0x11 17 No debug available
0x12 18 Port disabled
0x13 19 Port already connected
0x14 20 ADS Sync Win32 error
0x15 21 ADS Sync Timeout
0x16 22 ADS Sync AMS error
0x17 23 ADS Sync no index map
0x18 24 Invalid ADS port
0x19 25 No memory
0x1 26 TCP send error
A
0x1 27 Host unreachable
B
Router Error Codes

Hex Dec Description Causes Solution

0x500 128 ROUTERERR_NOLOCKEDMEMORY No locked memory can


0 be allocated

0x501 128 ROUTERERR_RESIZEMEMORY The size of the router


1 memory could not be
changed

0x502 128 ROUTERERR_MAILBOXFULL The mailbox has reached Check the


2 the maximum number of connection between
possible messages. The the communication
current sent message partners
was rejected

0x503 128 ROUTERERR_DEBUGBOXFULL The mailbox has reached Check the


3 the maximum number of connection to the
possible messages. debug monitor
The sent message will
not be displayed in the
debug monitor

0x504 128 ROUTERERR_UNKNOWNPORTTYP


4 E

0x505 128 ROUTERERR_NOTINITIALIZED Router is not initialised


5

0x506 128 ROUTERERR_PORTALREADYINUS The desired port number


6 E is already assigned

0x507 128 ROUTERERR_NOTREGISTERED Port not registered


7

0x508 128 ROUTERERR_NOMOREQUEUES The maximum number of


8 Ports reached
0x509 128 ROUTERERR_INVALIDPORT
9

0x50 129 ROUTERERR_NOTACTIVATED TwinCAT Router not


A 0 active
General ADS Error Codes

Hex Dec Description Causes Solution

0x700 179 error class <device


2 error>

0x701 179 Service is not


3 supported by server

0x702 179 invalid index group


4

0x703 179 invalid index offset


5

0x704 179 reading/writing not


6 permitted

0x705 179 parameter size not


7 correct

0x706 179 invalid parameter


8 value(s)

0x707 179 device is not in a


9 ready state

0x708 180 device is busy


0

0x709 180 invalid context (must


1 be in Windows)

0x70 180 out of memory


A 2

0x70 180 invalid parameter


B 3 value(s)

0x70 180 not found (files, ...)


C 4

0x70 180 syntax error in


D 5 command or file

0x70 180 objects do not match


E 6

0x70F 180 object already exists


7

0x710 180 symbol not found


8

0x711 180 symbol version Onlinechang Release handle and get a new one
9 invalid e

0x712 181 server is in invalid


0 state

0x713 181 AdsTransMode not


1 supported

0x714 181 Notification handle is Onlinechang Release handle and get a new one
2 invalid e

0x715 181 Notification client not


3 registered

0x716 181 no more notification


4 handles

0x717 181 size for watch too big


5

0x718 181 device not initialized


6

0x719 181 device has a timeout


7

0x71 181 query interface failed


A 8

0x71 181 wrong interface


B 9 required

0x71 182 class ID is invalid


C 0

0x71 182 object ID is invalid


D 1
0x71 182 request is pending
E 2

0x71F 182 request is aborted


3

0x720 182 signal warning


4

0x721 182 invalid array index


5

0x722 182 symbol not active Onlinechang Release handle and get a new one
6 e

0x723 182 access denied


7

0x740 185 Error class <client


6 error>

0x741 185 invalid parameter at


7 service

0x742 185 polling list is empty


8

0x743 185 var connection


9 already in use

0x744 186 invoke ID in use


0

Check ADS routes of sender and receiver


0x745 186 timeout elapsed
1 Configure your firewall settings
Test connection with AdsTest tool, which is
installed with TwinCAT by default
Location: \TwinCAT\ADS
API\TcAdsDll\TcAdsTest.exe

0x746 186 error in win32


2 subsystem
0x747 186 Invalid client timeout
3 value
0x748 186 ads-port not opened
4
0x750 187 internal error in ads
2 sync
0x751 187 hash table overflow
3
0x752 187 key not found in hash
4
0x753 187 no more symbols in
5 cache
0x754 187 invalid response
6 received
0x755 187 sync port is locked
7
RTime Error Codes

Hex Dec Description Causes

0x1000 409 RTERR_INTERNAL Internal fatal error in the TwinCAT real-time system
6

0x1001 409 RTERR_BADTIMERPERIODS Timer value not vaild


7

0x1002 409 RTERR_INVALIDTASKPTR Task pointer has the invalid value ZERO
8

0x1003 409 RTERR_INVALIDSTACKPTR Task stack pointer has the invalid value ZERO
9

0x1004 410 RTERR_PRIOEXISTS The demand task priority is already assigned


0

0x1005 410 RTERR_NOMORETCB No more free TCB (Task Control Block) available.
1 Maximum number of TCBs is 64

0x1006 410 RTERR_NOMORESEMAS No more free semaphores available. Maximum


2 number of semaphores is 64

0x1007 410 RTERR_NOMOREQUEUES No more free queue available. Maximum number of


3 queue is 64

0x1008 410 TwinCAT reserved.


4

0x1009 410 TwinCAT reserved.


5

0x100 410 TwinCAT reserved.


A 6

0x100 410 TwinCAT reserved.


B 7
0x100 410 TwinCAT reserved.
C 8

0x100 410 RTERR_EXTIRQALREADYDEF An external synchronisation interrupt is already


D 9 applied

0x100 411 RTERR_EXTIRQNOTDEF No external synchronsiation interrupt applied


E 0

0x100 411 RTERR_EXTIRQINSTALLFAILED The apply of the external synchronisation interrupt


F 1 failed

0x1010 411 RTERR_IRQLNOTLESSOREQUA Call of a service function in the wrong context


2 L
TCP Winsock Error Codes

Hex Dec Description Solution

0x274 1006 A socket operation was attempted to an unreachable Check network


c 0 host connection (e.g. ping)

0x274 1006 A connection attempt failed because the connected party Check network
d 1 did not properly respond after a period of time, connection (e.g. ping)
or established connection failed because connected host
has failed to respond.

0x275 1006 No connection could be made because the target


1 5 machine actively refused it

Further Winsock error codes: Win32 Error Codes

Entwicklungsumgebung Zielplattform Einzubindende Java-Packages

TwinCAT v3.0 Build 3102, Java PC or CX (x86)

You might also like