DL/T645-2007
DL/T645-2007 via the Site Runtime dlt645-2007.
| Property | Value |
|---|---|
| Console protocol id | dlt645-2007 |
| Site Runtime plugin | dlt645-2007 |
| Transport | Serial (RS-232/RS-485), some families also over TCP |
| Read | yes |
| Write | no |
| Subscribe | — |
| Device families | Electric Meter |
| Default group interval | 1000 ms |
| Maturity | LAB: runs end to end against simulators; known gaps are listed below |
LAB protocol
DL/T645-2007 is marked LAB: it reads real devices and simulators, but not every corner of the reference behaviour is covered yet, and writes are disabled. Validate it on your equipment before production use.
Create the device
- Open Connectivity → Devices and click Add device.
- Pick DL/T645-2007 in the protocol list and make sure the Site Runtime host has the serial port.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.
Connection parameters
Every field the Console shows for this protocol. Required fields must be set before the device can be saved.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Physical Linklink | map | Serial | Serial, TCP | yes | Serial or Ethernet |
Connection Timeout (ms)timeout | int | 3000 | 1000 – 65535 | yes | |
Send Interval (ms)interval | int | 30 | 10 – 1000 | yes | |
Serial Devicedevice | string | — | max 30 chars | yes | Shown when Physical Link = Serial. |
Stop Bitsstop | map | 1 | 1, 2 | yes | Shown when Physical Link = Serial. |
Parityparity | map | Even | None, Odd, Even, Mark, Space | yes | Shown when Physical Link = Serial. |
Baud Ratebaud | map | 9600 | 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200 | yes | Shown when Physical Link = Serial. |
Data Bitsdata | map | 8 | 5, 6, 7, 8 | yes | Shown when Physical Link = Serial. |
IP Addresshost | string | — | max 30 chars | yes | Local IP in server mode, remote device IP in client mode Shown when Physical Link = TCP. |
Portport | int | — | 1 – 65535 | yes | Local port in server mode, remote device port in client mode Shown when Physical Link = TCP. |
Connection Modeconnection_mode | map | Client | Client, Server | yes | MakeIntelligent as the client, or as the server Shown when Physical Link = TCP. |
Tag addresses and data types
Supported data types: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, STRING. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
INT8 UINT8 | ^[0-9]+#0[046]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]$ |
INT16 UINT16 | ^[0-9]+#0[024]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]$ |
INT32 UINT32 | ^[0-9]+#0[0245]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E](#[0-9]+|)$ |
INT64 UINT64 | ^[0-9]+#0[0146]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]$ |
STRING | ^[0-9]+#0[01456]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E]-[0-9A-E][0-9A-E](#T|#[0-9]+#T|)$ |