- Posts: 26
- Thank you received: 0
Ethercat HAL driver
i am trying to use linuxcnc to control some machines using ethercat.
So far i have tryed with a Weidmuller ethercat module, i made the xml file like described in the tutorial, i couldn't find some parameteres, like watchdog, so i did not put them in the xml. do i need all the parameters? or can i do without some of them?
I didn't reached the OP state, giving an error, do i have to do more than the xml to reach this state?
For some ethercat modules like this or other beckhoff modules not in this list for example EL32xx modules what do i have to do to make them work?
Thanks for any answer, mngr0
Please Log in to join the conversation.
mngr0 wrote: Hi all, i am new in this forum,
i am trying to use linuxcnc to control some machines using ethercat.
So far i have tryed with a Weidmuller ethercat module, i made the xml file like described in the tutorial, i couldn't find some parameteres, like watchdog, so i did not put them in the xml. do i need all the parameters? or can i do without some of them?
I didn't reached the OP state, giving an error, do i have to do more than the xml to reach this state?
Missing Watchdog config should not be a show stopper as then the slave's default watchdog values are used.
Share your ethercat and linuxcnc logs as otherwise it is hard to guess which went wrong.
Please Log in to join the conversation.
i quite surely have failed something in the installation,
this morning i have tried installing compiling from source,
ethercat driver wiki , section Building: it compiled.
then halrun a file containing
it said "Enable to open shared memory, err=2, segmentation fault"
i think it is because i did not install the ethercat master... so here is my questions:
-do i have to install it? (i can use ethercat commands in the terminal, so i think it is installed)
-if i have to install it, is it before or after the ethercat driver?
-how do i start the ethercat master? i mean, i have to start it to talk with the ethercat slave...
the content of the file (with halrun commands) is copied from this forum, i thougth the "start" line started the master.
sorry for the dumb question,
mngr0
Please Log in to join the conversation.
What should be enabled? Do you quote ethercat or linuxcnc log?mngr0 wrote:
it said "Enable to open shared memory, err=2, segmentation fault"
Normally you install ethercat master before installing linucnc-ethercat by Sittner.
If ethercat slaves issued from command line shows reasonable output, than your master is already running.
Please Log in to join the conversation.
- plopes9000
- Offline
- Premium Member
-
- Posts: 87
- Thank you received: 0
I'm interested in adding support for the IL2301 B110. In particular I'm after using the IP Link to control Festo valve blocks.
I have multipoint valve blocks hooked up to my Linux cnc box, but would prefer to save the 16 digital ports (only really using 8 now) - besides it so much more elegant to control it via ethercat.
Could not find anything on the web, any pointers?
Thank you
Please Log in to join the conversation.
plopes9000 wrote: I'm interested in adding support for the IL2301 B110. In particular I'm after using the IP Link to control Festo valve blocks.
www.beckhoff.de/default.asp?fieldbus_box/il230x_b110.htmIt detects the connected modules and automatically allocates the input and output data to the process image.
So just write an XML description in order to try this slave out.
Please Log in to join the conversation.
sirop wrote:
What should be enabled? Do you quote ethercat or linuxcnc log?mngr0 wrote:
it said "Enable to open shared memory, err=2, segmentation fault"
I meant "Unable.. sorry for the horrible typo
today i installed igh master and then linuxcnc-ethercat driver using this commands:
Attachment not found
when i type
what did i do wrong?
still, thank sirop for the patience
Please Log in to join the conversation.
Please Log in to join the conversation.
so i don't have to install the ethercat master?
this is what i tried the first time, but i didn't know where is the file to configure the master and the one to start it.
Please Log in to join the conversation.
