IoT::Modbus

struct ReadWriteMultipleRegistersRequest

Library: IoT/Modbus
Package: ModbusMaster
Header: IoT/Modbus/ModbusMaster.h

Description

Modbus Read/Write Multiple Registers Request

Function Code: 0x17

Inheritance

Direct Base Classes: ModbusMessage

All Base Classes: ModbusMessage

Constructors

ReadWriteMultipleRegistersRequest inline

ReadWriteMultipleRegistersRequest();

Variables

readCount

Poco::UInt16 readCount;

0x0001 to 0x007D

readStartingAddress

Poco::UInt16 readStartingAddress;

0x0000 to 0xFFFF

values

std::vector < Poco::UInt16 > values;

Up to 191 (0x79) values to be written to registers.

writeStartingAddress

Poco::UInt16 writeStartingAddress;

0x0000 to 0xFFFF

Securely control IoT edge devices from anywhere   Connect a Device