Ok, so there are two easy ways to do those commands, just type them in one after another in MDI and press Cycle Start after each one.
If you do it that way you’ll stay in MDI so you can put them in and just keep clicking Cycle Start.
Another way is to just make a text text file with those three commands and load it like any other G code file.
With that file loaded you can press cycle start to run it. If you click on EDIT on the bottom with the file loaded you can edit it while it’s open and re-run it.
I should have asked in the beginning… what are you actually trying to do here?
The text file approach would work well. You could do something like this:
G53 Z0 (moves Z all the way to the top)
M3 S10000 (turns spindle on at 10k RPM)
Z1 F100 (moves to Z1 at a feedrate of 100 IPM)
X12 F100 (moves to X 12 at a feedrate of 100 IPM)
X0 F11 (moves to X 0 at a feedrate of 100IPM
G53 Z0 (moves back up to safe Z)
Now if you wanted this repeat over and over again until you press cycle stop you could do this:
G53 Z0 (moves Z all the way to the top)
M3 S10000 (turns spindle on at 10k RPM)
N10 (line 10)
Z1 F100 (moves to Z1 at a feedrate of 100 IPM)
X12 F100 (moves to X 12 at a feedrate of 100 IPM)
X0 F11 (moves to X 0 at a feedrate of 100IPM
G53 Z0 (moves back up to safe Z)
GOTO 10 (goes to line 10)
This would repeat your move over and over again until you hit cycle stop.