Table of Contents

PlatformErrorCode

Namespace
ZPlatform

AdsErrorCodes that are specified by Beckhoff for the function blocks that they ship with their standard TwinCAT libraries such as Tc2_Utilities, Tc2_System, ... .

Fields

NoError = 0
InternalError = 1
NoRTime = 2
LockedMemoryError = 3
MailBoxError = 4
WrongHMsg = 5
TargetPortNotFound = 6
TargetMachineNotFound = 7
UnknownCommandID = 8
BadTaskID = 9
NoIO = 10
UnknownAmsCommand = 11
Win32Error = 12
PortNotConnected = 13
InvalidAmsLength = 14
InvalidAmsNetID = 15
LowInstallLevel = 16
NoDebug = 17
PortDisabled = 18
PortConnected = 19
AmsSyncWin32Error = 20
SyncTimeOut = 21
AmsSyncAmsError = 22
AmsSyncNoIndexMap = 23
InvalidAmsPort = 24
NoMemory = 25
TCPSendError = 26
HostUnreachable = 27
AmsInvalidFragment = 28
TlsSendError = 29
TlsSecureAccessDenied = 30
NoLockedMemory = 1280
ResizeMemory = 1281
MailboxFull = 1282
DebugBoxFull = 1283
UnknownPortType = 1284
RouterNotInitialized = 1285
PortAlreadyInUse = 1286
PortNotRegistered = 1287
NoMoreQueues = 1288
InvalidPort = 1289
RouterNotActive = 1290
RouterFragmentBoxFull = 1291
RouterFragmentTimeout = 1292
RouterToBeRemoved = 1293
DeviceError = 1792
DeviceServiceNotSupported = 1793
DeviceInvalidGroup = 1794
DeviceInvalidOffset = 1795
DeviceInvalidAccess = 1796
DeviceInvalidSize = 1797
DeviceInvalidData = 1798
DeviceNotReady = 1799
DeviceBusy = 1800
DeviceInvalidContext = 1801
DeviceNoMemory = 1802
DeviceInvalidParam = 1803
DeviceNotFound = 1804
DeviceSyntaxError = 1805
DeviceIncompatible = 1806
DeviceExists = 1807
DeviceSymbolNotFound = 1808
DeviceSymbolVersionInvalid = 1809
DeviceInvalidState = 1810
DeviceTransModeNotSupported = 1811
DeviceNotifyHandleInvalid = 1812
DeviceClientUnknown = 1813
DeviceNoMoreHandles = 1814
DeviceInvalidWatchsize = 1815
DeviceNotInitialized = 1816
DeviceTimeOut = 1817
DeviceNoInterface = 1818
DeviceInvalidInterface = 1819
DeviceInvalidCLSID = 1820
DeviceInvalidObjectID = 1821
DeviceRequestIsPending = 1822
DeviceRequestIsAborted = 1823
DeviceSignalWarning = 1824
DeviceInvalidArrayIndex = 1825
DeviceSymbolNotActive = 1826
DeviceAccessDenied = 1827
DeviceLicenseNotFound = 1828
DeviceLicenseExpired = 1829
DeviceLicenseExceeded = 1830
DeviceLicenseInvalid = 1831
DeviceLicenseSystemId = 1832
DeviceLicenseNoTimeLimit = 1833
DeviceLicenseFutureIssue = 1834
DeviceLicenseTimeToLong = 1835
DeviceException = 1836
DeviceLicenseDuplicated = 1837
DeviceSignatureInvalid = 1838
DeviceCertificateInvalid = 1839
DeviceLicenseOemNotFound = 1840
DeviceLicenseRestricted = 1841
DeviceLicenseDemoDenied = 1842
DeviceInvalidFncId = 1843
DeviceOutOfRange = 1844
DeviceInvalidAlignment = 1845
DeviceLicensePlatform = 1846
ClientError = 1856
ClientInvalidParameter = 1857
ClientVariableInUse = 1859
ClientDuplicateInvokeID = 1860
ClientSyncTimeOut = 1861
ClientW32OR = 1862
ClientTimeoutInvalid = 1863
ClientPortNotOpen = 1864
ClientNoAmsAddr = 1865
ClientSyncInternal = 1872
ClientAddHash = 1873
ClientRemoveHash = 1874
ClientNoMoreSymbols = 1875
ClientSyncResInvalid = 1876
ClientSyncPortLocked = 1877
RTimeInternal = 4096
RTimeBadTimerPeriods = 4097
RTimeInvalidTaskPtr = 4098
RTimeInvalidStackPtr = 4099
RTimePrioExists = 4100
RTimeNoMoreTcb = 4101
RTimeNoMoreSemas = 4102
RTimeNoMoreQueues = 4103
RTimeExtIrqAlreadyDef = 4109
RTimeExtIrqNotDef = 4110
RTimeExtIrqInstallFailed = 4111
RTimeIrqlNotLessOrEqual = 4112
RTimeVmxNotSupported = 4119
RTimeVmxDisabled = 4120
RTimeVmxControlsMissing = 4121
RTimeVmxEnableFails = 4122
ClientQueueFull = 32768
WSA_ETimedOut = 10060
WSA_ConnRefused = 10061