adapnex::drivers::modbus::ModbusMaster::ReadCoils
Reads contiguous coils from a slave device using function code 0x01 into an iterator range.
Synopsis
Declared in <adapnex/drivers/modbus.h>
Result
ReadCoils(
uint8_t slave_id,
uint16_t address,
std::vector<bool>::iterator const& begin,
std::vector<bool>::iterator const& end);
Parameters
Name |
Description |
slave_id |
The slave device address. |
address |
The starting coil address. |
begin |
The beginning of the destination range. |
end |
The end of the destination range. |
Created with MrDocs