Hi
@feltoncnc
When you see the G54 in white at the bottom (or contrasting grey as per recent V3.38 update) it means that G54 is active as you pointed out. At this point if you simply enter G0 X0Y0 in MDI the machine should move to the G54 X0Y0 position. You don't need to enter G54 in the line of code like you show in your example G-Code. That extra G54 in you line of code could be part of the problem but it could also be how you are implementing the G54 work offset.
After the machine has been homed, setting a new G54 work offset should be as simple as:
- Jog to position the tool at the X0 Y0 Z0 reference position on your part. The DRO's should be showing the actual Machine Coordinates at this point. (Do not Zero the DRO's)
- Select the F4 screen.
- Double Click on the G54 Line on the Work Offsets Table.
- Press Auto Load Value on the pop-up window for X, Y and Z. (This will enter the difference between your part origin and the machine coordinate into the table.)
- Save the new work offset values.
- Go back to the F2 or F3 screen and verify that the DRO's all read Zero. (It it reads zero then your G54 origin has been set properly.)
To test it jog away from the zero position and enter MDI command G0 X0Y0Z0. The tool should move to your new G54 zero position. If not then you have some other problem that is affecting the machine coordinates since it might be loosing track of its home position.
Does your machine have home position switches or sensors?
Cheers, Stephen Brown