Ethercat HAL driver
Hi guys,
added the module EL1819 to the standard configuration, greetings Chimeno
Hello.
Please, give me an advice.
He copied the files for EL1819 to "/ git / linuxcnc-ethercat / src" and still writes to me:
lcec_conf: ERROR: Invalid slave type EL1819
lcec_conf: ERROR: Parse Error at Line 5: Parsing Aborted
./CNC_Router_YYXZ.hal:11: waitpid failed lcec_conf lcec_conf
./CNC_Router_YYXZ.hal:11: lcec_conf exited without getting ready
EL2809 works correctly.
What am I doing wrong?
Second query: EL1819 is no longer in the later "lcec_conf.c". Why?
Thank you very much.
Please Log in or Create an account to join the conversation.
I am trying to add an additional EtherCAT card EL4004.
I have generated the lcec_el4004.c files and lcec_el40x4.c and put them into the linuxcnc-ethercat/src directory.
After modifying the Kbuild, lcec_conf.h, lcec_conf.c, lcec_main.c accordingly
I have managed to recompile:
cd linuxcnc-ethercat
sudo make clean
sudo make -j4
cp src/lcec.so ~/linuxnc -dev/rtlib/
Thank you for your help,
Nicolas
Please Log in or Create an account to join the conversation.
- manojpatil
- Offline
- New Member
- Posts: 10
- Thank you received: 0
I have EA180E Ethercat driver, servo motor and Igh Ethercat master.(etherlab.org)
& sample( test run )source code.
I am using Twincat 3 for Pdo mapping and test run.
can you share with me the TWINCAT3 forum link where I can share above query?.
Please Log in or Create an account to join the conversation.
Hi jirkamHello.
Please, give me an advice.
He copied the files for EL1819 to "/ git / linuxcnc-ethercat / src" and still writes to me:
lcec_conf: ERROR: Invalid slave type EL1819
lcec_conf: ERROR: Parse Error at Line 5: Parsing Aborted
./CNC_Router_YYXZ.hal:11: waitpid failed lcec_conf lcec_conf
./CNC_Router_YYXZ.hal:11: lcec_conf exited without getting ready
surely you need to add the device in some file, can you pass me the linuxcnc-ethercat folder and I check it?
should be in the archiveSecond query: EL1819 is no longer in the later "lcec_conf.c". Why?
greeting
Chimeno
Please Log in or Create an account to join the conversation.
Then I am missing the last steps for the update, cannot remember what are the last files that need to be pushed in a specific location. I am not using the run in place linuxcnc but the linuxcnc install and working on the whole system. The EL4004 is still indicated as missing when launching the lcec from linuxcnc .
Hi Nico2017
I do not understand very well how you are doing, I simply do it this way and it works well.
cd linuxcnc-ethercat
sudo make clean
sudo make -j4
sudo make install
greeting
Chimeno
Please Log in or Create an account to join the conversation.
Hi manojpatilcan you share with me the TWINCAT3 forum link where I can share above query?.
Sorry for my English translator, I'm not in any TWINCAT3 forum, you can pass me the project and have a look.
Attached configuration file of the linuxcnc-ethercat generic driver for your example, if it can help you.
greeting
Chimeno
Please Log in or Create an account to join the conversation.
Thank you very much for your interest.
Here are the files. EL1819
I will be grateful.
And I still have to put the EL3064 into operation.
Thanks
Jirkam
jirka@CNCRouter:~$ uname -a
Linux CNCRouter 4.9.0-11-rt-686-pae #1 SMP PREEMPT RT Debian 4.9.189-3+deb9u2 (2019-11-11) i686 GNU/Linux
Please Log in or Create an account to join the conversation.
thanks for the reminder.
Anyone experiencing with a generic slave some issues while stopping linuxcnc? The test I am doing stays stopped at
EtherCAT 0: Stopping EoE thread
BUG: unable to handle kernel paging request at
Thank you,
Nicolas
PS: edit, I solved it.
I was actually using a relatively dated EtherCAT master version. At that time I used the ec-debianize install and ended up with a version dated from 17 03 2018. Redoing it lately I ended up with a version from 04 09 2019. As shown on hg.code.sf.net/p/etherlabmaster/code there has been few updates possibly correcting issues was the EoE deactivation step between those two dates. On the hardware point of view, I also made sure that all my Ethernet cables were with shielded ends and verified the grounding for all components (computer + slaves).
Please Log in or Create an account to join the conversation.
you need to edit the Kbuild file for device compilation I attached it modified and compiled, it works fine.
regards
Chimeno
Please Log in or Create an account to join the conversation.
Thank you very much.
I did compile (compile.txt) and I probably did something wrong. (linuxcnc.txt)
But before "sudo make install" linuxcnc started (EL1819.png) but did not respond to input. I don't even know if I tested it correctly.
I connected 24V and input. Is it right? I don't trust myself anymore.
Can you advise me?
Must be a PC restart?
Thanks a lot . Jirka
Please Log in or Create an account to join the conversation.