Skip to main content

Dlt698Master

Purpose

Dlt698Master collects DL/T 698 power information, receives active reports, and manages the protocol link.

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "Dlt698Master" in "Collection Plugin".

Supported channels and data types

Channel typePre-configuration check
Serial PortConfirm 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 ClientConfirm network reachability of the device IP, port, and gateway to the device.
TCP serverConfirm 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

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

SettingDescription
Server addressRequired; Default: 000000000001; Fill in: text input. Set the server address used for protocol communication.
Client addressDefault: 0; fill in: text input. Sets the client address used for protocol communication.
Enable FE preambleDefault: Yes; fill in: switch. Controls whether the "Enable FE Preamble" feature is enabled.

Connection configuration

SettingDescription
Native TCP life cycleDefault: No; fill in: switch. Controls whether the "native TCP lifecycle" feature is enabled.
DTU IDFill 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.
  • The current version only supports clear text application requests; secure requests are explicitly rejected due to lack of real keys and authentication lifecycle configuration.
  • 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

MethodPurposeParameters
ReadOadsAsyncRead multiple OADsaddresses=20-00-02-00,20-01-02-00
ExchangeClearApduAsyncExchange clear text APDUaddress=20-00-02-00; apduHex=05 01 00 20 00 02 00 00

Functions

FunctionPurpose
OAD readRead one or more four-byte OADs and verify the server/client address and object values.
APDU exchangeExchange a complete clear-text APDU for a confirmed test case. This may carry control semantics.
ResultShow the response content or a clear protocol error.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

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.

Dlt698Master debug subpage 1

Dlt698Master debug subpage 2

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.

Verify the configuration

  1. On the OAD tab, read an OAD confirmed by the meter documentation, such as 20-00-02-00.
  2. Compare the returned object with the meter's current value, then add a second OAD to check batch order.
  3. If a variable overrides addresses, verify s=, ca=, sat=, and logic= against the meter's address descriptor.
  4. For an array or structure OAD, confirm that the variable array length equals the number of scalar values returned.
  5. 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.