Macro G-code issue

Im trying to create a USER MACRO
very simple i think

I moved my tool to where i want to it to rapid to. get the xyz stats from left side of screen

add a new macro, 1 line, G0 x21.098 y-3.400 f 200

when i execute the macro it goes to a different location

Try

G53 G0 x21.098 y-3.400 f 200

The G53 puts it in machine coordinates, not work coordinates

this did not work for me, it sent the spindle near the home, which is about where i told it to go, right. my issue then becomes seeing the coordinates relative to the machine vs work. I used the coordinates(system) that I see available on the screen. this seems to be out of my depth but im a quick learner once i know what the lesson is.

EDIT - Are you using Carbide Motion? If not, then this advice doesn’t apply, sorry.

By default, the co-ords shown are the Workpiece co-ords, which are relative to the Zeros that you set.

To see the Machine Co-Ords, click on the text ‘Position’. It should change to the Machine Co-Ords.

Once you have those co-ords, you can easily create a Quick Action to move to that location.

HOWEVER, rather than doing all this manually, the Quick Actions dialog can automatically create a Quick Action to go to the current position. I don’t have CM open in front of me, but it should be pretty obvious.