- Posts: 22010
- Thank you received: 3
Ethercat HAL driver
- tommylight
-
- Away
- Administrator
-
Less
More
6 years 8 months ago #158236
by tommylight
Replied by tommylight on topic Ethercat HAL driver
Yup that should get rid of that 90 second wait.
Please Log in to join the conversation.
6 years 8 months ago #158240
by jirkam
Replied by jirkam on topic Ethercat HAL driver
Hi
Still waiting 90 seconds. But I don't mind that much.
Rather, I need to solve the PREOP for EL4004.
If anyone had any advice I would be very happy.
Thank you.
Still waiting 90 seconds. But I don't mind that much.
Rather, I need to solve the PREOP for EL4004.
If anyone had any advice I would be very happy.
Thank you.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 8 months ago #158241
by tommylight
Replied by tommylight on topic Ethercat HAL driver
Strange, that always does it for me.
Maybe it is waiting for something else, but the only other thing i can think of it the network, and that usually waits a bit and it gets backgrounded so the boot process can continue.
Maybe it is waiting for something else, but the only other thing i can think of it the network, and that usually waits a bit and it gets backgrounded so the boot process can continue.
Please Log in to join the conversation.
6 years 8 months ago #158242
by jirkam
Replied by jirkam on topic Ethercat HAL driver
I edited:
- Avoid waiting time to start up network services
"nano /lib/systemd/system/networking.service" (change here "TimeoutStartSec = 5min" to "TimeoutStartSec = 1sec")
But I had to set 20 seconds. When it was less, the system did not connect to the Internet.
Maybe that's why she waits.
- Avoid waiting time to start up network services
"nano /lib/systemd/system/networking.service" (change here "TimeoutStartSec = 5min" to "TimeoutStartSec = 1sec")
But I had to set 20 seconds. When it was less, the system did not connect to the Internet.
Maybe that's why she waits.
Please Log in to join the conversation.
6 years 8 months ago #158325
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hi @jirKam,
Can you try only this module?
Does TWINCAT3 work for you?
greeting
Chimeno
Can you try only this module?
Does TWINCAT3 work for you?
Code:
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
<slave idx="0" type="EK1100" name="EK1100"/>
<slave idx="1" type="EL4004" name="EL4004"/>
</master>
</masters>
Chimeno
Please Log in to join the conversation.
6 years 8 months ago #158330
by jirkam
Replied by jirkam on topic Ethercat HAL driver
Hi @chimeno.
Thank you for your response.
The module itself is also PREOP.
Twincat I tried only version "2". But I couldn't connect. I also wondered if there is a problem in the module. I will try to download Twincat 3. Which version should I download? There are 10 pieces.
Thank you.
Jirka
Thank you for your response.
The module itself is also PREOP.
Twincat I tried only version "2". But I couldn't connect. I also wondered if there is a problem in the module. I will try to download Twincat 3. Which version should I download? There are 10 pieces.
Thank you.
Jirka
Please Log in to join the conversation.
6 years 8 months ago #158367
by jirkam
Replied by jirkam on topic Ethercat HAL driver
Hi @chimeno
"It is OP" !!!
I tried "EtherCAT_Configurator" and found that "#define LCEC_EL4004_PID 0x0fc23052" in the "lcec_el40x4.h" file does not match.
I wrote "0x0fa43052". And it works.
But I still have errors when I start my PC. And I don't know what to do with it.
Can you advise me?
Thank you very much.
Jirka
"It is OP" !!!
I tried "EtherCAT_Configurator" and found that "#define LCEC_EL4004_PID 0x0fc23052" in the "lcec_el40x4.h" file does not match.
I wrote "0x0fa43052". And it works.
But I still have errors when I start my PC. And I don't know what to do with it.
Can you advise me?
Thank you very much.
Jirka
Please Log in to join the conversation.
6 years 8 months ago #158421
by chimeno
Replied by chimeno on topic Ethercat HAL driver
Hi @Jirka
I am very happy that everything works, I only have EL4034, in relation to the error, it seems an error in the device number 5, although I am not sure why it gives you error when starting the PC.
to see the error messages you can use the command
greeting
Chimeno
I am very happy that everything works, I only have EL4034, in relation to the error, it seems an error in the device number 5, although I am not sure why it gives you error when starting the PC.
Twincat I tried only version "2". But I couldn't connect. I also wondered if there is a problem in the module. I will try to download Twincat 3. Which version should I download? There are 10 pieces.
Code:
TwinCAT 3.1 – eXtended Automation Engineering (XAE) 3.1.4024.7
to see the error messages you can use the command
Code:
dmesg
greeting
Chimeno
Please Log in to join the conversation.
6 years 8 months ago #158422
by jirkam
Replied by jirkam on topic Ethercat HAL driver
Hi @chimero
Thank you very much for your support.
Where can I copy text that is on PC startup? I won't have to do .jpg.
Thank you very much.
Jirka
Thank you very much for your support.
Where can I copy text that is on PC startup? I won't have to do .jpg.
Thank you very much.
Jirka
Please Log in to join the conversation.
- Sockheaven
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
6 years 7 months ago #159150
by Sockheaven
Replied by Sockheaven on topic Ethercat HAL driver
Hi All,
I have been trying to get LinuxCNC working with EtherCAT and a Kollmorgen AKD Servo Drive.
I have been posting on this other thread:
forum.linuxcnc.org/27-driver-boards/3559...tall?start=60#159103
But I'm stuck on one last thing, and after sifting through this thread, you guys sound like the right audience. I didn't notice any other posts in here indicating the same problem though.
Basically I'm getting data to/from the drive, i started off using StepGen to control the AKD but now i'm using that project to cobble together an EtherCAT setup so i can update my mill and get rid of some signal issues i've got (low voltage parallel port).
Forgive the mess in the HAL/INI files, so don't assume anything is there on purpose and a bit is commented out. I had to use the SCALE HAL component to handle scaling (it's arbitrary right now).
The problem I have not been able to figure out is:
How do i get the EtherCAT/Can state machine to operate based on the enable/disable button in LinuxCNC?
My understanding is it's not a simple bit, the control word (which i have mapped in the pdo section) has to change a few values in sequence for the device to enable/disable, but i haven't found an example of anyone else doing that to enable/disable.
Anyone have an inkling what i'm missing?
I have been trying to get LinuxCNC working with EtherCAT and a Kollmorgen AKD Servo Drive.
I have been posting on this other thread:
forum.linuxcnc.org/27-driver-boards/3559...tall?start=60#159103
But I'm stuck on one last thing, and after sifting through this thread, you guys sound like the right audience. I didn't notice any other posts in here indicating the same problem though.
Basically I'm getting data to/from the drive, i started off using StepGen to control the AKD but now i'm using that project to cobble together an EtherCAT setup so i can update my mill and get rid of some signal issues i've got (low voltage parallel port).
Forgive the mess in the HAL/INI files, so don't assume anything is there on purpose and a bit is commented out. I had to use the SCALE HAL component to handle scaling (it's arbitrary right now).
The problem I have not been able to figure out is:
How do i get the EtherCAT/Can state machine to operate based on the enable/disable button in LinuxCNC?
My understanding is it's not a simple bit, the control word (which i have mapped in the pdo section) has to change a few values in sequence for the device to enable/disable, but i haven't found an example of anyone else doing that to enable/disable.
Anyone have an inkling what i'm missing?
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.324 seconds
