inverting encoder direction?
- bbg
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 7
 - Thank you received: 0
 
			
	
						05 Jan 2021 11:33				#194135
		by bbg
	
	
		
			
	
			
			 		
													
	
				inverting encoder direction? was created by bbg			
			
				Hi there,
I have a setup with a 7i76e with a 7i85s connected on the expansion port. I would like to invert the count direction on encoder that is connected to the 7i85s. I don't see how I can easily do that from PnCConf (or am I missing something?). I can also not find an pin / parameter of the encoder to change the count direction. Is there an easy way to do that in the hal file or from PnCConf?
For now I've changed the wiring of the A en B channel. However, I would like to keep de wiring consistent between the encoders and rather have a setting in HAL.
KR bbg
					I have a setup with a 7i76e with a 7i85s connected on the expansion port. I would like to invert the count direction on encoder that is connected to the 7i85s. I don't see how I can easily do that from PnCConf (or am I missing something?). I can also not find an pin / parameter of the encoder to change the count direction. Is there an easy way to do that in the hal file or from PnCConf?
For now I've changed the wiring of the A en B channel. However, I would like to keep de wiring consistent between the encoders and rather have a setting in HAL.
KR bbg
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						05 Jan 2021 12:18				#194143
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic inverting encoder direction?			
			
				Edit the ini file and put a - in front of encoder scale, most probably will need a - added in front of output scale also.
Or use the Calibration menu and add - there, do not forget to save to file after testing.
					Or use the Calibration menu and add - there, do not forget to save to file after testing.
		The following user(s) said Thank You: bbg 	
			Please Log in or Create an account to join the conversation.
- cmorley
 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 7230
 - Thank you received: 2106
 
			
	
						05 Jan 2021 13:59				#194150
		by cmorley
	
	
		
			
	
	
			 		
													
	
				Replied by cmorley on topic inverting encoder direction?			
			
				should find an invert checkboxs on the motor page - bottom left.			
					
		The following user(s) said Thank You: tommylight, bbg 	
			Please Log in or Create an account to join the conversation.
		Moderators: cmorley	
		Time to create page: 0.189 seconds