PLC error information
Name |
Data type |
Initial value |
Meaning |
---|---|---|---|
ERR_OK |
UDINT |
16#0000 |
Common error codes (Range: 0x0000 - 0x00FF |
ERR_FAILED |
UDINT |
16#0001 |
General error - to be used only for internal errors |
ERR_PARAMETER |
UDINT |
16#0002 |
Invalid parameter for this operation |
ERR_NOTINITIALIZED |
UDINT |
16#0003 |
Function cannot be executed, since component has not been initialized yet. |
ERR_VERSION |
UDINT |
16#0004 |
Version conflict |
ERR_TIMEOUT |
UDINT |
16#0005 |
Operation timed out |
ERR_NOBUFFER |
UDINT |
16#0006 |
Insufficient memory to carry out the request |
ERR_PENDING |
UDINT |
16#000A |
For async-calls: Call not complete, yet |
ERR_NUMPENDING |
UDINT |
16#000B |
To many pending calls. Try later |
ERR_NOTIMPLEMENTED |
UDINT |
16#000C |
The function is not implemented |
ERR_INVALID |
UDINT |
16#000D |
No object with the provided id found |
ERR_OVERFLOW |
UDINT |
16#000E |
Integer overflow |
ERR_BUFFERSIZE |
UDINT |
16#000F |
The size of a buffer is to small or invalid |
ERR_NO_OBJECT |
UDINT |
16#0010 |
No object with this specified name available |
ERR_NOMEMORY |
UDINT |
16#0011 |
No heap memory available |
ERR_DUPLICATE |
UDINT |
16#0012 |
An object with the same name is still available |
ERR_MEMORY_OVERWRITE |
UDINT |
16#0013 |
Heap memory was written out of bounds! Memory overwrite error |
ERR_INVALID_HANDLE |
UDINT |
16#0014 |
Invalid handle TO an object |
ERR_END_OF_OBJECT |
UDINT |
16#0015 |
End OF object reached |
ERR_NO_CHANGE |
UDINT |
16#0016 |
No changes done |
ERR_INVALID_INTERFACE |
UDINT |
16#0017 |
Invalid or unknown interface |
ERR_NOT_SUPPORTED |
UDINT |
16#0018 |
Functionality not supported |
ERR_NO_ACCESS_RIGHTS |
UDINT |
16#0019 |
No access rights FOR this operation |
ERR_OUT_OF_LIMITS |
UDINT |
16#001A |
Specified limits OF a resource exceeded |
ERR_ENTRIES_REMAINING |
UDINT |
16#001B |
Remaining entries that could NOT be transmitted because OF buffer limitation |
ERR_INVALID_SESSION_ID |
UDINT |
16#001C |
Invalid online sessionid |
ERR_EXCEPTION |
UDINT |
16#001D |
Exception occured |
ERR_SIGNATURE_MISMATCH |
UDINT |
16#001E |
Signature mismatch OF an api function |
ERR_VERSION_MISMATCH |
UDINT |
16#001F |
Version mismatch |
ERR_TYPE_MISMATCH |
UDINT |
16#0020 |
TYPE mismatch |
ERR_ID_MISMATCH |
UDINT |
16#0021 |
ID mismatch |
ERR_NO_CONSISTENCY |
UDINT |
16#0022 |
Consistency error |
ERR_NO_COMM_CYCLE |
UDINT |
16#0023 |
No COMM_CYCLE needed |
ERR_DONT_SUSPEND_TASK |
UDINT |
16#0024 |
DO NOT suspend task after an exception |
ERR_MEMORY_LOCK_FAILED |
UDINT |
16#0025 |
Memory cannot be locked in THIS operation |
ERR_LICENSE_MISSING |
UDINT |
16#0026 |
License missing FOR the runtime |
ERR_OPERATION_DENIED |
UDINT |
16#0027 |
Operation denied |
ERR_DEVICE |
UDINT |
16#0028 |
Device error |
ERR_DISK_FULL |
UDINT |
16#0029 |
Disk full |
ERR_CRC_FAILED |
UDINT |
16#0030 |
Internal use in runtime |
ERR_MEDIA_ERASE |
UDINT |
16#0031 |
Internal use in runtime |
ERR_FILE_ERROR |
UDINT |
16#0032 |
File error. e. g. cannot open a file FOR writing because it could be write PROJECTED |
ERR_NO_RETAIN_MEMORY |
UDINT |
16#0033 |
No RETAIN memory available |
ERR_SOCK_NOTINITIALIZED |
UDINT |
16#0201 |
Socket errors (Range: 0x0200 - 0x02FF) |
ERR_SOCK_NOTSOCKET |
UDINT |
16#0202 |
Provided socket handle is invalid |
ERR_SOCK_AFUNSUPPORTED |
UDINT |
16#0203 |
Address family is NOT supported |
ERR_SOCK_PROTOUNSUPPORTED |
UDINT |
16#0204 |
Protocol is not supported */ |
ERR_SOCK_NOBUFFER |
UDINT |
16#0205 |
NOT enough buffer to handle the request */ |
ERR_SOCK_WOULDBLOCK |
UDINT |
16#0206 |
Socket is in nonblocking mode but THIS call would block */ |
ERR_SOCK_ADDRINUSE |
UDINT |
16#0207 |
The provided address is already in use */ |
ERR_SOCK_ADDRNOTAVAILABLE |
UDINT |
16#0208 |
The provided address is not available on this computer */ |
ERR_SOCK_CONNREFUSED |
UDINT |
16#0209 |
Connection has been refused BY the remote host */ |
ERR_SOCK_TIMEDOUT |
UDINT |
16#020A |
Operation timed out */ |
ERR_SOCK_HOSTNOTFOUND |
UDINT |
16#020B |
The host has not been found */ |
ERR_SOCK_HOSTUNREACHABLE |
UDINT |
16#020C |
Host is unreachable */ |
ERR_SOCK_ISCONNECTED |
UDINT |
16#020D |
Socket is already connected */ |
ERR_SOCK_NOTCONNECTED |
UDINT |
16#020E |
The socket is not connected */ |
ERR_SOCK_SHUTDOWN |
UDINT |
16#020F |
Shutdown has been called on the socket */ |
ERR_SOCK_MSGSIZE |
UDINT |
16#0210 |
FOR sockets OF THE DGRAM. The Package TO send exceeds the maximum package size */ |
ERR_SOCK_CLOSED |
UDINT |
16#0211 |
Socket has been garcefully closed. No more send/recieves allowed */ |