IoT

namespace Modbus

Overview

Classes: GenericMessage, IModbusMaster, MaskWriteRegisterRequest, MaskWriteRegisterResponse, ModbusException, ModbusExceptionMessage, ModbusMaster, ModbusMasterEventDispatcher, ModbusMasterImpl, ModbusMasterRemoteObject, ModbusMasterServerHelper, ModbusMasterSkeleton, ModbusMessage, PDUReader, PDUWriter, ReadCoilsRequest, ReadCoilsResponse, ReadDiscreteInputsRequest, ReadDiscreteInputsResponse, ReadExceptionStatusRequest, ReadExceptionStatusResponse, ReadFIFOQueueRequest, ReadFIFOQueueResponse, ReadHoldingRegistersRequest, ReadHoldingRegistersResponse, ReadInputRegistersRequest, ReadInputRegistersResponse, ReadWriteMultipleRegistersRequest, ReadWriteMultipleRegistersResponse, WriteMultipleCoilsRequest, WriteMultipleCoilsResponse, WriteMultipleRegistersRequest, WriteMultipleRegistersResponse, WriteSingleCoilRequest, WriteSingleCoilResponse, WriteSingleRegisterRequest, WriteSingleRegisterResponse

Classes

struct GenericMessage

A generic Modbus frame. more...

class IModbusMaster

This class defines the interface for Modbus clients. more...

struct MaskWriteRegisterRequest

Modbus Mask Write Register Request Function Code: 0x16 more...

struct MaskWriteRegisterResponse

Modbus Mask Write Register Response Function Code: 0x16 more...

class ModbusException

An exception class for Modbus exceptions. more...

struct ModbusExceptionMessage

Modbus Exception Message more...

class ModbusMaster

This class defines the interface for Modbus clients. more...

class ModbusMasterEventDispatcher

This class defines the interface for Modbus clients. more...

class ModbusMasterImpl

An implementation of the ModbusMaster interface for the Modbus RTU protocol over a serial line. more...

class ModbusMasterRemoteObject

This class defines the interface for Modbus clients. more...

class ModbusMasterServerHelper

This class defines the interface for Modbus clients. more...

class ModbusMasterSkeleton

This class defines the interface for Modbus clients. more...

struct ModbusMessage

 more...

class PDUReader

The PDUReader class is used to write Modbus PDU data using a Poco::BinaryWritermore...

class PDUWriter

The PDUWriter class is used to write Modbus PDU data using a Poco::BinaryWritermore...

struct ReadCoilsRequest

Modbus Read Coils Request Function Code: 0x01 more...

struct ReadCoilsResponse

Modbus Read Coils Response Function Code: 0x01 more...

struct ReadDiscreteInputsRequest

Modbus Read Inputs Request Function Code: 0x02 more...

struct ReadDiscreteInputsResponse

Modbus Read Inputs Response Function Code: 0x02 more...

struct ReadExceptionStatusRequest

Modbus Read Exception Status Request Function Code: 0x07 more...

struct ReadExceptionStatusResponse

Modbus Read Exception Status Response Function Code: 0x07 more...

struct ReadFIFOQueueRequest

Modbus Read FIFO Queue Request Function Code: 0x18 more...

struct ReadFIFOQueueResponse

Modbus Read FIFO Queue Response Function Code: 0x18 more...

struct ReadHoldingRegistersRequest

Modbus Read Holding Registers Request Function Code: 0x03 more...

struct ReadHoldingRegistersResponse

Modbus Read Holding Registers Response Function Code: 0x03 more...

struct ReadInputRegistersRequest

Modbus Read Input Registers Request Function Code: 0x04 more...

struct ReadInputRegistersResponse

Modbus Read Input Registers Response Function Code: 0x04 more...

struct ReadWriteMultipleRegistersRequest

Modbus Read/Write Multiple Registers Request Function Code: 0x17 more...

struct ReadWriteMultipleRegistersResponse

Modbus Read/Write Multiple Registers Response Function Code: 0x17 more...

struct WriteMultipleCoilsRequest

Modbus Write Multiple Coils Request Function Code: 0x0F more...

struct WriteMultipleCoilsResponse

Modbus Write Multiple Coils Response Function Code: 0x0F more...

struct WriteMultipleRegistersRequest

Modbus Write Multiple Registers Request Function Code: 0x10 more...

struct WriteMultipleRegistersResponse

Modbus Read Multiple Registers Response Function Code: 0x10 more...

struct WriteSingleCoilRequest

Modbus Write Single Coil Request Function Code: 0x05 more...

struct WriteSingleCoilResponse

Modbus Write Single Coil Response Function Code: 0x05 more...

struct WriteSingleRegisterRequest

Modbus Write Single Register Request Function Code: 0x06 more...

struct WriteSingleRegisterResponse

Modbus Write Single Register Response Function Code: 0x06 more...

Enumerations

ExceptionCodes

See the MODBUS Application Protocol Specification V1.1b3 for a detailed description of these exception codes.

MODBUS_EXC_ILLEGAL_FUNCTION = 0x01

MODBUS_EXC_ILLEGAL_DATA_ADDRESS = 0x02

MODBUS_EXC_ILLEGAL_DATA_VALUE = 0x03

MODBUS_EXC_SERVER_DEVICE_FAILURE = 0x04

MODBUS_EXC_ACKNOWLEDGE = 0x05

MODBUS_EXC_SERVER_DEVICE_BUSY = 0x06

MODBUS_EXC_MEMORY_PARITY_ERROR = 0x08

MODBUS_EXC_GATEWAY_PATH_UNAVAILABLE = 0x0A

MODBUS_EXC_GATEWAY_TARGET_DEVICE_FAILED_TO_RESPOND = 0x0B

FunctionCodes

See the MODBUS Application Protocol Specification V1.1b3 for a detailed description of these function codes.

MODBUS_READ_COILS = 0x01

MODBUS_READ_DISCRETE_INPUTS = 0x02

MODBUS_READ_HOLDING_REGISTERS = 0x03

MODBUS_READ_INPUT_REGISTERS = 0x04

MODBUS_WRITE_SINGLE_COIL = 0x05

MODBUS_WRITE_SINGLE_REGISTER = 0x06

MODBUS_READ_EXCEPTION_STATUS = 0x07

MODBUS_DIAGNOSTICS = 0x08

MODBUS_GET_COMM_EVENT_COUNTER = 0x0B

MODBUS_GET_COMM_EVENT_LOG = 0x0C

MODBUS_WRITE_MULTIPLE_COILS = 0x0F

MODBUS_WRITE_MULTIPLE_REGISTERS = 0x10

MODBUS_REPORT_SERVER_ID = 0x11

MODBUS_READ_FILE_RECORD = 0x14

MODBUS_WRITE_FILE_RECORD = 0x15

MODBUS_MASK_WRITE_REGISTER = 0x16

MODBUS_READ_WRITE_MULTIPLE_REGISTERS = 0x17

MODBUS_READ_FIFO_QUEUE = 0x18

MODBUS_ENCAPSULATED_INTERFACE_TRANSPORT = 0x2B

MODBUS_EXCEPTION_MASK = 0x80

MODBUS_FUNCTION_CODE_MASK = 0x7F