Machsupport Forum
		Mach Discussion => General Mach Discussion => Topic started by: M250cnc on November 22, 2007, 10:45:52 AM
		
			
			- 
				Hi all.
 
 Why does using the drilling canned cycles change constant velocity to exact stop. >:(
 
 Is it possible to keep constant velocity when using drilling canned cycles
 
 The Code i am using "G99 G83 Z-10. R-5.6 Q2. F15."
 
 Phil_H
- 
				I think its the G80 that kills all modal commands, I asked Art about changing this some time back, so everything went back to how it was before the cycle call, but it sounded is if that may be a major job.  Maybe in Quantum.
 
 Graham.
 
- 
				Hi Graham thanks for the reply. That is bad news. Come on Art forget Quantum, fix Mach. ;D
 
 As i lose position every time i run the part, i will do a subroutine for the Z axis.
 
 But i am unsure of the correct syntax for subroutines i have searched the forum and found none, i have only seen the examples in the PDF manual.
 
 Do you have an example to hand ?
 
 The machine works fine except in exact stop mode
 
 Phil_H
- 
				you can do it like this:-
 
 %
 G20 G40 ETC.
 
 G00 X0 Y0
 M98 P1
 G00 X1. Y1.
 M98 P1
 ETC.
 M30
 
 O1(SUB)
 G00 Z-5.6
 G01 Z-8.6 F15
 G00Z1.
 Z-8.
 G01 Z-10.
 G00Z1.
 M99
 %
 
 Graham.
 
- 
				Thanks Graham
 
 Phil_H