AdsErrorCode Enumeration

Describes the ADS error that occured.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public enum AdsErrorCode

VB

Public Enumeration AdsErrorCode

Members

 

Member name

Value

Description

NoError

0

No Error.

Error code: 0(0x000).

InternalError

1

Internal Error.

Error code: 1(0x001).

NoRTime

2

No Rtime.

Error code: 2(0x002).

LockedMemoryError

3

Allocation locked memory error.

Error code: 3(0x003).

MailBoxError

4

Insert mailbox error.

Error code: 4(0x004).

WrongHMsg

5

Wrong receive HMSG.

Error code: 5(0x005).

TargetPortNotFound

6

Target port not found.

Error code: 6(0x006).

TargetMachineNotFound

7

Target machine not found.

Error code: 7(0x007).

UnknownCommandID

8

Unknown command ID.

Error code: 8(0x008).

BadTaskID

9

Bad task ID.

Error code: 9(0x009).

NoIO

10

No IO.

Error code: 10(0x00A).

UnknwonAmsCommand

11

Unknown AMS command.

Error code: 11(0x00B).

Win32Error

12

Win 32 error.

Error code: 12(0x00C).

PortNotConnected

13

Port is not connected.

Error code: 13(0x00D).

InvalidAmsLength

14

Invalid AMS length.

Error code: 14(0x00E).

InvalidAmsNetID

15

Invalid AMS Net ID.

Error code: 15(0x00F).

LowInstallLevel

16

Low Installation level.

Error code: 16(0x010).

NoDebug

17

No debug available.

Error code: 17(0x011).

PortDisabled

18

Port disabled.

Error code: 18(0x012).

PortConnected

19

Port is already connected.

Error code: 19(0x013).

AmsSyncWin32Error

20

AMS Sync Win32 error.

Error code: 20(0x014).

SyncTimeOut

21

AMS Sync timeout.

Error code: 21(0x015).

AmsSyncAmsError

22

AMS Sync AMS error

Error code: 22(0x016).

AmsSyncNoIndexMap

23

AMS Sync no index map.

Error code: 23(0x017).

InvalidAmsPort

24

Invalid AMS port.

Error code: 24(0x018).

NoMemory

25

No memory.

Error code: 25(0x019).

TCPSendError

26

TCP send error.

Error code: 26(0x01A).

HostUnreachable

27

Host unreachable.

Error code: 27(0x1B).

AmsInvalidFragment

28

Invalid AMS fragment.

Error code: 28(0x1C).

NoLockedMemory

1280

Router: no locked memory.

Error code: 1280(0x500).

ResizeMemory

1281

Router: The size of the router memory could not be changed.

Error code: 1281(0x501).

MailboxFull

1282

Router: mailbox full.

Error code: 1282(0x502).

DebugBoxFull

1283

Router: The mailbox has reached the maximum number of possible messages.

Error code: 1283(0x503).

UnknownPortType

1284

Router: Unknown Port Type

Error code: 1284(0x504).

RouterNotInitialized

1285

Router: Router is not initialized.

Error code: 1285(0x505).

PortAlreadyInUse

1286

Router: The desired port number is already assigned.

Error code: 1286(0x506).

PortNotRegistered

1287

Router: Port not registered.

Error code: 1287(0x507).

NoMoreQueues

1288

Router: The maximum number of Ports reached.

Error code: 1288(0x508).

InvalidPort

1289

Router: The port is invalid.

Error code: 1289(0x509).

RouterNotActive

1290

Router: TwinCAT Router not active.

Error code: 1290(0x50A).

DeviceError

1792

error class <device error">

Error code: 1792(0x700).

DeviceServiceNotSupported

1793

Service is not supported by server.

Error code: 1793(0x701).

DeviceInvalidGroup

1794

Invalid index group.

Error code: 1794(0x702).

DeviceInvalidOffset

1795

Invalid index offset.

Error code: 1795(0x703).

DeviceInvalidAccess

1796

Reading/writing not permitted.

Error code: 1796(0x704).

DeviceInvalidSize

1797

Parameter size not correct.

Error code: 1797(0x705).

DeviceInvalidData

1798

Invalid parameter value(s).

Error code: 1798(0x706).

DeviceNotReady

1799

Device is not in a ready state.

Error code: 1799(0x707).

DeviceBusy

1800

Device is busy.

Error code: 1800(0x708).

DeviceInvalidContext

1801

Invalid context (must be in Windows).

Error code: 1801(0x709).

DeviceNoMemory

1802

Out of memory.

Error code: 1802(0x70a).

DeviceInvalidParam

1803

Invalid parameter value(s).

Error code: 1803(0x70b).

DeviceNotFound

1804

Not found(files, ...).

Error code: 1804(0x70c).

DeviceSyntaxError

1805

Syntax error in command or file.

Error code: 1805(0x70d).

DeviceIncompatible

1806

Objects do not match.

Error code: 1806(0x70e).

DeviceExists

1807

Object already exists.

Error code: 1807(0x70f).

DeviceSymbolNotFound

1808

Symbol not found.

Error code: 1808(0x7010).

DeviceSymbolVersionInvalid

1809

Symbol version is invalid.

Error code: 1809(0x711).

DeviceInvalidState

1810

Server is not i a valid state.

Error code: 1810(0x712).

DeviceTransModeNotSupported

1811

ADS transmode is not supported.

Error code: 1811(0x713).

DeviceNotifyHandleInvalid

1812

Notification handle is invalid.

Error code: 1812(0x714).

DeviceClientUnknown

1813

Notification vlient not registered.

Error code: 1813(0x715).

DeviceNoMoreHandles

1814

No more notification handles.

Error code: 1814(0x716).

DeviceInvalidWatchsize

1815

Size for watch to big.

Error code: 1815(0x717).

DeviceNotInitialized

1816

Device is not initialized.

Errocr code: 1818(0x718).

DeviceTimeOut

1817

Devicee has a timeout.

Error code: 1817(0x719).

DeviceNoInterface

1818

Query interface has failed.

Error code: 1818(0x71A).

DeviceInvalidInterface

1819

Wrong interface required.

Error code: 1819(0x71B).

DeviceInvalidCLSID

1820

Class ID is invalid.

Error code: 1820(0x71C).

DeviceInvalidObjectID

1821

Object ID is invalid.

Error code: 1821(0x71D).

DeviceRequestIsPending

1822

Device: Request is Pending.

Error code: 1822(0x71E).

DeviceRequestIsAborted

1823

Device: Request is Aborted.

Error code: 1823(0x71F).

DeviceSignalWarning

1824

Device: Signal warning.

Error code: 1824(0x720).

DeviceInvalidArrayIndex

1825

Device: Invalid Array Index (ADSERR_DEVICE_INVALIDARRAYIDX)

Error code: 1825(0x721).

DeviceSymbolNotActive

1826

Device: Symbol not Active

Error code: 1826(0x722).

DeviceAccessDenied

1827

Device: Access denied.

Error code: 1827(0x723).

DeviceLicenseNotFound

1828

Device: license not found

Error code: 1828(0x724).

DeviceLicenseExpired

1829

Device: license expired

Error code: 1829(0x725).

DeviceLicenseExceeded

1830

Device: license exceeded

Error code: 1830(0x726).

DeviceLicenseInvalid

1831

Device: license invalid

Error code: 1831(0x727).

DeviceLicenseSystemId

1832

Device: license invalid system id

Error code: 1832(0x728).

DeviceLicenseNoTimeLimit

1833

Device: license not time limited

Error code: 1833(0x729).

DeviceLicenseFutureIssue

1834

Device: license issue time in the future

Error code: 1834(0x72A).

DeviceLicenseTimeToLong

1835

Device: license time period to long

Error code: 1835(0x72B).

DeviceException

1836

Device: Exception in device specific code

Error code: 1836(0x72C).

DeviceLicenseDuplicated

1837

Device: license file read twice

Error code: 1837(0x72D).

DeviceSignatureInvalid

1838

Device: invalid signature

Error code: 1838(0x72E).

DeviceCertificateInvalid

1839

Device: public key certificate

Error code: 1839(0x72F).

DeviceLicenseOemNotFound

1840

Device: public key of OEM unknown

Error code: 1840(0x730).

DeviceLicenseRestricted

1841

Device: license not valid for this system id type

Error code: 1841(0x731).

DeviceLicenseDemoDenied

1842

Device: trial license denied

Error code: 1842(0x732).

DeviceInvalidFncId

1843

Device: function id is invalid

Error code: 1843(0x733).

DeviceOutOfRange

1844

Device: a parameter, an index, an iterator, ... is out of range

Error code: 1844(0x734).

DeviceInvalidAlignment

1845

Device: invalid alignment

Error code: 1845(0x735).

DeviceLicensePlatform

1846

Device: license invalid platform level

Error code: 1846(0x736).

ClientError

1856

Error class <client error>

Error code: 1856(0x740).

ClientInvalidParameter

1857

Parameter at service is invalid. Error code: 1857(0x741).

ClientListEmpty

1858

Polling list is empty.

Error code: 1858(0x742).

ClientVariableInUse

1859

Variable connection is already in use.

Error code: 1859(0x743).

ClientDuplicateInvokeID

1860

Invoke ID already in use.

Error code: 1860(0x744).

ClientSyncTimeOut

1861

Timeout has elapsed.

Error code: 1861(x745).

ClientW32OR

1862

Error in win32 subsystem.

Error code: 1862(0x746).

ClientTimeoutInvalid

1863

Timeout value is invalid.

Error code: 1863(0x747).

ClientPortNotOpen

1864

ADS port is not opened.

Error code: 1864(0x748).

ClientNoAmsAddr

1865

No AMS Address.

Error code: 1865(0x749).

ClientSyncInternal

1872

An internal in ADS sync has occurred.

Error code: 1872(0x750).

ClientAddHash

1873

Hash table overflow.

Error code: 1873(0x751).

ClientRemoveHash

1874

There are no more symbols in the hash table.

Error code: 1874(0x752).

ClientNoMoreSymbols

1875

There are no more symbols in cache.

Error code: 1875(0x753).

ClientSyncResInvalid

1876

An invalid response has been received.

Error code: 1876(0x754).

ClientSyncPortLocked

1877

Sync port is locked.

Error code: 1877(0x755).

ClientQueueFull

32768

Client queue is full

WSA_ConnRefused

10061

Windows sockets connection refused (0x274d, 10061)

Reference

TwinCAT.Ads Namespace