aboutsummaryrefslogtreecommitdiffstats
path: root/nc_files/probe/xminus.ngc
blob: 30c4c0dffdf9aa7d15cfdfecbaebccbd1c2dd383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
o<xminus> sub

; #1 = [ps_searchvel]
; #2 = [probe.ps_probe_max]
; #3 = [ps_probe_latch]
; #4 = [probe.ps_probevel]
; #5 = [TOOLSENSOR]RAPID_SPEED]

#<x>=#<_x> (save start X position) 
G91
F #1
G38.2 X[-#2]
G1 X[#3] F#5
F #4
G4 P0.5
G38.2 X[-#3*2]
(print, probe X=#5061 )
G90
(back to start point)
G1 X#<x> F#5
	
o<xminus> endsub
M2
bues.ch cgit interface