Changing acceleration values during runtime
- Shu
- 
				 Topic Author Topic Author
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 49
- Thank you received: 0
			
	
						25 May 2017 10:26				#93606
		by Shu
	
	
		
			
	
			
			 		
													
	
				Changing acceleration values during runtime was created by Shu			
			
				Is it possible to change the acceleration values of single axis during runtime? I would like to have GUI elements for all axes where I can temporarily limit the acceleration values. I found I can read out the the [TRAJ] DEFAULT_ACCELERATION, but no function to write an acceleration value.
Cheers,
Shu
					Cheers,
Shu
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- 
				  
- Online
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 4686
- Thank you received: 1433
			
	
						25 May 2017 12:28		 -  25 May 2017 12:30		#93614
		by Todd Zuercher
	
	
		
			
	
	
			 		
													
	
				Replied by Todd Zuercher on topic Changing acceleration values during runtime			
			
				Sort of.  I know you can change it while Linuxcnc is open.  But I'm not sure it works (at least not in real time) while running a G-code file (in auto mode).
The pins ini.N.max_acceleration can be used to change the acceleration for each joint.
					The pins ini.N.max_acceleration can be used to change the acceleration for each joint.
		Last edit: 25 May 2017 12:30  by Todd Zuercher.			
			Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 196
- Thank you received: 11
			
	
						19 Feb 2019 11:56		 -  19 Feb 2019 11:59		#126764
		by thang
	
	
		
			
	
	
			 		
													
	
				Replied by thang on topic Changing acceleration values during runtime			
			
				Does these pins have any effect?
ini.traj_default_acceleration - (float, in) [TRAJ]DEFAULT_ACCELERATION
ini.traj_default_velocity - (float, in) [TRAJ]DEFAULT_VELOCITY
ini.traj_max_acceleration - (float, in) [TRAJ]MAX_ACCELERATION
Default/max_acceleration always show 1e+99, Default/max_velocity show correct but change all of them dont have any effect when i jog or run auto program.
I'm using lcnc 2.8
					ini.traj_default_acceleration - (float, in) [TRAJ]DEFAULT_ACCELERATION
ini.traj_default_velocity - (float, in) [TRAJ]DEFAULT_VELOCITY
ini.traj_max_acceleration - (float, in) [TRAJ]MAX_ACCELERATION
Default/max_acceleration always show 1e+99, Default/max_velocity show correct but change all of them dont have any effect when i jog or run auto program.
I'm using lcnc 2.8
		Last edit: 19 Feb 2019 11:59  by thang.			
			Please Log in or Create an account to join the conversation.
- pl7i92
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1872
- Thank you received: 358
			
	
						22 Feb 2019 14:07				#126911
		by pl7i92
	
	
		
			
	
			
			 		
													
	
				Replied by pl7i92 on topic Changing acceleration values during runtime			
			
				limiting the Speed Max value also takes effect on the ACC values
so you might consider to limit that in first hand
this is by halui
					so you might consider to limit that in first hand
this is by halui
Please Log in or Create an account to join the conversation.
		Time to create page: 0.086 seconds	
