Simply put, this code sends the machine to a specified location, mine is front center with the Z at full height, so it is ready for a tool change, and then sets the homing variables that were used during the "parking" procedure.
This is great as it saves time by not requiring you to rehome the machine each time you startup. After the macro is run, you can do a tool change and start cutting.
This macro is used in conjunction with the "parking" macro and the XYZ variables that are set in this file MUST match exactly to what was set in the "parking" macro.
Please feel free to provide feedback on how this works on your machine.
Code: Select all
(File: 'unparking.nc') G20 (imperial mode) ; no need to use G53 as there are no existing offsets G28.3 X36 (set home) G28.3 Y48 (set home) G28.3 Z7 (set home) G0 Y6 X24 (move to front center for tool change) M2