Skip to content

DL/T645-1997 ​

DL/T645-1997 refers to a technical standard used in China for electronic energy meters. It is also known as the "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.

For the generic steps, see Create a Southbound Driver and Groups and Tags.

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 driver supports serial port connections and transparent TCP connections.

Add Driver ​

On Data Collection → South Devices, click Add Device.

  • Name: The name of this device node.
  • Driver: Select the DLT645-1997 driver.

Connection Parameters ​

Click the driver card to open the Device Configuration page and fill in:

ParameterDescription
Physical LinkChoose Serial or Ethernet connection mode.
Connection TimeoutTimeout for sending requests to the device
Send IntevalSend read instruction interval(ms)
Serial DeviceOnly for Serial mode, use a serial device, e.g. /dev/ttyUSB0
Stop BitsOnly for Serial mode, stop bits, default 1
ParityOnly for Serial mode, parity bit, default 2, which means even parity
Baud RateOnly for Serial mode, baud rate, default 9600
Data BitsOnly for Serial mode, byte size, default 8
IP AddressOnly for TCP mode.
When EMQX Neuron is used as a client, fill in the IP of the remote device.
When EMQX Neuron is used as a server, fill in the IP of EMQX Neuron locally, 0.0.0.0 can be filled in by default.
PortOnly for TCP mode.
When EMQX Neuron is used as a client, fill in the TCP port of the remote device.
When EMQX Neuron is used as a server, fill in the TCP port of EMQX Neuron
Connection ModeThe way the driver connects to the device, the default is Client, which means that the neuron driver is used as the client. Options: Client, Server.

Tag Configuration ​

The data types and address formats supported by this driver are listed below.

Data Types ​

  • UINT32
  • UINT64

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 are expressed in hexadecimal.

E.g 123456789012#B6-11, represents the value of the A-phase voltage of the metering 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 represent the meter number.