Lydia - Printhead
|
Master query structure: This includes all the necessary fields to make the Master generate a Modbus query. A Master may keep several of these structures and send them cyclically or use them according to program needs. More...
#include <ModbusRtu.h>
Public Attributes | |
uint16_t * | au16reg |
bool | coilValue |
uint8_t | flags |
uint16_t | u16CoilsNo |
uint16_t | u16RegAdd |
uint8_t | u8fct |
uint8_t | u8id |
Master query structure: This includes all the necessary fields to make the Master generate a Modbus query. A Master may keep several of these structures and send them cyclically or use them according to program needs.
Definition at line 67 of file ModbusRtu.h.
uint16_t* modbus_t::au16reg |
Pointer to memory image in master
Definition at line 73 of file ModbusRtu.h.
bool modbus_t::coilValue |
Definition at line 75 of file ModbusRtu.h.
uint8_t modbus_t::flags |
Definition at line 74 of file ModbusRtu.h.
uint16_t modbus_t::u16CoilsNo |
Number of coils or registers to access
Definition at line 72 of file ModbusRtu.h.
uint16_t modbus_t::u16RegAdd |
Address of the first register to access at slave/s
Definition at line 71 of file ModbusRtu.h.
uint8_t modbus_t::u8fct |
Function code: 1, 2, 3, 4, 5, 6, 15 or 16
Definition at line 70 of file ModbusRtu.h.
uint8_t modbus_t::u8id |
Slave address between 1 and 247. 0 means broadcast
Definition at line 69 of file ModbusRtu.h.