Skip to main content

Carlo Gavazzi EM24-DIN

Status: Vendor Confirmed · Register points: 30 · Transports: Modbus RTU

A curated ModDef profile for the Carlo Gavazzi EM24-DIN. Import it as carlogavazzi.em24 or load the .moddef.yaml directly.

Usage

Load the profile, bind a transport, and read a point by name. The runtime applies the offset, scaling, byte order, and sentinels from the definition.

doc, _ := moddef.Load("carlo-gavazzi-em24.moddef.yaml")
dev, _ := client.New(doc, "carlo-gavazzi-em24", transport) // your modbus.Transport
v, _ := dev.ReadPoint(ctx, "voltage_l1_n")
fmt.Println(v)

Measurands

The 6 semantic quantities this device reports, each linked to the measurand catalog. Query a device by measurand instead of a raw point when you want portable code.

Base quantityNameUnitDescription
voltageVoltageVRMS voltage; qualify with phase_ref (L1_N, L1_L2, ...)
currentCurrentARMS current; qualify with phase_ref / direction
power_factorPower Factor1 (ratio)Ratio of real to apparent power (dimensionless)
frequencyFrequencyHzGrid frequency
energy_activeActive EnergyWhCumulative active energy register
device_statusDevice StatusundefinedOverall device operating status (enum)

Source