- Posts: 3
- Thank you received: 0
Ethercat HAL driver
- phoenix_83
- Offline
- New Member
-
Less
More
6 years 9 months ago #154227
by phoenix_83
Replied by phoenix_83 on topic Ethercat HAL driver
Hi Nicolas,
thank you for your fast answer.
I am using Debian GNU/Linux 9 \n \l (cat /etc/issue) and I also checked the version by using uname -a and the following answer appears:
Linux linuxcnc 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
Does the amd64 mean that the kernel is only for amd prozessors? I use an Dell Optiplex 9020 with an Intel i5.
Sorry but this are all informations i can find.
is it possible, that you give me another hint?
thanks
thank you for your fast answer.
I am using Debian GNU/Linux 9 \n \l (cat /etc/issue) and I also checked the version by using uname -a and the following answer appears:
Linux linuxcnc 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux
Does the amd64 mean that the kernel is only for amd prozessors? I use an Dell Optiplex 9020 with an Intel i5.
Sorry but this are all informations i can find.
is it possible, that you give me another hint?
thanks
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 9 months ago - 6 years 9 months ago #154237
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hi Corbett,
Thank you very much for everything, just try to have a good time fun and share it with you, many times it is difficult to program things without having much knowledge, for the chopper module if you use it you will have to load the configuration file for the work stress levels.
For the question you have about this error lcec_conf: ERROR: Analysis error on line 6: aborted analysis, it is simply that you should have a misspelling in the configuration .xml file, can you check if it is like this?
if you want you can publish your .xml file and we take a look
Ideally, configure EL7041 using TWINCAT3
if you can add the EL7041-0000, no problem
The EL7041-0001 and EL7041-1000 have the same generic PDO pre-defined, it should work without problems.
Greeting
Chimeno
Thank you very much for everything, just try to have a good time fun and share it with you, many times it is difficult to program things without having much knowledge, for the chopper module if you use it you will have to load the configuration file for the work stress levels.
For the question you have about this error lcec_conf: ERROR: Analysis error on line 6: aborted analysis, it is simply that you should have a misspelling in the configuration .xml file, can you check if it is like this?
Code:
<slave idx = "1" type = "EL7041-1000" name = "EL7041" />
if you want you can publish your .xml file and we take a look
Ideally, configure EL7041 using TWINCAT3
if you can add the EL7041-0000, no problem
The EL7041-0001 and EL7041-1000 have the same generic PDO pre-defined, it should work without problems.
Greeting
Chimeno
Last edit: 6 years 9 months ago by chimeno. Reason: more information
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 9 months ago #154239
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello again Nico2017,
to my knowledge there is no limited number of devices, if the system crashes it is because you have poorly configured PDOs, also if you have more different PDOs and they do not enter this device, they will affect the following device and will also enter into failure mode, to Sometimes the order of the devices is also important, since each one consumes different relog cycles and causes delays that affect the state of the next device, performed tests with 40 devices in series and without problem, currently in my system I have it due in 2 ethercat masters, some for servos and another for inputs and outputs, if you want I can help you have two teachers, it's really easy.
regards
Chimeno
to my knowledge there is no limited number of devices, if the system crashes it is because you have poorly configured PDOs, also if you have more different PDOs and they do not enter this device, they will affect the following device and will also enter into failure mode, to Sometimes the order of the devices is also important, since each one consumes different relog cycles and causes delays that affect the state of the next device, performed tests with 40 devices in series and without problem, currently in my system I have it due in 2 ethercat masters, some for servos and another for inputs and outputs, if you want I can help you have two teachers, it's really easy.
regards
Chimeno
The following user(s) said Thank You: Nico2017
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 9 months ago - 6 years 9 months ago #154241
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hello phoenix_83
Do you have Quilt installed?
regards
Chimeno
Do you have Quilt installed?
Code:
sudo apt-get install quilt
regards
Chimeno
Last edit: 6 years 9 months ago by chimeno. Reason: Edit
Please Log in or Create an account to join the conversation.
- chimeno
- Offline
- Elite Member
-
Less
More
- Posts: 295
- Thank you received: 125
6 years 9 months ago #154245
by chimeno
Replied by chimeno on topic Ethercat HAL driver
hello manojpatil,
The attached .xml file is the configuration file I suppose created by TWINCAT3 ?? I think it is not in the correct format, as I can see in the file are you trying to control the SINEE EA100N servo controller
If you are finalizing linuxcnc-ethercat does not include this controller, do you know programming to make your own? if not the best is that you use the generic.
regards
Chimeno
The attached .xml file is the configuration file I suppose created by TWINCAT3 ?? I think it is not in the correct format, as I can see in the file are you trying to control the SINEE EA100N servo controller
If you are finalizing linuxcnc-ethercat does not include this controller, do you know programming to make your own? if not the best is that you use the generic.
regards
Chimeno
Please Log in or Create an account to join the conversation.
- Nico2017
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 26
6 years 9 months ago - 6 years 9 months ago #154265
by Nico2017
Replied by Nico2017 on topic Ethercat HAL driver
Hi Chimeno,
thanks for the input for absence of limitation of EtherCAT slave. I actually tried with two masters, without success so far, but it is nice to have this ability I think. I will reinvestigate my .xml file, I think the issue could potentially be linked to a DC config issue as you relate it in your previous post:
Thank you,
Nicolas
thanks for the input for absence of limitation of EtherCAT slave. I actually tried with two masters, without success so far, but it is nice to have this ability I think. I will reinvestigate my .xml file, I think the issue could potentially be linked to a DC config issue as you relate it in your previous post:
Still not a 100% familiar with the concept involved, so if your understanding of this command line has progressed and there is a method to determine each parameter value, that would be really helpful.<dcConf assignActivate = "730" sync0Cycle = "125000" sync0Shift = "0" sync1Cycle = "875000" sync1Shift = "0 />
Thank you,
Nicolas
Last edit: 6 years 9 months ago by Nico2017. Reason: Better explanation
Please Log in or Create an account to join the conversation.
Time to create page: 0.237 seconds