Edge Device Local API Docs

Realtime energy data [Modbus TCP]

To activate the modbus TCP port, please contact [email protected]

To activate the write registers also note to the clemap engineer. (The cascading module needs to be activated).

Note that Modbus and RestAPI overwrite each other.

All registers are holding registers.

Modbus port: 5020

Ip Address: <clemap_device_ip_address>

Read registers:

Register

Type

Name

Unit

19000

float f32

Voltage L1-N

V

19002

float f32

Voltage L2-N

V

19004

float f32

Voltage L3-N

V

19012

float f32

Current I L1

A

19014

float f32

Current I L2

A

19016

float f32

Current I L3

A

19018

float f32

Vector sum; IN=I1+I2+I3

A

19020

float f32

Real power P L1

W

19022

float f32

Real power P L2

W

19024

float f32

Real power P L3

W

19026

float f32

Sum; Psum3=P1+P2+P3

W

19028

float f32

Apparent power S L1

VA

19030

float f32

Apparent power S L2

VA

19032

float f32

Apparent power S L3

VA

19034

float f32

Sum; Ssum3=S1+S2+S3

VA

19036

float f32

reactive power Q L1

var

19038

float f32

reactive power Q L2

var

19040

float f32

reactive power Q L3

var

19042

float f32

Sum; Qsum3=Q1+Q2+Q3

var

Write Registers

Register

Type

Name

Unit

19050

float f32

ActivePowerActivation

Enable or disable LM controll over modbus or API:

Activates Registers 19052 and 19054 and KeepAlive timer.

bool [0, 1]

19052

float f32

FallbackCurrentLimit

Limit set if keep no endpoint is not called in 120 sec (default)

A

19054

float f32

Current Limit

Load management current limit

A

19056

float f32

Keep Alive: cab be used write every 120s, else CurrentLimit falls into FallbackCurrentLimit values.

Please note that writing any of the other Write Register, will also do the trick.

If you want to change the default 120s, it can be overwritten in the config. Please contact [email protected] for this:

FLEX_CONTROL_MESSAGE_TIMEOUT

int