IMDHMIControls LibraryShop main store

How-to

How to connect a Modicon PLC to an RTU Modbus RTU network

Industrial networks Published 8 min read By IMDHMI controls team

Short answer

Yes — a Modicon PLC can join an RTU network that runs Modbus RTU over fiber. One serial segment carries one client, so the PLC either polls the RTUs as client or answers an existing master as server; the fiber converters must pass frames and gaps untouched, and the timeout is set from measured response time.

On this page
  1. Can a Modicon PLC join a fiber network of RTUs running Modbus RTU?
  2. Which device owns the requests on the RTU network today?
  3. Should the PLC be the Modbus client or the server?
  4. What serial settings must match at both ends of the fiber?
  5. What must the fiber converters preserve besides the bytes?
  6. How do you set the client timeout from measured response time?
  7. When does the design need a Modbus TCP-to-RTU gateway?
  8. How do you verify the first value end to end?
  9. Questions asked

Yes — a Modicon PLC can be connected to an existing network of RTUs that exchange Modbus RTU over fiber. The concrete setup: set every serial endpoint to the same framing — a common RTU setting is 9600 bit/s, 8 data bits, even parity, 1 stop bit — keep the inter-frame silent gap above t3.5, which is 3.65 ms at 9600 bit/s, and set the client timeout to at least three times the measured worst request-to-response time (60 ms measured gives 180 ms, so configure 200 ms). The fiber changes nothing about the protocol decision: Modbus RTU is a serial master-slave protocol, one serial segment carries exactly one client, and the fiber converters only move bytes. The integration is four decisions in a fixed order: who owns the requests today, which role the PLC takes, whether the serial framing and frame gaps survive the fiber, and what timeout the measured response time justifies.

Can a Modicon PLC join a fiber network of RTUs running Modbus RTU? #

Yes: the fiber is only the medium, and the traffic on it is ordinary Modbus RTU master-slave communication, so the PLC joins through a serial port or a converter — provided one rule holds, that a single serial segment carries one client. Fiber describes how the bytes travel, not which Modbus variant runs or which device initiates requests. Industrial serial-to-fiber converters translate RS-232, RS-422 or RS-485 to optical fiber, and when they pass the serial bytes transparently the RTUs and the PLC never know fiber is in the path.

Before changing any configuration, trace the complete path. Record the CPU and communication module identification on the PLC side, the fiber interface identification at each end, and the RTU communication configuration. Then answer one question about the fiber equipment: does it pass serial frames through untouched, or does it terminate requests and create new transactions? A transparent converter keeps you in a Modbus RTU design. A device that rebuilds transactions is a gateway, and its upstream and downstream protocols must be read from its configuration before you design anything.

Which device owns the requests on the RTU network today? #

Identify the existing client before you connect anything: on a healthy Modbus RTU segment exactly one client — traditionally the master — sends requests to addressed servers, and a second independent client on the same segment produces corrupted transactions on both sides. An RTU's equipment label does not identify its protocol role; the same hardware can be a client on one job and a server on the next.

Observe the network while it runs normally, using the PLC's or RTU's communication diagnostics or a serial analyzer. You need three facts: which device initiates requests, which server addresses answer, and roughly how the polling is scheduled. Only when those are known can you place the PLC without disturbing production traffic. If the observed traffic shows overlapping requests or intermittent responses before you touch anything, that segment already has a problem — two requesters or a duplicate address — and adding a device will make it worse.

Should the PLC be the Modbus client or the server? #

Make the PLC the client when it must poll RTU data on its own schedule, and make it the server when the existing master should read the PLC instead; either choice keeps one requester on the segment. If an RTU or master already polls the segment, the PLC cannot join as a second client on that same pair of wires or fiber — give it a separate segment, or place a gateway that explicitly manages access between the two networks.

Both directions are proven designs. With the PLC as client, confirm each RTU exposes a Modbus server with the data you need, and that the Modicon serial port or module supports the Modbus RTU client role in the installed hardware. The port-side setup for one Modicon family is walked through in Modicon M340 serial Modbus RTU connection to an HMI. With the PLC as server, the existing master's polling configuration gains the PLC's address, and the PLC only answers — no polling logic to write on the PLC side.

What serial settings must match at both ends of the fiber? #

Every communicating serial endpoint must agree on baud rate, data bits, parity and stop bits — a common RTU setting is 9600 bit/s, 8 data bits, even parity, 1 stop bit — because a fiber link stays lit while the attached devices disagree about framing. Compare settings at the serial interfaces, never at the fiber indicators: a green link proves light crosses the fiber and nothing more.

Work through four items:

  • Protocol mode: both communicating endpoints set to Modbus RTU, not Modbus ASCII. Wrong mode shows up as received bytes that never validate.
  • Framing: identical baud rate, data bits, parity and stop bits. A mismatch gives framing errors, corrupt messages or silence.
  • Electrical interface: compatible wiring and converter interfaces, so RS-485 pairs land on RS-485 converter terminals. A mismatch gives no receive activity or failures in one direction only.
  • Server address: the destination address the client polls, unique on the segment. A wrong or duplicate address gives no reply, conflicting replies, or data from the wrong unit.

What must the fiber converters preserve besides the bytes? #

The converters must preserve message boundaries: Modbus RTU delimits frames with a silent gap of more than 3.5 character times — t3.5 — and a converter that buffers bytes or retimes the stream breaks transactions that look correct on paper. Frame timing is part of the protocol, not an electrical detail, so a converter that merges two frames into one burst makes both requests unreadable to the server.

The size of that gap comes from the baud rate. A worked example at 9600 bit/s with 8 data bits, even parity and 1 stop bit: each character carries 1 start bit + 8 data bits + 1 parity bit + 1 stop bit = 10 bits, so one character time is 10 ÷ 9600 = 1.04 ms. The t3.5 gap is therefore 3.5 × 1.04 = 3.65 ms, and the converters must deliver every inter-frame gap of at least that width at the far end. At higher baud rates the same formula shrinks the gap, which is exactly when marginal converters start merging frames — measure, do not assume.

How do you set the client timeout from measured response time? #

Set the client timeout to at least three times the worst request-to-response time you measure on the loaded network, because a reply that arrives after the timeout reads as a failed poll even though the data path is healthy. The measurement must include the fiber path, the RTU's processing or scan delay, and any queue inside a gateway in the path — measure at the client end, under normal load.

Worked example. You measure the request-to-response time on the loaded segment and the worst reading is 60 ms. The timeout is 3 × 60 ms = 180 ms, so configure 200 ms and keep the 20 ms of headroom for load variation. If you later see intermittent timeouts with correct data in between, re-measure under peak load rather than shrinking the poll list: the fix is the timeout or the polling rate, not the register map. A timeout of a few hundred milliseconds with several servers on one segment is normal for RTU networks; do not fight it.

When does the design need a Modbus TCP-to-RTU gateway? #

Use an explicit Modbus TCP-to-RTU gateway when the PLC offers only Modbus TCP on its side, because a plain serial-to-TCP converter only tunnels bytes and never translates transactions — it cannot produce Modbus RTU framing with valid gaps at the far end. Replacing the physical transport does not convert the protocol. The case for a gateway over legacy serial hardware is laid out in why a legacy serial PLC needs a gateway for Modbus RTU.

A gateway terminates the Modbus TCP request, issues a Modbus RTU request on the serial side, waits for the server's response, and returns it upstream. Verify three things in its configuration before committing: it translates transactions rather than tunneling bytes; it routes each TCP unit or target to the correct serial server address; and its internal queue can carry your poll rate without its own timeouts stacking on top of the serial ones. On the PLC side, the settings a Modbus TCP client needs are covered in what you must configure on the PLC side for Modbus TCP.

How do you verify the first value end to end? #

Commission one documented, stable, read-only value first and compare raw register contents at the RTU and in the PLC before any scaling, because a working transport proves nothing about the register map. Successful polling with the wrong address or word order still shows a plausible-looking wrong number.

  1. Back up the RTU, PLC and gateway configurations, and record the existing communication error counters before the change.
  2. Pick one read-only value whose true state you can confirm at the RTU, for example a known constant or a measurement readable on the RTU's local display.
  3. Read the raw register in the PLC and compare it with the raw contents at the RTU. If the raw values match but the engineering value differs, the fault is signed interpretation, word order or scaling in the PLC logic — not the communication.
  4. If the request returns a Modbus exception response, the transport worked and the server refused: decode the exception code and re-check the function, address and quantity against the RTU's documented map.
  5. Expand the mapping in supported request groups only after the first value agrees, keeping read and write permissions distinct.
  6. Commission writes only against an approved, non-hazardous test target — a write that lands on the wrong register of a live process is a hazard, not a bug.

Accept the integration on the loaded network: run the full poll list alongside the existing traffic, confirm the error counters stay flat, and hold the measured worst-case response time against the configured timeout. That test — real requests, real fiber, real RTU scan times — is the only evidence that counts.

Questions asked

Can two clients share one Modbus RTU segment if their polling schedules are offset?

No. Modbus RTU has no arbitration or collision recovery; a segment depends on exactly one client transmitting requests. Offset schedules drift, and the moment two requests overlap both transactions are corrupted and both clients see failures. Give the second client its own physical segment, or put a gateway between the networks that queues and routes transactions.

Why do the fiber link indicators stay on while no transactions complete?

A fiber link indicator proves that light crosses the fiber between the converters; it says nothing about baud rate, parity, stop bits, direction control or frame gaps at the serial endpoints on either side. Diagnose with communication counters or a serial analyzer at the serial interfaces, because the fiber can be healthy while the attached devices disagree about framing.

What does a Modbus exception response actually tell you?

An exception response means the transport worked: the server received a valid request and refused it — for example an unsupported function, an address it does not expose, or a quantity it will not serve. Do not chase wiring or timeouts when you see one. Decode the exception code, then re-check the function, starting address and quantity in the client's request against the server's documented map.

Does an RTU's model name or equipment label tell you its Modbus role?

No. The same RTU hardware can be a client polling instruments on one job and a server answering a master on the next, because the role lives in the application configuration, not the label. Read the communication configuration of the installed unit, or watch live traffic, before you assign the PLC a role.

Keep reading

  • How-to

    How a PLC runs two Modbus networks at the same time

    Yes. Each serial port is its own independent link: the HMI polls the PLC on one port while the PLC acts as master, or slave, on a separate RS-485 Modbus RTU network. The two links share no settings — only their endpoints must match — and PLC copy logic moves any data between them.

    Industrial networks

  • How-to

    Read a Modbus RTU meter from Modicon Momentum with XXMIT

    Use the XXMIT EFB in Concept's IEC editors to drive the Momentum CPU's RS-232 port as a Modbus RTU master; XMIT is the same block for 984LL ladder sections. Wire a null-modem cable with pins 2 and 3 crossed and pin 5 straight, set 9600 baud, 8 data bits, no parity and 1 stop at both ends, and prove the link with one function-3 read of a single 4x holding register (40001 = offset 0, COUNT = 1) before widening.

    Industrial networks

  • Explainer

    Concept 2.6 XXMIT limits for polling many Modbus RTU slaves

    For read-only Modbus RTU polling in Concept 2.6 on a 140CPU11302, use XXMIT: one read occupies the processor for at least five PLC scans, so 36 slaves need a poll cycle of at least 180 scan times before any slave response time is added, and a 36-device RS-485 segment exceeds the 32-unit-load electrical limit unless your devices are documented as fractional loads. Declare MsgOut with the type your installed block accepts.

    Industrial networks

Choosing how a Siemens PLC talks to a Modicon M580