/ nc_files / probe / xplus.ngc
xplus.ngc
 1  o<xplus> sub
 2  
 3  ; #1 = [ps_searchvel]
 4  ; #2 = [probe.ps_probe_max]
 5  ; #3 = [ps_probe_latch]
 6  ; #4 = [probe.ps_probevel]
 7  ; #5 = [TOOLSENSOR]RAPID_SPEED]
 8  
 9  #<x>=#<_x> (save start X position) 
10  G91
11  F #1
12  G38.2 X[#2]
13  G1 X[-#3] F#5
14  F #4
15  G4 P0.5
16  G38.2 X[#3*2]
17  (print, probe X=#5061 )
18  G90
19  (back to start point)
20  G1 X#<x> F#5
21  	
22  o<xplus> endsub
23  M2