(SOLVED) Spindle RPM - FWD/REV difference
- spumco
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1954
 - Thank you received: 792
 
			
	
						09 Mar 2022 01:05				#236728
		by spumco
	
	
		
			
	
	
			
			 		
													
	
				(SOLVED) Spindle RPM - FWD/REV difference was created by spumco			
			
				[MX21, LCNC 2.9, Probe Basic master, 7i76ED, first time Lcnc user (been fiddling with this for a while, off and on)]
I've got a problem and I'm not sure where to start the troubleshooting. Spindle runs at commanded RPM in forward but not reverse.
VFD (GS3) is controlled via 0-10v from 7i76ED. Direct motor encoder feedback to VFD and to Lcnc, but Lcnc is open loop (P/I/D = 0 in .ini file)
When I command reverse, I get about 150-200RPM regardless of the desired speed. Forward is fine from 100-8krpm, and the VFD analog offset/gain is tuned up so it's holding nicely within 10-50rpm at any speed.
VFD is reporting accurately; i.e. when I command "M3 S2000" I see ~2000rpm on both the VFD display and in halshow.
When I command "M4 S2000" I get spindle.0.out = 2000, but the VFD reports ~175rpm and the actual output in halshow is also ~175rpm. Same response whether I use the GUI spindle FWD/REV buttons or MDI.
Spindle override responds appropriately in both GUI slider and my hal-connected panel encoder.
Direct control of the VFD via drive software and keypad works as expected in both FWD & REV.
Anyone have an idea where to start fiddling?
Thanks,
Ralph
					I've got a problem and I'm not sure where to start the troubleshooting. Spindle runs at commanded RPM in forward but not reverse.
VFD (GS3) is controlled via 0-10v from 7i76ED. Direct motor encoder feedback to VFD and to Lcnc, but Lcnc is open loop (P/I/D = 0 in .ini file)
When I command reverse, I get about 150-200RPM regardless of the desired speed. Forward is fine from 100-8krpm, and the VFD analog offset/gain is tuned up so it's holding nicely within 10-50rpm at any speed.
VFD is reporting accurately; i.e. when I command "M3 S2000" I see ~2000rpm on both the VFD display and in halshow.
When I command "M4 S2000" I get spindle.0.out = 2000, but the VFD reports ~175rpm and the actual output in halshow is also ~175rpm. Same response whether I use the GUI spindle FWD/REV buttons or MDI.
Spindle override responds appropriately in both GUI slider and my hal-connected panel encoder.
Direct control of the VFD via drive software and keypad works as expected in both FWD & REV.
Anyone have an idea where to start fiddling?
Thanks,
Ralph
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						09 Mar 2022 01:18				#236729
		by PCW
	
	
		
			
	
	
			 		
													
	
				Replied by PCW on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				net spindle-vel-cmd-rpm     => pid.s.command
would need to be:
net spindle-vel-cmd-rpm-abs => pid.s.command
additional changes would be needed if the PID loop was used
for spindle speed feedback (it's not currently )
					would need to be:
net spindle-vel-cmd-rpm-abs => pid.s.command
additional changes would be needed if the PID loop was used
for spindle speed feedback (it's not currently )
		The following user(s) said Thank You: spumco 	
			Please Log in or Create an account to join the conversation.
- spumco
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1954
 - Thank you received: 792
 
			
	
						09 Mar 2022 01:29				#236731
		by spumco
	
	
		
			
	
			
			 		
													
	
				Replied by spumco on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				Well, that was easy. As usual, thank you PCW!
For my Lcnc education... if you don't mind, can you explain how the 'abs' (absolute?) changed the system response?
 			
					For my Lcnc education... if you don't mind, can you explain how the 'abs' (absolute?) changed the system response?
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20861
 - Thank you received: 7115
 
			
	
						09 Mar 2022 01:35				#236732
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				Leme give it a try:
ABS always outputs positive values, regardless if the input is positive or negative.
Anyone, please correct me if i am wrong.
					ABS always outputs positive values, regardless if the input is positive or negative.
Anyone, please correct me if i am wrong.
		The following user(s) said Thank You: spumco 	
			Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5068
 
			
	
						09 Mar 2022 01:44				#236734
		by PCW
	
	
		
			
	
	
			 		
													
	
				Replied by PCW on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				That's correct, and the 7I76E spindle analog output only works properly
with positive values
					with positive values
		The following user(s) said Thank You: tommylight, spumco 	
			Please Log in or Create an account to join the conversation.
- spumco
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1954
 - Thank you received: 792
 
			
	
						09 Mar 2022 02:18				#236736
		by spumco
	
	
		
			
	
	
			 		
													
	
				Replied by spumco on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				You guys are awesome.			
					
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20861
 - Thank you received: 7115
 
			
	
						09 Mar 2022 02:38				#236737
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				Title set to "solved" for all replies.
Thank you.
					Thank you.
Please Log in or Create an account to join the conversation.
- BigJohnT
 - 
				
											 - Offline
 - Administrator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 3990
 - Thank you received: 994
 
			
	
						09 Mar 2022 23:22				#236789
		by BigJohnT
	
	
		
			
	
			
			 		
													
	
				Replied by BigJohnT on topic (SOLVED) Spindle RPM - FWD/REV difference			
			
				Going to check that my 7i76e Configuration Tool does spindle correctly.
JT
					JT
Please Log in or Create an account to join the conversation.
		Moderators: PCW, jmelson	
		Time to create page: 0.093 seconds