Activating air blow valve M6
- lesureia
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 21
- Thank you received: 0
			
	
						24 Oct 2017 07:24				#100730
		by lesureia
	
	
		
			
	
			
			 		
													
	
				Replied by lesureia on topic Activating air blow valve M6			
			
				By precise i was thinking   more controllable.
If i were to go with this solution i dont know where to begin other than the page that you linked to earlier.
But i will read up on this and give it a try.
/Rickard
					If i were to go with this solution i dont know where to begin other than the page that you linked to earlier.
But i will read up on this and give it a try.
/Rickard
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						24 Oct 2017 08:00				#100731
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Activating air blow valve M6			
			
				Can we go back to the beginning? I was assuming that if you needed an air blow valve that you had an automatic toolchanger and a remapped G-code routine to handle that. Looking back I am wondering if I have confused this thread with another one.
Are you simply using hal_manualtoolchange? Is the air blast to clean the spindle or to release the tool?
					Are you simply using hal_manualtoolchange? Is the air blast to clean the spindle or to release the tool?
Please Log in or Create an account to join the conversation.
- lesureia
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 21
- Thank you received: 0
			
	
						24 Oct 2017 08:18				#100734
		by lesureia
	
	
		
			
	
			
			 		
													
	
				Replied by lesureia on topic Activating air blow valve M6			
			
				Yes i am using hal manualtoolchange with a switch to measure tool length.
Its manual mounting of tool in the spindle
The air blast is to clear chip off before measuring tool.
i was searching the forum for an answer but could not find one so i asked.
And its working Thanks to you.
					Its manual mounting of tool in the spindle
The air blast is to clear chip off before measuring tool.
i was searching the forum for an answer but could not find one so i asked.
And its working Thanks to you.
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						24 Oct 2017 09:01				#100737
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Activating air blow valve M6			
			
				So, if you are doing automatic tool-length measuremment then I assume you already have a G-code remap for the M6 command? So you could add a line to that G-code to trigger the air blast at the perfect time.			
					Please Log in or Create an account to join the conversation.
- lesureia
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 21
- Thank you received: 0
			
	
						24 Oct 2017 09:31				#100738
		by lesureia
	
	
		
			
	
			
			 		
													
	
				Replied by lesureia on topic Activating air blow valve M6			
			
				its this example i have on my machine     sim/axis/remap/manual-toolchange-with-tool-length-switch
And yes there is a remap line in my INI file
#
remapping toolchange - related codes
#
# see python/remap.py for the prolog and epilog handlers
# see nc_files/remap-subroutines for the NGC procedures
#
# the prepare_min.ngc and change_min.ngc are templates - fill in as needed
REMAP= M6 modalgroup=6 prolog=change_prolog ngc=manual_change epilog=change_epilog
					And yes there is a remap line in my INI file
#
remapping toolchange - related codes
#
# see python/remap.py for the prolog and epilog handlers
# see nc_files/remap-subroutines for the NGC procedures
#
# the prepare_min.ngc and change_min.ngc are templates - fill in as needed
REMAP= M6 modalgroup=6 prolog=change_prolog ngc=manual_change epilog=change_epilog
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Offline
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						24 Oct 2017 10:40				#100741
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Activating air blow valve M6			
			
				OK, so you could consider adding an M64 to the manual_change.ngc file at the point where you want to start the air blast, then an M65 at the point in the sequence when you want it to stop.
linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m62-m65
Assuming M54 P0 is used then you would connect motion.digital-out-00 to the solenoid pin. Or, if you want a specific timed length of blast, to the oneshot input pin.
					linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m62-m65
Assuming M54 P0 is used then you would connect motion.digital-out-00 to the solenoid pin. Or, if you want a specific timed length of blast, to the oneshot input pin.
Please Log in or Create an account to join the conversation.
- lesureia
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 21
- Thank you received: 0
			
	
						24 Oct 2017 10:51				#100742
		by lesureia
	
	
		
			
	
			
			 		
													
	
				Replied by lesureia on topic Activating air blow valve M6			
			
				I will give this a try this weekend.
Have little time this week to test this.
Thank you again.
/Rickard
					Have little time this week to test this.
Thank you again.
/Rickard
Please Log in or Create an account to join the conversation.
- lesureia
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 21
- Thank you received: 0
			
	
						28 Oct 2017 07:57				#100915
		by lesureia
	
	
		
			
	
			
			 		
													
	
				Replied by lesureia on topic Activating air blow valve M6			
			
				I think its done now.
i put this line in my HAL linked to oneshot so i can control the width of blow time.
net digital-out-0 motion.digital-out-03 => airblow1.in => hm2_5i25.0.7i76.0.0.output-01
Then wrote M64 P03 in manual_change.ngc right after probing and a few lines down M65 P03.
Increased my digital outputs also since i was running out of them.
Thank you again.
/Rickard
					i put this line in my HAL linked to oneshot so i can control the width of blow time.
net digital-out-0 motion.digital-out-03 => airblow1.in => hm2_5i25.0.7i76.0.0.output-01
Then wrote M64 P03 in manual_change.ngc right after probing and a few lines down M65 P03.
Increased my digital outputs also since i was running out of them.
Thank you again.
/Rickard
Please Log in or Create an account to join the conversation.
		Time to create page: 0.091 seconds	
