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 examples | Connection requirements |
|---|---|
| DTSU6606 electricity meter | Use 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.
- Match RS-485 polarity and serial settings. TCP serial converters must transparently carry RTU; Modbus frame format remains
ModbusRtuon TCP. - Set the actual meter station, default
1. Leave DTU ID empty for direct links; configure it only for the corresponding inbound DTU mode. - 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. - For cyclic A-phase voltage, add scalar Int16 holding address
40769(40001 + 768). Raw2301means230.1 V; apply/10in its read expression.
| Holding address | Quantity | Conversion from raw signed Int16 |
|---|---|---|
40769–40771 | A/B/C voltage | ÷ 10, V. |
40772–40774 | A/B/C current | ÷ 100, A. |
40775–40786 | Per-phase and total active/reactive/apparent power, four each | ÷ 100, kW/kvar/kVA. |
40787–40790 | Per-phase and total power factor | ÷ 1000. |
40791 | Frequency | ÷ 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.
- In Modbus Slave → Setup → Slave Definition (F8), set
Slave ID=1,Function=03 Holding Register (4x), decimalAddress=768, andQuantity=23. Leave PLC Addresses (Base 1) unchecked. The displayedPLC address=40769is the corresponding complete holding-register address.

- Enable Address in Cell, double-click the cell for offset
768, and enter decimal2301. Leave other values at0. This is the A-phase raw voltage corresponding to230.1 V, rather than part of a Float value.

- 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.

- In Modbus Poll → Read/Write Definition (F8), select station
1, FC03, decimal address768, quantity23, and scan rate1000ms. In Connection → Connect (F3), select Modbus RTU/ASCII Over TCP/IP, RTU mode, and127.0.0.1:15020. The result768=2301should match Slave.



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


- In Plugin properties, keep ModbusRtu, station
1, FC03 maximum read size100, read/write timeout3000ms, and pre-frame delay0ms.CDABapplies to multiword data; each value here occupies one 16-bit register.


- Add
VoltageARawunder this device with address40769, type Int16, Read only, and array length1. Open Edit fields, select HoldingRegisters / Read function 03, enter starting offset768, confirm, and save. The current raw value is2301. To display volts in a cyclic variable, divide by10in its read conversion chain.



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

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
| Setting | Default | Description |
|---|---|---|
| Modbus framing | ModbusRtu | Fixed to RTU. TCP and ASCII framing cannot be selected. |
| Meter station | 1 | Must match the DTSU6606 address. |
| Data format | CDAB | Default multi-byte value order. |
| FC1 maximum coils per read | 1600 bits | Range 1–2000, affecting FC1 only; unused by these electrical measurements. |
| FC2 maximum discrete inputs per read | 1600 bits | Range 1–2000, affecting FC2 only; separate from the number of current channels. |
| FC3 maximum holding registers per read | 100 WORD | Range 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 read | 100 WORD | Range 1–125, affecting FC4 separately from the FC3 electrical measurements. |
| FC15 maximum coils per write | 1968 bits | Range 1–1968, affecting multi-coil writes only; the meter must support that operation. |
| FC16 maximum registers per write | 123 WORD | Range 1–123. Limits multi-register writes without making measured values writable or changing their width. |
| Read/write timeout | 3000 ms | Response deadline. Check station, wiring and serial format before adjusting for meter processing time. |
| Pre-frame delay | 0 ms | Additional wait before a request. Adjust for a slow meter or shared bus when required; the collection interval is separate. |
| String byte reversal | Off | Changes String byte order, separate from voltage/current scaling and 16-bit signs. |
| DTU ID | Empty | Only for identification in reverse TCP service connections; leave empty for serial or TCP client connections. |
| Heartbeat / Hex heartbeat | Empty / off | Only 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.
| Method | Purpose | Parameters |
|---|---|---|
ReadElectricalParametersAsync | Read 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.
| Feature | Purpose |
|---|---|
| Read electrical snapshot | Reads and displays all three-phase electrical values. This panel has no write operation. |
Verify the configuration
- Confirm that the device is online and select Read Electrical Snapshot.
- Compare voltage, current, power, and frequency with the meter display or calibrator.
- Create cyclic register variables only after the snapshot is correct.
Troubleshooting
| Symptom | Check |
|---|---|
| No response | RTU framing, station, serial settings, TCP pass-through, and network. |
| Values are clearly incorrect | Data format, register address, meter model, and scaling. |
| Some fields are abnormal | Meter wiring, phase order, device state, and response length. |
Related links
- Collection Configuration: Common channel, device, and variable operations.
- Plugin Manual Index: Other plugins.