Skip to content

Globalerrors

Global error codes

Hex Dec HRESULT Name Description
0x0 0 0x98110000 ERR_NOERROR No error
0x1 1 0x98110001 ERR_INTERNAL Internal error
0x2 2 0x98110002 ERR_NORTIME No real time
0x4 4 0x98110004 ERR_INSERTMAILBOX Mailbox full – the ADS message could not be sent. Reducing the number of ADS messages per cycle will help
0x3 3 0x98110003 ERR_ALLOCLOCKEDMEM Allocation locked – memory error
0x5 5 0x98110005 ERR_WRONGRECEIVEHMSG Wrong HMSG
0x6 6 0x98110006 ERR_TARGETPORTNOTFOUND Target port not found – ADS server is not started or is not reachable
0x7 7 0x98110007 ERR_TARGETMACHINENOTFOUND Target computer not found – AMS route was not found
0x8 8 0x98110008 ERR_UNKNOWNCMDID Unknown command ID
0x9 9 0x98110009 ERR_BADTASKID Invalid task ID
0xA 10 0x9811000A ERR_NOIO No IO
0xB 11 0x9811000B ERR_UNKNOWNAMSCMD Unknown AMS command
0xC 12 0x9811000C ERR_WIN32ERROR Win32 error
0xD 13 0x9811000D ERR_PORTNOTCONNECTED Port not connected
0xE 14 0x9811000E ERR_INVALIDAMSLENGTH Invalid AMS length
0xF 15 0x9811000F ERR_INVALIDAMSNETID Invalid AMS Net ID
0x10 16 0x98110010 ERR_LOWINSTLEVEL Installation level is too low –TwinCAT 2 license error
0x11 17 0x98110011 ERR_NODEBUGINTAVAILABLE No debugging available
0x12 18 0x98110012 ERR_PORTDISABLED Port disabled – TwinCAT system service not started
0x13 19 0x98110013 ERR_PORTALREADYCONNECTED Port already connected
0x14 20 0x98110014 ERR_AMSSYNC_W32ERROR AMS Sync Win32 error
0x15 21 0x98110015 ERR_AMSSYNC_TIMEOUT AMS Sync Timeout
0x16 22 0x98110016 ERR_AMSSYNC_AMSERROR AMS Sync error
0x17 23 0x98110017 ERR_AMSSYNC_NOINDEXINMAP No index map for AMS Sync available
0x18 24 0x98110018 ERR_INVALIDAMSPORT Invalid AMS port
0x19 25 0x98110019 ERR_NOMEMORY No memory
0x1A 26 0x9811001A ERR_TCPSEND TCP send error
0x1B 27 0x9811001B ERR_HOSTUNREACHABLE Host unreachable
0x1C 28 0x9811001C ERR_INVALIDAMSFRAGMENT Invalid AMS fragment
0x1D 29 0x9811001D ERR_TLSSEND TLS send error – secure ADS connection failed
0x1E 30 0x9811001E ERR_ACCESSDENIED Access denied – secure ADS access denied.