;M551 P"450off" ;setup/turn-on M453 ;cnc mode if state.atxPower == null ;check if high-voltage power is set-up, M81 C"!io1.out" ;perform setup if nessecary. M80 ;enable high-voltage power. G4 S2 ;wait for connection to expansion boards ;drives M584 Y122.0:121.0 X119.0 Z120.0 A0.0 P4 ;drive Mapping M584 U121.0 P4 ;extra mapping for auto squaring axis ;x M569 P119.0 S0 ;stealthchop mode M569.1 P119.0 T2 C1000 E8:8 H30 R50 ;closed loop configuration M574 X2 S1 P"119.io0.in" ;endstop M208 X-15:510 ;limits M92 X53 ;steps per mm M350 X16 I1 ;interpolation M203 X40000 ;max feedrate M201 X1500 ;max acceleration M205 X25 ;jerk M906 X3000 ;current ;y M569 P122.0 S0 ;stealthchop mode M569.1 P122.0 T2 C1000 E8:8 H30 R50 ;error monitoring params M574 Y2 S1 P"122.io0.in" ;endstop M208 Y-634.5:0 ;limits M92 Y53.333 ;steps per mm M350 Y16 I1 ;interpolation M203 Y40000 ;max feedrate M201 Y950 ;max acceleration M205 Y25 ;jerk M906 Y3000 ;current ;u M569 P121.0 S1 ;stealthchop mode M569.1 P121.0 T2 C1000 E8:8 H30 R50 ;error monitoring params M574 U2 S1 P"121.io0.in" ;endstop M208 U-634.5:0 ;limits M92 U53.333 ;steps per mm M350 U16 I1 ;interpolation M203 U40000 ;max feedrate M201 U950 ;max acceleration M205 U25 ;jerk M906 U3000 ;current ;z M569 P120.0 S0 ;stealthchop mode M569.1 P120.0 T2 C1000 E8:8 H85 ;error monitoring params M574 Z2 S1 P"120.io0.in" ;endstop M208 Z-125:0 ;limits M92 Z80 ;steps per mm M203 Z20000 ;max feedrate M201 Z750 ;max acceleration M205 Z25 ;jerk M906 Z1750 I100 ;current M569.7 P120.0 C"120.out_0" ;brake ;idle current ;a M569 P0.0 S3 M92 A500 M208 A-999999:999999 M350 A256 I1 M203 A3000 M201 A400 M906 A1500 G92 A0 ;z probe (tool height checker) M558 P5 C"!0.io7.in" F2000 M950 P0 C"123.out0" ;paper draw piston M950 P1 C"0.out1" ;paper release piston M950 P2 C"io4.out" ;tool definition M563 P0 S"marker" M563 P1 S"calibration stick" M563 P2 S"sm_brush_1" M563 P3 S"lg_brush_1" M563 P4 S"sm_brush_2" ;additional commands M564 S0 H0 ;free Axes M98 P"setup_globals.g" ;set up global variables M98 P"wcs.g" ;set up persistent work coordinate systems M98 P"offsets.g" ;set up tool offsets M929 P"eventlog.txt" S1 T1 P0