IMDTouchKnowledge BaseShop main store

Troubleshooting

Configure a PROFIBUS to EtherNet/IP gateway for HMI and PLC

HMI and touchscreens Published 7 min read

Short answer

Selecting PROFIBUS-DP Slave and EtherNet/IP Scanner in SYCON.net assigns only the gateway's own roles on each network. The link still needs the MP277 configured as PROFIBUS DP master from the gateway's GSD description, and the SLC 5/05 configured as the documented target of that scanner connection. Verify each side's status separately before mapping data; PC recognition of the gateway proves none of it.

On this page
  1. Write down who owns each role
  2. Record the gateway's state before you change anything
  3. Configure the MP277 as the DP master
  4. Configure the SLC 5/05 as the scanner's target
  5. Map the data, then prove the path in both directions
  6. The decision, case by case
  7. Questions asked

Selecting PROFIBUS-DP Slave as the primary network and EtherNet/IP Scanner as the secondary in SYCON.net is the right pair of choices for an MP277, an NT 50-DP-EN and an SLC 5/05 — but those two selections only assign the gateway its own role on each bus. They cannot introduce your endpoints to it. The MP277 has to be configured as the PROFIBUS DP master that owns the gateway as its DP slave, the SLC 5/05 has to be set up as the documented target the scanner connects to, and each side's status has to read healthy at the gateway before you map a single tag. The PC recognizing the NT 50-DP-EN proves only that your configuration path works; it says nothing about either live link.

Write down who owns each role #

  • PROFIBUS side: the gateway is the DP slave. The MP277 must run its PROFIBUS interface as the DP master; a slave never initiates, so with no master configured the gateway's DP side stays idle no matter what the PC shows.
  • EtherNet/IP side: the gateway is the scanner, the originator of the connection. The SLC 5/05 is the target that must accept it. The scanner discovers nothing on its own — you add the PLC as a target entry in the scanner configuration, one connection at a time.
  • The PC: configuration and diagnostics only. It is not part of either exchange.

Roles cost nothing to confirm and everything to get wrong. The gateway manual states what the EtherNet/IP Scanner profile opens — connection type and sizes — and the SLC documentation states what its EtherNet/IP interface accepts. An Ethernet port plus a reachable IP is not that confirmation. If the SLC's documented behavior does not include the connection the scanner opens, stop entering parameters: no setting on either side closes that link, and the fix is a different protocol pair or a different gateway variant. The same check applies on the PROFIBUS side — confirm the panel actually offers DP master operation rather than assuming the role comes with the port.

Record the gateway's state before you change anything #

In SYCON.net, open the gateway configuration by right-clicking the device and choosing Configuration → Gateway, then scan for devices and select the gateway. Write down the device state and each protocol side's state now, because every later test is judged against this record.

What you see What it proves Where to work
PC recognizes and configures the NT 50-DP-EN Your setup path to the gateway Nothing about either bus — go configure the endpoints
DP side reports no data exchange The PROFIBUS role or the physical segment HMI master project, station address, bus parameters, termination
Scanner side reports no exchange Target identity or connection Gateway-to-SLC IP and subnet, target entry, connection parameters
Both sides exchange but values are wrong or frozen Both links are up Mapping: offsets, lengths, word order

Change one setting at a time and re-read the state after each change; each test should prove or rule out exactly one cause, which is the discipline set out in Industrial Troubleshooting Improves When Each Test Proves a Cause. And leave the PC drivers alone: the gateway is already recognized, so reinstalling drivers fixes nothing unless configuration access itself has failed.

Configure the MP277 as the DP master #

  • Set the DP slave parameters in SYCON.net first — station address and baud rate — because they become exactly what the master must expect.
  • In the HMI project, switch the panel's PROFIBUS interface to DP master operation and add the gateway as a slave from its GSD description, entering the same station address and bus parameters you set in SYCON.net.
  • Size the cyclic data areas — master-to-slave and slave-to-master — to the byte counts the SYCON.net DP configuration defines.
  • Verify the physical segment: shielded PROFIBUS cable, seated connectors, termination active at both ends. Before blaming the gateway, run the same checks described in checking PROFIBUS termination when an HMI reads no data.
  • Re-read the DP state in SYCON.net. A healthy slave is parameterized by the master and then exchanges cyclically; until both happen, the DP side is not done.

If the DP side still reports no exchange, work in this order: the master project first (role, GSD, station address), then bus parameters — one baud rate applies to the whole segment, so a device set at a different rate never joins — then cable and termination.

Configure the SLC 5/05 as the scanner's target #

  • Set the controller's Ethernet channel — IP address and subnet mask — in the SLC project, and put the gateway in the same subnet unless the gateway documentation explicitly supports routing the scanner's connection.
  • In SYCON.net's scanner configuration, add the target entry for the SLC with its IP address and the connection parameters the gateway manual specifies. Sizes and connection data come from that document, not from trial and error.
  • Compare what the scanner opens with what the SLC documentation says its EtherNet/IP interface accepts. Reachability is not acceptance: a controller that answers ping can still reject a connection whose type or size it does not serve.
  • Re-read the scanner state. If the target is unreachable, the fault is addressing. If it is reachable but the connection is rejected, re-check the connection parameters and the target's documented capabilities — nothing in the HMI project is involved at this stage, so leave it closed.

Map the data, then prove the path in both directions #

Both exchanges running is not the goal; the gateway must carry the right bytes and each project's tags must address them. The mapping lives in the gateway: SYCON.net shows which byte ranges cross in each direction, and every HMI tag and PLC reference has to sit on those offsets, lengths and directions. Tags do not cross the gateway by name.

Worked example — the numbers are illustrative, so substitute your own configuration's values:

  • Configuration: DP slave with 16 bytes from the master and 16 bytes to the master, station address 10, 1.5 Mbit/s; scanner connection from the gateway to the SLC at 192.168.1.50 carrying 16 bytes each way; the mapping crosses byte 0 to byte 0. The whole window is 16 bytes = 8 words per direction, so valid offsets run 0 through 15.
  • Direction 1, HMI to PLC: write 16#1234 into the HMI tag at DP output offset 0, length 2 bytes. In the SLC, read the first two bytes of its received connection data: expect 16#12 followed by 16#34. If the word reads 16#3412, the two sides disagree on word order — swap the word on one side of the mapping. Nothing on the bus or in the wiring is wrong.
  • Direction 2, PLC to HMI: have the SLC write an incrementing count — 1, 2, 3 — into its send bytes at offset 0. The HMI tag at DP input offset 0 must step up with it. A green status on both sides with a frozen value is stale data, which is a mapping fault, not a wiring fault.

Run both tests on a spare data window nothing downstream acts on, or with the machine in a safe state — a wrong byte in a mapped output area is a live output command.

The decision, case by case #

  • Protocol selection: keep PROFIBUS-DP Slave on the primary network and EtherNet/IP Scanner on the secondary, provided both endpoint roles are documented — MP277 as DP master, SLC 5/05 as the scanner's target. If the SLC cannot serve the documented connection, change the architecture, not the parameters.
  • PC sees the gateway, endpoints do not: stop troubleshooting the PC; configure the master and the target as above.
  • DP side dead: master project first, identical bus parameters second, cable and termination third.
  • Scanner cannot reach the SLC: gateway-to-SLC addressing and subnet.
  • Connection rejected: connection type and sizes against both manuals.
  • Both sides exchange but values are wrong or frozen: gateway mapping — offsets, lengths, word order — and the two-direction test above settles it.

Questions asked

Does pinging the SLC 5/05 from my PC prove the EtherNet/IP side is ready?

A successful ping proves only that your PC can reach the controller over IP on the PC's own route. The scanner connection originates in the gateway, which is a separate device with its own address and possibly its own subnet. Judge the Ethernet side by the scanner status in SYCON.net: unreachable means address or subnet, reachable with no connection means the connection parameters or the target's documented capabilities.

Who starts the PROFIBUS exchange, the HMI or the gateway?

The DP master does — on this layout, the MP277. A DP slave such as the gateway only answers the master's cycle and never initiates, so with no master configured the DP side stays idle even when SYCON.net shows the device healthy on the PC. A second master can exist on the bus, but it is limited to diagnostic and configuration access; the cyclic data exchange belongs to the one master that owns the slave.

What station address and baud rate should the DP side use?

Whatever your bus plan requires — the values themselves are not special. Pick a station address no other device on the segment holds and a baud rate every participant supports, then set the identical pair in SYCON.net's DP slave and in the master project, because a mismatch in either one stops parameterization. The worked example in this article uses station address 10 and 1.5 Mbit/s; any consistent pair works the same way.

Can I enter the gateway's DP data in the HMI without the GSD file?

The GSD description is the slave's record the master reads when you add it, and it is the basis of the parameterization the master sends at startup. Adding the slave without it, or from a hand-built entry, leaves that parameterization incomplete, which shows up as a DP slave that never reaches data exchange — one of the first things to rule out. It also fixes the cyclic byte counts you then map in both projects.

Keep reading

  • Troubleshooting

    Diagnosing intermittent HMI to PLC Ethernet comms hangs

    Stop changing the topology. Put one packet capture where it can see the PLC-to-HMI unicast exchange — a mirror port or a tap, not a spare switch port — run it through at least three hangs with device logs on the same clock, set every panel update cycle to 1000 ms, and confirm the three devices hold unique IP addresses. Whether panel requests stop or PLC responses disappear decides which side you repair.

    HMI and touchscreens

  • How-to

    Configuring Dual LAN HMI Ports for Two PLC Networks

    Yes. A dual-LAN HMI terminal with two independently configurable interfaces reads a PLC on each network when LAN1 and LAN2 carry non-overlapping subnets and sit on physically separate segments. A remote client on the LAN1 side reaches the terminal itself over VNC, cMTViewer, OPC UA or Modbus TCP, but not the devices behind LAN2.

    HMI and touchscreens

  • Troubleshooting

    Why HMI Remote Access Fails While PLC Access Still Works

    Working local traffic between the HMI and the PLCs proves only the switch path, not the default-gateway path a translated remote connection needs. Verify the panel's gateway field, the forwarded ports 6080, 6002 and 6000, and address duplication, in that order; a DHCP laptop with no Internet in the same building points at the same gateway branch.

    Industrial networks

What decides a WinCC replacement on a Profibus DP network