Table of Contents

Class Consts

Namespace
Iot.Device.Modbus
Assembly
Iot.Device.Modbus.dll

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

byte

MaxAddress

The highest address.

public const ushort MaxAddress = 65535

Field Value

ushort

MaxCoilCountRead

The highest number of requested coils to read.

public const ushort MaxCoilCountRead = 2000

Field Value

ushort

MaxCoilCountWrite

The highest number of requested coils to write.

public const ushort MaxCoilCountWrite = 1968

Field Value

ushort

MaxDeviceId

The highest accepted device id on RTU protocol.

public const byte MaxDeviceId = 247

Field Value

byte

MaxRegisterCountRead

The highest number of requested registers to read.

public const ushort MaxRegisterCountRead = 125

Field Value

ushort

MaxRegisterCountWrite

The highest number of requested registers to write.

public const ushort MaxRegisterCountWrite = 123

Field Value

ushort

MinAddress

The lowest address.

public const ushort MinAddress = 0

Field Value

ushort

MinCount

The lowest number of requested data sets.

public const ushort MinCount = 1

Field Value

ushort

MinDeviceId

The lowest accepted device id on RTU protocol.

public const byte MinDeviceId = 1

Field Value

byte