What do you do when things in your factory become obsolete? But your entire line depends on it? Do you replace or do you build parallel lines? And then plan transition?
When an old AS-i to Profibus gateway stops working, first prove it is the gateway and not the AS-i power supply, the flat cable, a slave address or the Profibus side.
If the gateway really has failed, the fastest fix is usually a like-for-like or compatible AS-i to Profibus gateway replacement with the configuration restored. Consider obsolete gateway repair only when no compatible unit is available.
Move to Profibus to Modbus TCP, EtherNet/IP or an AS-i gateway Modbus TCP route when the PLC itself is also near end of life, or when you need the field data in an IIoT system anyway.
Who this is for: maintenance and automation engineers on lines with a legacy PLC, AS-Interface sensors and actuators, and a Profibus DP backbone, who now have a dead gateway and a stopped or limping line.
How the pieces fit
AS-Interface connects simple sensors and actuators on an unshielded two-conductor profile cable that carries both data and power, with piercing connectors, electronic addressing over the bus, and around 100 m per segment (longer with repeaters).
AS-International notes that AS-i connects to higher-level systems through gateways, links or couplers. An AS-i to Profibus gateway acts as the master of the AS-i network and as a PROFIBUS DP slave to the PLC, so the PLC reads the AS-i slaves as a block of Profibus I/O.
When that gateway fails, the PLC loses every AS-i input and output behind it at once. That is why one small box can stop a whole conveyor or packing line.
Does a failed gateway always mean dead hardware?
No. A blown AS-i power supply, a short on the flat cable, a replacement slave still at address 0, or a Profibus address or termination fault all look like “gateway down” from the PLC. Check those first.
New AS-i slaves usually ship at address 0, and address 0 cannot take part in data exchange (Beckhoff notes this in its AS-i slave address assignment guidance).
Many masters readdress a single swapped slave automatically in protected mode, but if automatic addressing is off or more than one slave was changed, you must set the address with the master or a handheld addressing unit.
Troubleshooting before you condemn the gateway
Work from power outward. Use the gateway’s own LEDs and display as the maker’s manual describes.
| Check | What to look for | Likely cause if wrong |
|---|---|---|
| AS-i power supply | Correct AS-i voltage at the gateway terminals | Failed AS-i supply, overload, short on cable |
| AS-i cable | Shorts, crushed cable, water in connectors, reversed polarity | Mechanical damage, bad piercing contact |
| Slave list | Gateway shows projected vs detected slaves | Missing slave, duplicate address, new slave still at address 0 |
| Configuration error flag | Config mismatch between stored and actual slaves | Slave changed or replaced with a different profile |
| Profibus side | Bus fault LED, PLC diagnostic buffer, station address | Wrong DP address, missing termination, damaged connector |
| Gateway power | Separate supply where the design uses one | Failed 24 V DC supply |
Isolate the AS-i network in sections: disconnect branches and see whether the gateway comes back with fewer slaves.
If it powers up, shows a clean slave list on a short test cable and still cannot talk on Profibus with a known good connector and address, the gateway is the likely fault.
Can I back up the gateway configuration before it dies completely?
If the gateway still powers up, read out the projected slave list, addresses and profiles from its display or the maker’s software, and save the PLC hardware configuration and GSD file. That record is what makes any replacement quick.
The gateway works after power cycling and then drops out. Hardware?
Possibly, but intermittent faults are often cable or supply related. Check the AS-i supply under load and look for heat or vibration on connectors before replacing anything.
AS-i to Profibus gateway replacement: repair, replace or migrate?
| Option | When it fits | Watch out for |
|---|---|---|
| Like-for-like replacement | Same model still sold or available from stock | Restore slave config and DP address; check firmware level |
| Compatible newer gateway | Same AS-i and Profibus roles, newer model | New GSD file, PLC hardware config change, I/O mapping may shift |
| Repair of the old unit | No compatible unit, stable process, repair source with test capability | Turnaround time, no guarantee, keep the line running meanwhile |
| Migrate to an Ethernet based gateway (Modbus TCP or EtherNet/IP) | PLC is being upgraded, or you need the data off the line | PLC program changes, testing, downtime window |
| Add an IIoT edge alongside | You want monitoring data without touching control | Read-only role, no change to control logic |
Most plants should restore production first with a replacement and plan any migration separately. Mixing an emergency repair with an architecture change raises the risk of a long stoppage.
Is repairing an obsolete gateway worth it?
It can be, when no compatible unit exists and the line will run for years more. Ask the repair source what they test, what warranty they give, and how long it takes. Keep a spare if you can.
Can I keep AS-i and drop Profibus?
Yes. AS-i gateways exist for several upper-level networks, including Ethernet based ones. Your PLC must support that network, and the I/O mapping in the program has to be redone.
When migration to Modbus TCP and IIoT makes sense!?!
Migration is a project, not a repair.
It makes sense when the PLC or its Profibus master is itself obsolete, when spare Profibus parts are getting hard to source, or when the plant wants machine data in a monitoring or MES system.
Modbus TCP is openly specified and widely supported; EtherNet/IP is the other common choice where the PLC platform favours it.
A sensible sequence:
- Restore production with a replacement gateway.
- Document the full AS-i slave list, PLC I/O map and Profibus network.
- Decide the target PLC network (Modbus TCP, EtherNet/IP, PROFINET) based on the controller roadmap the plant already has.
- Add a read-only edge gateway first, to start collecting data without touching control.
- Plan the control migration for a shutdown, with a tested fallback.
Can an IIoT gateway read AS-i directly?
Usually not directly. The practical route is to read data from the PLC or from an AS-i gateway with an Ethernet interface, over Modbus TCP or EtherNet/IP. Edge does not speak Profibus DP, PROFINET or AS-i master on the wire.
Checklist
- Check AS-i supply, cable, slave list and Profibus side before condemning the gateway.
- Save gateway configuration, GSD file and PLC hardware configuration.
- Note exact gateway model and firmware level from the label.
- Ask suppliers for a compatible replacement and its GSD file.
- Treat repair as a fallback, with clear test and warranty terms.
- Keep migration separate from the emergency fix.
- For IIoT, start read-only, then plan control changes.
Automation angle: where Embedos Edge fits
Embedos Edge (for example Edison or Maxwell) has Ethernet, RS-485 and CAN interfaces and supports Modbus RTU, Modbus TCP and EtherNet/IP among its protocols.
On a line like this it fits as the read-only IIoT layer: reading data from the PLC or an Ethernet, AS-i gateway over Modbus TCP or EtherNet/IP, then sending it over MQTT or HTTPS with data buffering during network outages, with remote visibility of device health and connection status and threshold alerts by SMS, email or call.
Edge does not replace the AS-i master or the PLC control logic. ( It could, but in this case, it may not be required )
Use it only where the PLC or an AS-i gateway already exposes data over Modbus TCP or EtherNet/IP.
Background reading only: Wikipedia on AS-Interface.
