找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1213|回复: 1

ethercat

[复制链接]

83

主题

12

回帖

542

积分

管理员

积分
542
发表于 2026-2-26 13:53:43 | 显示全部楼层 |阅读模式

sudo apt update
sudo apt install  linuxcnc-ethercat

sudo apt install ethercat-master libethercat-dev  linuxcnc-ethercat

ip a

sudo geany /etc/ethercat.conf

MASTER0_DEVICE="xx:aa:yy:zz:bb:cc"
DEVICE_MODULES="generic"

sudo systemctl enable ethercat.service
sudo systemctl start ethercat.service
sudo systemctl status ethercat.service
sudo chmod 666 /dev/EtherCAT0

ethercat slaves

sudo geany /etc/udev/rules.d/99-ethercat.rules

KERNEL=="EtherCAT[0-9]", MODE="0777"

sudo udevadm control --reload-rules



cd ~/dev
git clone https://github.com/dbraun1981/hal-cia402
cd hal-cia402
sudo halcompile --install cia402.comp

3

主题

9

回帖

805

积分

高级会员

积分
805
发表于 2026-2-26 18:03:22 | 显示全部楼层
终于更新了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|LinuxCNC 中文站 ( 苏ICP备2025155256号-1 )

GMT+8, 2026-4-30 22:07 , Processed in 0.057823 second(s), 19 queries .

Powered by Linuxcnc X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表