Enum ModbusExceptionCode
- Namespace
- FluentModbus
- Assembly
- FluentModbus.dll
Specifies the Modbus exception type.
public enum ModbusExceptionCode : byte
Fields
Acknowledge = 5Specialized 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.
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 = 11Specialized use in conjunction with gateways, indicates that no response was obtained from the target device.
IllegalDataAddress = 2The data address received in the query is not an allowable address for the server.
IllegalDataValue = 3A value contained in the query data field is not an allowable value for server.
IllegalFunction = 1The function code received in the query is not an allowable action for the server.
MemoryParityError = 8Specialized 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 = 0Only used by the server to indicated that no exception should be returned to the client.
ServerDeviceBusy = 6Specialized use in conjunction with programming commands. The engaged in processing a long–duration program command.
ServerDeviceFailure = 4An unrecoverable error occurred while the server was attempting to perform the requested action.