File | Date | Author | Commit |
---|---|---|---|
src | 2024-08-25 | Andrea Fabbri | [5b75ee] SDO and REG datagram managed |
LICENSE | 2022-02-19 | andrea202511 | [0a5035] Initial commit |
README.md | 2023-10-20 | Andrea Fabbri | [95ae72] bug fix #6 |
Utility to convert pcapng log file with ethercat frames (by wireshark) to csv file
To diagnose a problem or simply to study the internal flow of information in an ethercat fieldbus, one of the common practices is to capture the flow of ethercat datagrams with an ethernet sniffer such as Wireshark (www.wireshark.org).
Wireshark provides some filters to facilitate data analysis but the high amount of recorded information still makes an analysis complicated for many people who do not have a very deep knowledge of the ethercat protocol and Wireshark tools.
Ecang can help these people!
Ecang extracts the list of PDOs exchanged in an ethercat network directly from the network configuration file (.xml), thanks to this data it can read numerous information from the file generated by the sniffer (.pcapng) and transfers them to a comma-separated values file (.csv) already applying a first level of validation. Subsequently the user can open the csv file with his favorite spreadsheet (Libreoffice Calc, Openoffice Calc, Microsoft Excel, etc.) and with formulas and other tools he can better analyze and filter the data according to his needs.
Ecang use the wxWidgets library (www.wxwidgets.org). From Alpha version 1.0.30, wxWidgets library are statically linked for easier installation
Ecang is develop with Code:Blocks (www.codebloks.org). In the src folder, codeblocks project can be found, ecang.cbp for linux version and ecangw.cbp for windows version.
Linux. Deb pachages are disposable. Download them from and install with your pakage manager preferred
from prompt can use dpgk
sudo dpkg -i ecang_1_.... .deb
Also installer for windows is available. Download the setup_xxx.exe and run it.
Ecang exctracts the list of PDO reading the branch EtherCATConfig/Config/ProcessImage/Inputs and EtherCATConfig/Config/ProcessImage/Outputs
//TODO completare