Every device. One tool. Pay once. Modbus · BACnet · Siemens S7 · one-time licence · also from us: BACManager ↗

Socomec DIRIS A-40 Modbus: Two Register Maps, Two Scalings, THD and Harmonics

The Socomec DIRIS A-40 is a panel-mounted multifunction meter and power analyser — RS-485 (48250500) or with an Ethernet gateway (48250501). Its Modbus table holds the same measurements twice: a legacy block at 50512 that older DIRIS integrations use, and a newer layout from 18432 and 36864. They are not scaled the same way, and mixing them is the classic DIRIS mistake. This guide covers both, plus the THD and individual harmonic registers.

ModbusManager Pro dashboard for a Socomec DIRIS A-40: three-phase meter with 231 V per phase, 88.6, 77.2 and 84.1 A, 52.7 kW total at PF 0.91, 49.99 Hz; THD V around 2 %, THD I 14.2, 17.0 and 12.8 %, neutral THD 42.1 %, energy 125434 kWh imported, and a trend of total power and THD I1
The free workspace below on a simulated DIRIS A-40 — the legacy block in one read, THD from the newer ranges.

Connection and Addressing

DIRIS A-40, not DIRIS A40. The older DIRIS A40 / A41 (no hyphen) shares the legacy 50512 block but not the newer ranges, and its manuals are a different document. Check the label before using a register list from the web.

Legacy Block 50512 (0xC550) — Power in 10 W

All two-register values. One FC03 read of 62 registers from 50512 gets everything below.

AddressValueTypeUnit
50512Hour meterU32h / 100
50514 / 16 / 18U12 / U23 / U31U32V / 100
50520 / 22 / 24V1 / V2 / V3U32V / 100
50526FrequencyU32Hz / 100
50528 / 30 / 32I1 / I2 / I3U32mA
50534Neutral currentU32mA
50536Total active powerS3210 W
50538 / 50540Total reactive / apparent powerS32 / U3210 var / 10 VA
50542Total power factor (− leading, + lagging)S32/ 1000
50544–50548P1 / P2 / P3S3210 W
50562–50566PF1 / PF2 / PF3S32/ 1000
50780Partial (resettable) active energy +U32kWh

Newer Ranges — Power in W, Frequency in mHz

AddressValueTypeUnit
36871FrequencyU32mHz
36873…V1 / V2 / V3U32V / 100
18458…I1 / I2 / I3 / InU32mA
18476Total active powerS32W
18486 / 18487Total PF / PF type (1 leading, 2 lagging)S16 / U16/ 1000
19843 + 19845Total active energy imported: kWh + residualU32 + U16kWh + 0.1 Wh
19846 + 19848Total active energy exportedU32 + U16kWh + 0.1 Wh

The same 52.7 kW reads as 5270 at 50536 and 52 700 at 18476. Pick one map and scale it for that map.

THD and Individual Harmonics

AddressValueTypeUnit
37144 / 45 / 46THD V1 / V2 / V3U16% / 100
37147 / 48 / 49THD U12 / U23 / U31U16% / 100
18757 / 58 / 59 / 60THD I1 / I2 / I3 / InU16% / 100
18767System THD IU16% / 100
37504…Voltage harmonics: rank 2 V1, V2, V3, then rank 3 …U16% / 100
19713…Current harmonics: rank 2 I1, I2, I3, In, then rank 3 …U16% / 100

THD of voltage lives in the network range (371xx), THD of current in the load range (187xx). A value of 1420 is 14.20 %. Register 34819 says whether THD is referred to the fundamental (0) or to the RMS value (1).

Common Mistakes

Step-by-Step: Reading a DIRIS A-40 with ModbusManager

  1. Set the meter's address, baud rate and parity in its menu (or use the Ethernet variant on port 502).
  2. In ModbusManager choose RTU with those settings, or TCP with the gateway's address.
  3. Read FC03 from 50512, quantity 62: voltages, currents in mA, power in 10 W, power factor ÷ 1000.
  4. Read 37144, quantity 8, and 18757, quantity 4, for THD ÷ 100. Or open the workspace below.

Download a Ready-Made Workspace

Read-only. Nothing is written. The polls use slave ID 1 — set it to your meter's address. 32-bit values are read high word first; Socomec's table does not say, so check that 50520 reads about 23 000 (230.00 V). Tags and dashboard are ModbusManager Pro features; Standard opens the poll windows only.

Socomec_DIRIS_A40.json

Socomec DIRIS A-40 workspace (legacy block, THD, energy). Open via Workspace › Open in ModbusManager Pro, or from the in-app Device library.

Download Workspace

Try it with ModbusManager Pro

Three-phase meter element, alarms on THD and unbalance, historian, and MQTT to Home Assistant. Free 14-day trial. No credit card. Windows 10/11.

Download Pro Trial

Other power analysers on this site: Janitza UMG 96-PA, Schneider PM5000, Carlo Gavazzi EM340. All of them: Modbus device guides.

Frequently Asked Questions

Which Modbus register gives total active power on a DIRIS A-40?

Legacy 50512 block: 50536, signed 32-bit in 10 W (5270 = 52.7 kW). Newer layout: 18476, signed 32-bit in W. Both are read with FC03, address as listed.

Why is the DIRIS A-40 frequency 49990?

You are reading 36871 in the newer layout, which is in mHz. The legacy register 50526 gives the frequency in Hz / 100 (4999).

Where are THD registers on a Socomec DIRIS A-40?

THD of voltage at 37144–37151 (V1–V3, U12–U31, system), THD of current at 18757–18760 (I1–I3, In) and 18767 (system), all U16 in % / 100. Individual harmonics start at 37504 (voltage) and 19713 (current).

Does the DIRIS A-40 use float registers?

No. Socomec's table lists only integers (U16, S16, U32, S32, U64). Register lists with floats belong to other devices or other generations.

What are the default serial settings of a DIRIS A-40?

Socomec's Modbus table does not state factory defaults. They are set in the meter's menu and can be read back at 57344 (address), 57345 (baud), 57346 (stop bits) and 57347 (parity).

Sources

Socomec, MODBUS tables of DIRIS A-40, V 174.403 (socomec.fr). Word order of 32-bit values and the factory serial settings are not stated in it. Tested against a simulator built from this table, not against a physical meter.

// beyond the incomer

The power analyser plus the rest of the site

ModbusManager Pro reads the DIRIS A-40 next to sub-meters, drives and PLCs, and republishes the values as one Modbus TCP map or as MQTT topics with Home Assistant discovery.

Modbus gateway software →