; Configuration file M453 ; set machine to CNC mode G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Weeble" ; set printer name ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Configure Drives M569 P0.0 S0 ; physical drive 0.0 goes backwards - X axis M569 P0.1 S1 ; physical drive 0.1 goes forwards - Y1 axis M569 P0.2 S1 ; physical drive 0.2 goes forwards - Y2 axis M569 P0.3 S0 ; physical drive 0.3 goes backwards - Z axis M584 X0.0 Y0.1:0.2 Z0.3 ; set drive mapping ; Configure Motors M350 X16 Y16 Z16 I1 ; configure microstepping with interpolation M92 X400 Y400 Z400 ; set steps per mm M566 X500 Y500 Z500 ; set maximum instantaneous speed changes (mm/min) M203 X2500 Y2500 Z2500 ; set maximum speeds (mm/min) M201 X150 Y150 Z150 ; set accelerations (mm/s^2) M906 X2400 Y2400 Z 2400 ; set motor currents (mA) 80% of maximum (3000mA) M84 S0 ; Disable motor idle current reduction ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X550 Y787 Z100 S0 ; set axis maxima ; Endstops M574 X2 S1 P"io8.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io8.in M574 Y2 S1 P"io6.in+io5.in" ; configure switch-type (e.g. microswitch) and dual self-squaring high ends on Y1 via pin io6.in and on Y2 via pin io5.in M574 Z2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io2.in ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed ; M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters ; Fans M950 F0 C"out8" Q500 ; create fan 0 on pin out 8 and set its frequency M106 P0 S0.5 H-1 ; set fan 0 value. Thermostatic control is turned off ; Milling motor and relay configuration M950 R0 C"vfd+out7" L4000:25000 Q1000 ; enable router relay on out7 M563 P0 S"George" R0 ; assign spindle 0 to tool 0 and name it George T0 ; select tool 0 M5 ; ensure motor is turned off ; Pause button