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

ethercat

[复制链接]

79

主题

11

回帖

510

积分

管理员

积分
510
发表于 5 天前 | 显示全部楼层 |阅读模式

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

1

主题

7

回帖

691

积分

高级会员

积分
691
发表于 5 天前 | 显示全部楼层
终于更新了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-3-3 15:34 , Processed in 0.075765 second(s), 19 queries .

Powered by Linuxcnc X3.5

© 2001-2026 Discuz! Team.

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