Skip to content

IEC-62056-21 Tcp Master

Parameters

Parameter Datatype Default Value Description
DEBUG enum 0 Enable debugging
DUMP enum 0 Enable communication dump
PEER_ADDRESSES list_of_inet_addr Destination TCP/IP hostname:port, separate multiple entries with comma
SCAN_PERIOD float 30 Scan period [s]
RESPONSE_TIMEOUT float 20 Response timeout [s]
RECONNECT_DELAY float 10 Reconnection delay after connection lost
UTC_TIMESTAMPS enum 1 Transmit/receive timestamps in UTC timezone
DISCONNECT_AFTER_READOUT enum 0 Disconnect after readout

Measurements

This stack supports measurements.

Measurement address

Type: regex

Description:

[<OBIS.A>-<OBIS.B>:]<OBIS-C>.<OBIS-D>.<OBIS-E>[*<OBIS-F>]
where:
    <OBIS.A> - medium type (0 - generic, 1 - electricity, 4 - heat cost allocator, 5 - cooling, 6 - heat, 7 - gas, 8 - water, 0 - hot water)
    <OBIS.B> - channel
    <OBIS.C> - physical quantity (current, voltage, energy, level, temperature, ...)
    <OBIS.D> - quantity computation result of specific algorithm
    <OBIS.E> - individual components of the measurement defined by codes A..D
    <OBIS.F> - unit/tariff/billing period

Examples:

1.8.0 - Imported energy in kWh
1.8.0*51 - Imported energy in kWh in period 51
1-0:1.8.0 - Electricity, channel 0, total active energy consumption

Commands

Commands are not supported on this stack