MESA 7I76E Analog out, dir and en not working
- nonkeldw
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 39
- Thank you received: 0
			
	
						28 Apr 2017 18:02				#92294
		by nonkeldw
	
	
		
			
	
			
			 		
													
	
				Replied by nonkeldw on topic MESA 7I76E Analog out, dir and en not working			
			
				Thanks for your reply.
After changing the counter-mode to 1 and inverting the count direction.
When i watch encoder.00.position for a while, i see that the value is drifting away, but the spindel stay on the same speed...
Thanks.
					After changing the counter-mode to 1 and inverting the count direction.
When i watch encoder.00.position for a while, i see that the value is drifting away, but the spindel stay on the same speed...
Thanks.
Please Log in or Create an account to join the conversation.
- nonkeldw
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 39
- Thank you received: 0
			
	
						28 Apr 2017 18:13				#92295
		by nonkeldw
	
	
		
			
	
			
			 		
													
	
				Replied by nonkeldw on topic MESA 7I76E Analog out, dir and en not working			
			
				Maybe i'm wrong, but is there feedback from the PID to my spindle?
Thanks!
					Thanks!
Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17371
- Thank you received: 5064
			
	
						28 Apr 2017 18:32				#92297
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic MESA 7I76E Analog out, dir and en not working			
			
				Your hal file does not use PID for the spindle (the analog out is set directly by LinuxCNC from gcode)
The encoder feedback is for threading, and the position should advance
by 1.0 for each forward turn of the spindle
					The encoder feedback is for threading, and the position should advance
by 1.0 for each forward turn of the spindle
Please Log in or Create an account to join the conversation.
- nonkeldw
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 39
- Thank you received: 0
			
	
						28 Apr 2017 18:38				#92298
		by nonkeldw
	
	
		
			
	
			
			 		
													
	
				Replied by nonkeldw on topic MESA 7I76E Analog out, dir and en not working			
			
				Thanks.
I want to use the PID for controlling my spindel.
I changed already this line: net spindle-output hm2_7i76e.0.7i76.0.0.pinout.
But what is the best way to give the encoder ouput to the PID feedback input?
Thanks
					I want to use the PID for controlling my spindel.
I changed already this line: net spindle-output hm2_7i76e.0.7i76.0.0.pinout.
But what is the best way to give the encoder ouput to the PID feedback input?
Thanks
Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17371
- Thank you received: 5064
			
	
						28 Apr 2017 18:52				#92301
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic MESA 7I76E Analog out, dir and en not working			
			
				I would actually suggest you _not_ do this until you have
threading working with a direct (no PID) system
					threading working with a direct (no PID) system
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.147 seconds	
