20 lines
508 B
C#
20 lines
508 B
C#
|
|
||
|
namespace InnovEnergy.Lib.Protocols.Modbus.Protocol;
|
||
|
|
||
|
public enum ExceptionCode : byte
|
||
|
{
|
||
|
IllegalFunction = 1,
|
||
|
IllegalDataAddress = 2,
|
||
|
IllegalDataValue = 3,
|
||
|
SlaveDeviceFailure = 4,
|
||
|
Ack = 5,
|
||
|
SlaveIsBusy = 6,
|
||
|
NAck = 7,
|
||
|
MemoryParityError = 8,
|
||
|
GatePathUnavailable = 10,
|
||
|
SendFailed = 100,
|
||
|
Offset = 128,
|
||
|
NotConnected = 253,
|
||
|
ConnectionLost = 254,
|
||
|
Timeout = 255,
|
||
|
}
|