|
probe.nc is now working thank you.
I am trying to convert the code into a macro that I can call from within a tool change macro. Or can I call probe.nc that's within the system directory from a GCode file?
So the end of the probe.nc code is this:
G04 P0ause 0s
#402=#400;Save the Z axis zero offset of the coordinate system
#403=1;Set automatic correction coordinate system logo
#404=-#870;Save the tool thickness, if the previous tool thickness parameter is 0, the system will use this variable to modify the tool thickness parameter to complete the first knife
G91 G01 Z#575 F#578; The knife is completed, Z axis back
So I now want to move to another position so I try:
G04 P0ause 0s
#402=#400;Save the Z axis zero offset of the coordinate system
#403=1;Set automatic correction coordinate system logo
#404=-#870;Save the tool thickness, if the previous tool thickness parameter is 0, the system will use this variable to modify the tool thickness parameter to complete the first knife
G91 G01 Z#575 F#578; The knife is completed, Z axis back
G91 G01 X10.0; Move to X+10
Trouble is the move in X does not happen!
I am at a loss as to what I am doing wrong I have tried all sorts to make X move!! |
|