ERROR_ID (ENUM)

TYPE ERROR_ID :

Attributes:
qualified_only
InOut:

Name

Initial

Comment

NO_ERROR

16#0

Execution successfully completed

INVALID_INPUT2

16#4020

Invalid value at input 2

INVALID_INPUT3

16#4030

Invalid value at input 3

INVALID_INPUT4

16#4040

Invalid value at input 4

INVALID_INPUT5

16#4050

Invalid value at input 5

INVALID_INPUT6

16#4060

Invalid value at input 6

INVALID_INPUT7

16#4070

Invalid value at input 7

ERR_NOT_CONFIGURED

16#1

Modbus RTU not configured

ERR_INVALID_INTERFACE

16#2

Invalid COM interface

ERR_ENDIANESS_NOT_SUPPORTED

16#3

Endianess / byte order not supported

ERR_FCT_NOT_SUPPORTED

16#4

Function code not supported

ERR_ILLEGAL_REGISTER_ADDRESS

16#5

Illegal register address

ERR_DATA_SIZE

16#6

Number of data to read/write exceeds capabilities

ERR_INVALID_ACCESS

16#7

Invalid address of local storage of data to read/write

ERR_INVALID_TIMEOUT_VALUE

16#8

Invalid value for response timeout

ERR_INVALID_SERVER_ADDRESS

16#9

Invalid value for server address

ERR_ALREADY_IN_STATE

16#10

Server already in requested state

ERR_FAILED_SET_STATE

16#11

Failed to set Server to requested state

ERR_SIMULTANEOUS_ACCESS

16#12

Server already accessed by other FB instance, try again later on

ERR_INIT

16#13

Modbus RTU not properly initialized / out of memory

ERR_EXCEPT_01_ILLEGAL_FUNCTION

16#101

Illegal function exception. Exception response by Server containing error code 01 / 16#01

ERR_EXCEPT_02_ILLEGAL_DATA_ADDRESS

16#102

Illegal data address. Exception response by Server containing error code 02 / 16#02

ERR_EXCEPT_03_ILLEGAL_DATA_VALUE

16#103

Illegal data value. Exception response by Server containing error code 03 / 16#03

ERR_EXCEPT_04_SERVER_DEVICE_FAILURE

16#104

Server device failure. Exception response by Server containing error code 04 / 16#04

ERR_EXCEPT_05_SERVER_ACKNOWLEDGE

16#105

Server acknowledge. Exception response by Server containing error code 05 / 16#05

ERR_EXCEPT_06_SERVER_DEVICE_BUSY

16#106

Server device busy. Exception response by Server containing error code 06 / 16#06

ERR_EXCEPT_07_SERVER_NO_ACKNOWLEDGE

16#107

Server no acknowledge. Exception response by Server containing error code 07 / 16#07

ERR_EXCEPT_08_MEMORY_PARITY_ERROR

16#108

Memory parity error. Exception response by Server containing error code 08 / 16#08

ERR_EXCEPT_09_SERVER_PASSIVE

16#109

Probably passive Server. Exception response by Server containing error code 09 / 16#09

ERR_EXCEPT_0A_GATEWAY_PATH_UNAVAILABLE

16#10A

Gateway path unavailable. Exception response by Server containing error code 10 / 16#0A

ERR_EXCEPT_0B_GATEWAY_TARGET_DEVICE

16#10B

Gateway target device failed to respond. Exception response by Server containing error code 11 / 16#0B

ERR_TIMEOUT

16#120

Timeout expired. Server did not respond within specified time

ERR_UNEXPECTED_RESULT

16#121

Unexpected result reported by stack

BUSY

16#FFF

Busy, call again

FATAL_ERROR

16#5FFF

Fatal error state machine

ERR_NO_MEMORY

16#8001

Not enough memory

ERR_INTERNAL_IO

16#8002

Internal error in I/O layer

ERR_INTERNAL_INVALID_STATE

16#8003

Invalid state, fatal internal error

ERR_INTERNAL_ILLEGAL_STATE

16#8004

Protocol stack in illegal state. Fatal internal error

ERR_INTERNAL_UNEXPECTED_STATE

16#8005

Unexpected state. Fatal internal error.

ERR_INTERNAL_IO_RETRY

16#8006

Retry I/O operation. Operation not yet completed, function to be called again

ERR_INTERNAL_ILLEGAL_ARGUMENT

16#8007

Stack reports illegal argument (internal error)

ERR_INTERNAL_INVALID_HANDLE

16#8008

Illegal argument, unknown instance ‘pHandle’. Internal error.

ERR_INTERNAL_PORTING

16#8009

Porting layer error. Operating system signaled error

ERR_UNKNOWN

16#800A

Undefined error

ERR_COM_DIFFERENT_LINE

16#800B

Com interface differs from the actually assigned COM by other blocks on same LineToken variable