On this page
DL/T 645-2007 master
This plugin reads multifunction-meter data by DL/T 645-2007 data identifier and performs controlled close-permit or trip operations after password and operator-code configuration.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| Multifunction electricity meters supporting DL/T 645-2007 | Configure four-byte data identifiers, meter address and scaling for the meter register map. Writes require the device password and permissions. |
Map meter settings to voltage and energy
Confirm DL/T 645-2007, actual 12-digit address, baud and parity in the meter menu/vendor tool. Read voltage and cumulative energy with their units. Wire RS-485 to the meter pinout; converters must preserve raw 645 frames.
- Create serial or the matching TCP/UDP channel. Replace the default meter address.
FEFEFEFEis wake-up preamble; DTU identity is separate from meter number. - Add read-only scalar Double VoltageA, DI
02010100, and ForwardEnergy, DI00010000. Leave address override empty for the default meter; useS=123456789012;02010100for another meter. - Enter four-byte DI in point-table order. Do not add 33, reverse DI or add a 40001 prefix. The protocol handles wire encoding and BCD conversion.
- Common item decimals are already applied:
220.1 Vis not divided again by 10, and123.45 kWhis not divided again by 100. Composite blocks require matching returned item count/order; start with single-item DIs.
Public metering reads generally do not need the control password. Protected writes/relay actions require the meter’s four-byte hexadecimal password, four-byte operator code and permissions, distinct from Web credentials. Relay control supports level-02 clear passwords. Command validity defaults to 5 minutes, range 1–60, and depends on correct controller/meter time; it is not a read timeout.
Byte reversal defaults to R=true; override only for a documented layout. Verify read-only voltage and energy before configuring relay special methods. An ordinary DI write does not replace those methods.
Open the plugin and supported scope
Create a TCP client, TCP server, serial, or UDP channel, then create a device using DL/T 645-2007 master. Supported types include Boolean, Byte, common integers, Float, Double, String, and Decimal.
Plugin properties
DL/T 645-2007 master also inherits common read/write timeout, retry, write-priority, serial/TCP, and DTU settings; see Collection Configuration.
| Setting | Default | Description |
|---|---|---|
| Default address | 111111111111 | 12-digit meter communication address used when a variable does not override it. |
| Operator code | - | Four-byte hexadecimal operator code required by control operations. |
| Password | - | Four-byte hexadecimal password. Trip/close supports only level-02 plaintext passwords. Keep it out of screenshots and logs. |
| Preamble | FEFEFEFE | Wake-up prefix sent before the frame. |
| Control validity | 5 minutes | Range 1 to 60; used to create the trip/close deadline. |
| DTU ID | - | Used for a DTU service connection. |
Data-identifier addresses
Enter an eight-digit data identifier from the meter point list. Use S=123456789012 to override the meter address for one variable, and R=false to disable data-byte reversal (the default is R=true), for example S=123456789012;02010100;R=false. One address may contain only one data identifier, station override, and reversal option.
| Address | Common meaning |
|---|---|
02010100 | Phase-A voltage |
02020100 | Phase-A current |
02030000 | Instantaneous total active power |
00000000 | Current combined active total energy |
00010000 | Current forward active total energy |
Special methods
| Method | Purpose | Configuration |
|---|---|---|
ClosePermitAsync | Permit closing | Select the method, set address to [], set protection to write-only; any write triggers it. |
TripAsync | Trip | Select the method, set address to [], set protection to write-only; any write triggers it. |
Trip and close change the power state. Verify meter address, password, operator code, validity, user permission, and site safety first.
Device debug
Open Development Configuration → Collection Configuration, select the DL/T 645-2007 master device, then open Protocol Debug at the top of the workspace.
| Feature | Purpose |
|---|---|
| Read/Write | Reads one or multiple data identifiers. Writes are only for approved test data. |
| Messages | Shows 645 requests, responses, and checksum results. |

Execute trip/close through the configured special-method variable, not a normal data identifier.
Functions
| Function | Purpose |
|---|---|
| Read and write | Read a confirmed point and write only to an approved test point. |
| Messages | View sent and received frames, protocol fields, and error details. |
Verify the configuration
- Read one known data identifier and compare it with the meter display.
- Check meter address, control code, and checksum under Messages.
- Perform trip/close only in an approved site test and verify physical feedback.
Troubleshooting
| Symptom | Check |
|---|---|
| Meter does not respond | Channel, baud rate, default address, preamble, and network/serial link. |
| Data identifier fails | Identifier, meter support, data type, and permission. |
| Value is incorrect | Identifier, scaling, decimal places, and data type. |
| Trip/close fails | Level-02 password, operator code, validity, meter address, control permission, and device state. |
Related links
- Collection Configuration: Common channel, device, and variable operations.
- Plugin Manual Index: Other plugins.