I wrote a short code to try out relative movements as it doesn’t make sense when loaded into Maslow. The code is
; set incremental mode
g21
g91
g17
g40
g1 x0 y0 f2000 ; Start at bottom left
g1 x100 ; Move right 100mm
g1 y100 ; Move up a 100mm
g1 x-200 ; Move left 200mm
g1 y100 ; Move up a 100mm
g1 x200 ; Move right 200mm
I wrote a short code to try out relative movements as it doesn¢t make sense when loaded into Maslow. The code is
; set incremental mode
g21
g91
g17
g40
g1 x0 y0 f2000 ; Start at bottom left
g1 x100 ; Move right 100mm
g1 y100 ; Move up a 100mm
g1 x-200 ; Move left 200mm
g1 y100 ; Move up a 100mm
g1 x200 ; Move right 200mm
Added a G90 at the beginning to make sure I started at the home position with test program, then G91 after homing. Rest is relative movements. Without homing, subsequent runs will eventually go out of range (over the edge).