PROFIBUS & PROFINET news from around the world

Tech Tip: Which Switch for PROFINET

Should you use a managed switch or an unmanaged switch with PROFINET? YES! Yes, you should use either a managed or an unmanaged Ethernet switch with PROFINET.

Unmanaged Switches

An unmanaged switch has no built-in intelligence except to send incoming Ethernet frames out the correct port – the port to which the destination device is connected. And only that port. For diagnostics it has LEDs. Each port has an LED indicating that there is Ethernet traffic. There is no way to tell Linksys_Switchhow much bandwidth is being consumed. There is no way to tell if there are lots of re-tries. You can buy such a switch at many retailers. For example, there is a 5-port Linksys switch available for $33.99. It meets the minimum requirements for PROFINET; that is, it’s a 100Mbps full-duplex Ethernet switch. It also includes the QoS (Quality of Service) feature that is recommended for PROFINET. Since PROFINET frames are automatically marked with a priority higher than TCP/IP frames, a PROFINET frame gets a head start if a TCP/IP frame and PROFINET frame arrive at the same time. The PROFINET frame gets sent out first.

Managed Switches

A managed switch adds intelligence that an unmanaged switch does not have. A number of IT protocols are useful with managed switches including SNMP (Simple Network Management Protocol), LLDP (Link Layer Discovery Protocol), and IGMP (Internet Group Management Protocol). Let’s dispense with IGMP right off the bat – PROFINET does not need it. Protocols that multicast their real-time IO data do need it. PROFINET unicasts. SNMP and LLDP are specialized protocols for retrieving data that switches save. For example, if you think it is important to be alerted if there are an excessive number of re-tries, SNMP can help. If you want to see what bandwidth utilization is in real-time, SNMP can help. LLDP allows software to extract the network topology. LLDP also enables one of the wow-factors of PROFINET: replacing a device with no software tools needed and no switches to set. You can see how that is done in this MinutePROFINET video and watch it being done in this video from our PROFINET one-day training classes.

There is a saying that goes:

“You will either use a managed switch… or wish you had.”

A managed switch provides information that can help prevent downtime and speed troubleshooting when the line does go down. The more expensive downtime is in your facility, the more important it is to invest in a managed switch. It is an investment. Managed switches cost more. But the incremental cost is trivial compared to the cost of downtime. Up to now, you probably think this topic covers standalone Ethernet switches. That is true. But managed switches are also contained within PROFINET devices. So the same kind of diagnostic information you can extract from a standalone switch can be extracted from a switch in a PROFINET device.

You can use an OPC-SNMP server to read information from a managed switch and display it and alarm it in an HMI. It’s wonderful that the information can be seen in an HMI, but what if you want the controller to take some action as a result of diagnostic information? PROFINET does that.

PROFINET Switches

An Ethernet switch can also be a PROFINET device! The switch will look like IO to the PLC. This means the switch will have a GSD file just like any other PROFINET device. And the GSD file will define what diagnostic information can be read. For example, if a device is unplugged from a switch port, the PLC logic can execute an appropriate action. This is even more valuable if the switch is an MRP device (Media Redundancy Protocol). Here’s a one-minute refresher on redundancy:

If the switch reports a failure in the ring, the PLC can alarm it and act on it. In fact, it can pinpoint where the break in the ring is, simplifying the maintenance response. Many vendors supply Ethernet switches that are also PROFINET IO devices, including Cisco, Siemens, Moxa, Phoenix Contact, Harting, and Hirschmann.

With PROFINET you can use an unmanaged switch, a managed switch, or a switch that is also PROFINET IO. It’s good to have options. But, even though you can, don’t use an unmanaged switch unless you can afford… the downtime.

 

Other Articles in this Issue

Technology Partners

Tweets from @AllThingsPROFI

Close