Explainer
Reading an existing DeviceNet network from a new PROFIBUS PLC
Short answer
Yes: a new PROFIBUS PLC can read existing DeviceNet data while keeping its own network, but only through a device that is a real participant on both networks at once — a PROFIBUS interface added to the existing controller, or a gateway whose DeviceNet role (adapter, scanner or explicit client) reaches the wanted values. A cable adapter cannot do it, and the role choice decides whether the running system must change.

On this page
Yes — a new Siemens PLC can read data from an existing DeviceNet system while keeping its own PROFIBUS network, but only through a device that is a genuine participant on both networks at the same time: either a PROFIBUS interface added to the existing controller, or a gateway that terminates DeviceNet on one side and appears as a DP slave on the other. No cable adapter can do this, because the two fieldbus standards share nothing below the application data. What decides whether the project works is the DeviceNet role of that participant — adapter, scanner or explicit-message client — since each role reaches a different set of values. The two routes below, the role that matches your data and a worked sizing of the exchange map give you the decision.
Why the joining device must sit on both networks #
PROFIBUS DP (IEC 61158 Type 3) runs a cyclic exchange on RS485: the master polls each configured slave and exchanges I/O data with it within every DP cycle. DeviceNet (IEC 62026-3, on a CAN physical layer) uses a connection model in which a scanner establishes and manages the I/O connections of the devices configured to it. A joining device therefore terminates both protocols and copies application data between them: it shows up on the PROFIBUS side as an ordinary DP slave, polled every cycle, and on the DeviceNet side as a participant in one of the roles below. It never merges the two networks into one shared bus, and no passive wiring translates between them.
The route through the existing controller #
When the values you want already live in the old controller — device inputs it collects, or numbers its program calculates — add a PROFIBUS interface to that controller and configure it as a DP slave for the new master. The principle is the one behind using a PLC as a Modbus RTU to PROFIBUS gateway: a controller standing between two networks maps one side's data into the other side's exchange area.
Two conditions decide this route. The interface must be documented for the exact old CPU and expansion rack, with a DP slave mode and enough cyclic capacity. And the old program must be changed to move the selected variables into the exchange area — the card alone publishes nothing — which means an authorized way to edit, download and test the running application. That download is the one step that can stop the machine; schedule it as the project's single planned outage.
The boundary of this route is the exchange area: whatever the program maps crosses, and nothing else does.
The route through a gateway, and the role that decides access #
A dedicated gateway leaves the old controller untouched. Products exist for exactly this join — an Anybus X-gateway of the DeviceNet Master to PROFIBUS Slave type is one — but the DeviceNet role the gateway plays decides which values it can deliver.
As a DeviceNet adapter, the gateway is a slave presenting its own exchange image, and it collects nothing by itself: the existing scanner must be configured to include the gateway and to write the wanted bytes into it. The data path is old scanner, gateway image, PROFIBUS slave, new PLC, and it requires an edit to the running system's scanner configuration.
As a DeviceNet scanner, the gateway opens I/O connections of its own. The connection model gives each I/O connection one owner, so the gateway cannot poll a device whose connection the old scanner already owns; it reaches devices freed for it or set up as slaves for it. On an IRC5 robot controller the documented step is the unit type parameter DN_INTERNAL_SLAVE, changed under its I/O configuration, before a master can run the robot's connection — the same arrangement described in an Anybus DeviceNet master gateway setup for two IRC5 robots. How a scanner's mapped I/O is laid out is covered in how to map a 1747-SDN scanner for DeviceNet drive control.
As an explicit-message client, the gateway sends request-and-response reads to objects and attributes a device serves, the mechanism behind which DeviceNet explicit read reaches VLT5000 parameter data. That suits parameters and diagnostics at a slow update rate, not a fast cyclic map.
Which arrangement reaches which values #
| Arrangement | Values it reaches | Change on the running system | Choose when |
|---|---|---|---|
| PROFIBUS interface on the old controller | Program variables mapped into its exchange area | A program download on the old controller | The values live in the old program |
| Gateway as DeviceNet adapter | The bytes the old scanner writes into it | The old scanner's configuration | The old scanner can be edited and a fixed cyclic map is wanted |
| Gateway as DeviceNet scanner | Cyclic I/O of devices whose connections it can own | Nothing, when ownership is already free or arranged | The values are device I/O and ownership can be arranged |
| Gateway as explicit client | Objects and attributes served on request | Nothing | Parameters or diagnostics at a slow rate are enough |
The decision: values computed inside the old program take the controller route; device I/O you need cyclically takes the scanner route wherever ownership can be arranged; parameters and diagnostics take explicit messaging; the adapter role is the fallback when the old scanner can be edited but the devices cannot be re-owned. A value that fits none of these paths is unreachable by any product — publish it from the old program first.
Sizing the exchange map for 8 analog words and 16 status bits #
The signal list is an example; replace it with your own. The capacity figure is a documented one.
Inputs:
- 8 analog values, 16 bits each, from the DeviceNet devices (example list).
- 16 status bits from one device's status word (example list).
- 4 command words the new PLC writes back (example list).
- PROFIBUS-side cyclic capacity: one verified DP slave side, the PLX51-PBS module's, is documented to emulate 1 to 10 DP slave nodes and to provide up to 1536 bytes of input and output cyclic I/O. Its other side speaks EtherNet/IP or Modbus rather than DeviceNet, so treat the figure as the yardstick for this check; the chosen DeviceNet gateway's datasheet supplies its own number, and the sum is identical.
Rule, in words: every 16-bit value crosses as 2 bytes; a map's size per direction is the sum of its signals' bytes, and that sum must stay under the documented cyclic capacity.
Arithmetic, input direction: 8 analog values × 2 B = 16 B; 16 status bits ÷ 8 bits per byte = 2 B; input total = 16 B + 2 B = 18 B. Output direction: 4 command words × 2 B = 8 B. Whole map: 18 B + 8 B = 26 B.
Result: reading the documented figure as one combined total, the map uses 26 B of 1536 B — under 2 percent — leaving 1510 B free, and a single emulated slave address carries it.
Decision: any map whose summed bytes stay under the gateway's documented capacity fits on one slave address, as this one does. A list that outgrows the documented total — mirroring the full I/O of many drives, for instance — moves you to a gateway with a larger documented exchange area, settled at the datasheet before any hardware is ordered.
Proving the map with real data #
The gateway's GSD file goes into the new master's hardware configuration, and the node address and exchange lengths set there must match the gateway's own setup. Directions are named from each device's perspective: a byte the new PLC lists as input was produced by the gateway, and on the adapter route it began as an output the old scanner wrote. Byte order inside a 16-bit value and word order inside a 32-bit value are separate settings, and a connection can run healthy while delivering wrong numbers if the two sides read them differently. Drive a known raw value from the source and follow it through: after the documented scaling it must arrive correct at the new PLC. If it does not, the fault is in the mapping, not on the network.
Questions asked
Can a passive cable adapter join DeviceNet and PROFIBUS?
No. DeviceNet is a CAN network whose trunk also distributes 24 VDC power, while PROFIBUS DP runs on RS485 with no network power; frame formats, addressing and timing all differ. The translation has to happen in a device that terminates both protocols as a participant on each side, which is what a gateway or a controller communication interface does. Wiring the two cables together joins nothing.
Can the gateway read a device the old scanner still controls?
Yes, by explicit messaging. An explicit request is a request-and-response transaction against an object or attribute, and it does not claim the device's I/O connection, so the old scanner keeps ownership while the gateway reads. Cyclic polling of that same produced data stays off limits, because each I/O connection has one owner. Plan on explicit reads for anything still owned.
How do I detect stale data at the new PLC?
Add a heartbeat to the map: the originating side increments one counter word every scan or cycle, and the Siemens program raises a stale-data alarm when that word stops changing for a chosen number of PROFIBUS cycles. Without it, a gateway that keeps repeating its last good image looks alive forever, and the new PLC cannot tell live data from frozen data.
Can the gateway reach values that exist only inside the old controller's program?
No. A scanner or explicit client reaches what devices produce on DeviceNet, never another controller's internal memory. A calculated value or a timer inside the old program must be published before anything can read it: either through the controller route, which maps program variables into a PROFIBUS exchange area, or by having the old program write the value into a device the gateway can reach.


