dodalem probe basic
This commit is contained in:
12
configs/atc_sim/macros_sim/clamptool.ngc
Normal file
12
configs/atc_sim/macros_sim/clamptool.ngc
Normal file
@@ -0,0 +1,12 @@
|
||||
o<clamptool> sub
|
||||
|
||||
M65 P2 ; clamp the tool
|
||||
|
||||
M66 P5 L3 Q2 ; check the clamped tool sensor
|
||||
o100 if [#5399 LT 0]
|
||||
(abort, Failed to release tool) ; abort if the sensor does not activate in 2 seconds
|
||||
o100 endif
|
||||
|
||||
o<clamptool> endsub [1]
|
||||
|
||||
M2
|
||||
Reference in New Issue
Block a user