Troubleshooting
Why one Digi One IAP IP cannot route to two SLC 5/03 PLCs
Short answer
Both SCADA connections request destination protocol address 0, and the Digi One IAP routes that address by the first listed serial-port route, so only one SLC 5/03 is ever polled. Alternate IP addresses cannot separate the requests because routing ignores the incoming IP. Configure two message sources on TCP ports 2222 and 2223, each with its own routing table, if the driver allows a per-connection TCP port.

On this page
- Why does DASABTCP reach only one SLC 5/03 through the Digi One IAP?
- Why can't alternate IP addresses on the Digi One IAP separate the two PLCs?
- How does the Digi One IAP match a destination address to a serial port?
- How do you configure two TCP ports to poll both SLC 5/03 PLCs?
- How do you verify each TCP port reaches its own PLC?
- What do you do if the driver has no per-connection TCP port?
- Questions asked
With one SLC 5/03 on each serial port of a Digi One IAP, a DASABTCP SCADA ends up polling only one of them: both connections request the same destination, and the gateway sends that destination to whichever serial-port route is listed first. Alternate IP addresses cannot separate the requests, because the gateway does not route by the IP a request arrives on. The fix is two message sources on two TCP ports, each bound to its own routing table, and it holds only if the driver lets you set a TCP port per connection. The routing rule, the configuration and the test that proves it follow.
Why does DASABTCP reach only one SLC 5/03 through the Digi One IAP? #
Both SCADA connections request destination protocol address 0, and the gateway delivers that address to the first serial-port route that lists it, so every poll lands on one SLC 5/03 and the other PLC is never addressed. The destination table is the only place the gateway can tell your two connections apart, and at that table the two requests are identical:
- same destination IP, the gateway's own address;
- same requested destination address on both connections;
- same route match, the first route covering that address;
- different intended PLC, which nothing in the request states.
That is why the PLC that answers follows the order of the serial ports listed with a route for the requested address. Notice the failure mode: the second connection does not fault. It stays healthy and quietly returns the first PLC's data, so treat it as a wrong-data fault, not a communications fault, until the two ports are separated.
Why can't alternate IP addresses on the Digi One IAP separate the two PLCs? #
No. The device treats an alternate IP in station index 2 or 3 as destination address 2 or 3, but it does not route by the IP a request arrived on, and the driver keeps requesting the same destination on both connections.
The alternate-IP feature gives the gateway a second address to answer on and ties that address to a station index, but the index only labels the address as a destination inside the routing table. The request that arrives still carries its own protocol address, and that is the field the table matches. In this setup the driver offers only the IP address as a per-connection parameter and asks for the same destination every time, so both requests match the same route regardless of which IP they were sent to.
The distinction is lost before the routing table is even consulted, so no arrangement of alternate addresses, indexes or subnets will split these two connections. Change the port instead.
How does the Digi One IAP match a destination address to a serial port? #
Each destination-table route maps a protocol address or an address range to one serial port, and when two routes cover the same address, the route listed first decides which port the request uses.
A route has two parts you configure: the protocol addresses it answers for, and the serial port it forwards them to. The gateway walks its table in order, gives the request to the first route whose range contains the requested address, and sends it on that port's DH-485 link, where the master message addresses the destination node. The DH-485 interface documentation, 1770-UM018, shows the master message carrying the destination SLC's node address together with the interface's own station.
Two consequences follow. One table cannot send the same address to two ports, because order always picks a single winner. Two tables can send the same address to different ports, and that is the entire fix. For the mapping limits of the same gateway family between DF1 serial and Modbus TCP, see what a gateway can map from DF1 serial to Modbus TCP.
How do you configure two TCP ports to poll both SLC 5/03 PLCs? #
Create two message sources on the gateway, one on TCP port 2222 bound to routing table 1 and one on TCP port 2223 bound to routing table 2, and give each table a route that sends the requested destination to its own serial port. The precondition sits on the SCADA side: the driver must let you dial a different TCP port per connection, so confirm that setting exists before you touch the gateway. The configuration looks like this, with the address ranges as example values:
| Message source | TCP port | Routing table | Protocol addresses routed | Serial port | PLC reached |
|---|---|---|---|---|---|
| 1 | 2222 | 1 | 0 to 1 | 1 | the SLC 5/03 on port 1 |
| 2 | 2223 | 2 | 0 to 2 | 2 | the SLC 5/03 on port 2 |
The ranges only have to contain the destination your driver requests; they do not have to match each other.
Take a worked example with the gateway at 192.168.1.23 and one SLC 5/03 on each serial port. Before the change, a single routing table holds a first route covering destinations 0 to 1 on serial port 1 and a second route covering destination 2 on serial port 2, so a request for destination 0 matches the first route and exits serial port 1 for both connections — the fault. After the change, a request arriving on 2222 for destination 0 matches table 1's route, which covers 0 to 1, and exits serial port 1, while a request arriving on 2223 for destination 0 matches table 2's route, which covers 0 to 2, and exits serial port 2. Each connection now owns one table, the tables never compete, and both PLCs can be polled at the same time.
How do you verify each TCP port reaches its own PLC? #
Poll a known, changing data item through each connection and confirm that each connection's value tracks only the PLC on its own serial port, then pull one serial cable and confirm only that connection stops updating. Run it as a sequence so a mirrored connection cannot hide:
- Put a free-running counter in each SLC 5/03, or choose any value that changes on its own, so the two PLCs cannot show equal numbers by coincidence.
- Confirm in the SCADA that the two connections really use different TCP ports; a driver that applied one global port fails here, not later.
- Watch both tags: the first connection's tag must advance with the PLC on serial port 1, and the second connection's tag with the PLC on serial port 2.
- Pull the serial cable at port 1: only the first connection should go stale or bad-quality while the second keeps updating. Reconnect and repeat at port 2.
- If both tags track the same counter, the ports are not separating the routes — stop, recheck step 2, and apply the fallback below if the driver cannot set the port.
Record which port reaches which PLC on the gateway's documentation sheet; the next technician needs exactly that when one PLC stops updating.
What do you do if the driver has no per-connection TCP port? #
Stop working on the gateway and give each SLC 5/03 its own gateway, because two devices make the routing trivial: each one owns a single IP and a single route from the requested destination to its serial port. The decision by case:
- The driver sets a TCP port per connection: apply the two-port configuration above and prove it with the counter test. This keeps one box and is the smallest change.
- The driver's port is global or fixed: one gateway per PLC. Give each device the same single route, from the requested destination to its serial port, point the two SCADA connections at the two IPs, and the first-route problem disappears because no table ever competes.
- You need one box and cannot touch the driver: use a DH-485 router whose configuration forces the DH-485 destination node per IP address, so the second IP always addresses the second PLC's node. Choose this only if that per-address forcing appears in the router's documented configuration.
In every case the PLC side is unchanged: same DH-485 settings, same node addresses, same cable. The difference lives entirely in how a request finds its serial port.
Questions asked
When does the alternate IP address trick actually work?
It works when the master can request a different destination per connection. The gateway treats an alternate IP in station index 2 or 3 as destination address 2 or 3, so a driver that lets you set the destination node per topic or per PLC reaches the second PLC through the second address. It fails only when the master requests the same destination on every connection, as this driver does with the IP address as its single connection parameter.
Can the two SLC 5/03 PLCs share one DH-485 link instead of two serial ports?
Not with a driver that requests one fixed destination. A shared DH-485 link requires a unique node address on every station, and Rockwell's bridge communication manual, 1785-RM009, puts the maximum node address at 31 for best performance, but the request still carries a single destination, so only one node answers. Sharing a link helps only when the master can address each node separately.
Do the SLC 5/03 node addresses have to differ between the two serial ports?
No. Each serial port is its own DH-485 link, so the same node address can exist on both links without conflict; uniqueness matters only among stations sharing one link. Match each port's DH-485 settings to its PLC, since the link runs at 19200 bit/s by default, and write the node addresses on the gateway's documentation sheet for the next fault call.
Can you use other TCP ports for the two message sources?
Yes. Any two TCP ports that both the gateway and the driver accept behave the same way, because routing depends on which message source received the request, not on the particular port number. Use 2222 and 2223 if you want to copy the worked example exactly, and record whichever pair you choose so both message sources can be found later.