{"id":40605,"date":"2024-06-27T16:44:12","date_gmt":"2024-06-27T08:44:12","guid":{"rendered":"https:\/\/hongtronics.com\/?p=40605"},"modified":"2024-09-29T21:06:47","modified_gmt":"2024-09-29T13:06:47","slug":"profishark-guide-capturing-ethercat-packets","status":"publish","type":"post","link":"https:\/\/hongtronics.com\/en\/profishark-guide-capturing-ethercat-packets\/","title":{"rendered":"Honghong Sharing \ufe31 can not miss the technology to enhance the use of ProfiShark to capture EtherCAT packets, industrial automation"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"40605\" class=\"elementor elementor-40605\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b6465e5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b6465e5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ca31245\" data-id=\"ca31245\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4a0b46c elementor-widget elementor-widget-text-editor\" data-id=\"4a0b46c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-family: tahoma, arial, helvetica, sans-serif; font-size: 12pt; color: #000000;\">As industrial automation technology continues to advance, the need for real-time data capture and analysis continues to grow. Especially in high-performance industrial networks such as EtherCAT, accurate packet capture and analysis tools are especially important. In this article, we will take a closer look at how the ProfiShark tool can be used to capture EtherCAT packets and demonstrate its power in real-world applications.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-61fbf80 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"61fbf80\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b86b2dc\" data-id=\"b86b2dc\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6a5c4d1 elementor-widget elementor-widget-heading\" data-id=\"6a5c4d1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Why use ProfiShark to capture packets?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bfa5809 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bfa5809\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0cfcdd1\" data-id=\"0cfcdd1\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-20c552a elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"20c552a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-family: tahoma, arial, helvetica, sans-serif;\"><strong><span style=\"color: #000000; font-size: 14pt;\">1. Easy to use:<\/span><\/strong><\/span><\/p><p style=\"padding-left: 40px;\"><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Profishark as a dedicated packet capture hardware, in terms of performance, stability, accuracy are much better than ordinary packet capture tool, and there are some PLC or other can not directly run wireshark software dedicated controller as an EtherCAT master, in this case the use of dedicated packet capture tool will save a lot of work, and profishark serialized in the network brings low latency and jitter can be applied to most of the time-sensitive industrial protocols. And profishark serialization in the network brings very low latency and jitter, can be applied to most of the time-sensitive industrial protocols.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-90cd525 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"90cd525\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-family: tahoma, arial, helvetica, sans-serif;\"><strong><span style=\"color: #000000; font-size: 14pt;\">2.<span style=\"text-indent: -21pt;\">High resolution time stamp:<\/span><\/span><\/strong><\/span><\/p><p style=\"padding-left: 40px;\"><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><span lang=\"EN-US\" style=\"text-indent: -21pt;\">ProfiShark <\/span><span style=\"text-indent: -21pt;\">Provides a resolution of<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> 8 ns <\/span><span style=\"text-indent: -21pt;\">Hardware time stamps.<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">ProfiShark 1G+ <\/span><span style=\"text-indent: -21pt;\">\u548c<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> 10G+ <\/span><span style=\"text-indent: -21pt;\">Provides a variety of advanced time stamping functions.<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> GPS<\/span><span style=\"text-indent: -21pt;\">The chip can be retrieved.<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">UTC<\/span><span style=\"text-indent: -21pt;\">time with internal<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">PPS<\/span><span style=\"text-indent: -21pt;\">Synchronization with a typical accuracy of \u00b1<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">32 ns<\/span><span style=\"text-indent: -21pt;\">\u3002<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> ProfiShark 1G+<\/span><span style=\"text-indent: -21pt;\">\u548c<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">10G+<\/span><span style=\"text-indent: -21pt;\">It can also be done through<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">SNTP<\/span><span style=\"text-indent: -21pt;\">(Use<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">ProfiShark Manager<\/span><span style=\"text-indent: -21pt;\">\u6216<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">CLI<\/span><span style=\"text-indent: -21pt;\">tools) to retrieve the time, or use the internal<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">RTC<\/span><span style=\"text-indent: -21pt;\">(real-time clock) and through an external<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\">PPS<\/span><span style=\"text-indent: -21pt;\">Signal synchronization. Can provide<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> PPS <\/span><span style=\"text-indent: -21pt;\">output to be used in conjunction with another<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> ProfiShark <\/span><span style=\"text-indent: -21pt;\">equipment or any other receiving<\/span><span lang=\"EN-US\" style=\"text-indent: -21pt;\"> PPS <\/span><span style=\"text-indent: -21pt;\">The input devices are synchronized. These functions can be combined in different ways to provide a wide range of possible options for accurate and precise time stamping of data packets.<\/span><\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dc58801 elementor-widget elementor-widget-text-editor\" data-id=\"dc58801\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-family: tahoma, arial, helvetica, sans-serif;\"><strong><span style=\"font-size: 14pt; color: #000000;\">3.100% high fidelity traffic capture:<\/span><\/strong><\/span><\/p><p style=\"padding-left: 40px;\"><span style=\"font-size: 12pt; color: #000000; font-family: tahoma, arial, helvetica, sans-serif;\">Installing TAP for all monitoring sources ensures that the 100%'s network traffic is replicated and transferred to the monitoring tool for real-time network monitoring.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c886356 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"c886356\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-family: tahoma, arial, helvetica, sans-serif;\"><strong><span style=\"font-size: 14pt; color: #000000;\">4. TSN support.<\/span><\/strong><\/span><\/p><p style=\"padding-left: 40px;\"><span style=\"font-family: tahoma, arial, helvetica, sans-serif; font-size: 12pt; color: #000000;\">Low Jitter: ProfiShark captures and analyzes network traffic supporting Time-Sensitive Networking (TSN) technology and accurately measures and records the timing of data transfers for analysis and troubleshooting.ProfiShark is protocol agnostic and L1 passthrough to all frames, tags and packages. This includes preempted frames (IEEE 802.1Qbu\/802.3br), segmented frames, and CRC invalid frames.Profishark 100M, 1Gv5, 1Gv6, and 1G+ support TSN (IEEE 802.1Qbu\/802.3br frames).<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4bd0617 elementor-widget elementor-widget-text-editor\" data-id=\"4bd0617\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-size: 14pt; font-family: tahoma, arial, helvetica, sans-serif; color: #000000;\"><strong>5.PoE pass-through function<\/strong>\uff1a<\/span><\/p><p style=\"padding-left: 40px;\"><span style=\"font-family: tahoma, arial, helvetica, sans-serif; color: #000000; font-size: 12pt;\">The ProfiShark 1G can be configured in either serial or out-of-band mode. Serial mode is fail-safe, with PoE pass-through, and once the TAPs are in place on the network, the monitoring ports can be connected and disconnected at will without breaking the network link. Out-of-band mode allows monitoring of traffic from SPAN\/mirror ports or external TAPs.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5afc7dc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5afc7dc\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-44fccda\" data-id=\"44fccda\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ca3b3ea elementor-widget elementor-widget-heading\" data-id=\"ca3b3ea\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Scene of ProfiShark use<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-dbfa467 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dbfa467\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6ba9bb5\" data-id=\"6ba9bb5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b3076b elementor-widget elementor-widget-text-editor\" data-id=\"2b3076b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Grabbing Aethernet Packets<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Search packet CRC error<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Comparing Input Data Frames and Output Data Frames<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Measurement of network frame jitter and delay<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Analyze the process and principle of sending data from the master terminal<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Analyze the process and principle of processing network frames with the processing equipment.<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Real-time measurement of the master device<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Measurement and Processing Equipment Response Performance<\/span><\/li><li><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">Monitoring and Backup of Industrial Ethernet Data<\/span><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b8b610 elementor-widget elementor-widget-spacer\" data-id=\"5b8b610\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bffbf1b elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bffbf1b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9b25b9b\" data-id=\"9b25b9b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2012f02 elementor-widget elementor-widget-heading\" data-id=\"2012f02\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Technical Parameters<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-50aa195 elementor-widget elementor-widget-image\" data-id=\"50aa195\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"901\" height=\"592\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u6280\u8853\u53c3\u6578-1.jpg\" class=\"attachment-large size-large wp-image-40608\" alt=\"ProfiShark 100M\u548cProfiShark 1G\u7684\u6280\u8853\u53c3\u6578\u6bd4\u8f03\u8868\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u6280\u8853\u53c3\u6578-1.jpg 901w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u6280\u8853\u53c3\u6578-1-300x197.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u6280\u8853\u53c3\u6578-1-768x505.jpg 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u6280\u8853\u53c3\u6578-1-600x394.jpg 600w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c8a5b80 elementor-widget elementor-widget-spacer\" data-id=\"c8a5b80\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-597e3ae elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"597e3ae\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a0d6098\" data-id=\"a0d6098\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7ac638c elementor-widget elementor-widget-heading\" data-id=\"7ac638c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">IV. Connections<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-daf92a4 elementor-widget elementor-widget-text-editor\" data-id=\"daf92a4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #000000; font-size: 12pt;\">In an existing EtherCAT network, a Test Access Point (TAP) must be inserted to capture EtherCAT frames. It is recommended to install the TAP between the master and the first slave, but it can also be installed between any two slave devices. However, all input and output data can only be fully analyzed if the TAP is installed immediately after the master, as some data (e.g. LRW commands) will be overwritten by subsequent input data from downstream slaves. Therefore, the selected TAP device (e.g. ProfiShark 100M) should have a small propagation delay to avoid disturbing the timing of the whole network.<\/span><\/p>\n<p><span style=\"color: #000000; font-size: 12pt;\">The TAP's \u201cmonitor\u201d port is connected via a standard Ethernet cable to a computer running the Master Checker software.The ProfiShark 100M is a pocket-sized device with two RJ45 connectors on one side, a USB 3.0 port on the other, and an optional 5V DC external power connector.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000; font-family: georgia, palatino, serif; font-size: 12pt;\">Place ProfiShark in front of the site where you need to monitor traffic (e.g., PLC's Ethernet port, CPU's Ethernet module, computers, servers, etc.).<\/span><\/li>\n<li><span style=\"color: #000000; font-family: georgia, palatino, serif; font-size: 12pt;\">Disconnect the Ethernet cable from the EtherCAT master and connect it to one of the Ethernet ports on the ProfiShark. Then, use the Ethernet cable that came with the adapter to connect the other Ethernet port of the ProfiShark to the first slave.<\/span><\/li>\n<li><span style=\"color: #000000; font-family: georgia, palatino, serif; font-size: 12pt;\">Now that ProfiShark is in the line of the packet to be analyzed, all traffic passes through that TAP adapter.<\/span><\/li>\n<li><span style=\"color: #000000; font-family: georgia, palatino, serif; font-size: 12pt;\">After confirming that the communication between the two ends is normal, connect the power port (USB port) to a computer with profishark manager and capture and analyze the packets through profishark manager or Wireshark software.<\/span><\/li>\n<\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a77e762 elementor-widget elementor-widget-image\" data-id=\"a77e762\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"347\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2-1024x347.jpg\" class=\"attachment-large size-large wp-image-40607\" alt=\"ProfiShark\u5de5\u5177\u6355\u7372EtherCAT\u5c01\u5305\u7684\u7db2\u7d61\u9023\u63a5\u793a\u610f\u5716\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2-1024x347.jpg 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2-300x102.jpg 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2-768x260.jpg 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2-600x203.jpg 600w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u56fe2.jpg 1039w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a4f1267 elementor-widget elementor-widget-spacer\" data-id=\"a4f1267\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4955c60 elementor-widget elementor-widget-spacer\" data-id=\"4955c60\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-02dd174 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"02dd174\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6d42d5c\" data-id=\"6d42d5c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b35f6aa elementor-widget elementor-widget-heading\" data-id=\"b35f6aa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">V. How to use Wireshark to analyze EtherCAT packets<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9443612 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9443612\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2c32e41\" data-id=\"2c32e41\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f4f1638 elementor-widget elementor-widget-text-editor\" data-id=\"f4f1638\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\">After successfully capturing EtherCAT packets using ProfiShark, we can use Wireshark to perform detailed analysis. Wireshark is a powerful network protocol analysis tool that can help us to examine and analyze the captured EtherCAT packets in depth. Below are the detailed steps and tips:<\/span><\/p><ol><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Setting up EtherCAT filters<\/strong>: EtherCAT packets have specific filters available in Wireshark. We can set up these filters to filter out packets of interest. For example, to filter out a specific type of packet where a slave is in OP status, you can use the following command:<code>ecat.ado == 0x130<\/code>This command helps us to quickly find and analyze the target packets.<\/span><\/p><\/li><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Capture Packet Details<\/strong>: Once the EtherCAT packets are captured, we can view their details. By clicking on the packet, you can expand the structure and contents of the packet, including the EtherCAT packet's header information, the data area, and the specific values of each field. This information can help us understand the specific contents and meaning of the packet.<\/span><\/p><\/li><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Analyzing Periodic Packets<\/strong>: In EtherCAT communication, each periodic packet usually contains three sub-packets. These sub-packets contain information about logical addressing, physical addressing, etc. By analyzing these sub-packets, we can understand the data exchange process between master and slave. By analyzing these sub-packets, we can understand the data exchange process between master and slave. For example, looking at the LRW (Logical Read\/Write) command, we can see the response from the slave and the request data from the master.<\/span><\/p><\/li><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Analysis Time Interval<\/strong>: Time interval analysis is an important tool for evaluating the performance of an EtherCAT system. With Wireshark, we can measure the time interval between packets to evaluate the real-time performance and stability of the system. This is done by looking at the time difference between two packets, which can be visualized more intuitively through Wireshark's \u201cTime Display Format\u201d feature.<\/span><\/p><\/li><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Common Error Analysis<\/strong>: In EtherCAT systems, common types of errors include CRC errors, packet loss, long packet delay, etc. With Wireshark, we can detect and analyze these errors. With Wireshark, we can detect and analyze these errors. For example, by setting up a CRC error filter, we can quickly locate and analyze problematic packets. To analyze these errors, we need to be familiar with EtherCAT's working principles and processes, and be able to identify and diagnose common communication problems.<\/span><\/p><\/li><li><p><span style=\"color: #000000; font-size: 12pt; font-family: tahoma, arial, helvetica, sans-serif;\"><strong>Data accumulation and learning<\/strong>Analyzing EtherCAT packets is a learning process that requires a lot of work. Understanding and mastering the details of the EtherCAT protocol is the key, so as to be able to analyze it in practice. It is recommended to read relevant literature and technical documents, participate in technical exchanges, and continuously improve your skills and knowledge.<\/span><\/p><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-649523a elementor-widget elementor-widget-spacer\" data-id=\"649523a\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f562dfb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f562dfb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f80e892\" data-id=\"f80e892\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d67e6e8 elementor-widget elementor-widget-heading\" data-id=\"d67e6e8\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">VI. CONCLUSION<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3989bd3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"3989bd3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-330c69b\" data-id=\"330c69b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5dd295c elementor-widget elementor-widget-text-editor\" data-id=\"5dd295c\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"font-size: 12pt; color: #000000; font-family: tahoma, arial, helvetica, sans-serif;\">Using ProfiShark and Wireshark, we can efficiently capture and analyze EtherCAT packets for real-time data monitoring and troubleshooting needs of industrial network systems.ProfiShark provides strong support for industrial automation networks with its high-resolution timestamping, 100% high-fidelity traffic capture, TSN support, and PoE pass-through. network with its powerful timestamping, 100% high fidelity traffic capture, TSN support and PoE pass-through capabilities. Combined with Wireshark's powerful analytics, we are able to view packet structure in detail, analyze time intervals of periodic packets, and detect and diagnose common communication errors to improve system performance and reliability.<\/span><span style=\"color: #000000; font-family: tahoma, arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: 0px;\">For more details~Now<strong><span style=\"color: #000080;\"><a style=\"color: #000080;\" href=\"https:\/\/www.facebook.com\/hongtronics\">[Contact Us<\/a><\/span><\/strong>Exchanges and discussions were held.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-49cf593 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"49cf593\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-835cbe9\" data-id=\"835cbe9\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-86e1e29 elementor-widget elementor-widget-image\" data-id=\"86e1e29\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1024\" height=\"197\" src=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1.png\" class=\"attachment-large size-large wp-image-40098\" alt=\"\" srcset=\"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1.png 1024w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-300x58.png 300w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-768x148.png 768w, https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u516c\u53f8\u8cc7\u8a0a\u6b04_\u8cc7\u8a0a\u5361-\u592702-1-600x115.png 600w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>This article describes how to capture and analyze EtherCAT packets with the ProfiShark tool, a high-performance tool with plug-and-play, full-speed capture, and high-resolution timestamping for industrial network optimization and troubleshooting. The guide covers connection setup and detailed data analysis using Wireshark to improve industrial automation efficiency and stability.<\/p>","protected":false},"author":42,"featured_media":40612,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","iawp_total_views":221,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[2294],"tags":[1471,1744,1091,1749,2292],"table_tags":[],"class_list":["post-40605","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-2294","tag-ethercat","tag-profishark","tag-1091","tag-1749","tag-2292","entry","has-media","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/hongtronics.com\/wp-content\/uploads\/2024\/06\/\u672a\u547d\u540d\u8a2d\u8a08-2.jpg","_links":{"self":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/40605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/comments?post=40605"}],"version-history":[{"count":16,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/40605\/revisions"}],"predecessor-version":[{"id":48901,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/posts\/40605\/revisions\/48901"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media\/40612"}],"wp:attachment":[{"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/media?parent=40605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/categories?post=40605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/tags?post=40605"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/hongtronics.com\/en\/wp-json\/wp\/v2\/table_tags?post=40605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}