Ethercat HAL driver

More
6 years 8 months ago #156408 by jirkam
Replied by jirkam on topic Ethercat HAL driver

chimeno wrote: 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.

More
6 years 8 months ago - 6 years 8 months ago #156411 by Nico2017
Replied by Nico2017 on topic Ethercat HAL driver
Hi all,
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:
Code:
cd linuxcnc-ethercat sudo make clean sudo make -j4 cp src/lcec.so ~/linuxnc -dev/rtlib/
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 .

Thank you for your help,
Nicolas
Last edit: 6 years 8 months ago by Nico2017.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156436 by manojpatil
Replied by manojpatil on topic Ethercat HAL driver
Hello sir,

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.

More
6 years 8 months ago #156469 by chimeno
Replied by chimeno on topic Ethercat HAL driver

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

Hi jirkam
surely you need to add the device in some file, can you pass me the linuxcnc-ethercat folder and I check it?

Second query: EL1819 is no longer in the later "lcec_conf.c". Why?

should be in the archive

greeting
Chimeno

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156470 by chimeno
Replied by chimeno on topic Ethercat HAL driver

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.
Code:
cd linuxcnc-ethercat sudo make clean sudo make -j4 sudo make install

greeting
Chimeno
The following user(s) said Thank You: Nico2017

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #156472 by chimeno
Replied by chimeno on topic Ethercat HAL driver

can you share with me the TWINCAT3 forum link where I can share above query?.

Hi manojpatil
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
Last edit: 6 years 8 months ago by chimeno.

Please Log in or Create an account to join the conversation.

Time to create page: 0.151 seconds
Powered by Kunena Forum