Skip to main content

ABB Terra AC Wallbox

Status: Vendor Confirmed · Register points: 32 · Transports: Modbus RTU, Modbus TCP

A curated ModDef profile for the ABB Terra AC Wallbox. Import it as abb.terra-ac or load the .moddef.yaml directly.

Connect to one over Web Serial and watch its values live in the device dashboard.

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("abb-terra-ac.moddef.yaml")
dev, _ := client.New(doc, "abb-terra-ac", transport) // your modbus.Transport
v, _ := dev.ReadPoint(ctx, "user_settable_max_current")
fmt.Println(v)

Commands

Multi-step register procedures (spec §11.7) this profile defines — write params, arm a trigger, poll for completion, then read the result. Run one with your language's command executor (RunCommand, runCommand, run_command, or md_cmd_begin/md_cmd_tick in C/C++).

firmware_update_request — Firmware Update Request

Announce a firmware image before sending it (document section 5.20.1). Writes the version info, the total package length, the CRC of the whole package as supplied by ABB, and the per-package size, then arms the transfer by writing the document's fixed value 3 to Update Mode. Follow it with one firmware_send_package call per package.

Params

FieldTypeRequired
version_infoUINT32yes
package_lengthUINT32yes
package_crcUINT32yes
chunk_sizeUINT32yes

firmware_send_package — Send Firmware Package

Ship one package of the firmware image (document section 5.20.2). Writes the total number of split packages, this package's sequence number counting from 1, how many bytes it actually carries (the last one is usually short), the checksum over the payload alone, and then the payload itself at 0x4118. Call it once per package in sequence order. The document gives the payload region no size, so the 123-word length on the data param is the Modbus write ceiling for FC16, not a documented device limit; send exactly the number of bytes named in byte_count, which must not exceed the chunk_size agreed in firmware_update_request.

Params

FieldTypeRequired
total_packagesUINT32yes
sequence_numberUINT32yes
byte_countUINT32yes
data_checksumUINT32yes
dataBYTESyes

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
currentCurrentARMS current; qualify with phase_ref / direction
voltageVoltageVRMS voltage; qualify with phase_ref (L1_N, L1_L2, ...)
active_powerActive PowerWInstantaneous real power
energy_activeActive EnergyWhCumulative active energy register
fault_codeFault CodeundefinedVendor fault code (enum or integer)
device_statusDevice StatusundefinedOverall device operating status (enum)

Source