- Posts: 3
- Thank you received: 0
linuxcnc ethercat lcec issue
- superbird688
- Topic Author
- Offline
- New Member
-
Less
More
9 years 7 months ago #89404
by superbird688
linuxcnc ethercat lcec issue was created by superbird688
Hi experts!
I am just touching this clever cnc software but in the stage of initialization with ethercat
Here is my simple hal test run:
loadusr -W lcec_conf ethercat_config_n.xml
loadrt lcec
loadrt trivkins
loadrt motmod base_period_nsec=0 servo_period_nsec=1000000 num_joints=1
addf lcec.read-all servo-thread
addf lcec.write-all servo-thread
start
And as I run linuxcnc selecting one I generated, it shows the following message
could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/lcec.ko: Invalid parameters
I use intel pro1000 , under linuxcnc 2.7.8 , I as well tried 8139too but still having this trouble
By the way my servo ASDA-A2 Delta Electronics
Please help.....Thanks in advance!
I am just touching this clever cnc software but in the stage of initialization with ethercat
Here is my simple hal test run:
loadusr -W lcec_conf ethercat_config_n.xml
loadrt lcec
loadrt trivkins
loadrt motmod base_period_nsec=0 servo_period_nsec=1000000 num_joints=1
addf lcec.read-all servo-thread
addf lcec.write-all servo-thread
start
And as I run linuxcnc selecting one I generated, it shows the following message
could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/lcec.ko: Invalid parameters
I use intel pro1000 , under linuxcnc 2.7.8 , I as well tried 8139too but still having this trouble
By the way my servo ASDA-A2 Delta Electronics
Please help.....Thanks in advance!
Please Log in or Create an account to join the conversation.
9 years 7 months ago #89511
by andypugh
Replied by andypugh on topic linuxcnc ethercat lcec issue
Is there any more information in dmesg?
Looking at the source most of the faults print an explanatory message prior to giving up.
You could try an even simpler test file (don't load trivkins, and use "loadrt threads" instead of motomod, and then addf ... thread1 ) However that probably won't help.
What Linux kernel are you using (uname -a)
Looking at the source most of the faults print an explanatory message prior to giving up.
You could try an even simpler test file (don't load trivkins, and use "loadrt threads" instead of motomod, and then addf ... thread1 ) However that probably won't help.
What Linux kernel are you using (uname -a)
Please Log in or Create an account to join the conversation.
9 years 7 months ago #89526
by db1981
Replied by db1981 on topic linuxcnc ethercat lcec issue
first check if your ethercat master ist working.
simply type in terminal : ethercat slaves
if your slaves are shown there, the problem is in LCNC or your config xml.
simply type in terminal : ethercat slaves
if your slaves are shown there, the problem is in LCNC or your config xml.
Please Log in or Create an account to join the conversation.
9 years 7 months ago #89587
by Wirewrap
Replied by Wirewrap on topic linuxcnc ethercat lcec issue
Is base_period=0 an accepted value? If you want no base period, just leave it out.
Please Log in or Create an account to join the conversation.
- superbird688
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
9 years 7 months ago - 9 years 7 months ago #89670
by superbird688
Replied by superbird688 on topic linuxcnc ethercat lcec issue
Thanks for all your help.
I went back to my problem and it was something wrong with my ethercat-config xml file.
I modified 5 servo slaves with type="DeAsda" since mine are Delta electronics motors, and luckily it has
deasda.h and c in the src already.
But if the motors are something else than asda, I might have trouble since i can't be sure if my generic type of xml
is good to go....
I went back to my problem and it was something wrong with my ethercat-config xml file.
I modified 5 servo slaves with type="DeAsda" since mine are Delta electronics motors, and luckily it has
deasda.h and c in the src already.
But if the motors are something else than asda, I might have trouble since i can't be sure if my generic type of xml
is good to go....
Last edit: 9 years 7 months ago by superbird688.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #96819
by dan.k
Replied by dan.k on topic linuxcnc ethercat lcec issue
Hi all,
I saw that you are using ASDA-A2-E with Linux CNC. Please, can you describe me the procedure of loading configuration for this servo drive? Do I need XML file or can I load deasda.c somehow?
I will appreciate your help
Thank you in advance
I saw that you are using ASDA-A2-E with Linux CNC. Please, can you describe me the procedure of loading configuration for this servo drive? Do I need XML file or can I load deasda.c somehow?
I will appreciate your help
Thank you in advance
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds