IMDHMIControls LibraryShop main store

Explainer

What an S7-300 ControlLogix Ethernet gateway must do

Industrial networks Published 8 min read

Short answer

An S7-300 and a ControlLogix cannot talk by sharing a switch: the Logix ends CIP over EtherNet/IP and the Siemens CPU expects S7 communication over ISO-on-TCP port 102. Use a documented gateway that terminates both stacks, or the Siemens function-block EtherNet/IP driver on an S7-300 CP, then verify with a byte-order test before production.

On this page
  1. Can an S7-300 and a ControlLogix share one Ethernet network directly?
  2. What does the gateway do to the data between the two controllers?
  3. Which gateways are documented for S7-300 to ControlLogix?
  4. Can an S7-300 reach a ControlLogix without a standalone gateway?
  5. What must the data map define before you configure anything?
  6. How do you prove the exchange works before production logic uses it?
  7. Does Modbus TCP support on the ControlLogix help here?
  8. Questions asked

An S7-300 and a ControlLogix cannot exchange data by being patched into the same Ethernet switch. Both controllers speak TCP/IP, but above TCP they speak different application protocols: CIP on the ControlLogix side, and S7 communication carried in RFC1006, the ISO-on-TCP standard, on the Siemens side. Something must terminate both conversations and translate between them, and that translator is either a standalone gateway or, in one documented Siemens path, a function-block driver running on a CP module in the S7-300 rack. This article sets out what the conversion does frame by frame, which hardware and drivers are documented for it, the data map you must draw before configuring anything, and the byte-order test that proves the exchange before production logic depends on it.

Can an S7-300 and a ControlLogix share one Ethernet network directly? #

Physically the two CPUs can sit on one switch, but a switch forwards frames without reading them, and neither controller parses the other's application protocol, so the link stays dead until something translates between CIP and S7 communication.

Both controllers carry a full TCP/IP stack, so frame delivery is never the problem: a standard switch forwards each frame to the hardware address on it, whether or not the receiver can parse the payload. The mismatch sits one layer higher. The ControlLogix closes its application data inside CIP messages; the S7-300 closes its data inside S7 communication messages carried by RFC1006, the standard that carries ISO transport service over TCP. Nothing in either CPU's firmware speaks the other language, and no handshake between the two negotiates a conversion. Sharing one wire does not merge protocols — the same separation that keeps PROFINET, PROFIBUS and Modbus distinct on one plant cable, as set out in why PROFINET, PROFIBUS and Modbus are four separate protocols. The decision follows directly: budget a translator into the design from the first drawing, not as a discovery during commissioning.

What does the gateway do to the data between the two controllers? #

The gateway terminates both conversations and rebuilds them: it strips the MAC, IP, TCP, encapsulation and CIP headers from the ControlLogix frame, then re-encodes the payload with an RFC1006 header inside TCP port 102 for the S7-300.

On the ControlLogix side the layering runs: application data wrapped in a CIP header, an encapsulation header that encodes CIP messages inside Ethernet frames, then TCP, IP and the MAC layer. The gateway receives that frame, strips all five added layers, and holds the bare payload. Toward the S7-300 it builds the frame the other way up: an RFC1006 header around the payload, then TCP, then IP, then MAC, handed to the Siemens CPU as ISO-on-TCP on port 102.

That is termination and translation, not forwarding. A router or a network address translator moves packets without opening them; the gateway must instead present itself as a CIP peer to the Logix controller and as an S7 communication peer to the Siemens CPU at the same time, and sustain both. Which CIP services, assemblies and connection parameters it offers on each side are properties of the gateway product, so they come from that product's manual rather than from any protocol description.

Which gateways are documented for S7-300 to ControlLogix? #

Siemens application document 23901499 documents an Echochange gateway built for exactly this pairing, and EtherNet/IP-to-Siemens Industrial Ethernet gateways such as the PLX31-EIP-SIE and the Red Lion Data Station Plus are documented for the same exchange.

The 23901499 document describes S7 and ControlLogix CPUs exchanging data over Ethernet through that converter, and it remains the clearest published walk-through of the conversion described above. The Echochange product line is a different matter: its supplier is reported permanently closed, so do not anchor a new specification to it — keep the document as the architecture reference and buy from a supported line.

Two documented examples of that class: the ProSoft PLX31-EIP-SIE, which its maker documents for high-speed bidirectional data transfer between EtherNet/IP and Siemens Industrial Ethernet, and the Red Lion DSPSX000 Data Station Plus, documented in use for this exact S7-300 to Allen-Bradley exchange. The acceptance test before you specify any of them is documentary: the manual must name EtherNet/IP with CIP on the Logix side and S7 communication over ISO-on-TCP on the S7-300 side, for your controller generations. That is the same rule that decides how to select an EtherNet/IP to EtherCAT gateway for drives: a gateway is chosen by its documented driver pair, never by the number of Ethernet ports on the front.

Can an S7-300 reach a ControlLogix without a standalone gateway? #

Yes, on one documented path: Siemens publishes a function-block driver that lets an S7-300 fitted with a CP communications processor run EtherNet/IP CIP connected messaging to a ControlLogix, so the translation lives in the Siemens rack instead of a separate box.

The documented description is direct: an S7-300 PLC with a CP module communicates with a Rockwell ControlLogix through EtherNet/IP CIP connected messaging, with the function blocks providing the CIP side inside the S7 program. The translation moves from a cabinet device into the Siemens rack, which removes a DIN-rail device, a power feed and a second IP address from the design. The scope is narrow: the driver is tied to specific CP hardware, so the decision stands only once the block set for your CP and CPU is confirmed against Siemens' own documentation. Commit per case: if the S7-300 can take a CP the driver supports and the program has room for the blocks, take the driver path; if the CP is fixed, the program is full, or the two networks should stay physically separate, the standalone gateway is the answer.

What must the data map define before you configure anything? #

The data map is the contract: for every value it must fix the source address, the destination address, the size in bytes, the data type, the direction, and the update requirement, on both controllers, before any configuration is written.

The published protocol descriptions define none of the CIP services, assemblies, client and server roles, tag mappings, data types or connection parameters for this exchange; every one of those comes out of the selected gateway's configuration. Draw the map before any purchase, one row per value: source address on one controller, destination address on the other, size in bytes, data type, direction, and how fresh the value must be when the receiving logic reads it. That table doubles as the buying input, because each gateway documents its own limits on connections and mapped points, and the map either fits them or forces a larger device. Mark each row read-only or write-only on the side that owns the data, so a polled read can never mask a write path that was never configured.

One safety line belongs in the same review: the exchange is process data, so emergency stop and safety interlocks stay on hardwired or validated safety-rated channels and never ride the gateway.

How do you prove the exchange works before production logic uses it? #

Test both directions with known values before the mapping feeds real logic: write a pattern such as 305,419,896 into an S7 data-block double word, read it into a ControlLogix DINT, and accept the map only when the same number arrives.

The fault this test catches is byte order. A classic S7 stores multi-byte values big-endian, most significant byte first; a ControlLogix DINT is little-endian and treats the first byte it receives as the least significant. Take an illustrative case: the value 305,419,896 written into an S7 data-block double word, for example DB1.DBD0 as an example address. The bytes leave in the order 12 34 56 78, because 0x12345678 = 305,419,896:

18 × 16,777,216 + 52 × 65,536 + 86 × 256 + 120 = 301,989,888 + 3,407,872 + 22,016 + 120 = 305,419,896

Copy those four bytes into the DINT without swapping and the Logix reads them back to front, as 78 56 34 12:

120 × 16,777,216 + 86 × 65,536 + 52 × 256 + 18 = 2,013,265,920 + 5,636,096 + 13,312 + 18 = 2,018,915,346

The count that left the S7 as 305,419,896 lands in the Logix as 2,018,915,346 — values that update on schedule and make no sense, the signature of an unswapped transfer rather than a broken wire.

The fix is decided once and applied everywhere: enable byte swapping in the gateway map if the device offers it, otherwise reverse the bytes in logic on one side, and apply that rule to every 2-byte and 4-byte row of the map. REAL values inherit the same order, so repeat the check with a REAL you can read at a glance, for example 100.0. Close commissioning by writing from each controller to the other, checking the data boundaries at the edges of each mapped block, and watching the update behavior over a few scan cycles — only then does production logic get the values.

Does Modbus TCP support on the ControlLogix help here? #

No: a ControlLogix can serve Modbus TCP to a SCADA client without any gateway, but Modbus and S7 communication are unrelated protocols, so Modbus support on the Logix side contributes nothing to a conversation the S7-300 expects on port 102.

All three conversations ride the same cable, which is where the confusion comes from. For Modbus TCP the picture is friendlier: a ControlLogix serves Modbus TCP registers to a client directly, with no converter between, as covered in reading Modbus TCP from a ControlLogix PLC without a gateway. That server role answers Modbus clients; it does nothing for a controller that expects an S7 communication peer, and the S7-300 in this exchange is exactly that. The decision: size and configure this link for the stacks the two CPUs actually speak, and let Modbus carry whatever SCADA reads it was already carrying — it does not shorten this job by one step.

Questions asked

Which side opens the connection, the ControlLogix or the S7-300?

Neither, in the gateway architecture: the gateway is the counterpart on both sides, acting as a CIP peer toward the Logix controller and as an S7 communication peer toward the Siemens CPU. Which side acts as client or server inside each conversation is a setting of the gateway product, fixed in its configuration, and the S7 connection resources it consumes on the Siemens CPU are part of that same configuration.

How many bytes does each exchanged value occupy in the map?

Plan on 4 bytes for each DINT or REAL and 2 bytes for each INT. BOOL signals ride as bits inside a mapped byte or word, so group them instead of spending one register per sensor. Fix these sizes before purchase, because a gateway's documented point or register count is consumed per mapped register, and the planning table you drew is what either fits that count or forces a larger device.

What do you check first when reads arrive but writes never do?

Start in the map, not the wiring: many exchange tables mark each block read-only or write-only, and a polled connection reads happily even when the write path was never configured. Confirm the direction flag on the row, then confirm the S7 side accepts writes to that data area, then resend a known test value and watch it land. If it still does not arrive, the CIP connection and then the gateway's write service are the next suspects, in that order.

Can the two controllers sit on separate subnets?

Yes, and that separation is one reason to choose a standalone gateway over the driver path. A gateway with two Ethernet ports can hold the Logix network and the Siemens network in different IP ranges while translating between them, and machine networks are often split this way on purpose. With a single-port device both protocols share one subnet and one switch, so the network drawing depends on the port count in the device documentation.

Keep reading

  • Selection guide

    Choosing a ControlLogix path to a Modbus TCP Schneider PLC

    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.

    Industrial networks

  • Explainer

    Designing a 1734-AENT Point I/O fiber ring on EtherNet/IP

    Yes — enable IGMP snooping on all seventeen switches: the input data a 1734-AENT adapter produces is multicast, so without it every switch floods the ring and all sixteen adapters reject each other's packets. Full-duplex switching ends collisions but not congestion, each fiber span must meet its own optic's distance limit, and ring recovery must beat four times the RPI.

    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