IMDHMIControls LibraryShop main store

Selection guide

Choosing a ControlLogix path to a Modbus TCP Schneider PLC

Industrial networks Published 7 min read

Short answer

ODVA Volume 7 defines how Modbus devices integrate into CIP; it is not a ControlLogix feature, so no stock 1756 Ethernet module speaks Modbus TCP natively. Choose from four paths: an in-rack or standalone gateway, Modbus TCP written over generic sockets on a 1756-EN2T at firmware 5 with RSLogix 5000 v20 (or a 1756-EWEB), an OPC bridge on a PC, or EtherNet/IP on the Schneider side where the CPU supports it.

On this page
  1. What ODVA Volume 7 does and does not give you
  2. The four paths side by side
  3. Gateway: translation you buy
  4. Generic sockets: translation you write
  5. OPC bridge: translation you host
  6. EtherNet/IP on the Schneider side: no translation at all
  7. Worked example: sizing the socket path
  8. Commissioning checks
  9. The decision by case
  10. Questions asked

No — the ODVA specification does not give your ControlLogix a Modbus TCP interface, and no stock 1756 Ethernet module carries a native Modbus application layer: the ENBT and EN2T terminate CIP connections, and the MSG instruction speaks CIP, not Modbus. The link needs one of four paths, and the right one falls out of what is already installed. If the Schneider CPU is a Quantum (Unity) or M340, add its EtherNet/IP module and skip translation entirely. If the Schneider box is Modbus TCP only, you choose between code you write — Modbus over generic sockets on a 1756-EN2T or 1756-EWEB that supports them — and hardware you buy: a gateway, or an OPC bridge on a PC.

What ODVA Volume 7 does and does not give you #

ODVA's CIP Networks Library includes Volume 7, Integration of Modbus Devices into the CIP Architecture, grouped today as Volume 7a at version 1.12. It defines a standard translation between Modbus data and CIP objects, so a CIP device or network can carry Modbus traffic in a consistent way. A specification is something a vendor implements in a product; it is not a feature that appears in your controller because the document exists. No native Modbus TCP application layer is documented for ControlLogix Ethernet modules, and none arrived on the strength of that volume. Treat "ODVA says this needs no extra module" as a mix-up between a standard and a shipped product, and plan on one of the four paths below.

The four paths side by side #

Path What it needs Choose it when Watch
Gateway, in-rack module or standalone box A chassis slot or panel space, plus mapping configuration You want translation with no custom logic Each product fixes its client/server roles, register capacity and connection count
Generic sockets in the ControlLogix A 1756-EN2T from firmware 5 with RSLogix 5000 v20, or a 1756-EWEB You own the program and the data set is modest You build, validate and recover every transaction in logic
OPC bridge on a PC EtherNet/IP and Modbus OPC drivers plus a data manager A SCADA or historian PC already exists and traffic is monitoring-grade A PC becomes a failure point; unsuited to interlocks
EtherNet/IP on the Schneider side A Schneider CPU with module-supported EtherNet/IP You can add the module and want no translation at all Support is module-dependent; verify the exact CPU

Gateway: translation you buy #

The gateway path has two forms. An in-rack module sits in the 1756 chassis, takes power and addressing from it, and appears in the I/O tree, so the mapped data lands in controller tags like local I/O. A standalone gateway is a box with two Ethernet sides and its own configuration tool.

Take the in-rack module when the ControlLogix is the only consumer of the Schneider data; take the standalone box when a SCADA or historian also needs that data, when you want the two networks separated, or when the chassis has no free slot. Before ordering, check three numbers against your application: the Modbus roles the product plays (client, server or both), its register capacity per mapping, and its connection count. The same form decision for serial Modbus RTU links is made in connecting ControlLogix to RS-232 and RS-485 serial devices.

Generic sockets: translation you write #

Generic TCP/IP and UDP/IP messaging on this platform is documented from RSLogix 5000 v20 with 1756-EN2T firmware version 5, including the EN2T R and 3TR variants and the 5730 CompactLogix line; the 1756-EWEB has carried the socket interface longer. An ENBT, or an EN2T below firmware 5, cannot do this. For new work take the EN2T, and use an EWEB where one is already installed.

Your program opens a client connection to the Schneider's port 502, builds each Modbus TCP frame — 7-byte MBAP header, function code, data — checks the transaction identifier on every response, and owns timeout, retry and recovery. The request-building and fault-handling code is walked through in reading Modbus TCP from a ControlLogix PLC without a gateway. For the same socket interface reaching a non-PLC peer, ControlLogix to Linux Ethernet over EWEB sockets and ENBT CIP covers the far end of the connection. Choose this path when the version gates are met, the data set is modest, and you accept owning a few dozen lines of protocol code.

OPC bridge: translation you host #

A PC runs an OPC server with an EtherNet/IP driver against the ControlLogix and one with a Modbus driver against the Schneider, and a data manager moves tags between the two namespaces in both directions. This suits monitoring-grade traffic and pays off when a SCADA or historian PC already exists, because the marginal cost is drivers and tag configuration. Where no PC is there yet, both drivers run on an industrial mini PC mounted beside the controller. Reject this path for interlocks and fast control: it inserts a machine reboot, a driver restart and a non-deterministic queue between two controllers that could otherwise exchange data directly.

EtherNet/IP on the Schneider side: no translation at all #

This is the cleanest path when the Schneider CPU allows it. Modicon Quantum (Unity) and M340 controllers have been documented to accept EtherNet/IP connections through an in-rack communications module; confirm the exact CPU and its current module list before ordering, because the support lives in the module, not the CPU. With that module installed, both controllers share one EtherNet/IP network: the ControlLogix adds a Generic Ethernet Module to its I/O tree pointed at the Schneider module, with the connection sizes set to the data — sizing a Generic Ethernet Module connection applies the same arithmetic to any adapter. You get cyclic I/O at the requested packet interval instead of polled Modbus, no translation product and no protocol code. A Modbus-TCP-only machine controller closes this path; why a Schneider M251 does not appear in RSLinx shows what that looks like from the Allen-Bradley side.

Worked example: sizing the socket path #

Poll 30 holding registers from the Schneider every 250 ms over the socket path:

  • Request frame: 7-byte MBAP header + function code (1 byte) + start address (2 bytes) + register count (2 bytes) = 12 bytes.
  • Response frame: 7-byte header + function code (1) + byte count (1) + 30 registers × 2 bytes = 7 + 62 = 69 bytes.
  • One transaction: 12 + 69 = 81 bytes on the wire.
  • Load: 4 transactions per second × 81 bytes = 324 bytes/s = 2592 bit/s, about 0.003% of a 100 Mbit/s link.

Bandwidth is never the constraint here; the cost is the logic that builds, sends, validates and re-arms each transaction. Set the response timeout to 1000 ms with 2 retries, so a dead connection shows a fault bit in 3 × 1000 ms = 3 s. If the process needs faster detection, a 250 ms timeout with 2 retries gives 3 × 250 ms = 750 ms, at the cost of tripping on a single slow response. Decision at this size and rate: take the socket path and spend the saving on solid fault code; buy the gateway when transaction counts climb or updates must beat about 100 ms.

Commissioning checks #

  • Record the exact 1756 module catalog number, its firmware revision and the programming software version before committing to the socket path.
  • Fix roles and addresses on paper: the Schneider side serves Modbus TCP on port 502, the ControlLogix is the client, and every register in the map has a data type and a unit identifier.
  • Mind byte order: Modbus registers are big-endian and ControlLogix INT and DINT storage is not, so 32-bit values need a word swap on one side.
  • Prove both directions with a known value, for example 16#5A5A written and read back, before trusting any mapping.
  • Pull the cable on purpose: confirm the fault bit arrives within the timeout budget and the link recovers without a power cycle.
  • On the gateway and OPC paths, exchange a heartbeat tag in both directions and alarm on its loss.

The decision by case #

  • Schneider CPU is a Quantum (Unity) or M340 and its EtherNet/IP module is available: buy the module, put both controllers on one EtherNet/IP network, and drop Modbus from the design.
  • Modbus-only Schneider, RSLogix 5000 v20 or later, EN2T at firmware 5 or later (or an EWEB already in the chassis), modest data: write the socket client. No hardware, full control of fault handling.
  • Modbus-only Schneider, an ENBT-equipped chassis, or nobody owns the ControlLogix code: use the in-rack gateway module and keep the mapping in configuration, not logic.
  • Several consumers of the Schneider data, or separation between the networks: use the standalone gateway.
  • Monitoring-grade data with a PC already in the hierarchy: use the OPC bridge.
  • Anything that stops a machine to protect people rides on hardwired safety or safety-rated networking, never on any of these data links.

Questions asked

Will a 1756-ENBT or an early-firmware EN2T work for the socket path?

No. Generic TCP and UDP messaging on this platform is documented for the 1756-EWEB and for the 1756-EN2T from firmware version 5 with RSLogix 5000 v20, including the R and 3TR variants and the 5730 CompactLogix line. An EN2T below firmware 5 can be updated to version 5 or later and then used under v20; the ENBT has no such update path. If the chassis holds an ENBT, use a gateway or put the Schneider side on EtherNet/IP.

What does ODVA Volume 7 actually specify?

Volume 7 of the CIP Networks Library, Integration of Modbus Devices into the CIP Architecture, defines a standard translation between Modbus data and CIP objects so a CIP device or network can handle Modbus traffic consistently; the current grouping is Volume 7a at version 1.12. It is a specification a vendor chooses to implement. It does not add a Modbus TCP application layer to a controller never built with one, which is why a ControlLogix still needs one of the four paths.

Which side is the Modbus TCP client on each path?

On a gateway you set the roles in its mapping configuration, and either direction is possible. On the socket path the ControlLogix must be the client: it opens the connection to the Schneider's port 502, sends requests and times out responses, while the Schneider runs as server. On OPC the PC drivers are clients to both controllers, and neither PLC initiates anything. Put interlock-grade data on a path where direction and timing are deterministic.

How fast can the socket path go before a gateway is the better buy?

Bandwidth is never the limit: a 30-register poll is 81 bytes per transaction, so five polls per second is 405 bytes per second combined on a 100 Mbit/s link. Handling is the limit, because your logic builds each request, parses each response and manages the socket. Up to roughly five transactions per second the socket path is comfortable; beyond that, or when data must move faster than about 100 ms, let a gateway's dedicated processor carry the load.

Keep reading

  • Troubleshooting

    Reading Modbus TCP from a ControlLogix PLC without a gateway

    Yes — ControlLogix reads Modbus TCP without a gateway card through Rockwell's sample Modbus TCP driver, but only on controller firmware version 20 or later with socket-capable Ethernet hardware such as a 1756-EN2xx module at firmware 5.007 or later. If either side misses the gate, use a standalone EtherNet/IP to Modbus TCP converter. When the driver runs, prove one request against a known-good PC client and match unit ID, start address and count field by field.

    Industrial networks

  • How-to

    Linking Modbus RTU BMS SCADA to a redundant S7-1500R

    Use one Modbus RTU-to-TCP gateway as the Modbus TCP client, and run the Modbus TCP server on the S7-1500R system IP address that switched communication moves to the surviving CPU. The BMS keeps polling its RS-485 link unchanged; on a switchover the TCP session drops and the gateway reconnects. Set the comm-fail timeout to the measured gap plus one poll interval: 3 s at a 1 s rate in the example.

    Industrial networks

  • How-to

    How one MSG route reaches multiple Modbus TCP slaves

    The Modbus TCP slave is chosen by the MSG routing field, not the PCCC file address. On an SLC 5/05 that means revision F firmware with REMOTE addressing and the slave number in Remote Station Address; on EtherNet/IP it is the 1756 backplane slot. One bridge route with ipaddress=0.0.0.0 and replaceip=on turns that slave number into the last IP octet.

    Industrial networks