While exploring the Screen Editor I found where these gcodes are defined. I didn't realize that the line that shows these gcodes is dedicated to that task and the field on the screen is called Modal Gcodes. I then googled Modal Gcodes and learned that these are in the ModalWizard. I opened ModalWizard.mcs in an editor and sure enough, there they are:
local groupNames = {
"01: Feed mode",
"02: Plane selection",
"03: Absolute or incremental",
"04: Arc center mode",
"05: Feed rate mode",
"06: Units",
"07: Cutter compensation state",
"08: Height offset state",
"09: Active canned cycle",
"10: Retract Z level selection",
"11: Scale mode",
"12: Modal macro",
"13: Spindle mode",
"14: Active coordinate system",
"15: Cutting mode",
"16: Coordinate system rotation mode",
"17: Polar mode",
"18: Compensation mode"
}
This is the ordered list and item 14 is the one that inserts the G54. Is it safe to edit this macro? Is it as "easy as" removing row 14 and renumbering the other rows?