Ver 2.9.4 iso clean install Trouble when disabling EOE

More
10 months 1 week ago #340489 by tar_san
Thank you so much.
I tried multiple times, but I get the same result.

I installed ethercat-master using "linuxcnc-ethercat" package (that include some packages ) . and that may caused some issue for replacing ethercat master.

Do I need to install some packages separately, step by step ?
Unfortunatelly, I'm not familier to do this and I could not find proper procedures so far.

Do you know some web links or somethings to instruct this procedures to do this?

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

More
10 months 1 week ago #340490 by Hakan
It can be that linuxcnc-ethercat disturbs the process. It must be removed too.
I think this way is the best after all. The other way with changing a bit in the eeprom is even more complicated with ned tools.

I went through the disabling of EoE on a development system I have. Here is the list of commands
Code:
sudo apt purge ethercat-master ethercat-dkms linuxcnc-ethercat cd ~/src cd ethercat/ make clean ./bootstrap ./configure --sysconfdir=/etc --disable-eoe make all modules sudo make modules_install install ip a                                      # for mac address in next step sudo vi /etc/ethercat.conf    # insert mac and "generic" driver sudo systemctl start ethercat ethercat slaves sudo dmesg | tail -20 sudo apt install linuxcnc-uspace linuxcnc-uspace-dev     # probably already installed cd ~/src git clone https://github.com/linuxcnc-ethercat/linuxcnc-ethercat    # if it isn't installed already cd linuxcnc-ethercat/ make sudo make install
At this point you should be able to start linuxcnc.
Check syslog for EoE appearances.
Take it step by step.
 

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

More
10 months 1 week ago #340492 by automata
For Yaskawa Sigma7 the issue with lcec (linuxcnc-ethercat) software component is not only EOE being enabled in the drive.

It also has something to do with modes LRD/LWR and LRW. In the sigma7, the PDOs in the syncMasters are not read-write, i.e., LRW mode is not supported by sigma7. To work with sigma7, you need to enable 2 domains in the lcec program. I am not sure how to do that yet.

This issue is documented in these forum threads:
forum.linuxcnc.org/ethercat/50245-yasikawa-sigma7-lcec-driver
forum.linuxcnc.org/ethercat/48110-etherc...-responding?start=40

I have tried using this program from github.com/nylon7 and fdarling (on the yaskawa thread in the linuxcnc forum) and have seen some success in enabling the sigma7 motor and moving it and reading the absolute position register over ethercat.

github.com/nylon7/Igh-Ethercat-master/bl...ples/user/main_yas.c

For doing this, I am using the IGH Ethercat master 1.6-stable with EOE disabled as documented by Hakan.

I think we need to make some changes in lcec to enable the use of two domains.

-automata

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

More
10 months 1 week ago #340493 by Hakan
So, there is a much bigger issue with lcec supporting LWR and Yaskawa drives requiring LRD/LRW.

I followed some of your links and while there is some success, there are also very pessimistic opinions
on rewriting of lcec_main. Maybe it is possible to take some of the success and shoehorn it into something?

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

More
10 months 6 days ago #340518 by automata
 It seems user fdarling has got yaskawa drives working with ethercat and lcec based on this response on the original sittner/linuxcnc-ethercat repo.

github.com/sittner/linuxcnc-ethercat/issues/121

Based on the original suggestions in github.com/nylon7/Igh-Ethercat-master/bl...ples/user/main_yas.c, I also have gotten yaskawa drives to work with linuxcnc without using lcec.
I have attached the program to this mail. 

File Attachment:

File Name: yaskawa_ha...rcat.zip
File Size:3.93 KB

The next step is to make a separate yaskawa driver in lcec like delta ASDA or omron drives to service yaskawa sigma7 drives.

-automata 

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

More
10 months 6 days ago - 10 months 6 days ago #340523 by tar_san
Thank you so much, Mr.Hakan.

I installed "go" package and then everything seems to be successful.

I appreciate your kindness.

I will try to connec YASKAWA Servo tomorrow.
Last edit: 10 months 6 days ago by tar_san.

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

Time to create page: 0.361 seconds
Powered by Kunena Forum