没有合适的资源?快使用搜索试试~ 我知道了~
首页Tutorial, LinuxCNC, IndraDrive and EtherCAT.pdf
资源详情
资源评论
资源推荐
Little Tutorial for the use of Bosch Rexroth
IndraDrives with LinuxCNC over EtherCAT
Goal
● Use existing free or GPL Software (Octobre 2013) to get IndraDrives working with
LinuxCNC over EtherCat without any programming
● Standard PC-Hardware
● Performance as professional CNC in terms of interpolation, control loops cycle time,
speed, following error
● At the End of this tutorial you should be able to use the IndraDrives with LinuxCNC over
EtherCAT
Requirements
● Supported Ethernet Hardware see Etherlab
● Etherlab Softmaster see Etherlab Softmaster
● Source Snapshot for linuxCNC from Sascha Ittner see HAL EtherCat Driver
● Working LinuxCNC see ISO Image for LinuxCNC
● EtherCAT XML Device Description File e.g. for IndraDrive see under Download
Quick Overview to get it working in Case for IndraDrive
1. Build LinuxCNC with EtherCat HAL-Driver like described here
2. Set up the drive and settings (motor, inverter, Hardware, Switches, Limits,...) with the
Software IndraWorks (free software for Bosch Rexroth Products) on Windows using
Ethernet connection.
3. Set up the Bus Telegram (PDO’s, Cycle Time) with Tool EtherCAT Configurator (you need
therefore the to set up the Bus Telegram (PDO’s, Cycle Time) with Tool EtherCAT
Configurator (you need therefore the XML Device Description File e.g. for IndraDrive see
under Download
XML Device Description File e.g. for IndraDrive see under Download
4. Create a XML file (by Hand) for the existing ‘generic’ driver option for the HAL EtherCat
Driver
5. Set up HAL-components and HAL configuration. The scaling of the position command can
be done with HAL-components in the HAL setup file *.hal
From my point of view if you want to go more professional and/or more generic you have to
modify the XML parsing in the lcec_conf.c and therefore modify some parts in lcec_generic.c
without the need to write a hardware specific driver. Also you have to modify the homing
procedure (homing
.c
) to use the more advanced internal homing of the drives directly (interrupt
controlled recognition of the homing switches). I did this for my needs but this is not content of
this tutorial. (see first video of the setup or some other videos on my channel here)
The configuration of the drive with SoE is not possible with the HAL-Driver for EtherCAT because
the soft master uses CoE to do that (Many other drives support the CIA 402 profile which is
configured via CoE). But because in case of IndraDrives you have to do this only once, from my
point of view there is no great need to implement in the SoE support in general.
Details to get it working in Case for IndraDrive
Build LinuxCNC with EtherCat HAL-Driver
STEP 0
This should be clear if you look here or search within the LinuxCNC documentation:
Ethercat master: https://github.com/sittner/ec-debianize
Add hal-ethercat: https://github.com/sittner/linuxcnc/tree/add-hal-ethercat
1st Download ethercat master from IgH
2nd Untar the file: tar xvfj ethercat-1.5.2.tar.bz2
3rd download debian folder from sittner
4th copy debian folder (3rd step) to /ethercat-1.5.2/ (2nd step)
5th sittner instructions:
#cd ethercat-1.5.2
# cd debian
# ./configure -a
# cd ..
# dpkg-checkbuilddeps (and install missing deps)
# dpkg-buildpackage
You get two files some files: ethercat_1.5.2-1_i386.deb, ethercat-dev_1.5.2-1_i386.deb
.....
6th # sudo dpkg -i ethercat_1.5.2-1_i386.deb
7th edit /etc/default/ethercat with your configuration (in the file there are useful comments)
or edit /etc/sysconfig/ethercat with your device address(mac address & )
8th # sudo update-ethercat-config
9th # sudo dpkg -i ethercat-dev_1.5.2-1_i386.deb
10th restart the machine to get the driver loaded at start. After that you can execute #
ethercat master in terminal
Install linuxcnc with lcec.
1st Download sittner linuxcnc modification with lcec inside
2nd unzip it
3rd modify /src/makefile due to there is a mistake inside:
cec.cec.
they have forgotten: hal/drivers/ethercat/lcec_el5101.o \
between hal/drivers/ethercat/lcec_el41x2.o \ and hal/drivers/ethercat/lcec_el5151.o \
4th install it
cd src
In the source directory, build LinuxCNC:
./autogen.sh (this builds the configure script)
./configure
make clean
make
sudo make setuid
To run the software go back to the top level directory, and issue:
source scripts/rip-environment (You must do that every time you want to execute it)
linuxcnc
Set up the IndraDrive
STEP 1
You have to install the software IndraWorks (here under Download) on Windows (It can run under
WINE but not very stable) and configure the drive to your need without fieldbus communication.
That means:
● limits, motor, control loops, main operation (position control)
● auto optimize positioning to your hardware needs with the ‘Easy Start-up’ mode within the
Software IndraWorks
● configure home switches
● …
You cannot yet configure the fieldbus communication EtherCAT in that way because you have to
have a functional Ethernet over EtherCAT (EoE) to do this. At fieldbus and the capability for
based on the requirements described above it’s not possible yet or I have not done the right
settings to get this
剩余10页未读,继续阅读
中华田园巨龙
- 粉丝: 151
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0