Troubleshooting
Why a DF1 driver cannot reach an SLC 5/04 through a DH+ gateway
Short answer
A DF1 driver sends serial-style framing and never opens the EtherNet/IP session that an Ethernet-to-DH+ gateway emulating a ControlLogix path requires, so it cannot reach an SLC 5/04 no matter which addresses or serial settings change. Confirm the gateway's Ethernet-side protocol, then route the SCADA client through an OPC server whose driver supports that gateway, proving one data-table read before building tags.
On this page
- Why can't the DF1 driver reach the SLC 5/04 through the gateway?
- What protocol does the gateway present on its Ethernet port?
- How do you tell a transport mismatch from a broken DH+ link?
- Example: how much DH+ wire time does a 100-word block read really cost?
- Can an OPC server bridge the DF1 driver to the gateway?
- How do you set up the OPC server path step by step?
- Which fix should you commit to for your case?
- Questions asked
The answer comes before the diagnostics: a DF1 driver cannot reach an SLC 5/04 through a gateway that emulates a ControlLogix rack, and no change to the controller address, serial format or cable will alter that. Such a gateway accepts EtherNet/IP connections on its Ethernet port and carries the SLC's PCCC commands inside them; a DF1 driver sends serial-style framing and never opens that session. The fix is a client that can build the session — an OPC server with an EtherNet/IP driver — or bypassing the gateway through the SLC 5/04's own serial port. Work through the sections in order: confirm the transport, prove the path with one read, commit to the matching route.
Why can't the DF1 driver reach the SLC 5/04 through the gateway? #
The DF1 driver cannot open the connection because the gateway's Ethernet port accepts EtherNet/IP sessions and carries PCCC inside them, while a DF1 driver only sends DF1-framed bytes over a serial link or a raw TCP socket.
Three names cause the confusion, so separate them. DF1 is a framing rule — start, data, checksum — designed for serial wire. PCCC is the command set the SLC 500 executes to read and write its data tables. CIP over EtherNet/IP is the connection-based envelope this gateway class requires on its Ethernet side. Saying "the controller uses PCCC, not CIP" is true and irrelevant: the commands are PCCC, but the envelope on the Ethernet wire is CIP, and a driver that speaks fluent PCCC inside DF1 framing still never builds that envelope.
The driver's documented scope confirms it. VTScada's own DF1 walkthrough covers serial links, serial over radio, and Ethernet to MicroLogix controllers — an EtherNet/IP-to-DH+ gateway is none of those endpoints. Reinstalling the client or cycling power cannot add a transport the driver does not implement.
What protocol does the gateway present on its Ethernet port? #
Most Ethernet-to-DH+ gateways — the class that includes Prosoft's AN-X4-AB-DHRIO — present themselves on the Ethernet side as a ControlLogix-style path, an EtherNet/IP interface in front of a 1756-DHRIO, so the port accepts EtherNet/IP sessions and routes them to the legacy DH+ nodes.
That emulation is deliberate: it is the same routing a native bridge provides, and reaching PLC-5 and SLC 500 data through a ControlLogix DH+ bridge describes the native version of this path, including its OPC UA server option. Verify the emulation in your gateway's datasheet or manual before anything else. The sentence to find is the one naming EtherNet/IP, or "behaves as a ControlLogix gateway", for controller access. If the document also lists a DF1-over-TCP server mode, you own a different device class and the direct route stays open. If it lists only EtherNet/IP, the direct DF1 route is closed and the rest of this article is your path.
How do you tell a transport mismatch from a broken DH+ link? #
A ping to the gateway proves only that its IP stack answers; the path is proven when one data-table read returns through the intended route, and the list below separates a transport mismatch from a DH+ wiring or configuration fault.
- No TCP connection at all: IP address, subnet or cable problem — or the client aimed a raw DF1 socket at a port that serves only EtherNet/IP.
- Connection opens but every read times out: transport mismatch or a missing route — the driver never builds the EtherNet/IP session, so the gateway has nothing to forward.
- Gateway diagnostics show the DH+ side down: wiring, termination, node conflict or a link-rate mismatch; fix the physical link before touching the client.
- Reads return but one value is wrong or one item fails: data-table address, file type or element selection — a client-side fix, not a network one.
Two settings must match at both ends before you blame software: the DH+ link rate, where the SLC 5/04 channel and the gateway must both sit at 57.6 kbps or both at 230.4 kbps, and the node addresses, which run from 00 to 77 octal — the gateway and the processor must hold distinct nodes, and the client's route must name the processor's node, not the gateway's. Read both from the controller's status display and the gateway's configuration page rather than copying them from another installation.
Example: how much DH+ wire time does a 100-word block read really cost? #
At the link's slow rate of 57.6 kbps, one block read of 100 integer words holds the DH+ wire for roughly 35 ms — about 3.5 percent of a one-second scan — while the same data fetched as 100 single-word reads needs about 830 ms and starves every other node.
The arithmetic, with the overhead figures labeled as planning assumptions:
- Data: 100 words × 2 bytes per word = 200 bytes.
- Overhead: assume about 50 bytes of combined request and response framing (illustrative — replace it with the gateway's byte counters once the path runs): 200 + 50 = 250 bytes on the wire.
- Bits: 250 bytes × 8 bits per byte = 2,000 bits.
- Time at the slow rate: 2,000 bits ÷ 57,600 bits/s ≈ 0.035 s = 35 ms.
- Time at the fast rate: 2,000 bits ÷ 230,400 bits/s ≈ 8.7 ms.
The single-word pattern, with about 58 bytes of overhead around each 2-byte value:
- Per read: 2 + 58 = 60 bytes; for 100 reads: 100 × 60 = 6,000 bytes = 48,000 bits.
- Time at the slow rate: 48,000 bits ÷ 57,600 bits/s ≈ 0.83 s = 830 ms.
These are floors — token-passing gaps, encoding and retries add to them. The decision: block reads are mandatory in the OPC server's tag groups. The single-word pattern consumes 830 of every 1,000 ms and collapses the moment a second client or a programming terminal joins the link, while the block read leaves the link about 96.5 percent idle for them.
Can an OPC server bridge the DF1 driver to the gateway? #
Yes: an OPC server with an EtherNet/IP driver opens the CIP session the DF1 driver cannot, executes PCCC through the gateway to the processor's DH+ node, and exposes the data tables as OPC items the SCADA client reads through its own OPC client interface.
Four conditions decide the server before you license anything:
- Its driver documentation names SLC 500 data-table access over EtherNet/IP through a ControlLogix-style path — the routing the gateway emulates. If the documents do not state your combination, get written confirmation from the gateway vendor and the server vendor first; an OPC layer cannot repair a route its driver never implemented.
- The interface matches the client. OPC DA and OPC UA are different interfaces, not alternative settings: a DA-only client cannot consume a UA-only server without a converter, and the reverse holds too. Choose the server the installed client can consume.
- The licensed edition covers the OPC serving function, bought through the manufacturer or an authorized distributor.
- The first test runs with server and client on the same computer, which removes DCOM permissions and firewall rules from the first pass.
Once one item flows, everything downstream is ordinary client work — trends, alarms and reports such as configuring SLC 5/04 flow-meter proving reports in RSView32 all consume the same OPC items.
How do you set up the OPC server path step by step? #
Build it in five steps from the controller outward, and do not create a single SCADA tag until step four returns one good read from a known data-table element.
- Install and license the OPC server on the station that will keep it permanently — for the first test, the same computer as the SCADA client.
- Create the server's EtherNet/IP driver instance and point it at the gateway's IP address; this must be the CIP-capable driver, not a DF1-over-TCP one.
- Enter the route to the processor: the DH+ link and the SLC's node address exactly as configured in the controller, distinct from the gateway's own node.
- Bind that route in the server's topic or device association, then use the server's test client to read one known integer element. Judge the returned quality, not just the value — a number with bad quality is a failure. Use reads only: a write test into a live data table can drive a real output.
- Connect the SCADA client's OPC interface to the server, confirm the same item updates there, then build the tag database as block reads, per the example above.
Which fix should you commit to for your case? #
Commit to the OPC server when the gateway's documentation shows EtherNet/IP with ControlLogix emulation, the common case, because no DF1 setting will open that session; the direct DF1 route survives only where the gateway documents a DF1 transport or you bypass it entirely.
- Gateway is EtherNet/IP-only with ControlLogix emulation: the OPC server route, per the steps above. Stop changing serial settings, reinstalling the client and power-cycling the gateway — none of it adds a transport.
- Gateway documents a DF1-over-TCP or serial-server mode: configure the DF1 driver's Ethernet transport exactly as that document shows, and run the same single-read acceptance test before building tags.
- The processor's RS-232 channel is spare: wire the DF1 driver straight to it over serial or a terminal server, the route covered in connecting SCADA to an SLC 5/03 and MicroLogix 1500; bandwidth is modest but the gateway leaves the data path entirely.
- You specify new hardware: the documented native path is a ControlLogix chassis with a 1756-DHRIO and an EtherNet/IP module — the gateway is that design's stand-in, not an upgrade to it.
- Gateway diagnostics show the DH+ side down: repair the link first — wiring, termination, rate or node conflict — because no client or server routes over a dead link.
Questions asked
Does the SLC 5/04 have a port the DF1 driver can use without the gateway?
Yes. Channel 0 on the SLC 5/04 is an RS-232 DF1 port, capped at 19.2 kbps. If it is free, a serial cable or a terminal server that passes the byte stream gives the DF1 driver a legitimate endpoint, and the gateway leaves the data path entirely. Do not confuse this with the DH+ channel, which is token-passing and never accepts DF1 framing.
The gateway vendor's application note says to use a DF1 driver, so why did it fail?
An application note is written against one named client driver and one gateway firmware. DF1 drivers with the same label implement different transports: raw serial framing, DF1 over TCP, or both. If your package's driver lacks the transport the note assumes, the note does not apply to your combination. Match the note's client, driver name and firmware revision against what is installed before following it again.
Can the OPC server and the SCADA client run on different computers?
Yes, but prove the read on one computer first. A remote OPC DA connection depends on Windows COM and DCOM permissions, the server's service logon account and firewall rules that never appear in a same-machine test; OPC UA replaces those with certificates and security policies that must be trusted on both ends. Move the server after step four passes, then fix only what the remote connection adds.
How many block reads fit into a one-second poll at the slow DH+ rate?
Using the example's figures, about 28 block reads fit into each one-second scan at the slow rate — 1,000 ms divided by 35 ms — which is roughly 2,800 integer words at full utilization. Plan under half of that ceiling so token-passing gaps, retries and messaging from programming terminals or other nodes still get through the same link.
Will raising the DH+ rate fix the DF1 failure?
No. The failure happens before any DH+ traffic exists — no EtherNet/IP session is ever opened — so a rate change cannot repair it. After the OPC path runs, the faster rate divides the example's wire time by four, to about 8.7 ms per block, but only when every node on the link and the gateway itself support that rate; one node left at the slower rate drops off the link.