Support for modal G1
(For compatibility with pcb2gcode)

TODO: Add support for other modals