DLT645 to Modbus protocol conversion meter reader

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

DLT645 to Modbus protocol conversion meter reader

Chapter 1 Product Overview

This device is anindustrial communication protocol converterthat enables data exchange betweenDL/T645-1997/2007 protocol electric metersAnd withModbus TCP/RTU master station systems. The device collects meter data through the RS485 interface, processes it through caching, and supports providing standard Modbus register access interfaces through Ethernet (Modbus TCP) or serial port (Modbus RTU).


Chapter 2 Functional Features

  • Supports automatic recognition of dual protocols DL/T645-1997 and DL/T645-2007;
  • supports up to 20 metersfor concurrent data collection;
  • supports dual channel output ofModbus TCP(Ethernet port) andModbus RTU(RS485);
  • Built indata caching mechanismSupport breakpoint resume and offline caching;
  • Support32-bit IEEE-754 floating-point numberFormat output;
  • SupportTable readingAnd withCentralized readingTwo register mapping modes;
  • SupportCommunication protection mechanismAutomatically reset abnormal data;
  • supportstransparent transmission mode, can be used for on-site debugging;
  • Industrial grade design,metal casing, Wide-temperature operation (-40℃~+85℃) ;
  • Supportrail mountingAnd withScrew fixationTwo ways;
  • Fully isolated design,Power isolation, Signal isolation, Lightning protection and anti-static.

Chapter 3 Technical Parameters

ProjectParameter Description
Working VoltageDC 12-30V (reverse protection)
operating current≥80mA (@24V)
Serial Port ProtocolDL/T645-1997, DL/T645-2007, Modbus-RTU
network protocolModbus TCP (Server Mode)
Number of serial ports2 isolated RS485 channels (1 channel connected to the main station, 1 channel connected to the electricity meter)
Network port specifications10/100M adaptive, with transformer isolation
Default IP Address192.168.2.88
Default Modbus Port502
Serial Port Baud Rate1200-19200bps (default 9600)
Data Bit8-bit
Check BitNone/Odd/Even Optional
Stop Bit1 or 2 bits Optional
Maximum Communication DistanceRS485: 1200 meters; Ethernet: 100 meters (expandable via switch)
Lightning protection level600W surge protection, ± 15kV ESD
Installation methodStandard 35mm rail or screw fixation
Size112.5 × 88.5 × 26 mm
Net weight240g
Operating temperature-40 ℃~+85 ℃
Relative humidity5% -95% No condensation

Chapter 4 Interface Definition

4.1 Power Interface

TerminalIdentificationDefinitionExplanation
1V+Power PositiveDC 12-30V
2V -Power NegativeGND
3PEGroundGrounding

4.2 RS485 Interface

TerminalIdentificationDefinitionDescription
1A1485+Main Station Communication Port
2B1485-Main Station Communication Port
3G1Signal GroundMain Station Reference Ground
4A2485+Meter Communication Port
5B2485-Meter Communication Port
6G2Signal GroundMeter Reference Ground

Chapter 5 Indicator Light Description

IdentificationColorFunction Description
PWRRedAlways on: Device powered on
DLT645GreenFlashing: Reading meter data
ERRRedFlashing: Reading meter failed
ModbusGreenFlashing: Modbus master station accessing device

Chapter 6 DIP switch function

DIP bitFunction description
SETON: Enter configuration mode (green light on)
D_IPON: Force IP to 192.168.2.88 (needs to be turned on at the same time as SET)

Chapter 7 Configuration mode

7.1 Serial port configuration (RS485)

  1. Use a USB to RS485 converter to connect to the main station interface;
  2. Dial SET=ON, green light on;
  3. Open the configuration software and select the serial port number;
  4. Set baud rate, meter address, protocol version, and collection items;
  5. Click on "Application Configuration" to write to the device;
  6. Dial SET=OFF, restart to take effect.

7.2 Network Port Configuration (TCP)

  1. Set the computer IP to 192.168.2. x;
  2. Connect the network cable directly to the device;
  3. Dial SET=ON+D_IP=ON;
  4. Select "Network Port Connection" for configuring software;
  5. Enter IP and port (default 192.168.2.88:502);
  6. After successful connection, configure parameters and write them in;
  7. Dial reset, restart takes effect.

Chapter 8 Collection Item Configuration (DL/T645)

Supports the following data items (partially listed):

  • Forward active total power
  • Reverse active total power
  • Phase voltage, current, power, power factor
  • Active/reactive/apparent power (instantaneous/total)
  • Grid frequency
  • Reactive energy in each quadrant
  • Phase separation/total active/reactive/apparent energy

Support custom selection of collection items, up to 20 meters can be configured, with a maximum of 110 registers per meter.


Chapter 9 Reading Mode Description

ModeDescription
Separate meter readingEach meter occupies a fixed register address segment, making it easy to access separately
Centralized readingAll meter data is merged in the order of collection items, with continuous register addresses, reducing the number of visits to the main station

Chapter 10 Communication protection mechanism

  • can set an "error limit"; If a certain meter fails to read continuously for more than the set number of times, the meter data will be automatically reset to zero;
  • If a certain electricity meter fails to read continuously for more than the set number of times, the data of the electricity meter will be automatically reset;
  • Prevent the main station from reading outdated or erroneous data;
  • Can be enabled/disabled, disabled by default.

Chapter 11 Data Types and Floating Point Order

Supports the following four 32-bit floating point number formats:

  • ABCD (Standard Order)
  • BADC
  • CDAB
  • DCBA

Suitable for the compatibility requirements of different master station systems for floating point byte order.


Chapter 12 Transparent Mode

  • Only performs baud rate conversion on RS485 interface;
  • Do not parse protocol content;
  • can be used for on-site debugging of original communication of electric meters; After powering on, simply dial the reset code to exit.
  • After powering on, dial the reset code to exit.

Chapter 13 Configuration Import/Export

  • Supports exporting the current configuration as a CSV file;
  • Supports importing configurations from CSV files;
  • can be used for batch deployment, fast recovery, and project backup;
  • Import function is not supported in network port mode.

Chapter 14 RS485 Wiring Specification

  • adoptsHand in Hand Topologyand prohibits star configuration;
  • Useshielded twisted pair, with the shielding layer grounded;
  • Add120 Ω terminal resistors at both ends of the bus;
  • Bus length ≤ 1200 meters, the higher the baud rate, the shorter the distance;
  • Communication lines should be kept away from strong electricity, with a parallel spacing of ≥ 0.5 meters; All devices are grounded together to avoid common mode interference.
  • All devices are grounded to avoid common mode interference.

Chapter 15 Recommended Cable Selection

Distance RangeRecommended Cable
<200 meters2 × 0.5mm ² Shielded Twisted Pair
200-500 meters2 × 0.75mm ² Shielded Twisted Pair
>500 meters2 × 1.0mm ² Shielded Twisted Pair

Chapter 16 Troubleshooting

Fault phenomenonPossible reasons and solutions
The indicator light is not on.Check if the polarity and voltage of the power supply are normal (12-30V)
Communication failureCheck if RS485 A/B is reversed, and if the baud rate, address, and protocol version match
Red and green lights flash simultaneouslyCommunication parameter setting error, check if the serial port parameters are consistent with the electricity meter
Read data as 0Meter address error, protocol version mismatch, communication protection triggered, line interruption
Modbus cannot connectCheck the IP address, port, network cable connection, and whether they are in the same network segment

Chapter 17 Firmware Upgrade

  • Support viaNetwork port upgrade;
  • Upgrade file to.binFormat;
  • During the upgrade processStrictly prohibit power outage;
  • Upgrade failedForced factory restoration;
  • The upgrade tool is provided by the manufacturer,Unauthorized personnel are prohibited from operating.

Chapter 18 Regulations and Certification

  • Comply withDL/T645-1997/2007national standard;
  • Comply withIEC 61000-6-2Industrial immunity standard;
  • Comply withRoHS 2.0Environmental protection requirements;
  • ThroughCE Certification, FCC Part 15Testing;
  • Comply withGB/T 17626Electromagnetic compatibility series standards.

Chapter 19 Precautions and Maintenance

  • Prohibit live plugging and unplugging of RS485 interfaces;
  • Do not connect the power supply to the signal terminal;
  • Every12 monthsCheck the wiring and grounding once;
  • Every24 monthsClean the dust on the surface of the equipment;
  • If not in use for a long time, please store it with power off to avoid high temperature and humidity;
  • Non professionals are prohibited from opening the casing;
  • Repairs must be returned to the factory, and users are prohibited from disassembling on their own.

Appendix A: Default Register Mapping Table (Example)

Register AddressData ItemData TypeUnit
40001Electricity Meter 1 Positive Active Total EnergyFloatkWh
40003Electricity Meter 1A Phase VoltageFloatV
40005Electricity Meter 1A Phase CurrentFloatA
……………………

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.