Ethercat-conf.xml with beckhoff el1008
- vibram
- Offline
- Junior Member
- Posts: 37
- Thank you received: 1
First I'm sorry if this kind of question has already been asked but couldn't find the answer.
I have some common beckhoff modules such as 1008
They are supported by Linuxcnc Ethercat but I would like to understand how to build the config xml file. I understood the first slave part then the sync but I'm struggling with the PDO part. How to gather and understand the requested data?
Thank you in advance
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
[code]<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="5">
<slave idx="0" type="EK1100" name="EK1100"></slave>
<slave idx="1" type="EL1008" name="EL1008-In"></slave>
</master>
</masters>
[code]Then you should end up with a EL1008-In listed in your Pins and can just use in normal HAL
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="5">
<slave idx="0" type="EK1100" name="EK1100"></slave>
<slave idx="1" type="EL1008" name="EL1008-In"></slave>
</master>
</masters>
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
github.com/linuxcnc-ethercat/linuxcnc-et...mentation/DEVICES.md
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
- Posts: 37
- Thank you received: 1
here is my result of ethercat slaves:
0 0:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)
1 0:1 PREOP + EL2008 8K. Dig. Ausgang 24V, 0.5A
2 0:2 PREOP + EL1008 8K. Dig. Eingang 24V, 3ms
3 0:3 PREOP + EL1018 8K. Dig. Eingang 24V, 10�s
my xml file is attached
and a print screen of what I have in Hal show. My pins are not visible
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
do you have something similar to
loadusr -W lcec_conf ethercat-conf.xml
You also seem to be missing the Readall / writeall for lcec can you post your hal?
In your xml? and when you start from the cmdline are you getting any errors?
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
If you dont have a ECT drive then remove that from the xml and just configure a single drive in your Hal and it should start up.
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
- Posts: 37
- Thank you received: 1
And I added the read all /write all and tested inputs and ooutputs, great
I think I put these 2 rows
loadusr -W lcec_conf ethercat-conf.xml
loadrt lcec
maybe too early in the file compared to my Mesa card? is it possible ?
Please Log in or Create an account to join the conversation.
- daveyr
- Away
- Junior Member
- Posts: 27
- Thank you received: 11
Please Log in or Create an account to join the conversation.