IMDHMIControls LibraryShop main store

Explainer

Concept 2.6 XXMIT limits for polling many Modbus RTU slaves

Industrial networks Published 7 min read By IMDHMI controls team

Short answer

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.

On this page
  1. Which communications block you actually have
  2. What the MsgOut type error actually is
  3. How the five scans per read pace the poll
  4. Sizing the poll cycle for 36 slaves on a 10 ms scan
  5. The RS-485 limit is electrical, not Modbus
  6. Prove these before trusting the cycle
  7. Where the decisions land
  8. Questions asked

Use XXMIT. On a Modicon Quantum 140CPU11302 with Concept 2.6 and the IEC upgrade installed, XMIT and XXMIT are the communication blocks you actually have, and XXMIT is the one built for Modbus messaging to multiple slaves under your own scheduling. Size the software side around the documented floor that one read holds the processor for at least five PLC scans: a 36-slave poll therefore needs at least 180 scan times per full cycle before any slave response time. Size the electrical side around TIA/EIA-485, which allows 32 unit loads per segment. And declare MsgOut with the type your installed block accepts — ByteArr9 in the reported installation — because the manual's WordArr9 belongs to a different library revision.

Which communications block you actually have #

The 140CPU11302 is an 80186 Concept processor with one Modbus RS-232 port and one Modbus Plus port; Schneider Electric discontinued it on May 31, 2015, so everything here is installed-base practice on hardware past its sale life. After the IEC function-block upgrade, the communication instructions available are XMIT and XXMIT. CRNTL_XM is not part of the standard Concept 2.6 installation, and that is the root of the manual trouble: the literature describes a block you cannot place.

Do not go hunting for it. A circulating fix copies library folders into the Concept installation to expose CRNTL_XM; if your design truly depends on that block, obtain the library through the manufacturer or its distributor rather than a copied folder of unknown origin. Use XXMIT: it sends a Modbus message you define and runs it across multiple scans under your enable logic, which is exactly the shape of a read-only, many-slave application.

One physical detail matters before any of this: RTU multidrop runs on RS-485, and the on-board Modbus port on this CPU is RS-232, so the slave network reaches the processor through an RS-232/RS-485 converter or an option-module serial port. Wire that link before writing a single line of scheduler.

What the MsgOut type error actually is #

The manual requires WordArr9 for Modbus messaging; the placed block accepts ByteArr9 only. That is a mismatch between the manual's library revision and the block compiled into your installation, not a configuration rule you can satisfy by forcing a variable into a foreign type. The decision: open the XXMIT block's declaration in Concept, read the array type it accepts there, and declare MsgOut that way. In the reported installation that is the nine-element byte array, so declare it, compile a one-slave read, and force it online once before any scheduling exists. A clean compile proves the interface matches; only a live response proves the message itself is right.

The message content is unaffected by the type argument. Manufacturer documentation for the XXMIT read states that only the first five registers of the output array carry the message, with the first register holding the Modbus function code, and that the final register is unused. Either nine-element array type holds those positions; the type only has to match the installed interface. Record the accepted type and the block's signature with the project so the next person does not rediscover this from the wrong manual revision.

How the five scans per read pace the poll #

Each XXMIT read holds the processor for a minimum of five PLC scans; the transaction spans scans instead of finishing inside one. That floor makes sequential scheduling mandatory: one XXMIT active at a time, the next enabled by the done flag of the previous one, and a pointer that steps through the slave addresses. It is the same one-at-a-time discipline described in how to poll many Modbus RTU slaves from one serial master, just expressed through XXMIT's handshake instead of a generic scheduler.

Treat the five-scan figure as a floor, never as a prediction. The response time of each slave on the wire and every timeout retry lengthen the real cycle, and none of that appears in the arithmetic below.

Sizing the poll cycle for 36 slaves on a 10 ms scan #

Inputs, each with its source:

  • 36 slave devices, read-only — the network size in the reader's own application.
  • Five scans minimum per XXMIT read — the documented polling constraint for the block.
  • 10 ms per scan — an illustrative round figure, not a measured value; substitute your program's actual scan time before you commit anything.

Rule in words: with sequential polling, the full refresh cycle equals the device count times the scans each read holds times the scan time.

Arithmetic: 36 devices × 5 scans per read = 180 scans per cycle. 180 scans × 10 ms per scan = 1,800 ms, so the floor is 1.8 s between successive updates of the same slave — before the serial response time of each transaction and any retries push the real cycle longer.

Decision and threshold: if the process needs every polled point refreshed faster than once per 1.8 s (recompute with your measured scan time against the 180-scan floor), one sequential XXMIT scheduler on one port cannot deliver it. Split the slave set across a second serial port, or offload the polling to a bridge multiplexer that holds the slaves on its own wire and hands the CPU one consolidated register table. If an update roughly every two seconds is acceptable, the scheduler as sized does the job: write it, measure it, and confirm the measured cycle stays near the floor.

The shape of that bottleneck echoes why Modbus RTU drive polling on one serial port is slow — one port, many transactions, and the wire becoming the limit — except that here the scan-spanning block sets the floor before the wire does.

The RS-485 limit is electrical, not Modbus #

Modbus addressing runs to node 247, so nothing in the protocol stops a large slave count. The limit that bites at 36 devices is TIA/EIA-485 segment loading: 32 unit loads per segment without a repeater. A device with a standard transceiver presents one unit load; many modern devices present one-eighth. Read the number in each device's documentation, then sum it.

  • 36 devices × 1 unit load each = 36 unit loads, over the segment budget. Split the network: a repeater creates a fresh segment with its own full budget, or a bridge multiplexer terminates its own group of slaves and presents a single node to the PLC, removing that group's electrical load from the CPU's port entirely.
  • The same devices at one-eighth unit load each = 4.5 unit loads, well inside the budget. One segment is electrically valid as built, and no repeater is needed.

Decision: sum documented unit loads, never device counts. Over the budget, add a repeater per extra segment or terminate part of the network on a bridge multiplexer. The gateway path is the same one described in why a legacy serial PLC needs a gateway for Modbus RTU, and it has the side benefit of shrinking the transaction count the CPU's port sees.

Prove these before trusting the cycle #

  • One XXMIT read, declared with the installed array type, compiles and returns the expected registers from a single slave online.
  • The measured cycle for the whole slave set sits near the computed floor; if it runs far longer, chase response timeouts before adding devices.
  • Force a redundant-CPU switchover while a read is active. The documented evidence does not say whether an active transaction or the scheduler state survives the transfer, so prove it on the standby pair before any alarm depends on it.
  • Every slave's data lands in the table your SCADA client consumes, and a failed poll is marked stale in the logic rather than left looking live.

One safety note: if any polled value feeds an interlock or a shutdown decision, do not let that function act on data whose age you have not bounded. A stale register still holding last cycle's value is indistinguishable from a good one until the logic itself checks a timestamp or a communication-health bit.

Where the decisions land #

  • Block: XXMIT, as installed; XMIT also exists, CRNTL_XM does not.
  • MsgOut: declare with the type the installed block accepts — the nine-element byte array in the reported installation — and compile one read before scheduling.
  • Software pace: the per-read scan floor times the device count, sequentially, with each read gated by the previous one's done flag.
  • Network: sum the documented unit loads; when they exceed the segment budget, add a repeater or bridge multiplexer, and offload to the bridge if the cycle time comes out too long.

Questions asked

Which block do I use for Modbus RTU reads in Concept 2.6 on a 140CPU11302?

Use XXMIT. After the IEC upgrade, XMIT and XXMIT are the communication blocks present, and CRNTL_XM is not part of the standard 2.6 installation. XXMIT handles Modbus messaging to multiple slaves under your own scheduling, which matches a read-only, many-slave application. Declare MsgOut with the type the installed block accepts, compile one single-slave read, and confirm it answers online before you build the scheduler.

Is an XXMIT application capped at ten slave devices?

No. Ten devices was the scope of one worked example, not a documented block limit. The real constraints sit elsewhere: a single read holds the processor for a minimum of five scans, so the poll cycle grows with the device count, and the RS-485 segment has its own electrical budget. Size both, then extend the scheduler to as many slaves as the cycle time and the segment allow.

Can a Modbus RTU network that size share one RS-485 segment?

Sum the unit loads first. TIA/EIA-485 allows 32 unit loads per segment without a repeater. Standard one-unit-load transceivers put a network of that size over the budget, so split it with a repeater or terminate part of it on a bridge multiplexer. Devices documented at one-eighth unit load cut the total draw to a small fraction of the budget, and then one segment is electrically valid as built.

Is this CPU still a supported part?

No. Schneider Electric discontinued the 140CPU11302 on May 31, 2015. Treat every value in this article as installed-base practice: confirm the exact CPU model and firmware revision against the manufacturer's current documentation and discontinuation bulletins before you order replacements, add option modules, or extend the application, because replacement hardware can behave differently at the serial-port and block level.

Keep reading

  • Explainer

    Why an S7-200 cannot share one RS-485 port with a PC and Modbus

    A CPU224 can serve a programming PC and four Modbus devices, but never through one shared RS-485 pair: a port runs either PPI programming traffic or the Modbus RTU master. Put the PC on port 0 and the Modbus master on port 1, wire the four devices as one terminated RS-485 trunk with unique addresses, and bring up each path separately before running them together.

    Industrial networks

  • Troubleshooting

    Why a CJ2M Modbus RTU master gets no answer from an S7-1200

    Yes, a CJ2M can poll an S7-1200 over Modbus RTU. The simulators proved each PLC's serial settings, not the cable or the port mode between them: set the Omron port to the mode the MRTU_CPU_Master package requires, bring the send pair onto RDA and RDB for 2-wire operation, load the S7-1200 port at even parity, and confirm the frame on the wire with a known value.

    Industrial networks

  • Troubleshooting

    How to poll many Modbus RTU slaves from one serial master

    Poll each slave with its own MRX read or MWX write sequence, one active transaction on the port at a time, and pick the function code from the slave's data access type. A timeout means the serial path; a Modbus exception means the slave answered and rejected the request. Twenty-two slaves at 9600 baud poll in about one second.

    Industrial networks