- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat installation from repositories - how to step by step
Ethercat installation from repositories - how to step by step
- Sakhalin_Cat
- 
				  
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 22
- Thank you received: 7
			
	
						06 Sep 2024 22:14		 -  06 Sep 2024 22:16		#309529
		by Sakhalin_Cat
	
	
		
			
	
	
			 		
													
	
				Replied by Sakhalin_Cat on topic Ethercat installation  from repositories - how to step by step			
			
				I figured out the problem of this error. Maybe this information will help you:
When I installed the previous EtherCat-Master driver, I first used the compilation from source method, which installed the compiled driver 1.5.2 with the "make install" command, the installation ended with some error and I left everything as it was, after this installed the DKMS driver and everything worked. When reinstalling the DKMS 1.6.1 driver, it removes the 1.5.2 DKMS driver, but does not remove the remains of the 1.5.2 driver that was compiled with "make install". And you are left with the executable files of version 1.5.2 with the 1.6.1 driver installed.
You need to go to the folder with the source codes from where you compiled the driver and do "make uninstall", after which everything will be fine.
					When I installed the previous EtherCat-Master driver, I first used the compilation from source method, which installed the compiled driver 1.5.2 with the "make install" command, the installation ended with some error and I left everything as it was, after this installed the DKMS driver and everything worked. When reinstalling the DKMS 1.6.1 driver, it removes the 1.5.2 DKMS driver, but does not remove the remains of the 1.5.2 driver that was compiled with "make install". And you are left with the executable files of version 1.5.2 with the 1.6.1 driver installed.
You need to go to the folder with the source codes from where you compiled the driver and do "make uninstall", after which everything will be fine.
		Last edit: 06 Sep 2024 22:16  by Sakhalin_Cat.			
			Please Log in or Create an account to join the conversation.
- rodw
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 11460
- Thank you received: 3843
			
	
						08 Sep 2024 00:00				#309622
		by rodw
	
	
		
			
	
	
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			
				The issue is the source method installs its files in a different folder that the deb install does			
					
		The following user(s) said Thank You: COFHAL 	
			Please Log in or Create an account to join the conversation.
- Sakhalin_Cat
- 
				  
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 22
- Thank you received: 7
			
	
						08 Sep 2024 06:03				#309632
		by Sakhalin_Cat
	
	
		
			
	
	
			 		
													
	
				Replied by Sakhalin_Cat on topic Ethercat installation  from repositories - how to step by step			
			
				I think it is necessary to correct this misunderstanding and change the source codes so that the files in both installation options are in the same location. It took me a lot of effort to understand that the system contains remnants from the previous installation. And judging by the questions, I am not the only one who has encountered such a problem.			
					
		The following user(s) said Thank You: COFHAL 	
			Please Log in or Create an account to join the conversation.
- rodw
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 11460
- Thank you received: 3843
			
	
						08 Sep 2024 06:48				#309634
		by rodw
	
	
		
			
				
					
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			I don't think that is possible and in any case we don't have control of the ethercat master. Building from source is well and truly obsolete now.I think it is necessary to correct this misunderstanding and change the source codes so that the files in both installation options are in the same location. It took me a lot of effort to understand that the system contains remnants from the previous installation. And judging by the questions, I am not the only one who has encountered such a problem.
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 391
- Thank you received: 45
			
	
						10 Sep 2024 21:38				#309865
		by COFHAL
	
	
		
			
	
			
			 		
													
	
				Replied by COFHAL on topic Ethercat installation  from repositories - how to step by step			
			
				How to update ethercat, I have version 1.5 installed and it shows me an error I can't update it to IgH EtherCAT master 1.6.1 1.6.1			
					Please Log in or Create an account to join the conversation.
- rodw
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 11460
- Thank you received: 3843
			
	
						10 Sep 2024 23:51				#309872
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			
				Please follow the steps here
forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories
Then go back to the first post on this thread.
					forum.linuxcnc.org/ethercat/53785-instal...thercat-repositories
Then go back to the first post on this thread.
Please Log in or Create an account to join the conversation.
- bertoldo
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 39
- Thank you received: 0
			
	
						11 Sep 2024 19:17		 -  11 Sep 2024 19:25		#309936
		by bertoldo
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by bertoldo on topic Ethercat installation  from repositories - how to step by step			
			
				"Ethercat should be running. If the above command is not found, you have a problem
You can list the slaves if you type
ethercat slaves"
So far I found the servo everything fine... but then it didn't go, from my understanding there is no lcec_conf file...
raspberrypi4b 8 giga, servo ethercat I will add a xml of the drive too
					You can list the slaves if you type
ethercat slaves"
So far I found the servo everything fine... but then it didn't go, from my understanding there is no lcec_conf file...
raspberrypi4b 8 giga, servo ethercat I will add a xml of the drive too
Attachments:
		Last edit: 11 Sep 2024 19:25  by bertoldo.			
			Please Log in or Create an account to join the conversation.
- rodw
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 11460
- Thank you received: 3843
			
	
						12 Sep 2024 04:55				#309962
		by rodw
	
	
		
			
	
			
			 		
													
	
				Replied by rodw on topic Ethercat installation  from repositories - how to step by step			
			
				Sometimes the path needs modifying in the hal file where you load the ethercat driver. You need to share the errors printed in the console when you start linuxcnc from the command line for anybody to help			
					Please Log in or Create an account to join the conversation.
- bertoldo
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 39
- Thank you received: 0
			
	
						12 Sep 2024 12:22				#309997
		by bertoldo
	
	
		
			
	
			
			 		
													
	
				Replied by bertoldo on topic Ethercat installation  from repositories - how to step by step			
			
				Mine doesn't give any errors. It's just that I don't know how to configure it in Linux CNC.
After my run I'll make a video from start to finish and a manual to post here for those who have never opened Linux CNC.
I open Linux CNC and press to move the axes and the software acts as if everything is fine, but it's not. In fact, I've started the trial and error phase... I'm disoriented 
			
					After my run I'll make a video from start to finish and a manual to post here for those who have never opened Linux CNC.
I open Linux CNC and press to move the axes and the software acts as if everything is fine, but it's not. In fact, I've started the trial and error phase... I'm disoriented
 
			Please Log in or Create an account to join the conversation.
- jjdege
- 
				  
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 122
- Thank you received: 36
			
	
						12 Sep 2024 14:47				#310011
		by jjdege
	
	
		
			
				
					
	
	
			 		
													
	
				Replied by jjdege on topic Ethercat installation  from repositories - how to step by step			
			look here it might give you a starting pointI'm disoriented
		The following user(s) said Thank You: bertoldo 	
			Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat installation from repositories - how to step by step
		Time to create page: 0.358 seconds	
