Behavior of G-code and address commands
If a set contains only address commands without a G-command (G1, G2, G3, G4), two different behaviors can appear
- If the address commands (e.g. X200) match the motion command that was last executed, then it will be treated as if this motion command were in the set.
- If the address commands do not match the motion command that was last executed, the interpreter issues an error.
A program end (M2, M30) must be present in the code; otherwise, the imported program is invalid.