MODBUS MASTER MONITOR 1.0
Loading...
Searching...
No Matches
ModbusSensorParam Struct Reference

Defines the configuration parameters for an individual sensor. More...

Public Attributes

uint8_t sensorID
 Unique sensor identifier.
uint8_t numberOfChannels
 Number of data channels for the sensor.
uint16_t startAddress
 Initial Modbus register address.
uint16_t maxRegisters
 Total number of registers to read.
uint16_t samplingInterval
 Base sampling interval in milliseconds.
uint8_t dataType
 Data type: 1=uint8, 2=uint16, 3=compressed bytes, 4=float16.
uint8_t scale
 Decimal scale factor (10^scale).
uint8_t compressedBytes
 Number of bytes per value if compression is used (dataType=3).

Detailed Description

Defines the configuration parameters for an individual sensor.

This structure stores how to read and interpret data from a specific sensor.


The documentation for this struct was generated from the following file: