Class Consts
Contains protocol constant definitions.
public static class Consts
- Inheritance
-
Consts
Fields
ErrorMask
The Bit-Mask to filter the error-state of a Modbus response.
public const byte ErrorMask = 128
Field Value
MaxAddress
The highest address.
public const ushort MaxAddress = 65535
Field Value
MaxCoilCountRead
The highest number of requested coils to read.
public const ushort MaxCoilCountRead = 2000
Field Value
MaxCoilCountWrite
The highest number of requested coils to write.
public const ushort MaxCoilCountWrite = 1968
Field Value
MaxDeviceId
The highest accepted device id on RTU protocol.
public const byte MaxDeviceId = 247
Field Value
MaxRegisterCountRead
The highest number of requested registers to read.
public const ushort MaxRegisterCountRead = 125
Field Value
MaxRegisterCountWrite
The highest number of requested registers to write.
public const ushort MaxRegisterCountWrite = 123
Field Value
MinAddress
The lowest address.
public const ushort MinAddress = 0
Field Value
MinCount
The lowest number of requested data sets.
public const ushort MinCount = 1
Field Value
MinDeviceId
The lowest accepted device id on RTU protocol.
public const byte MinDeviceId = 1