On this page
DL/T 698
This plugin collects DL/T 698 power information, receives active reports, and manages the protocol link.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| Electricity meters and acquisition terminals supporting DL/T 698.45 | Match server address, OAD and association settings. Reporting, segmentation and accessible objects depend on the device object model and permissions. |
Build a variable from the meter object table
Select DL/T 698.45 in the vendor reading tool and read the meter address and a known object. Match the optical/RS-485 interface and serial settings. Distinguish a transparent TCP serial tunnel from native TCP service. The server address is a protocol address, not an IP.
- Enter the complete forward hexadecimal server address, preserving leading zeros, for example
000000000001. Match client address, default0; do not manually reverse address bytes. - Keep FE preamble when required for wake-up. Disable Native TCP lifecycle for transparent tunnels; enable it for a native TCP client service requiring login and application association.
- Obtain OI, attribute and index from the object table.
20-00-02-00means OI2000, attribute02, index00, not a decimal register. - Prefer Double for fractional engineering values. For arrays/structures, set array length to the number of flattened scalars in response order, not APDU bytes.
Address-level server/client overrides affect one variable. Single selects an individual device; Wildcard, Group and Broadcast have distinct addressing semantics. Logical address 0–3 selects the logical device in the descriptor. Example: s=000000000001;ca=0;sat=single;logic=0;20-00-02-00.
Common OADs already apply object scaling. Compare the same object, index and unit in the vendor tool rather than scaling A-XDR integers again. Check custom-object scaling against its table. This entry provides clear application requests; meters requiring secure association/encrypted APDUs need a compatible authentication solution.
Open the plugin
Enter “Development Configuration → Collection Configuration”, create a device and select “DL/T 698” in “Device Plugin”.
Supported channels and data types
| Channel type | Pre-configuration check |
|---|---|
| Serial Port | Confirm that the serial port is not occupied by other programs and maintains the same baud rate, data bits, stop bits and parity bits as the device. |
| TCP Client | Confirm network reachability of the device IP, port, and gateway to the device. |
| TCP server | Confirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway. |
Optional data types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float, Double, String
This list describes types allowed by the plugin editor. Address width, arrays, string length and read/write restrictions still follow this page; it does not mean that every address supports every type.
Plugin properties
DL/T 698 uses the common collection properties for read/write timeout, retry, write priority, serial/TCP fields, and DTU routing; see Collection Configuration. The table below lists 698-specific fields.
Protocol parameters
| Setting | Description |
|---|---|
| Server address | Required; Default: 000000000001; Fill in: text input. Set the server address used for protocol communication. |
| Client address | Default: 0; fill in: text input. Sets the client address used for protocol communication. |
| Enable FE preamble | Default: Yes; fill in: switch. Controls whether the “Enable FE Preamble” feature is enabled. |
Connection configuration
| Setting | Description |
|---|---|
| Native TCP life cycle | Default: No; fill in: switch. Controls whether the “native TCP lifecycle” feature is enabled. |
| DTU ID | Fill in: text input. Sets the identifier used to identify the current device connection through the DTU service. |
Server address is required and accepts 1 to 16 bytes of hexadecimal text, using an even number of characters, for example 000000000001. A variable address can override it with s=. Client address is one byte and defaults to 0. When Native TCP lifecycle is enabled, the TCP client performs login and application-connect steps after opening the socket; leave it disabled for serial passthrough or ordinary TCP requests.
Address rules
- DL/T 698 addresses use a four-byte OAD, for example 20-00-02-00.
- Available s=149100007290 overrides the server address, ca=0 overrides the client address, sat=single/wildcard/group/broadcast and logic=0..3 overrides the address descriptor.
- The value is converted to the current variable type according to the common OAD multiplication rate; the array or structure is expanded in response order, and the variable ArrayLength must be consistent with the number of scalars.
- Only plaintext application requests are supported. Meters requiring authenticated or encrypted application requests need an access method matching their security mechanism.
- The TCP client can choose serial port transparent transmission or native TCP life cycle; native TCP will complete login and application connection after connection.
Special methods
| Method | Purpose | Parameters |
|---|---|---|
| ReadOadsAsync | Read multiple OADs | addresses=20-00-02-00,20-01-02-00 |
| ExchangeClearApduAsync | Exchange clear text APDU | address=20-00-02-00; apduHex=05 01 00 20 00 02 00 00 |
Device debug
Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.
Dedicated debugging page
The protocol debug page has OAD and APDU tabs. Use OAD for normal read checks and APDU only for a confirmed clear-text message.


Debugging notes
Read the object attributes first according to the OAD list; plaintext APDU hexadecimal exchange is a high-risk original message and must be confirmed twice before execution.
Functions
| Function | Purpose |
|---|---|
| OAD read | Read one or more four-byte OADs and verify the server/client address and object values. |
| APDU exchange | Exchange a complete clear-text APDU for a confirmed test case. This may carry control semantics. |
| Result | Show the response content or a clear protocol error. |
Verify the configuration
- On the OAD tab, read an OAD confirmed by the meter documentation, such as
20-00-02-00. - Compare the returned object with the meter’s current value, then add a second OAD to check batch order.
- If a variable overrides addresses, verify
s=,ca=,sat=, andlogic=against the meter’s address descriptor. - For an array or structure OAD, confirm that the variable array length equals the number of scalar values returned.
- Use the APDU tab only for a confirmed clear-text frame. Do not send an unknown APDU to a production meter.
Troubleshooting
- OAD read has no response: Check server address, client address, FE preamble, channel parameters, and OAD byte order.
- TCP connects but the application request fails: Confirm whether the meter requires the native TCP lifecycle and whether login and application connection completed.
- Multiplier or array values are wrong: Check the OAD object type, variable data type, and array length. Do not treat a structure as one scalar.
- The meter requires secure authentication: The current plugin supports clear-text application requests only; the APDU tab cannot bypass secure authentication.
- The serial port device does not respond: Confirm port ownership and match baud rate, data bits, stop bits, and parity.
Related links
- Collection configuration: View channel, device and common variable configuration.
- Plugin Index: Find other collection or data-forward plugins.