Table of Contents

Enum ModbusExceptionCode

Namespace
FluentModbus
Assembly
FluentModbus.dll

Specifies the Modbus exception type.

public enum ModbusExceptionCode : byte

Fields

Acknowledge = 5

Specialized use in conjunction with programming commands. The server has accepted the request and is processing it, but a long duration of time will be required to do so.

GatewayPathUnavailable = 10

Specialized use in conjunction with gateways, indicates that the gateway was unable to allocate an internal communication path from the input port to the output port for processing the request.

GatewayTargetDeviceFailedToRespond = 11

Specialized use in conjunction with gateways, indicates that no response was obtained from the target device.

IllegalDataAddress = 2

The data address received in the query is not an allowable address for the server.

IllegalDataValue = 3

A value contained in the query data field is not an allowable value for server.

IllegalFunction = 1

The function code received in the query is not an allowable action for the server.

MemoryParityError = 8

Specialized use in conjunction with function codes 20 and 21 and reference type 6, to indicate that the extended file area failed to pass a consistency check.

OK = 0

Only used by the server to indicated that no exception should be returned to the client.

ServerDeviceBusy = 6

Specialized use in conjunction with programming commands. The engaged in processing a long–duration program command.

ServerDeviceFailure = 4

An unrecoverable error occurred while the server was attempting to perform the requested action.