Where do you find the setting for M30 moves in Mach 3? I see where it says that it is parameters 5181-5186, but where do you find these parameters, or a box to change the coordinates for M30, when it is inserted at the end of the program?
M30 stops execution and rewinds the program to the start only. No meaningful arguments, but I am sure you can set other registers on the same line.
It is G30 that use the parameters you mention ref: 10.7.1 in the Mach3 manual, about page 124.
Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.