Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

23
nc_files/probe/xplus.ngc Normal file
View File

@@ -0,0 +1,23 @@
o<xplus> 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<xplus> endsub
M2