必須要先裝好IgH EtherCAT Master for Linux
可以參考Installing EtherLab 或是參考筆記EtherLab安裝
# 記得啟動ethercat master
# ec-start.sh
sudo /etc/init.d/ethercat start
./ec_info.sh
-
ec_slave_info.txt
:-
EtherCAT master 版本信息。
-
EtherCAT slave 的詳細信息。
-
-
ec_slave_info.xml
:- 設備端的xml訊息
-
ec_sdos.txt
:- EtherCAT SDO 的詳細信息。
-
ec_pdos.txt
:- EtherCAT PDO 的詳細信息與產生對應的C語言結構。
-
ec_graph.png
:- 使用
ethercat graph
命令生成 EtherCAT 網絡拓撲的圖形表示。 - 將該圖形轉換為 PNG 格式,並將輸出保存到
ec_graph.png
檔案中。
- 使用