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:
| 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 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. |
| Port | Only 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 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. |
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.
| 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. |