HardFOC Core
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
AlicatBasis2HandlerConfig Struct Reference

Construction-time configuration for a single BASIS-2 slave. More...

#include <AlicatBasis2Handler.h>

Public Attributes

std::uint8_t modbus_address {1}
 1..247 — must be unique on the bus.
 
std::uint16_t timeout_ms {200}
 Per-transaction response timeout.
 
std::uint8_t device_index {0}
 Logical index for diagnostics / logging.
 
std::uint8_t flow_decimals_default {3}
 Number of decimal places the instrument reports in its flow register (datasheet: factory-set per range). Cached at init from ReadIdentity() to scale the flow field correctly.
 

Detailed Description

Construction-time configuration for a single BASIS-2 slave.

Member Data Documentation

◆ device_index

std::uint8_t AlicatBasis2HandlerConfig::device_index {0}

Logical index for diagnostics / logging.

◆ flow_decimals_default

std::uint8_t AlicatBasis2HandlerConfig::flow_decimals_default {3}

Number of decimal places the instrument reports in its flow register (datasheet: factory-set per range). Cached at init from ReadIdentity() to scale the flow field correctly.

◆ modbus_address

std::uint8_t AlicatBasis2HandlerConfig::modbus_address {1}

1..247 — must be unique on the bus.

◆ timeout_ms

std::uint16_t AlicatBasis2HandlerConfig::timeout_ms {200}

Per-transaction response timeout.


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