Spindle direction on two pins with Mesa 7i76e
- EragonPower
 - 
				
									Topic Author
											 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 66
 - Thank you received: 4
 
			
	
						31 Jan 2021 14:49		 -  31 Jan 2021 15:14		#197219
		by EragonPower
	
	
		
			
	
	
			 		
													
	
				Spindle direction on two pins with Mesa 7i76e was created by EragonPower			
			
				Hello,
I've recently started to wire my new 7i76e into my new DIY CNC, built all by myself, today i was wiring the spindle when i saw that my VFD had two pins for the direction, one for Forward direction, and the other one for reverse, so at that point i stopped working on it as i didn't know how to connect it.
I know that the 7i76e can invert the direction pin for reverse, but, how can i configure it / wire it to work with two pin for spindle direction?
Thanks in advance.
EDIT: i know that I could set another pin in HAL to output two different signals for the spindle direction, but is there a better way?
					I've recently started to wire my new 7i76e into my new DIY CNC, built all by myself, today i was wiring the spindle when i saw that my VFD had two pins for the direction, one for Forward direction, and the other one for reverse, so at that point i stopped working on it as i didn't know how to connect it.
I know that the 7i76e can invert the direction pin for reverse, but, how can i configure it / wire it to work with two pin for spindle direction?
Thanks in advance.
EDIT: i know that I could set another pin in HAL to output two different signals for the spindle direction, but is there a better way?
		Last edit: 31 Jan 2021 15:14  by EragonPower.			
			Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5067
 
			
	
						31 Jan 2021 18:14				#197233
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic Spindle direction on two pins with Mesa 7i76e			
			
				Many newer VFDs have the ability to run in either FWD/REV or ENA/DIR modes
so that is another option.
					so that is another option.
Please Log in or Create an account to join the conversation.
- EragonPower
 - 
				
									Topic Author
											 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 66
 - Thank you received: 4
 
			
	
						31 Jan 2021 18:41				#197235
		by EragonPower
	
	
		
			
	
			
			 		
													
	
				Replied by EragonPower on topic Spindle direction on two pins with Mesa 7i76e			
			
				Sadly mine works only works with FWD/REV and the analog input, so i think I need to configure another pin in hal, or reconfigure the one configured for ENA/DIR to FWD/REV			
					Please Log in or Create an account to join the conversation.
- Mike_Eitel
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1052
 - Thank you received: 183
 
			
	
						31 Jan 2021 19:42				#197239
		by Mike_Eitel
	
	
		
			
	
			
			 		
													
	
				Replied by Mike_Eitel on topic Spindle direction on two pins with Mesa 7i76e			
			
				Make a small logic in hal
Enable and fwd go to pin vfd fwd
Enable and Not fwd go to vfd-pin rev
					Enable and fwd go to pin vfd fwd
Enable and Not fwd go to vfd-pin rev
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.118 seconds