DL/T645-2007

Module Description

DL/T645-1997 refers to a technical standard used in China for electronic energy meters. It is also known as “Communication Protocol of Electronic Energy Meters.” This standard specifies the communication protocol and data format for the exchange of information between electronic energy meters and data collection systems.

DL/T645-1997 defines the structure of data frames, the content of data fields, and the communication methods to be used for transmitting energy consumption and other related information. It covers various aspects such as meter reading, load control, event recording, and parameter setting.

The standard provides a common framework for communication between energy meters and utility companies or other entities involved in energy monitoring and management. It enables accurate and efficient data collection, billing, and analysis of energy usage.

It’s worth noting that the DL/T645-1997 standard is relatively old, as it was published in 1997. There might be more recent versions or successor standards that have been introduced since then to keep up with advancements in technology and address emerging requirements.

The DL/T645-1997 plugin supports serial port connections and transparent TCP connections.

Parameter Configuration

Serival

ParameterDescription
Connection TimeoutTimeout for sending requests to the device
Send Intervalread instruction interval(ms)
Serial DeviceUse a serial device, e.g. /dev/ttyUSB0
Stop Bitsstopbits, default 1
Parityparity bit, default 2, which means even parity
Baud Ratebaudrate, default 9600
Data Bitsbytesize, default 8

TCP

ParameterDescription
Connection TimeoutTimeout for sending requests to the device
Send Intervalread instruction interval(ms)
IP AddressWhen neuron is used as a client, host means the ip of the remote device. When used as a server, it means the ip used by neuron locally, and 0.0.0.0 can be filled in by default
PortWhen neuron is used as client, port means the tcp port of the remote device. When used as a server, it means the tcp port used by neuron locally
Connection ModeThe way the driver connects to the device, the default is client, which means that the neuron driver is used as the client

Supported data types

  • UINT32
  • UINT64

Usage of Address Format

Address format

mail_address#DI1-DI0

  • mail_address represents the mailing address of the meter.
  • DI1-DI0 represents the data identification, and all points only support read attributes, and expressed in hexadecimal.

E.g 123456789012#B6-11, represents the value of the A-phase voltage of the meter device with the mailing address 123456789012.

TIP

Support a node to configure multiple mailing addresses, that is a single serial port multi-device connection.

Please refer to the DL/T645-1997 industry standard data coding table for the specific data item name corresponding to the data identifier.

  • For data lengths up to 4, select UINT32 as the data type.
  • For data lengths up to 8, select UINT64 as the data type.
  • Set the value of Decimal according to the data format, e.g, if the data format is XXX.X, then Decimal is set to 0.1.
DI1DI0DescriptionType of dataDecimal valueExample
90 ~ 9910 ~ 6EData identifiers for electrical energy dataUINT320.0190-10 represents the (current) forward active energy total.
A0 ~ A910 ~ 6EData identifiers for maximum demand dataUINT320.0001A0-10 represents the (current) forward active energy maximum demand total.
B0, B1,B4, B5, B8, B910 ~ 6EData identifiers for maximum demand occurrence timeUINT320B0-10 represents the (current) forward active energy maximum demand occurrence time.
B2, B3, B610 ~ 15Data identifiers for variable data--B6-11 represents phase A voltage, with a decimal value of 0.
B6-21 represents phase A current, with a decimal value of 0.01.
C0 ~ C510 ~ AEData identifiers for parameter data--C0-32 represents the meter number.