Ethercat installation from repositories - how to step by step

More
3 years 11 months ago - 3 years 11 months ago #255902 by unromeo21
Hi everybody, 

I hope you can tollerate a total noob in here... and hope you don't mind me hijackingthis thread. 

Never installed a LinuxCNC yet, but I am in the process of trying to figure out if my servo drivers can be used with LinuxCNC and the HAL Cia402 interface before going down the rabbit hole and do any sort of testing and installations. 
I have a couple of Jenaer ECOSTEP 100 Servo aplifiers ( ECOstep 100) , which use either RS232, CANopen or Profibus DP for motion control. CiA402 is implemented, as far as I can see on these drivers, using the CANopen interface and DS301 in the RS232 interface. 

Now, all I can find on LinuxCNC are some small number of cases where people managed to use EtherCAT, but this is not my case. 
Will I be able to use the same EtherCAT methods to connect to a serial CANopen interface as well ? How would I go about doing that ? 
I see that there is a basic CANbus module for raspberry pi which is quite cheap and easy to get. Would that work ?

Also, just using basic RS232 with DS301 in LinuxCNC : I haven't found any such use cases before. 

So many questions. 

Thanks in advance for your support. 
 
Last edit: 3 years 11 months ago by unromeo21.

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

More
3 years 11 months ago #255905 by rodw
The issue could become communicating in real time on a serial interface. Often serial drivers are more for industrial use, not for motion control.
Beckhof I think has an ethercat to Canopen module but I don't know if its supported by lcnc.
Maybe Dominc or Corbett will come along as they are far more knowledgable than me.
The following user(s) said Thank You: CORBETT

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

More
3 years 11 months ago - 3 years 11 months ago #255983 by CORBETT
unromeo21

Yes CANopen works.

Have a look at this link where Dominik (db1981) responds about it
forum.linuxcnc.org/38-general-linuxcnc-q...ible-to-refit#218931


Also, Albert Chimeno (Chimeno) wrote out a "generic" file for a CANbus application.  Take a look at this link also:
forum.linuxcnc.org/ethercat/22346-etherc...ver?start=760#146753
and take a look at this
forum.linuxcnc.org/ethercat/38338-etherc...-servo-drives#156898


Also, unless I am wrong, Albert Chimeno wrote out the code for the EL6751.  I will check and see when I get a chance.  He posted code for several Beckhoff terminals in the past.
*EDIT*
I think Chimeno did the RS232 terminal also... will have to check.
Last edit: 3 years 11 months ago by CORBETT. Reason: added info

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

More
3 years 11 months ago #255986 by CORBETT

Maybe Dominc or Corbett will come along as they are far more knowledgable than me.
 

I don't know that much LOL, only try to help and hopefully not screw someone up

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

More
3 years 11 months ago #255988 by rodw

I don't know that much LOL, only try to help and hopefully not screw someone up
[/quote]

From your last post (and others) your knowledge of ethercat is way better than mine!
I just worked out how to install it as there was no way forward on Bullseye before I started using the debs...
The beauty of this installation method is its multi platform.... I have done it on a pi but they are not easy to get lcnc and preempt_rt installed
The following user(s) said Thank You: CORBETT

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

More
3 years 11 months ago #256187 by CORBETT
Rod,
I appreciate that coming from you!!! 
The following user(s) said Thank You: tommylight, rodw

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

Time to create page: 0.170 seconds
Powered by Kunena Forum