Troubleshooting
Connecting InTouch to a CLICK PLC over Modbus RTU
Short answer
Set the Modbus I/O Server to RTU, not ASCII: the CLICK PLC is an RTU-only slave and silently discards ASCII frames. Wire to an RS-232 port, copy the PLC port's baud and framing — 38400 only if the port is set to it — and keep the 584/984PLC topic only after one known register reads back exact.
On this page
- Does the CLICK PLC answer Modbus ASCII or Modbus RTU?
- How much slower is Modbus ASCII than RTU at 38400 baud?
- Which topic device type works with a CLICK PLC?
- Which serial port on the CLICK do I wire to the PC?
- What serial settings must match at both ends?
- How do I prove the link with one known read?
- What do I check when the server still times out after switching to RTU?
- Questions asked
Your Modbus I/O Server is speaking the wrong mode: the CLICK PLC is a Modbus RTU slave only and never answers Modbus ASCII frames, so no topic choice can rescue the link until the server port is switched to RTU. Make that change in the server's port setup, wire the PC to one of the CLICK's RS-232 ports, copy the PLC port's serial settings exactly, then prove the link by reading one register whose value you already know. Pick 584/984PLC as the topic device type and keep it only after that known read returns the known value.
Does the CLICK PLC answer Modbus ASCII or Modbus RTU? #
It answers Modbus RTU only: the CLICK PLC acts as a Modbus RTU slave on its serial ports and does not implement the ASCII transmission mode, so every ASCII-framed request is discarded and the server times out.
The Modbus over Serial Line specification from the Modbus Organization defines two transmission modes, and a link runs one of them: RTU packs each byte as 8 raw bits and closes every frame with a two-byte CRC-16, while ASCII sends each byte as two hexadecimal characters between a leading colon and a trailing CR/LF, protected by a one-byte LRC. The function codes are the same; the wire is not. Baud rate, parity and cable quality cannot convert one into the other, which is why your link was silent — the check fields sit in different places in the frame.
The mode setting lives in the server's COM port configuration, the same place where you chose MODBUS ASCII, the COM number and 38400. The topic definition cannot override it. If your server build offers no RTU selection on that port, that build cannot talk to this PLC: the fix is an RTU-capable Modbus driver, not a different topic name.
How much slower is Modbus ASCII than RTU at 38400 baud? #
About 2.4 times the line time for the same poll: a one-register read costs 15 characters in RTU and 36 in ASCII, which is 3.9 ms against 9.4 ms at 38400 baud before either device adds turnaround delay.
The arithmetic for a function-03 read of one holding register:
- RTU request: 1 slave address + 1 function code + 2 start address + 2 quantity + 2 CRC = 8 bytes.
- RTU response: 1 + 1 + 1 byte count + 2 data + 2 CRC = 7 bytes.
- ASCII request: colon + 8 bytes at 2 characters each + CR + LF = 19 characters.
- ASCII response: colon + 7 × 2 characters + CR + LF = 17 characters.
- Totals: 15 characters for RTU, 36 for ASCII.
With 10 bits per character (1 start, 8 data, 1 stop), 38400 baud moves 38400 ÷ 10 = 3840 characters per second, so one character takes 1 ÷ 3840 = 0.26 ms. RTU: 15 × 0.26 ms = 3.9 ms. ASCII: 36 × 0.26 ms = 9.4 ms. The ratio is 36 ÷ 15 = 2.4, before the spec's frame gaps — at least 3.5 silent character times between RTU frames, and up to a full second tolerated between ASCII characters. One serial port also completes one transaction at a time, which is why Modbus RTU polling on one serial port is slow as the tag list grows. For this link the question is academic: the CLICK never answers ASCII, so RTU is the decision, not a preference.
Which topic device type works with a CLICK PLC? #
Start with 584/984PLC and keep it only after a known read proves the addressing: none of the listed device types names a CLICK, so the profile label establishes nothing on its own.
The topic list your server offers — 484PLC, 584/984PLC, E Model PLC, Micro84, Omni Flow Computer, Daniel Flow Comp, Elliott, Micromotion — predates this PLC. What the profile controls is server-side behavior: the address conventions it builds and the function codes it issues. The PLC side stays a standard Modbus RTU slave whichever name you pick, and no profile substitutes for the RTU port setting. If your build also lists a plain Modbus RTU device type, choose that first. The topic also carries the slave address the server polls, so enter the CLICK port's slave ID there.
| Topic choice | What it decides on the server side | Keep it when |
|---|---|---|
| 584/984PLC | Address convention and function codes used | One register with a known value reads back exact |
| Generic Modbus RTU type, if listed | Same, without instrument assumptions | The same known-read test passes |
| Flow-computer profiles | Instrument-specific addressing | Not applicable to a PLC; skip them |
Which serial port on the CLICK do I wire to the PC? #
One of the two RS-232 ports on the CLICK CPU; RS-485 is a third port that exists only on standard and analog CPU models, so use it only for a multi-drop bus on a CPU that has it.
The two interfaces are electrically different and not interchangeable: RS-232 is single-ended point-to-point, RS-485 is differential and built for a shared bus. Per the CLICK hardware documentation, the CPU carries two RS-232 ports, with the additional RS-485 port on standard and analog models available for Modbus RTU networking. Build or buy the cable against the published pinouts for the specific CLICK port and the PC-side port; a USB-to-RS-232 adapter that exposes a real COM port is acceptable for a point-to-point link like this one.
What serial settings must match at both ends? #
All of them — protocol, baud, data bits, parity, stop bits and slave ID — and the CLICK port's configured values are the reference, so 38400 is correct only when the port is actually set to 38400.
Read the PLC side first: COM Port Setup, opened from under the CPU icon on the Home tab of the CLICK programming software, lists every port on the controller with its protocol and settings. Put the chosen port in Modbus RTU slave mode, then copy what it shows into the server:
- Protocol: Modbus RTU in the server, Modbus RTU slave on the CLICK port.
- Baud rate: the value COM Port Setup displays; 38400 in your setup only if that is the configured value.
- Data bits, parity, stop bits: copied exactly — the serial-line spec fixes RTU at 8 data bits, with no parity allowed only when both ends then use two stop bits.
- Slave ID: one address in the valid 1-247 serial range, entered identically in the topic.
A parity or data-bits mismatch produces no readable error, only silence, so treat a persistent timeout after the mode switch as a settings mismatch until you have read the two sets of values side by side.
How do I prove the link with one known read? #
Read a single register you have preset to a distinctive value and compare the raw number before any scaling: a timeout still means transport, while a reply with the wrong value means addressing.
In the CLICK programming software, set one 16-bit data register to something unmistakable such as 12345, then read exactly that register through the server and record both the requested address and the raw returned value. Keep each polled block inside one contiguous area, because Modbus exception 02 when a read crosses a register map gap is the map rejecting a block that stepped outside it — shrink the block rather than chase the cable. Floating-point registers add word order to the trap list, the subject of reading a CLICK PLC float over Modbus TCP in an HMI.
- No response: transport — mode, settings, slave ID, cable or COM number; work the checklist below.
- Exception 02 reply: addressing — the read crossed a gap; shorten the block.
- Wrong but plausible value: profile convention or data type — compare the requested address and raw value against the CLICK map, and check word versus bit.
- Exact raw value: keep the topic and profile, then scale and add the remaining tags.
One caution belongs here: the moment reads work, writes follow, and a SCADA tag pointed at a real output can move a machine — apply the practices in safe Modbus writes to PLC output registers from SCADA before pointing InTouch at anything actuated.
What do I check when the server still times out after switching to RTU? #
Work the path in this order — mode, settings, slave ID, cable, COM number — because every one of them produces the same silent timeout, and the cheapest checks come first.
- Confirm the server port is set to Modbus RTU, not MODBUS ASCII.
- Confirm every serial parameter equals what COM Port Setup shows: baud, data bits, parity, stop bits.
- Confirm the topic's slave address equals the CLICK port's slave ID, within 1-247.
- Confirm the COM number in the server is the physical port the cable occupies on the PC.
- Confirm the interface type matches at both ends and the cable follows the published pinouts.
- Confirm only one master polls the port; a second master on the same bus corrupts both.
Change one item at a time and retest after each change.
Questions asked
Why did the C-More panel work when the InTouch server would not?
The panel was already talking Modbus RTU, the only mode the CLICK answers, so its frames were understood the moment they arrived. Your server was configured for Modbus ASCII, and the PLC discarded those frames before addressing or the topic ever mattered. With the server in RTU and matching settings, both use the same conversation the panel uses.
Is 584/984PLC a different protocol from Modbus RTU?
No. The topic names — 484PLC, 584/984PLC, Micro84 and the rest — identify Modicon controller families and flow instruments the profiles were written against long ago. A profile sets how the server builds addresses and which function codes it issues, not a second wire protocol. The CLICK runs standard Modbus RTU, and a wrong profile shows up as wrong values rather than timeouts.
Can I use Modbus TCP to the CLICK and skip the serial link?
If the CPU has Ethernet, yes. On a CLICK Plus the hardware manual enables the Modbus TCP server from the Function tab in the Navigation window: expand Com Port 1 Setup and double-click Modbus TCP. The RTU-versus-ASCII question disappears entirely. Serial-only CLICK CPUs offer no Ethernet path, so RTU over RS-232 or RS-485 is their only Modbus link.
What slave address should the topic use?
The one the CLICK port is configured for — read it in COM Port Setup before defining the topic, because a master polls a unit address and the PLC ignores requests addressed elsewhere. If the topic's address and the port's slave ID differ, every poll times out while the wiring is perfect. Valid Modbus serial addresses run 1 to 247.
Do I have to run the link at 38400 baud?
No. 38400 was the rate entered in the failing setup, not a requirement of either device. The rule is equality: the server must carry exactly the baud, data bits, parity and stop bits configured on the CLICK port. If COM Port Setup shows a different rate, use that rate in the server and retest.