- Home
- Modbus register maps
- Teracom
- TDO340 4-channel Modbus RTU relay output module
Sensor (relay output module) · Modbus register map
Teracom TDO340 4-channel Modbus RTU relay output module Modbus register map
Updated 19 November 2026
The TDO340 is a Teracom DIN-rail module with four SPST relays (3 A) driven over Modbus RTU RS-485. Relays can be switched as coils or holding registers, and the module has configurable power-up states and a comms-loss watchdog with per-relay actions.
This page lists 28 Modbus registers for the Teracom TDO340 4-channel Modbus RTU relay output module — 23 writable — with the table, 0-based wire address, data type, word order, scale, units and access of each, re-typed from Teracom’s own free documentation (linked below) and checked against it.
- Manufacturer
- Teracom
- Model
- TDO340 4-channel Modbus RTU relay output module
- Equipment type
- Sensor (relay output module)
- Registers
- 28 (23 writable)
- Transport
- Modbus RTU
- Default unit ID
- 1
- Default serial
- 19200 baud, 8E1
- Documented addressing
- Modicon 3xxxx/4xxxx (drop the prefix, subtract 1)
- Firmware
- V1.03 or later
- Also known as
- TDO340
- Source document
- TDO340 User manual · Revision R1.2 · rev. 2026-10
Integration notes: Teracom TDO340 4-channel Modbus RTU relay output module
Switch relays with function 05 on coils 1-4, or write PDU 100 (bitmask) / 101-104 with function 06. Set the watchdog timeout (PDU 305) and per-relay actions (PDU 301-304) before commissioning.
Minimum registers to map
Addresses are 0-based wire addresses. Enough to monitor and run the unit; map more as the job needs.
| Register | Name | Type | Why | Access |
|---|---|---|---|---|
| HR 100 | All relay outputs, binary | UINT16 | All relays bitmask | Read/write |
| HR 101 | Relay 1 output, binary | UINT16 | Relay 1 | Read/write |
| CO 1 | Relay 1 | BIT | Relay 1 coil | Read/write |
| HR 305 | Modbus no-communication timeout | UINT16 | Watchdog timeout | Read/write |
| HR 301 | Relay 1 no-communication behavior | UINT16 | Relay 1 comms-loss action | Read/write |
| HR 200 | Relays power-on state | UINT16 | Power-up behaviour | Read/write |
Enable Modbus control & writes
Modbus RTU is the only interface and is always active; there is nothing to switch on. Factory settings are address 1, 19200 baud, 8E1.
Communication loss & watchdog
PDU 305 sets a comms-loss timeout in seconds (0 = off); any valid request addressed to the module restarts it. On expiry each relay follows its PDU 301-304 action; relays then hold until a new command arrives.
Byte order & addressing
- Baud rate and framing changes only take effect after the device is powered off and on again.
Network setup
- Set unit ID (PDU 10), baud (PDU 11) and framing (PDU 12), then power-cycle the device.
- Terminate both ends of the RS-485 bus with 120 ohm; the built-in resistor is enabled by wiring Term to RS485-. A daisy chain is recommended.
Teracom TDO340 4-channel Modbus RTU relay output module Modbus registers
Address = 0-based wire address (the documented number is shown under it when it differs) · Order: ABCD = high word first, CDAB = low word first · Scale: engineering value = raw × scale.
| Table | Address | Name | Description | Type | Order | Scale | Units | Access | Values / bits |
|---|---|---|---|---|---|---|---|---|---|
| CO | 1doc 2 | Relay 1 | Relay state as a coil. | BIT | Read/write | ||||
| CO | 2doc 3 | Relay 2 | Relay state as a coil. | BIT | Read/write | ||||
| CO | 3doc 4 | Relay 3 | Relay state as a coil. | BIT | Read/write | ||||
| CO | 4doc 5 | Relay 4 | Relay state as a coil. | BIT | Read/write | ||||
| HR | 10doc 40011 | RS-485 address | Modbus slave address of the device. | UINT16 | Read/write | ||||
| HR | 11doc 40012 | Baud rate | Serial baud rate; takes effect after a power cycle. | UINT16 | Read/write | ||||
| HR | 12doc 40013 | Parity, data, stop bits | Parity/data/stop framing; takes effect after a power cycle. | UINT16 | Read/write | 1 = 8 data bits, even parity, 1 stop (E81); 2 = 8 data bits, odd parity, 1 stop (O81); 3 = 8 data bits, no parity, 1 stop (N81) | |||
| HR | 14doc 40015 | Device code | Fixed product identification code. | UINT16 | Read | ||||
| HR | 15doc 40016 | FW version | Firmware version number. | UINT16 | Read | ||||
| HR | 18doc 40019 | Vendor URL | Maker URL as UTF-8 text (64 bytes). | STRING[64] | Read | ||||
| HR | 86doc 40087 | Signed integer test value | INT16 | Read | |||||
| HR | 91doc 40092 | Unsigned integer test value | UINT16 | Read | |||||
| HR | 100doc 40101 | All relay outputs, binary | All four relay states in one word (0-15); write to set them all at once. | UINT16 | Read/write | ||||
| HR | 101doc 40102 | Relay 1 output, binary | Relay state as a 0/1 word. | UINT16 | Read/write | 0 = Off; 1 = On | |||
| HR | 102doc 40103 | Relay 2 output, binary | Relay state as a 0/1 word. | UINT16 | Read/write | 0 = Off; 1 = On | |||
| HR | 103doc 40104 | Relay 3 output, binary | Relay state as a 0/1 word. | UINT16 | Read/write | 0 = Off; 1 = On | |||
| HR | 104doc 40105 | Relay 4 output, binary | Relay state as a 0/1 word. | UINT16 | Read/write | 0 = Off; 1 = On | |||
| HR | 200doc 40201 | Relays power-on state | What the relays do at power-up. | UINT16 | Read/write | 0 = Restore last set states; 1 = All relays on; 2 = All relays off; 3 = Use per-relay settings (PDU 201-204) | |||
| HR | 201doc 40202 | Relay 1 power-on state | Power-up state; used only when PDU 200 = 3. | UINT16 | Read/write | 0 = Restore last set state; 1 = Relay on; 2 = Relay off | |||
| HR | 202doc 40203 | Relay 2 power-on state | Power-up state; used only when PDU 200 = 3. | UINT16 | Read/write | 0 = Restore last set state; 1 = Relay on; 2 = Relay off | |||
| HR | 203doc 40204 | Relay 3 power-on state | Power-up state; used only when PDU 200 = 3. | UINT16 | Read/write | 0 = Restore last set state; 1 = Relay on; 2 = Relay off | |||
| HR | 204doc 40205 | Relay 4 power-on state | Power-up state; used only when PDU 200 = 3. | UINT16 | Read/write | 0 = Restore last set state; 1 = Relay on; 2 = Relay off | |||
| HR | 301doc 40302 | Relay 1 no-communication behavior | Action when the comms watchdog expires. | UINT16 | Read/write | 0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time | |||
| HR | 302doc 40303 | Relay 2 no-communication behavior | Action when the comms watchdog expires. | UINT16 | Read/write | 0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time | |||
| HR | 303doc 40304 | Relay 3 no-communication behavior | Action when the comms watchdog expires. | UINT16 | Read/write | 0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time | |||
| HR | 304doc 40305 | Relay 4 no-communication behavior | Action when the comms watchdog expires. | UINT16 | Read/write | 0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time | |||
| HR | 305doc 40306 | Modbus no-communication timeout | Comms-loss timeout; 0 disables the watchdog. | UINT16 | s | Read/write | |||
| HR | 306doc 40307 | Watchdog pulse duration | Pulse length for watchdog action 3 (1-255 s). | UINT16 | s | Read/write |
Notes on this map
- Addresses are taken from the manual's PDU address column (0-based); the logical column adds 40001 for holding registers and 1 for coils (discrete outputs), as the manual states.
- Left out: the 32-bit float/integer test-value registers (PDU 82-95), which only exist to check word order; the 16-bit test values are kept.
- Coils run from PDU 1 (logical 2) to PDU 4 (logical 5) for relays 1-4, exactly as the table prints them; there is no relay at coil 0.
- This model has no Data order register and no 32-bit measurement values.
Check it against the live device. A register map tells you what the controller can expose; the unit in front of you may differ by firmware or options. Read a few registers and compare them with the unit’s own display; for a 32-bit value the float and byte-order decoder shows all four word orders at once, so a wrong word order or scale is obvious. New to this? Read what a register map is and why addresses are off by one.
Questions about the Teracom TDO340 4-channel Modbus RTU relay output module
What Modbus registers does the Teracom TDO340 4-channel Modbus RTU relay output module have?
This map lists 28 registers: 4 coils, 24 holding registers. 23 of them can be written. Registers vary with firmware, options and configuration, so confirm against the device.
Are the Teracom TDO340 4-channel Modbus RTU relay output module Modbus addresses 0-based or 1-based?
The manufacturer's document numbers registers Modicon 3xxxx/4xxxx (drop the prefix, subtract 1). Every address on this page is the 0-based wire address you put in the request; the documented number is shown under it where it differs. The register table prints both a PDU (wire) address and a logical address (PDU + 40001 for holding registers). 'documented' holds the logical number; the PDU number is what goes in the request, e.g. logical 40101 = PDU 100.
What are the minimum Modbus registers to integrate the Teracom TDO340 4-channel Modbus RTU relay output module?
Start with HR 100 All relay outputs, binary (All relays bitmask); HR 101 Relay 1 output, binary (Relay 1); CO 1 Relay 1 (Relay 1 coil); HR 305 Modbus no-communication timeout (Watchdog timeout); HR 301 Relay 1 no-communication behavior (Relay 1 comms-loss action); HR 200 Relays power-on state (Power-up behaviour).
How do I enable Modbus control of the Teracom TDO340 4-channel Modbus RTU relay output module?
Modbus RTU is the only interface and is always active; there is nothing to switch on. Factory settings are address 1, 19200 baud, 8E1.
What happens when the Teracom TDO340 4-channel Modbus RTU relay output module loses Modbus communication?
PDU 305 sets a comms-loss timeout in seconds (0 = off); any valid request addressed to the module restarts it. On expiry each relay follows its PDU 301-304 action; relays then hold until a new command arrives.
Where is the official Teracom TDO340 4-channel Modbus RTU relay output module Modbus documentation?
The source is TDO340 User manual (Revision R1.2), revision 2026-10, published free by Teracom at https://www.teracomsystems.com/download/tdo340-modbus-rtu-relay-output-module/.
More Teracom Modbus register maps
- Sensor (temperature / humidity data logger)
Teracom TCW210-TH temperature and humidity data logger
TCW210-TH per the Teracom TCW210-TH user manual Revision R1.26, firmware V2.012 or later.
Also known as: TCW210-TH, TCW210 - Sensor (Ethernet data logger / I/O module)
Teracom TCW220 Ethernet data logger
TCW220 per the Teracom TCW220 user manual Revision R4.24, firmware V2.012 or later.
Also known as: TCW220 - Sensor (Ethernet I/O module)
Teracom TCW241 Ethernet I/O module
TCW241 per the Teracom TCW241 user manual Revision R4.30, firmware v2.012 or later.
Also known as: TCW241 - Energy meter (Ethernet energy monitoring / data logger)
Teracom TCW260 Ethernet energy monitoring module
TCW260 per the Teracom TCW260 user manual Revision R1.19, firmware V3.009 or later.
Also known as: TCW260 - Sensor (Ethernet analog / digital output module)
Teracom TCW280 Ethernet analog output module
TCW280 per the Teracom TCW280 user manual TCW280_R1.8.
Also known as: TCW280 - Sensor (1-Wire to Modbus gateway)
Teracom TCW320x-WMG 1-Wire to Modbus gateway
TCW320E-WMG (Ethernet) and TCW320W-WMG (Wi-Fi) per the user manual Revision R1.0; both share one fixed register map.
Also known as: TCW320E-WMG, TCW320W-WMG - Energy meter (S0 pulse counter / digital input module)
Teracom TDI340 4-channel S0 pulse counter with Modbus RTU
TDI340 per the Teracom TDI340 user manual Revision R1.11, firmware V1.06 or later.
Also known as: TDI340 - Sensor (water leak detector)
Teracom TSF400-4 water-leak detector with Modbus RTU
TSF400-4 per the Teracom TSF400-4 user manual Revision R1.2.
Also known as: TSF400-4 - Sensor (humidity / temperature)
Teracom TSH300v3 RS-485 humidity and temperature sensor
TSH300v3 per the Teracom TSH300v3 user manual Revision R1.17.
Also known as: TSH300, TSH300v3 - Sensor (humidity / temperature)
Teracom TSH331 IP54 Modbus RTU humidity and temperature sensor
TSH331 per the Teracom TSH331 user manual Rev. 1.5, firmware v1.08 or later.
Also known as: TSH331 - Sensor (CO2 / pressure)
Teracom TSM400-4-CP Modbus CO2 and barometric pressure sensor
TSM400-4-CP per the Teracom TSM400-4-CP user manual TSM400-4-CP-R1.9.
Also known as: TSM400-4-CP - Sensor (CO2 / humidity / temperature / pressure)
Teracom TSM400-4-CPTH Modbus CO2, humidity, temperature and pressure multi-sensor
TSM400-4-CPTH per the Teracom TSM400-4-CPTH user manual TSM400-4-CPTH-R1.9.
Also known as: TSM400-4-CPTH - Sensor (humidity / temperature)
Teracom TSM400-4-TH Modbus humidity and temperature sensor
TSM400-4-TH per the Teracom TSM400-4-TH user manual TSM400-4-TH-R1.10.
Also known as: TSM400-4-TH - Sensor (temperature)
Teracom TST300v3 / TST300v4 RS-485 precision temperature sensor
TST300v3/v4 per the Teracom TST300v3/v4 user manual Revision R1.19.
Also known as: TST300, TST300v3, TST300v4 - Sensor (thermocouple input module)
Teracom TST320 2-channel thermocouple module with Modbus RTU
TST320 per the Teracom TST320 user manual Revision R1.6.
Also known as: TST320 - Sensor (AC/DC voltage transducer)
Teracom TSV300 AC/DC voltage transducer with Modbus RTU
TSV300 per the Teracom TSV300 user manual Revision R1.4, firmware V1.06 or later.
Also known as: TSV300
Other valves, actuators & sensors register maps
- Sensor (CO2 probe)
Vaisala GMP252 CARBOCAP carbon dioxide probe (Modbus RTU)
GMP252 probe in Modbus RTU mode, user guide M211897EN-G.
Also known as: GMP252, CARBOCAP GMP252, Vaisala GMP252 - Sensor (H2O2 probe)
Vaisala HPP271 hydrogen peroxide probe (Modbus RTU)
HPP271 vaporized hydrogen peroxide probe, Modbus RTU interface (user guide M211888EN-E).
Also known as: HPP271, PEROXCAP HPP271 - Sensor (weather transmitter)
Vaisala WXT530 series weather transmitters (Modbus RTU)
WXT531-WXT536 weather transmitters with firmware 3.85 or later in Modbus RTU mode (user guide M211840EN-G).
Also known as: WXT531, WXT532, WXT533, WXT534, WXT535, WXT536 - Water treatment controller (Sensor / controller)
Walchem WebMaster / WebMaster ONE (WM1) Modbus TCP/IP option
Walchem WebMaster and WebMaster ONE controllers with the Modbus TCP/IP option, software s800/s801/s802/s811/s830 v017 and higher, per manual 180422 Rev G.
Also known as: WebMaster, WebMaster ONE, WM1, s800, s801, s802, s811, s830 - Sensor (Ethernet analog output module)
Acromag BusWorks XT1541-000 8-channel voltage output + 4 digital I/O (Modbus TCP)
BusWorks XT1541-000 per its user's manual (file revision H, 18 Nov 2022).
Also known as: XT1541-000, XT1541, BusWorks XT1541 - Sensor (humidity / temperature transmitter)
E+E Elektronik EE160 humidity and temperature sensor for building automation (RS-485 Modbus RTU)
EE160 RH/T room/duct sensor with RS-485 interface in Modbus RTU mode, per user manual BA_EE160 v2.7 (04-2026).
Also known as: EE160, EE160-HT6, E+E EE160, EE 160
All valves, actuators & sensors Modbus register maps →
Source: TDO340 User manual · Revision R1.2 · rev. 2026-10. Register numbers, types, scaling and units are reproduced as published; descriptions are our own.