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.
Parameter | Description |
---|---|
Physical Link | Choose Serial or Ethernet connection mode. |
Connection Timeout | Timeout for sending requests to the device |
Send Inteval | Send read instruction interval(ms) |
Serial Device | Only for Serial mode, use a serial device, e.g. /dev/ttyUSB0 |
Stop Bits | Only for Serial mode, stop bits, default 1 |
Parity | Only for Serial mode, parity bit, default 2, which means even parity |
Baud Rate | Only for Serial mode, baud rate, default 9600 |
Data Bits | Only for Serial mode, byte size, default 8 |
IP Address | Only 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. |
Port | Only 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 Mode | The 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.
DI1 | DI0 | Description | Type of data | Decimal value | Example |
---|---|---|---|---|---|
90~99 | 10 ~ 6E | Data identifiers for electrical energy data | UINT32 | 0.01 | 90-10 represents the (current) forward active energy total. |
A0~A9 | 10 ~ 6E | Data identifiers for maximum demand data | UINT32 | 0.0001 | A0-10 represents the (current) forward active energy maximum demand total. |
B0, B1, B4, B5, B8, B9 | 10 ~ 6E | Data identifiers for maximum demand occurrence time | UINT32 | 0 | B0-10 represents the (current) forward active energy maximum demand occurrence time. |
B2, B3, B6 | 10 ~ 15 | Data 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~C5 | 10 ~ AE | Data 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.