What is the difference between G53 and G54?+−
G54 selects a work offset stored in the table and it is modal: everything that follows is measured from there. G53 ignores that offset and works in machine coordinates, and only during its own block. One says where the part is and the other speaks the language of the machine.
G53 or G28 to retract?+−
For an ordinary retract in Z, G53 G00 Z0. is more predictable: a direct move, no intermediate point and no dependence on G90 or G91. G28 is used when the builder or the tool changer demands the axis end up exactly on the reference point.
Why do G53 coordinates come out negative?+−
Because on most milling machines machine zero sits at one end of the travel, up and to the back, and the whole working envelope is on the negative side. That is also why the values in the work offset table usually come out negative in X, Y and Z.
Is G53 modal?+−
No. It only affects the block it is written in, and the next one goes back automatically to the active part coordinate system. That is one of its advantages: it leaves no state behind for somebody to inherit without noticing.
Does G53 take the tool length into account?+−
It depends on the control and on how the machine is set up. That is why, if you need pure machine coordinates, you cancel compensation first with G49, and in any case you prove the first G53 out dry on a machine you do not know.