Error (ENUM)

TYPE Error :

Error type used in MODBUS function block library.

Attributes:
qualified_only
InOut:

Name

Initial

Comment

OK

0

LicenseMissing

1

Valid MODBUS license is missing.

InvalidDataModel

2

The “data model” contains errors or inconsistencies.

IllegalFunction

3

Undefined “function code” used to enable/disable supported “function codes”.

InvalidUnitId

4

Invalid Unit-Id / Slave address.

NoMemory

21

Can not allocate memory.

InternalError

22

Other internal error.

RequestNotProcessed

50

Request not processed in time

RequestException

51

Request caused reply “exception”.

RequestParameterError

52

Invalid request parameter, for example “Read Coils” -> “Quantity of coils” = 0

RequestError

53

Internal request error

RequestCancelled

54

Request cancelled

ReplyError

55

Internal reply error

ReplyTimeout

56

No reply received in time

InvalidReply

57

Invalid / incomplete reply

TcpSocketError

101

Error on open/close/read/write TCP socket.

TcpInvalidInterface

102

The application tried to use an unknown ETH interface.

TcpConnectTimeout

103

TCP connect timeout.

SerialInvalidComPort

201

The application tried to use an unknown SysCom port.

SerialComPortUserInconsistentPortSetting

202

Multiple ServerSerial function blocks tried to share one SysCom port with inconsistent settings.

SerialComPortUserClientExclusiveError

203

A ClientSerial function block is not allowed to share a SysCom port with any other user.

SerialComPortError

204

Error on open/close/read/write SysCom port.

SerialInternalError

205

Internal error working with SysCom port.