/ tests / motion-logger / basic / reset.ngc
reset.ngc
 1  
 2  ;
 3  ; This gcode program is intended to reset Task (including Canon) to a
 4  ; sane, simple default analogous to system startup.
 5  ;
 6  
 7  G90                                     ; absolute distance mode
 8  G91.1                                   ; arc centers are relative
 9  G40                                     ; cutter radius compensation off
10  G53 G0 X0 Y0 Z0 A0 B0 C0 U0 V0 W0       ; move to machine home
11  G92.1                                   ; clear G92 offsets
12  G54                                     ; switch to coordinate system G54
13  G10 L2 P1 X0 Y0 Z0 A0 B0 C0 U0 V0 W0 R0 ; set G54 to equal G53
14  G49                                     ; disable tool offset compensation
15  G80                                     ; cancel canned cycle
16  
17  M2