EtherCAT + EL6751 Configuration
25 Jul 2021 17:16 #215889
by Columbo
EtherCAT + EL6751 Configuration was created by Columbo
Hello,
since 2 months I try to get LinuxCNC + Intel Corporation 82540EM (e1000 driver in Linux, but DEVICE_MODULES="generic" in /etc/defaut/ethercat) + Beckhoff EL6751 + CAN drive working, but at the moment there is no further movement.
I've Grotius Image installed:
uname -r -> 4.19.0-11-rt-amd64
and configured /etc/defaut/ethercat that way that ethercat slaves -v shows:
=== Master 0, Slave 0 ===
Alias: 1
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000002
Product code: 0x044c2c52
Revision number: 0x00100000
Serial number: 0x00000000
DL information:
FMMU bit operation: no
Distributed clocks: yes, delay measurement only
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0* MII up open yes - 1485700098 0 0
1 EBUS up open yes 1 1485700408 310 155
2 MII down closed no - - - -
3 N/A down closed no - - - -
General:
Group: SystemBk
Image name:
Order number: EK1100
Device name: EK1100 EtherCAT-Koppler (2A E-Bus)
Flags:
Enable SafeOp: no
Enable notLRW: no
Current consumption: -2000 mA
=== Master 0, Slave 1 ===
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000002
Product code: 0x1a5f3052
Revision number: 0x00130000
Serial number: 0x00000000
DL information:
FMMU bit operation: no
Distributed clocks: yes, 64 bit
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0* EBUS up open yes 0 1402962368 0 155
1 EBUS down closed no - - - -
2 N/A down closed no - - - -
3 N/A down closed no - - - -
Mailboxes:
Bootstrap RX: 0x1000/532, TX: 0x1800/532
Standard RX: 0x1800/558, TX: 0x1a2e/558
Supported protocols: AoE, CoE, FoE
General:
Group: Communication
Image name:
Order number: EL6751
Device name: EL6751 CANopen Master
CoE details:
Enable SDO: yes
Enable SDO Info: yes
Enable PDO Assign: no
Enable PDO Configuration: no
Enable Upload at startup: no
Enable SDO complete access: yes
Flags:
Enable SafeOp: no
Enable notLRW: no
Current consumption: 300 mA
What I read so far is, that this not bad, but now I do not know how to continue.
Can someone please tell me what are the next steps to get LinuxCNC drive my motors. At the moment, I do not need detailed steps like a tutorial, but an coarse guide how to go further...
Greetings
Robert
since 2 months I try to get LinuxCNC + Intel Corporation 82540EM (e1000 driver in Linux, but DEVICE_MODULES="generic" in /etc/defaut/ethercat) + Beckhoff EL6751 + CAN drive working, but at the moment there is no further movement.
I've Grotius Image installed:
uname -r -> 4.19.0-11-rt-amd64
and configured /etc/defaut/ethercat that way that ethercat slaves -v shows:
=== Master 0, Slave 0 ===
Alias: 1
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000002
Product code: 0x044c2c52
Revision number: 0x00100000
Serial number: 0x00000000
DL information:
FMMU bit operation: no
Distributed clocks: yes, delay measurement only
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0* MII up open yes - 1485700098 0 0
1 EBUS up open yes 1 1485700408 310 155
2 MII down closed no - - - -
3 N/A down closed no - - - -
General:
Group: SystemBk
Image name:
Order number: EK1100
Device name: EK1100 EtherCAT-Koppler (2A E-Bus)
Flags:
Enable SafeOp: no
Enable notLRW: no
Current consumption: -2000 mA
=== Master 0, Slave 1 ===
Device: Main
State: PREOP
Flag: +
Identity:
Vendor Id: 0x00000002
Product code: 0x1a5f3052
Revision number: 0x00130000
Serial number: 0x00000000
DL information:
FMMU bit operation: no
Distributed clocks: yes, 64 bit
DC system time transmission delay: 0 ns
Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]
0* EBUS up open yes 0 1402962368 0 155
1 EBUS down closed no - - - -
2 N/A down closed no - - - -
3 N/A down closed no - - - -
Mailboxes:
Bootstrap RX: 0x1000/532, TX: 0x1800/532
Standard RX: 0x1800/558, TX: 0x1a2e/558
Supported protocols: AoE, CoE, FoE
General:
Group: Communication
Image name:
Order number: EL6751
Device name: EL6751 CANopen Master
CoE details:
Enable SDO: yes
Enable SDO Info: yes
Enable PDO Assign: no
Enable PDO Configuration: no
Enable Upload at startup: no
Enable SDO complete access: yes
Flags:
Enable SafeOp: no
Enable notLRW: no
Current consumption: 300 mA
What I read so far is, that this not bad, but now I do not know how to continue.
Can someone please tell me what are the next steps to get LinuxCNC drive my motors. At the moment, I do not need detailed steps like a tutorial, but an coarse guide how to go further...
Greetings
Robert
Please Log in or Create an account to join the conversation.
25 Jul 2021 19:19 - 25 Jul 2021 19:20 #215901
by db1981
Replied by db1981 on topic EtherCAT + EL6751 Configuration
Hmm, the coarse guide:
-create an ethercat_conf.xml (linuxcnc ethercat) to map your can-pdos through ethercat-pdos to linuxcnc halpins ....
but this will get an very heavy task, especially setting up the 6751 by manual..
The easyiest way would be to create an working Twincat Config an then export and convert the el6751 pdo mapping and startup commands (config of the can communication) to an ethercat_conf xml.
github.com/sittner/linuxcnc-ethercat/blo.../ethercat-conf_X.xml
forum.linuxcnc.org/24-hal-components/383...servo-drives?start=0
-create an ethercat_conf.xml (linuxcnc ethercat) to map your can-pdos through ethercat-pdos to linuxcnc halpins ....
but this will get an very heavy task, especially setting up the 6751 by manual..
The easyiest way would be to create an working Twincat Config an then export and convert the el6751 pdo mapping and startup commands (config of the can communication) to an ethercat_conf xml.
github.com/sittner/linuxcnc-ethercat/blo.../ethercat-conf_X.xml
forum.linuxcnc.org/24-hal-components/383...servo-drives?start=0
Last edit: 25 Jul 2021 19:20 by db1981.
Please Log in or Create an account to join the conversation.
27 Jul 2021 06:06 #216019
by Columbo
Replied by Columbo on topic EtherCAT + EL6751 Configuration
Hello db1981,
thanks for your answer! The links you showed are interesting. I continiued my work yesterday with starting looking at the axis.ini, copied my own one and edited it.
My setup is nearly the same as Jimpanskis in your second link. So i use his ethercat_conf.xml to start playing around.
With the original setup in axis.ini, lcec couldn't get loaded, something like Invalid argument(-22) in rtapi_app. So I changed the list of loaded .hal files, created my own one and tested it. This is like 'Fischen im Trüben', as we call this process in germany, but it goes slightly forward now.
What makes me optimistic is, that now, during starting linuxcnc myaxis.ini the EK1100 blinks like hell and now i can also study the dmesg, because there are lot of messages to analyze during startup of linuxcnc.
A valid TC Config is not available yet, but i will continue work there, too. (My last error is, that the CAN Slaves are not getting a proper NMT?!?)
Greetings
Columbo
thanks for your answer! The links you showed are interesting. I continiued my work yesterday with starting looking at the axis.ini, copied my own one and edited it.
My setup is nearly the same as Jimpanskis in your second link. So i use his ethercat_conf.xml to start playing around.
With the original setup in axis.ini, lcec couldn't get loaded, something like Invalid argument(-22) in rtapi_app. So I changed the list of loaded .hal files, created my own one and tested it. This is like 'Fischen im Trüben', as we call this process in germany, but it goes slightly forward now.
What makes me optimistic is, that now, during starting linuxcnc myaxis.ini the EK1100 blinks like hell and now i can also study the dmesg, because there are lot of messages to analyze during startup of linuxcnc.
A valid TC Config is not available yet, but i will continue work there, too. (My last error is, that the CAN Slaves are not getting a proper NMT?!?)
Greetings
Columbo
Please Log in or Create an account to join the conversation.
22 Jun 2024 20:30 #303566
by xylos
Replied by xylos on topic EtherCAT + EL6751 Configuration
Hello Herr Columbo,
I am fishing in the same "trüben Teich".
Just started with the liniuxcnc thing ... my last project was a retrofit of an EMCO 3 axis router runing at MACH4.
Now I want retofit an old TOS with 5 Axis and LINUXCNC....
My equipment so far is a Beckhoff EK1100 and EL6751 (SLAVE), Dell Optiplex i7 SFF and some DELTA Servos (B3M).
The Servo motors are with CANopen so thats why the EL6751 should translate to EtherCAT - right?
Right now I am following tu get further...
Maybe you could give me some advice to get out of the struggle?
Thanks a lot in advance!
Jürgen
Could you share
I am fishing in the same "trüben Teich".
Just started with the liniuxcnc thing ... my last project was a retrofit of an EMCO 3 axis router runing at MACH4.
Now I want retofit an old TOS with 5 Axis and LINUXCNC....
My equipment so far is a Beckhoff EK1100 and EL6751 (SLAVE), Dell Optiplex i7 SFF and some DELTA Servos (B3M).
The Servo motors are with CANopen so thats why the EL6751 should translate to EtherCAT - right?
Right now I am following tu get further...
Maybe you could give me some advice to get out of the struggle?
Thanks a lot in advance!
Jürgen
Could you share
Please Log in or Create an account to join the conversation.
02 Jul 2024 19:30 #304270
by zmrdko
Replied by zmrdko on topic EtherCAT + EL6751 Configuration
I have similar setup, except I have b3 ethercat servos. But I have el6751, since I wanted to use CANOpen vfd. It is possible quite easy to make it work in Twincat. You just make sure you have CANOpen wiring right - you need 120 Ohm resistors on both ends.Hello Herr Columbo,
I am fishing in the same "trüben Teich".
Just started with the liniuxcnc thing ... my last project was a retrofit of an EMCO 3 axis router runing at MACH4.
Now I want retofit an old TOS with 5 Axis and LINUXCNC....
My equipment so far is a Beckhoff EK1100 and EL6751 (SLAVE), Dell Optiplex i7 SFF and some DELTA Servos (B3M).
The Servo motors are with CANopen so thats why the EL6751 should translate to EtherCAT - right?
Right now I am following tu get further...
Maybe you could give me some advice to get out of the struggle?
Thanks a lot in advance!
Jürgen
Could you share
The following user(s) said Thank You: xylos
Please Log in or Create an account to join the conversation.
15 Jul 2024 19:02 #305263
by endian
Replied by endian on topic EtherCAT + EL6751 Configuration
hello,
have anybody solved the el6751 canopen master working over ethercat please?
have anybody solved the el6751 canopen master working over ethercat please?
Please Log in or Create an account to join the conversation.
16 Jul 2024 10:47 #305340
by zmrdko
Replied by zmrdko on topic EtherCAT + EL6751 Configuration
what kind of hardware are you trying to hook up?
First thing would be make it work in TwinCAT, so that you are sure your wiring is correct and everything works.
Next step would be transfer of settings over to linuxcnc.
First thing would be make it work in TwinCAT, so that you are sure your wiring is correct and everything works.
Next step would be transfer of settings over to linuxcnc.
Please Log in or Create an account to join the conversation.
16 Jul 2024 11:06 #305342
by endian
Replied by endian on topic EtherCAT + EL6751 Configuration
I know but it is €400 euro for hardware... I want to know if it is possible to run ... .xml file if there are starup setup in the twincat XAE should be no pain...
If anybody has experiences Have you any please?
regards..
If anybody has experiences Have you any please?
regards..
Please Log in or Create an account to join the conversation.
16 Jul 2024 12:46 #305348
by zmrdko
Replied by zmrdko on topic EtherCAT + EL6751 Configuration
i have seen in other thread, that you are from Slovakia. Me too, PM me
Please Log in or Create an account to join the conversation.
17 Jul 2024 18:42 #305524
by endian
Replied by endian on topic EtherCAT + EL6751 Configuration
world is small everywhere... I can not to send the PM but I do not know why?! I have spamming mail at my profile right now... please text me anything till I will change it..i have seen in other thread, that you are from Slovakia. Me too, PM me
Please Log in or Create an account to join the conversation.
Time to create page: 0.133 seconds