IoT::Modbus

struct ReadWriteMultipleRegistersRequest

File Information

Library: IoT/Modbus
Package: ModbusCore
Header: IoT/Modbus/Types.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 = 0;

0x0001 to 0x007D

readStartingAddress

Poco::UInt16 readStartingAddress = 0;

0x0000 to 0xFFFF

values

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

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

writeStartingAddress

Poco::UInt16 writeStartingAddress = 0;

0x0000 to 0xFFFF

Securely control IoT edge devices from anywhere   Connect a Device