Skip to main content

Allen-Bradley Ethernet/IP IoT connector error codes

Symbolic

Error code

Description

PLCTAG_STATUS_PENDING

1

Operation in progress. Not an error.

PLCTAG_STATUS_OK

0

No error. The operation was successful or the state of the tag is good.

PLCTAG_ERR_ABORT

-1

The operation was aborted.

PLCTAG_ERR_BAD_CONFIG

-2

The operation failed due to incorrect configuration. Usually returned from a remote system.

PLCTAG_ERR_BAD_CONNECTION

-3

The connection failed for some reason. This can mean that the remote PLC was power cycled, for instance.

PLCTAG_ERR_BAD_DATA

-4

The data received from the remote PLC was undecipherable or otherwise not able to be processed. Can also be returned from a remote system that cannot process the data sent to it.

PLCTAG_ERR_BAD_DEVICE

-5

Something addressed on a remote system does not exist.

PLCTAG_ERR_BAD_GATEWAY

-6

Unable to connect to a remote system.

PLCTAG_ERR_BAD_PARAM

-7

Something is not correct with the tag creation attribute string.

PLCTAG_ERR_BAD_REPLY

-8

The remote system returned an unexpected response.

PLCTAG_ERR_BAD_STATUS

-9

A remote system is not in a good state.

PLCTAG_ERR_CLOSE

-10

An error occurred trying to close some resource.

PLCTAG_ERR_CREATE

-11

An error occurred trying to create some internal resource.

PLCTAG_ERR_DUPLICATE

-12

An error returned by a remote system when something is incorrectly duplicated (such as a duplicate connection ID).

PLCTAG_ERR_ENCODE

-13

An error trying to encode some data such as a tag name.

PLCTAG_ERR_MUTEX_DESTROY

-14

An internal library error. (highly unlikely)

PLCTAG_ERR_MUTEX_INIT

-15

An internal library error. (highly unlikely)

PLCTAG_ERR_MUTEX_LOCK

-16

An internal library error. (highly unlikely)

PLCTAG_ERR_MUTEX_UNLOCK

-17

An internal library error. (highly unlikely)

PLCTAG_ERR_NOT_ALLOWED

-18

And error returned from the remote system when an operation is not permitted.