Current position macro
Posted: Sat Aug 27, 2022 8:59 am
G'day all,
I would like to know if it is possible to use a button driven macro to write the current machine position (G53) to say Park 1, 2 or 3? I currently do it by hand and it works well in that it has saved my bacon numerous time. In short. After homing my machine, I set up my 0,0,0 position, click a button that writes the coordinates to a text file (thanks to a macro I found here) so that they can be retrieved if anything goes wrong. I then edit Park 2 to reflect these machine positions. If the power fails or emergency stop etc, I simply home the machine, hit Park 2 and away I go. The macro would simply have to circumvent the manual editing of Park 2 text (macro) file and to it automatically.
Thanks and all the best,
Mirko
I would like to know if it is possible to use a button driven macro to write the current machine position (G53) to say Park 1, 2 or 3? I currently do it by hand and it works well in that it has saved my bacon numerous time. In short. After homing my machine, I set up my 0,0,0 position, click a button that writes the coordinates to a text file (thanks to a macro I found here) so that they can be retrieved if anything goes wrong. I then edit Park 2 to reflect these machine positions. If the power fails or emergency stop etc, I simply home the machine, hit Park 2 and away I go. The macro would simply have to circumvent the manual editing of Park 2 text (macro) file and to it automatically.
Thanks and all the best,
Mirko