Class ModbusClientException
Thrown when a Modbus transaction fails.
public sealed class ModbusClientException : PamojaException, ISerializable
- Inheritance
-
ModbusClientException
- Implements
- Inherited Members
Properties
ExceptionCode
For Exception, why the device refused.
public ModbusExceptionCode? ExceptionCode { get; }
Property Value
Found
For WrongUnit, the unit that answered, and for WrongFunction, the function the reply named.
public byte? Found { get; }
Property Value
- byte?
FunctionCode
For Exception and WrongFunction, the function asked.
public byte? FunctionCode { get; }
Property Value
- byte?
Kind
Why the transaction failed.
public ModbusClientErrorKind Kind { get; }
Property Value
Received
For Timeout, how many bytes of a reply had arrived.
public int? Received { get; }
Property Value
- int?
Unit
The unit the transaction asked.
public byte Unit { get; }