DL/T 645 Node
x/dlt645Read / x/dlt645Write component: v0.35.0+ DL/T 645-2007 power meter protocol via TCP passthrough for reading and writing meter data items.
Requires: rulego-components-iot (opens new window)
# Page Navigation
- Read: x/dlt645Read
- Write: x/dlt645Write
- Universal acquisition entry: x/iotRead (driver=dlt645)
- Universal write entry: x/iotWrite (driver=dlt645)
- To time-series storage: x/tsdbWrite (measurement configured)
# Shared Connection Configuration
| Field | Type | Description | Default |
|---|---|---|---|
| server | string | Meter TCP address (serial server passthrough), host:port | 127.0.0.1:8899 |
| addr | string | 12-digit BCD meter address | 000000000001 |
| timeout | int | Request timeout (seconds) | 5 |
| points | array | Default point table (addr=DI). Points in msg.Data take precedence | - |
# Point Table Fields
| Field | Description |
|---|---|
| name | Point name |
| addr | Data Identifier DI (see below) |
| type | Data type (default BCD) |
All fields support ${msg.xx} / ${metadata.xx} templates.
# Address Format (Data Identifier)
Format: XX-XX-XX-XX (4 bytes)
| DI | Description |
|---|---|
| 00-01-00-00 | Forward active total energy |
| 02-01-01-00 | Phase A voltage |
| 02-02-01-00 | Phase A current |
| 02-03-00-00 | Instantaneous active power |
| 04-00-01-01 | Meter number |
# Data Types
- BCD (default): standard BCD, auto-decimal by DI
- BCD_SIGNED: signed BCD
- INT16/UINT16/INT32/UINT32/INT64/UINT64: binary integers
- BOOL/STRING: special types
# Read vs Write
- Read: outputs unified
iot_points.Datalist tomsg.Data; BCD values are auto-scaled by DI metadata - Write: consumes point list from
msg.Dataas[{"name","addr","type","value"}] - Routing: success goes to
Success, failure goes toFailure
Edit this page on GitHub (opens new window)
Last Updated: 2026/08/01, 05:05:14