Sorry I come from Linuxcnc.

MDI (not Midi) Manually input g-code.....sorry extra "I" can cause some confusion. Tho someone did write a component for MIDI for Linuxcnc.

Something like G0 X10
then G0 X20