Hello.
I need to write a macro for using current machine coordinates and G10 to write G54. This is on a Yasnac MX3 control. I have enabled M54 and used O9030, and I can set the work coordinates to zero (G10 Q2 P1 X0 Y0). Problem is, I would like to not type work coordinates each time I pick up the part.
I would like someone to explain how the variables work in this application. Is it as simple as:
O9030
G10 Q2 P1 X[#5021] Y[#5022];
M99
#5021=X axis current absolute machine position
#5022=Y axis current absolute machine position
This is my first time trying to program using a macro, so please be patient.
Thank you
Rick