Created
June 30, 2018 20:46
-
-
Save keyz182/66a666d04273ee8d4e6dbeb15e70caf1 to your computer and use it in GitHub Desktop.
DuetConfigHevoPiezo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; General preferences | |
| G90 ; Send absolute coordinates... | |
| M83 ; ...but relative extruder moves | |
| M667 S1 ; Select CoreXY mode | |
| ; Network | |
| M550 PThreedee ; Set machine name | |
| M552 D1 ; Enable network | |
| M587 S"s" P".........." ; Configure access point. You can delete this line once connected | |
| M586 P0 S1 ; Enable HTTP | |
| M586 P1 S0 ; Disable FTP | |
| M586 P2 S0 ; Disable Telnet | |
| ; Drives | |
| M569 P0 S1 ; Drive 0 goes forwards | |
| M569 P1 S1 ; Drive 1 goes forwards | |
| M569 P2 S1 ; Drive 2 goes forwards | |
| M569 P3 S0 ; Drive 3 goes forwards | |
| M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation | |
| M92 X80 Y80 Z400 E418.5 ; Set steps per mm | |
| M566 X600 Y600 Z50 E600 ; Set maximum instantaneous speed changes (mm/min) | |
| M203 X18000 Y18000 Z1800 E3600 ; Set maximum speeds (mm/min) | |
| M201 X15000 Y15000 Z600 E4500 ; Set accelerations (mm/s^2) | |
| M906 X1500 Y1500 Z1200 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent | |
| M84 S30 ; Set idle timeout | |
| ; Axis Limits | |
| M208 X0 Y-15 Z0 S1 ; Set axis minima | |
| M208 X300 Y295 Z290 S0 ; Set axis maxima | |
| ; Stall Detection | |
| ;M915 X Y S-60 F0 H200 R1 | |
| ; Endstops | |
| M574 Z1 S2 ; Set Z-Probe at low end | |
| M574 X1 Y1 S1 ; Set active high endstops | |
| ; Z-Probe | |
| M558 P8 F250 T600 I1 R0.5 A3 Z1 A0.09 H3 | |
| ;M558 P8 F350 T750 I1 R0.4 A5 Z1 A0.05 H7.5 ; Piezo Z probe | |
| G31 P100 X0 Y0 Z-0.1 ; Set Z probe trigger value, offset and trigger height | |
| M557 X20:280 Y20:280 S52 ; Define mesh grid | |
| ; Heaters | |
| ;M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0 | |
| M305 P0 T100000 B4725 C7.060000e-8 R4700 | |
| M143 H0 S120 ; Set temperature limit for heater 0 to 120C | |
| M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1 | |
| M143 H1 S280 ; Set temperature limit for heater 1 to 280C | |
| ; Fans | |
| M106 P0 S0 I0 F75 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off | |
| M106 P1 S0 I0 F26000 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on | |
| M106 P2 S1 I0 F26000 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off | |
| ; Tools | |
| M563 P0 D0 H1 ; Define tool 0 | |
| G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets | |
| G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C | |
| ; Automatic power saving | |
| M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss | |
| ; Pressure Advance | |
| M572 D0 S0.02 | |
| ; Heater 3 LEDs | |
| M307 H3 A-1 C-1 D-1 | |
| M42 P3 S0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; homeall.g | |
| ; called to home all axes | |
| ; XY Homing | |
| G91 ; relative positioning | |
| G1 Z10 F6000 S2 ; lift Z relative to current position | |
| G1 S1 X-305 Y-315 F1800 ; move quickly to X or Y endstop and stop there (first pass) | |
| G1 S1 X-305 ; home X axis | |
| G1 S1 Y-315 ; home Y axis | |
| G1 X5 Y5 F6000 ; go back a few mm | |
| G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass) | |
| G1 S1 Y-315 F360 ; then move slowly to Y axis endstop | |
| ; Z Homing | |
| G90 ; absolute positioning | |
| G1 X10 Y10 F3600 ; Move to bed | |
| G4 P750 ; pause | |
| G91 ; relative positioning | |
| G1 S1 Z-305 F420 ; move Z down until the switch triggers | |
| G90 ; absolute positioning | |
| G1 Z7.5 F100 ; lift Z relative to current position | |
| G1 X150 Y150 F3600 ; Move to bed | |
| G4 P750 ; pause | |
| G91 ; relative positioning | |
| G1 S1 Z-305 F420 ; move Z down until the switch triggers | |
| G90 ; absolute positioning | |
| G92 Z-0.10 ; set Z position to trigger height for buildtak | |
| G1 Z5 F100 ; lift Z relative to current position |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; homex.g | |
| ; called to home the X axis | |
| ; | |
| ; generated by RepRapFirmware Configuration Tool on Tue Feb 27 2018 20:56:15 GMT+0000 (GMT Standard Time) | |
| G91 ; relative positioning | |
| G1 Z5 F6000 S2 ; lift Z relative to current position | |
| G1 S1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass) | |
| G1 X5 F6000 ; go back a few mm | |
| G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass) | |
| G1 Z-5 F6000 ; lower Z again | |
| G90 ; absolute positioning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; homey.g | |
| ; called to home the Y axis | |
| ; | |
| ; generated by RepRapFirmware Configuration Tool on Tue Feb 27 2018 20:56:15 GMT+0000 (GMT Standard Time) | |
| G91 ; relative positioning | |
| G1 Z5 F6000 S2 ; lift Z relative to current position | |
| G1 S1 Y-315 F1800 ; move quickly to Y axis endstop and stop there (first pass) | |
| G1 Y5 F6000 ; go back a few mm | |
| G1 S1 Y-315 F360 ; move slowly to Y axis endstop once more (second pass) | |
| G1 Z-5 F6000 ; lower Z again | |
| G90 ; absolute positioning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; homez.g | |
| ; called to home the Z axis | |
| G91 ; relative positioning | |
| G1 Z7.5 F6000 S2 ; lift Z relative to current position | |
| G90 ; absolute positioning | |
| G1 X10 Y10 F3600 ; Move to bed | |
| G4 P750 ; pause | |
| G91 ; relative positioning | |
| G1 S1 Z-305 F420 ; move Z down until the switch triggers z | |
| G90 ; absolute positioning | |
| G1 Z7.5 F100 ; lift Z relative to current position | |
| G1 X150 Y150 F3600 ; Move to bed | |
| G4 P750 ; pause | |
| G91 ; relative positioning | |
| G1 S1 Z-305 F420 ; move Z down until the switch triggers z | |
| G90 ; absolute positioning | |
| G92 Z-0.10 ; set Z position to trigger height for buildtak | |
| G1 Z5 F100 ; lift Z relative to current position |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment