- Posts: 3
- Thank you received: 0
Ethercat HAL driver
- phoenix_83
- Offline
- New Member
-
yes, quilt is installed. But what should i do with it?
Sorry for my questions, but i am a newby...
regards
Heiko
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
I already have your error located!
edit the mercurial configuration file
you can continue compiling ...
regards
Chimeno
Please Log in or Create an account to join the conversation.
- narogon
- Offline
- Senior Member
-
- Posts: 43
- Thank you received: 14
Nico2017 wrote: Hi all,
I was wondering if there was a slave number limitation on the EtherCAT configuration for linuxcnc. I am trying to run a new device, the config xml file works fine when I plug the device alone, but my system crashes when I put it after 15 other slave on my EtherCAT bus.
Is such a limitation exists, is it overall, or is it per master? My computer has two Ethernet port, so maybe I could use the other one as another master. I am just wondering how I would parametrize it in the /etc/default/ethercat file.
Thank you,
Nicolas
There is a memory limitation on linuxcnc:
In src/hal/hal_priv.h ( github.com/LinuxCNC/linuxcnc/blob/master/src/hal/hal_priv.h )
you have two constant HAL_SIZE and HAL_STACK_SIZE
I've changed
and
Please Log in or Create an account to join the conversation.
- Nico2017
- Offline
- Premium Member
-
- Posts: 153
- Thank you received: 26
I did extend the HAL_SIZE previously. Will try extending the HAL_STACKSIZE too.
I am just wondering
- what are the difference between those two parameters?
- is there a physical limitation to extending. i guess you cannot put an number too high as at some point you are physically limited by your hardware. Is there a way to enlarge those sizes and compare it a relevant maximum value, to see how we are from this limit?
Nicolas
Please Log in or Create an account to join the conversation.
- manojpatil
- Offline
- New Member
-
- Posts: 10
- Thank you received: 0
I am facing the same problem with my Driver, Driver not going to Pr-Op state to Op-state, when I am trying to do that then it will give me the sync error.
can you please help me the How to set up my driver with Linuxcnc step by step???
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
- Posts: 295
- Thank you received: 125
If you can give more information of the device you are trying to control and the configuration you have so far or you can also pass the project in TWINCAT3 I can take a look if I can help you.
regards
Chimeno
Please Log in or Create an account to join the conversation.