Table of Contents

Namespace Pamoja.Modbus

Classes

Modbus

Modbus RTU framing for RS485 field devices.

ModbusClient

A Modbus RTU client on a serial line: the gateway, the master in the specification's words, that sends each request and waits for its reply.

ModbusClientException

Thrown when a Modbus transaction fails.

ModbusFrame

A received Modbus RTU frame whose CRC has been verified.

ModbusLine

Several devices on one simulated line, as devices share an RS485 pair: every frame reaches all of them, the one it is addressed to answers, and each carries out a broadcast write.

ModbusServer

A Modbus device: a unit address and the four tables it serves, coils, discrete inputs, holding registers, and input registers, each holding only the addresses it was given.

Enums

ModbusClientErrorKind

Why a Modbus transaction failed.

ModbusExceptionCode

The reason a device gives for refusing a request, as it appears on the wire.