- Configuring LinuxCNC
 - Configuration Tools
 - StepConf Wizard
 - 2 joints gantry Y axis, one motor stalls - same settings ?
 
			×
			Forum Header		
	
	2 joints gantry Y axis, one motor stalls - same settings ?
- antonykip
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 2
 - Thank you received: 0
 
			
	
						01 Feb 2020 10:07				#156295
		by antonykip
	
	
		
			
	
			
			 		
													
	
				2 joints gantry Y axis, one motor stalls - same settings ? was created by antonykip			
			
				Hi, I am very new to linuxcnc.
I encountered a strange problem that during jogging/test run, my 2 joint Y axis with exact same configuration for Joint _1 and Joint_2,
Joint_2 motor stalled. Joint_1 did not experience any problem. I interchanged the connections to rule out motor,driver and yes joint_2 stalls at some random point. I reduced MAX_SPEED for both joints and the problem seems to be sorted.
My question is how does this happen ? I should think the problem should affect both joints? Does stepgen favor Joint_1 ?
					I encountered a strange problem that during jogging/test run, my 2 joint Y axis with exact same configuration for Joint _1 and Joint_2,
Joint_2 motor stalled. Joint_1 did not experience any problem. I interchanged the connections to rule out motor,driver and yes joint_2 stalls at some random point. I reduced MAX_SPEED for both joints and the problem seems to be sorted.
My question is how does this happen ? I should think the problem should affect both joints? Does stepgen favor Joint_1 ?
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						01 Feb 2020 11:37				#156298
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				Mechanical issue on the joint2 side.			
					Please Log in or Create an account to join the conversation.
- bbsr_5a
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 544
 - Thank you received: 105
 
			
	
						01 Feb 2020 11:55				#156300
		by bbsr_5a
	
	
		
			
	
			
			 		
													
	
				Replied by bbsr_5a on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				on a Two stepper gantry setup you shoudt consider reducing the amount of ACC
What are your numbers
can You put the INI Section here
What Machine Type is it
ARE the Cable the Same length
are the Steppers on Different Powerblocks
More info will get you to a better System
					What are your numbers
can You put the INI Section here
What Machine Type is it
ARE the Cable the Same length
are the Steppers on Different Powerblocks
More info will get you to a better System
Please Log in or Create an account to join the conversation.
- antonykip
 - Offline
 - New Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 2
 - Thank you received: 0
 
			
	
						01 Feb 2020 14:23				#156305
		by antonykip
	
	
		
			
	
	
			
			 		
													
	
				Replied by antonykip on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				Hi, Thank you reply.
I have attached the ini and hal files.
It is not a mechanical problem as i ruled out that as whatever motor i attached as Joint_2 stalled at MAX_SPEED of 20.
I am using Chinese stuff
- Longs 1600oz steppers (big mistake, overkill as i have come to realise.) ,
- DM860A drivers.
- Linuxcnc 2.8 master.
I unhinged the gantry (no load test) Joint_1 could spin at MAX_SPEED = 20, but the same test on Joint_2 would stall at some point.
Cables are different in length by 1m.
I am running ballscrews for the both Y- axis so the motors are fixed at one end.
					I have attached the ini and hal files.
It is not a mechanical problem as i ruled out that as whatever motor i attached as Joint_2 stalled at MAX_SPEED of 20.
I am using Chinese stuff
- Longs 1600oz steppers (big mistake, overkill as i have come to realise.) ,
- DM860A drivers.
- Linuxcnc 2.8 master.
I unhinged the gantry (no load test) Joint_1 could spin at MAX_SPEED = 20, but the same test on Joint_2 would stall at some point.
Cables are different in length by 1m.
I am running ballscrews for the both Y- axis so the motors are fixed at one end.
Please Log in or Create an account to join the conversation.
- PCW
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 17380
 - Thank you received: 5067
 
			
	
						01 Feb 2020 16:33				#156307
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				The hal/ini  setup looks identical and you have already swapped motors so maybe
bad drive or bad parallel port?
I would swap drives and the parallel port pins in hal to see which changes the bad channel
					bad drive or bad parallel port?
I would swap drives and the parallel port pins in hal to see which changes the bad channel
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Away
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						01 Feb 2020 19:26				#156315
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				Raise the step time and step space, might be one of the drives has different or slower optos.			
					Please Log in or Create an account to join the conversation.
- captain chaos
 - Offline
 - Senior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 46
 - Thank you received: 3
 
			
	
						10 Feb 2020 04:26				#156931
		by captain chaos
	
	
		
			
	
			
			 		
													
	
				Replied by captain chaos on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				From hal file
#ESTOP
loadrt estop_latch
addf estop-latch.0 servo-thread
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
last line is that emc reference correct, just wondering
					#ESTOP
loadrt estop_latch
addf estop-latch.0 servo-thread
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
last line is that emc reference correct, just wondering
Please Log in or Create an account to join the conversation.
- Tavares
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 27
 - Thank you received: 0
 
			
	
						10 Feb 2020 05:44				#156935
		by Tavares
	
	
		
			
	
			
			 		
													
	
				Replied by Tavares on topic 2 joints gantry Y axis, one motor stalls - same settings ?			
			
				Hi! I bought 4 hbs860 driver and 1 of the motor came defective, it was too heavy when turning by hand, when it started to work it got very hot and lost the synchronism with the encoder and stall, it was disassembled and I realized that the cover where the shaft leaves was out of square then I put a piece of paper in one side to correct the square, worked like a charm.
Look at this site wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing , I used it to configure the driver on linuxcnc, in my case I used the parameters in pncconf
step time = 2500
step space = 2500
direction hold = 10000
direction setup = 5000
					Look at this site wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing , I used it to configure the driver on linuxcnc, in my case I used the parameters in pncconf
step time = 2500
step space = 2500
direction hold = 10000
direction setup = 5000
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
 - Configuration Tools
 - StepConf Wizard
 - 2 joints gantry Y axis, one motor stalls - same settings ?
 
		Time to create page: 0.201 seconds