Skip to content

DL/T 645-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.

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.

Add Device

Go to Configuration -> South Devices, then click Add Device to add the driver. Configure the following settings in the popup dialog box.

  • Name: The name of this device node.
  • Plugin: Select the DLT645-1997 plugin.

Device Configuration

After clicking Create, you will be redirected to the Device Configuration page, where we will set up the parameters required for Neuron to establish a connection with the northbound application. You can also click the device configuration icon on the southbound device card to enter the Device Configuration interface.

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 Neuron is used as a client, fill in the IP of the remote device.
When Neuron is used as a server, fill in the IP of Neuron locally, 0.0.0.0 can be filled in by default.
PortOnly for TCP mode.
When Neuron is used as a client, fill in the TCP port of the remote device.
When Neuron is used as a server, fill in the TCP port of 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.

Configure Data Groups and Tags

After the plug-in is added and configured, the next step is to establish communication between your device and Neuron by adding groups and tags to the Southbound driver.

Once device configuration is completed, navigate to the South Devices page. Click on the device card or device row to access the Group List page. Here, you can create a new group by clicking on Create, then specifying the group name and data collection interval.

Upon successfully creating a group, click on its name to proceed to the Tag List page. This page allows you to add device tags for data collection. You'll need to provide information such as the tag address, attributes, and data type.

For information on general configuration items, see Connect to Southbound Devices. The subsequent section will concentrate on configurations specific to the driver.

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.

Data Monitoring

After completing the point configuration, you can click Monitoring -> Data Monitoring to view device information and control devices. For details, refer to Data Monitoring.