With Wireshark every PC is upgraded to a Ethernet analysing device without any additional cost.
Attention: in some enterprises the installation of such a powerful analysing tool is considered as a first step for hacking and requires a special allowance.
Installation of Wireshark
1.Download the latest version of the software for your operating system from the website www.wireshark.org.
2.Install the Wireshark on your PC. Typically the driver for your Ethernet interface is included.
3.Go to coloring rules and replace the color scheme with the one for PROFINET: PROFINET IRT Colors Wireshark.ini
Figure 74: Wireshark coloring rukes for PROFINET
The Software has the following functions.
Figure 75: Functionalities of Wireshark
Figure 76: Functions of Wireshark
And you see the following windows:
Figure 77: Display of Wireshark
If you use the PROFINET colors the cyclic data will be green.
Figure 78: Frames are colored according the PROFINET Manual
Display and capture filters have not the same syntax!
•Only PROFINET frames:
pn_rt (same as eth.type == 0x8892)
•Only frames related with the PROFINET IO protocol
pn_io (does not include e.g. the DCP protocol)
•All PROFINET frames
pn_rt or pn_io
Figure 79: Display filter of the PROFINET protocols
More specific filters can be set by selecting the protocol element.
Figure 80: Simple definition of display filters