Skip to Content
On this page

DTSU6606

This plugin collects DTSU6606 registers using Modbus RTU framing and reads a complete three-phase voltage, current, power, power-factor, and frequency snapshot. It is named DTSU6606 in the device selector.

Compatible devices and models

Device series / model examplesConnection requirements
DTSU6606 electricity meterUse the register map used by this plugin and check scaling, byte order and interface settings. Similarly named DTSU666 or DTSU660 models are not the same device.

Connect the meter and gateway

Read station, baud rate, parity and interface from the meter menu or vendor tool. Record CT/PT ratios and display units. Use the DTSU6606 register map rather than one for a similarly named meter.

  1. Match RS-485 polarity and serial settings. TCP serial converters must transparently carry RTU; Modbus frame format remains ModbusRtu on TCP.
  2. Set the actual meter station, default 1. Leave DTU ID empty for direct links; configure it only for the corresponding inbound DTU mode.
  3. Read the electrical snapshot first. It requests 23 WORD from zero-based holding register 768 (0x0300) and expects 46 data bytes, not 23 Float values.
  4. For cyclic A-phase voltage, add scalar Int16 holding address 40769 (40001 + 768). Raw 2301 means 230.1 V; apply /10 in its read expression.
Holding addressQuantityConversion from raw signed Int16
40769–40771A/B/C voltage÷ 10, V.
40772–40774A/B/C current÷ 100, A.
40775–40786Per-phase and total active/reactive/apparent power, four each÷ 100, kW/kvar/kVA.
40787–40790Per-phase and total power factor÷ 1000.
40791Frequency÷ 100, Hz.

The snapshot already applies these conversions. Ordinary cyclic registers return the selected raw type and need their engineering expression. Snapshot words are big-endian signed Int16, independent of default multiword CDAB. FC3 defaults to 100 WORD; reduce ordinary packing to the meter’s limit. Other function-code limits do not imply that this meter implements every operation or permits metering writes.

Compare raw voltage with Modbus Slave and Poll

Use the following register block when the gateway and tools run on the same computer. Replace 127.0.0.1 with the tool computer’s IP for a remote connection.

  1. In Modbus Slave → Setup → Slave Definition (F8), set Slave ID=1, Function=03 Holding Register (4x), decimal Address=768, and Quantity=23. Leave PLC Addresses (Base 1) unchecked. The displayed PLC address=40769 is the corresponding complete holding-register address.

Modbus Slave defines station 1, FC03, zero-based offset 768 and 23 registers

  1. Enable Address in Cell, double-click the cell for offset 768, and enter decimal 2301. Leave other values at 0. This is the A-phase raw voltage corresponding to 230.1 V, rather than part of a Float value.

Modbus Slave offset 768 contains raw A-phase voltage 2301

  1. In Connection → Connect (F3), select Modbus RTU Over TCP/IP and listen on 127.0.0.1:15020. This connection carries RTU frames with a station and CRC; select this mode instead of ordinary Modbus TCP/IP.

Modbus Slave listens for RTU over TCP on 127.0.0.1 port 15020

  1. In Modbus Poll → Read/Write Definition (F8), select station 1, FC03, decimal address 768, quantity 23, and scan rate 1000 ms. In Connection → Connect (F3), select Modbus RTU/ASCII Over TCP/IP, RTU mode, and 127.0.0.1:15020. The result 768=2301 should match Slave.

Modbus Poll reads 23 holding registers from offset 768

Modbus Poll RTU mode, target IP and port

Modbus Poll shows 2301 at offset 768 without communication errors

  1. Create and enable a gateway TcpClient channel with remote address 127.0.0.1:15020. Create a DTSU6606 device on this channel with execution interval 1000 ms. Enable Allow method calls when using the electrical snapshot button.

DTSU6606 TcpClient channel connects to the RTU pass-through port

DTSU6606 device plugin, channel and execution interval

  1. In Plugin properties, keep ModbusRtu, station 1, FC03 maximum read size 100, read/write timeout 3000 ms, and pre-frame delay 0 ms. CDAB applies to multiword data; each value here occupies one 16-bit register.

DTSU6606 RTU framing, station and function-code packing limits

DTSU6606 timeout, pre-frame delay, retries and CDAB settings

  1. Add VoltageARaw under this device with address 40769, type Int16, Read only, and array length 1. Open Edit fields, select HoldingRegisters / Read function 03, enter starting offset 768, confirm, and save. The current raw value is 2301. To display volts in a cyclic variable, divide by 10 in its read conversion chain.

DTSU6606 A-phase raw voltage variable with address 40769 and Int16 read-only type

DTSU6606 address editor selects holding registers and zero-based offset 768

DTSU6606 variable 40769 shows current value 2301 and normal status

  1. Open Protocol Debug → Operations → Read electrical snapshot. A-phase voltage is 230.1 V, matching 2301÷10. Other fields use their respective registers and scaling. The snapshot already converts engineering units; do not divide its voltage result by 10 again.

DTSU6606 electrical snapshot shows A-phase voltage 230.1 V

Open the plugin and supported scope

Create a serial, TCP client, or TCP server channel, then create a device using DTSU6606. TCP channels carry RTU frames. UDP is not supported.

Supported types include Boolean, Byte, common integers, Float, Double, and String. See Collection Configuration for common variable settings.

Plugin properties

SettingDefaultDescription
Modbus framingModbusRtuFixed to RTU. TCP and ASCII framing cannot be selected.
Meter station1Must match the DTSU6606 address.
Data formatCDABDefault multi-byte value order.
FC1 maximum coils per read1600 bitsRange 1–2000, affecting FC1 only; unused by these electrical measurements.
FC2 maximum discrete inputs per read1600 bitsRange 1–2000, affecting FC2 only; separate from the number of current channels.
FC3 maximum holding registers per read100 WORDRange 1–125, bounding contiguous holding-register reads. The electrical snapshot needs 23 consecutive WORDs. A larger limit cannot make undefined addresses readable.
FC4 maximum input registers per read100 WORDRange 1–125, affecting FC4 separately from the FC3 electrical measurements.
FC15 maximum coils per write1968 bitsRange 1–1968, affecting multi-coil writes only; the meter must support that operation.
FC16 maximum registers per write123 WORDRange 1–123. Limits multi-register writes without making measured values writable or changing their width.
Read/write timeout3000 msResponse deadline. Check station, wiring and serial format before adjusting for meter processing time.
Pre-frame delay0 msAdditional wait before a request. Adjust for a slow meter or shared bus when required; the collection interval is separate.
String byte reversalOffChanges String byte order, separate from voltage/current scaling and 16-bit signs.
DTU IDEmptyOnly for identification in reverse TCP service connections; leave empty for serial or TCP client connections.
Heartbeat / Hex heartbeatEmpty / offOnly in default DTU mode on a TCP service. Empty content inherits the channel value; Hex matches bytes, otherwise UTF-8 text.

Reads are packed by station, function code and collection interval. Gaps between selected points count toward the span; avoid undefined register ranges. See Common device parameters for retries, duty cycle and scheduling; use read-only variables for measurements.

Address and special method

Common Modbus addresses use 00001, 10001, 30001, and 40001. Add ;s=2; for station 2 or ;w=16; for FC16 writes.

Area and zero-based offset determine the function and starting address: 40769 is holding-register offset 768. A station override affects only that point. Use a bit number only for a register with defined bit semantics, not phase voltage. Encoding, byte capacity and string reversal apply only to String entries. Array length counts elements; each Int32/Float occupies two WORDs. See Modbus address rules for data format, BCD, String fields and function overrides, matching the actual meter table.

MethodPurposeParameters
ReadElectricalParametersAsyncRead the complete electrical snapshot-

The snapshot contains A/B/C phase voltage and current, phase and total active/reactive/apparent power, phase and total power factor, and frequency. Units are V, A, kW, kvar, kVA, and Hz.

Device debug

Open Development Configuration → Collection Configuration, select the DTSU6606 device open Protocol Debug at the top of the workspace.

FeaturePurpose
Read electrical snapshotReads and displays all three-phase electrical values. This panel has no write operation.

Verify the configuration

  1. Confirm that the device is online and select Read Electrical Snapshot.
  2. Compare voltage, current, power, and frequency with the meter display or calibrator.
  3. Create cyclic register variables only after the snapshot is correct.

Troubleshooting

SymptomCheck
No responseRTU framing, station, serial settings, TCP pass-through, and network.
Values are clearly incorrectData format, register address, meter model, and scaling.
Some fields are abnormalMeter wiring, phase order, device state, and response length.