rasProject_01 / weSweetHome  R. 116 2026-05-14
process control       /     RasPi software         by   weinert-automation
Loading...
Searching...
No Matches
smdX30modbus_t Struct Reference

A structure for SMDx30 smart meters. More...

#include <basicTyCo.h>

Data Fields

uint16_t errorCount
 for the application to handle recurring errors
int lastRetCode
 for the application to keep last return/error value
modBusLinkState_t linkState
 state of the (slave's) communication link
char name [10]
 short meter name (8 characters max., 6..8 recommended)
int slave
 Modbus slave number 1..247; 0: all undefined.
char tiPh [3][32]
char title [32]
 meter explanation name (30 characters max.)

Detailed Description

A structure for SMDx30 smart meters.

RS458 communication and state related data plus one set of 40 input data (two 16 bit MOdbus registers as one float, also called "parameter" by meter's manufacturer).

Field Documentation

◆ tiPh

char tiPh[3][32]

short phase i name (max. 5, 2 or 3 recommended; L1 e.g.)

◆ slave

int slave

Modbus slave number 1..247; 0: all undefined.

phase i title (max. 30; line1 e.g. or battery/heater)


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