dodalem probe basic
This commit is contained in:
19
configs/atc_sim/macros_sim/set_g30_position.ngc
Normal file
19
configs/atc_sim/macros_sim/set_g30_position.ngc
Normal file
@@ -0,0 +1,19 @@
|
||||
o<set_g30_position> sub
|
||||
|
||||
o100 if [1 EQ 1]
|
||||
(G30.1 records the tool touch off position in the var file)
|
||||
G30.1
|
||||
o100 endif
|
||||
|
||||
#1000 = #5181
|
||||
(DEBUG, EVAL[vcp.getWidget{"x_tool_change_position"}.setValue{#1000}])
|
||||
|
||||
#1001 = #5182
|
||||
(DEBUG, EVAL[vcp.getWidget{"y_tool_change_position"}.setValue{#1001}])
|
||||
|
||||
#1002 = #5183
|
||||
(DEBUG, EVAL[vcp.getWidget{"z_tool_change_position"}.setValue{#1002}])
|
||||
|
||||
o<set_g30_position> endsub
|
||||
|
||||
M2
|
||||
Reference in New Issue
Block a user