Easy Modbus
  1. Home
  2. Modbus register maps
  3. Teracom
  4. 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

Short answer

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
Download CSV all columns JSON Manufacturer PDF ↗

Integration notes: Teracom TDO340 4-channel Modbus RTU relay output module

Integration in brief

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.

RegisterNameTypeWhyAccess
HR 100All relay outputs, binaryUINT16All relays bitmaskRead/write
HR 101Relay 1 output, binaryUINT16Relay 1Read/write
CO 1Relay 1BITRelay 1 coilRead/write
HR 305Modbus no-communication timeoutUINT16Watchdog timeoutRead/write
HR 301Relay 1 no-communication behaviorUINT16Relay 1 comms-loss actionRead/write
HR 200Relays power-on stateUINT16Power-up behaviourRead/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

Network setup

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.

28 of 28 shown
Teracom TDO340 4-channel Modbus RTU relay output module Modbus register map
TableAddressNameDescriptionTypeOrderScaleUnitsAccessValues / bits
CO1doc 2Relay 1Relay state as a coil.BITRead/write
CO2doc 3Relay 2Relay state as a coil.BITRead/write
CO3doc 4Relay 3Relay state as a coil.BITRead/write
CO4doc 5Relay 4Relay state as a coil.BITRead/write
HR10doc 40011RS-485 addressModbus slave address of the device.UINT16Read/write
HR11doc 40012Baud rateSerial baud rate; takes effect after a power cycle.UINT16Read/write
HR12doc 40013Parity, data, stop bitsParity/data/stop framing; takes effect after a power cycle.UINT16Read/write1 = 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)
HR14doc 40015Device codeFixed product identification code.UINT16Read
HR15doc 40016FW versionFirmware version number.UINT16Read
HR18doc 40019Vendor URLMaker URL as UTF-8 text (64 bytes).STRING[64]Read
HR86doc 40087Signed integer test valueINT16Read
HR91doc 40092Unsigned integer test valueUINT16Read
HR100doc 40101All relay outputs, binaryAll four relay states in one word (0-15); write to set them all at once.UINT16Read/write
HR101doc 40102Relay 1 output, binaryRelay state as a 0/1 word.UINT16Read/write0 = Off; 1 = On
HR102doc 40103Relay 2 output, binaryRelay state as a 0/1 word.UINT16Read/write0 = Off; 1 = On
HR103doc 40104Relay 3 output, binaryRelay state as a 0/1 word.UINT16Read/write0 = Off; 1 = On
HR104doc 40105Relay 4 output, binaryRelay state as a 0/1 word.UINT16Read/write0 = Off; 1 = On
HR200doc 40201Relays power-on stateWhat the relays do at power-up.UINT16Read/write0 = Restore last set states; 1 = All relays on; 2 = All relays off; 3 = Use per-relay settings (PDU 201-204)
HR201doc 40202Relay 1 power-on statePower-up state; used only when PDU 200 = 3.UINT16Read/write0 = Restore last set state; 1 = Relay on; 2 = Relay off
HR202doc 40203Relay 2 power-on statePower-up state; used only when PDU 200 = 3.UINT16Read/write0 = Restore last set state; 1 = Relay on; 2 = Relay off
HR203doc 40204Relay 3 power-on statePower-up state; used only when PDU 200 = 3.UINT16Read/write0 = Restore last set state; 1 = Relay on; 2 = Relay off
HR204doc 40205Relay 4 power-on statePower-up state; used only when PDU 200 = 3.UINT16Read/write0 = Restore last set state; 1 = Relay on; 2 = Relay off
HR301doc 40302Relay 1 no-communication behaviorAction when the comms watchdog expires.UINT16Read/write0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time
HR302doc 40303Relay 2 no-communication behaviorAction when the comms watchdog expires.UINT16Read/write0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time
HR303doc 40304Relay 3 no-communication behaviorAction when the comms watchdog expires.UINT16Read/write0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time
HR304doc 40305Relay 4 no-communication behaviorAction when the comms watchdog expires.UINT16Read/write0 = Keep last state; 1 = Relay on; 2 = Relay off; 3 = Pulse to the opposite state for the PDU 306 time
HR305doc 40306Modbus no-communication timeoutComms-loss timeout; 0 disables the watchdog.UINT16sRead/write
HR306doc 40307Watchdog pulse durationPulse length for watchdog action 3 (1-255 s).UINT16sRead/write

Notes on this map

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

Other valves, actuators & sensors register maps

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.