Skip to Content
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 examplesConnection requirements
Multifunction electricity meters supporting DL/T 645-2007Configure 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.

  1. Create serial or the matching TCP/UDP channel. Replace the default meter address. FEFEFEFE is wake-up preamble; DTU identity is separate from meter number.
  2. Add read-only scalar Double VoltageA, DI 02010100, and ForwardEnergy, DI 00010000. Leave address override empty for the default meter; use S=123456789012;02010100 for another meter.
  3. 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.
  4. Common item decimals are already applied: 220.1 V is not divided again by 10, and 123.45 kWh is 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.

SettingDefaultDescription
Default address11111111111112-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.
PreambleFEFEFEFEWake-up prefix sent before the frame.
Control validity5 minutesRange 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.

AddressCommon meaning
02010100Phase-A voltage
02020100Phase-A current
02030000Instantaneous total active power
00000000Current combined active total energy
00010000Current forward active total energy

Special methods

MethodPurposeConfiguration
ClosePermitAsyncPermit closingSelect the method, set address to [], set protection to write-only; any write triggers it.
TripAsyncTripSelect 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.

FeaturePurpose
Read/WriteReads one or multiple data identifiers. Writes are only for approved test data.
MessagesShows 645 requests, responses, and checksum results.

DL/T 645-2007 master: Read/Write

Execute trip/close through the configured special-method variable, not a normal data identifier.

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Verify the configuration

  1. Read one known data identifier and compare it with the meter display.
  2. Check meter address, control code, and checksum under Messages.
  3. Perform trip/close only in an approved site test and verify physical feedback.

Troubleshooting

SymptomCheck
Meter does not respondChannel, baud rate, default address, preamble, and network/serial link.
Data identifier failsIdentifier, meter support, data type, and permission.
Value is incorrectIdentifier, scaling, decimal places, and data type.
Trip/close failsLevel-02 password, operator code, validity, meter address, control permission, and device state.