From ce580e6cae75e64e1bec571ee5332940a504d03a Mon Sep 17 00:00:00 2001 From: David Crocker Date: Fri, 27 Mar 2015 21:39:32 +0000 Subject: [PATCH] Added sys files for Huxley Duo --- SD-image/sys-Huxley/config.g | 33 +++++++++++++++++++++++++++++++++ SD-image/sys-Huxley/homeall.g | 16 ++++++++++++++++ SD-image/sys-Huxley/homex.g | 8 ++++++++ SD-image/sys-Huxley/homey.g | 8 ++++++++ SD-image/sys-Huxley/homez.g | 8 ++++++++ SD-image/sys-Huxley/pause.g | 6 ++++++ SD-image/sys-Huxley/resume.g | 4 ++++ SD-image/sys-Huxley/tfree0.g | 2 ++ SD-image/sys-Huxley/tfree1.g | 2 ++ SD-image/sys-Huxley/tpost0.g | 5 +++++ SD-image/sys-Huxley/tpost1.g | 5 +++++ SD-image/sys-Huxley/tpre0.g | 4 ++++ SD-image/sys-Huxley/tpre1.g | 4 ++++ 13 files changed, 105 insertions(+) create mode 100644 SD-image/sys-Huxley/config.g create mode 100644 SD-image/sys-Huxley/homeall.g create mode 100644 SD-image/sys-Huxley/homex.g create mode 100644 SD-image/sys-Huxley/homey.g create mode 100644 SD-image/sys-Huxley/homez.g create mode 100644 SD-image/sys-Huxley/pause.g create mode 100644 SD-image/sys-Huxley/resume.g create mode 100644 SD-image/sys-Huxley/tfree0.g create mode 100644 SD-image/sys-Huxley/tfree1.g create mode 100644 SD-image/sys-Huxley/tpost0.g create mode 100644 SD-image/sys-Huxley/tpost1.g create mode 100644 SD-image/sys-Huxley/tpre0.g create mode 100644 SD-image/sys-Huxley/tpre1.g diff --git a/SD-image/sys-Huxley/config.g b/SD-image/sys-Huxley/config.g new file mode 100644 index 0000000..5fc77c7 --- /dev/null +++ b/SD-image/sys-Huxley/config.g @@ -0,0 +1,33 @@ +; Huxley Duo config file for dc42 Duet firmware +; Based on RepRapPro version 1.04 +M111 S0 ; Debug off +M550 PRepRapPro Huxley Duo ; Machine name (can be anything you like) +M551 Preprap ; Machine password (used for FTP access) +M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0x14 ; MAC Address +M552 P192.168.1.14 ; IP address +M553 P255.255.255.0 ; Netmask +M554 P192.168.1.1 ; Gateway +M555 P2 ; Set output to look like Marlin +G21 ; Work in millimetres +G90 ; Send absolute coordinates... +M83 ; ...but relative extruder moves +M574 X0 Y1 Z0 S1 ; set endstop configuration (Y endstop only, at low end, active high) +M569 P0 S1 ; Reverse the X motor +M569 P3 S0 ; Don't reverse the extruder motor +M906 X600 Y600 Z600 E600 ; Set motor currents (mA) +M305 P0 T100000 R4700 ; bed thermistor is 100K with 4K7 series resistor +M305 P1 R4700 ; first nozzle thermistor has 4K7 series resistor +M305 P2 R4700 ; second nozzle thermistor has 4K7 series resistor +M92 E660 ; Set extruder steps per mm +M558 P2 ; Use a modulated Z probe (change to P1 if you have a dc42 diff IR zprobe) +G31 Z0.6 P550 ; Set the probe height and threshold (deliberately too high to avoid bed crashes on initial setup) +M556 S78 X0 Y0 Z0 ; Put your axis compensation here +M201 X3000 Y3000 Z150 E500 ; Accelerations (mm/s^2) +M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min) +M566 X200 Y200 Z30 E20 ; Maximum jerk rates mm/minute +M563 P0 D0 H1 ; Define tool 0 +G10 P0 S-273 R-273 ; Set tool 0 operating and standby temperatures +;M563 P1 D1 H2 ; Define tool 1 Uncomment if you have a dual colour upgrade +;G10 P1 X19 S-273 R-273 ; Set tool 1 operating and standby temperatures Uncomment if you have a dual colour upgrade +M208 X140 Y140 ; set axis maxima (adjust to suit your machine) +M208 X-8 Y0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed after homing) diff --git a/SD-image/sys-Huxley/homeall.g b/SD-image/sys-Huxley/homeall.g new file mode 100644 index 0000000..0bc6d9d --- /dev/null +++ b/SD-image/sys-Huxley/homeall.g @@ -0,0 +1,16 @@ +; Ormerod 2 homeall file for use with dc42 Duet firmware +; Adjust the bed upper and lower limits in config.g (M208 commands) to get the correct homing positions +G91 +G1 Z4 F200 +G1 X-240 Y-240 F3000 S1 +G1 X4 Y4 F600 +G1 X-10 Y-10 S1 +G90 +; Adjust the XY coordinates in the following to place the IR sensor over a suitable spot +; If you are using a dc42 IR sensor then you can change the coordinates to be near the centre of the bed +G1 X45 Y5 F2000 +G30 +; This file leaves the head at the zprobe trigger height so that you can slip a piece of paper under it and then do G0 Z0 to check the height. +; If you prefer to send the printer to X0Y0Z0, un-comment the following lines +;G1 X0 Y0 F5000 +;G1 Z0 diff --git a/SD-image/sys-Huxley/homex.g b/SD-image/sys-Huxley/homex.g new file mode 100644 index 0000000..e83fc92 --- /dev/null +++ b/SD-image/sys-Huxley/homex.g @@ -0,0 +1,8 @@ +; X axis homing file for dc42 Duet firmware +G91 +G1 Z4 F200 +G1 X-240 F3000 S1 +G1 X4 F600 +G1 X-10 S1 +G1 Z-4 F200 +G90 diff --git a/SD-image/sys-Huxley/homey.g b/SD-image/sys-Huxley/homey.g new file mode 100644 index 0000000..0ade401 --- /dev/null +++ b/SD-image/sys-Huxley/homey.g @@ -0,0 +1,8 @@ +; Ormerod 2 or Huxley Y homing file for dc42 Duet firmware +G91 +G1 Z4 F200 +G1 Y-240 F3000 S1 +G1 Y4 F600 +G1 Y-10 S1 +G1 Z-4 F200 +G90 diff --git a/SD-image/sys-Huxley/homez.g b/SD-image/sys-Huxley/homez.g new file mode 100644 index 0000000..a29319d --- /dev/null +++ b/SD-image/sys-Huxley/homez.g @@ -0,0 +1,8 @@ +; Z homing file for dc42 fork of RepRapFirmware +G91 +G1 Z5 F200 +G90 +; Adjust the coordinates in the following line to place the head at a suitable position for Z homing +G1 X45 Y5 +G30 +G1 Z0 F200 diff --git a/SD-image/sys-Huxley/pause.g b/SD-image/sys-Huxley/pause.g new file mode 100644 index 0000000..70c11cb --- /dev/null +++ b/SD-image/sys-Huxley/pause.g @@ -0,0 +1,6 @@ +; Pause macro file +G1 E-4 F2500 ; retract 4mm +G91 ; relative moves +G1 Z2 F5000 ; raise nozzle 2mm +G90 ; absolute moves +G1 X0 Y0 F5000 ; move head out of the way of the print diff --git a/SD-image/sys-Huxley/resume.g b/SD-image/sys-Huxley/resume.g new file mode 100644 index 0000000..03b672d --- /dev/null +++ b/SD-image/sys-Huxley/resume.g @@ -0,0 +1,4 @@ +; Resume macro file +G1 R1 Z2 ; move to 2mm above resume point +G1 R1 ; lower nozzle to resume point +G1 E4 F2500 ; undo the retraction \ No newline at end of file diff --git a/SD-image/sys-Huxley/tfree0.g b/SD-image/sys-Huxley/tfree0.g new file mode 100644 index 0000000..8d3f6bf --- /dev/null +++ b/SD-image/sys-Huxley/tfree0.g @@ -0,0 +1,2 @@ +; tfree1.g +; Put G/M Codes in here to run when Tool 1 is freed diff --git a/SD-image/sys-Huxley/tfree1.g b/SD-image/sys-Huxley/tfree1.g new file mode 100644 index 0000000..61345c2 --- /dev/null +++ b/SD-image/sys-Huxley/tfree1.g @@ -0,0 +1,2 @@ +; tfree2.g +; Put G/M Codes in here to run when Tool 2 is freed diff --git a/SD-image/sys-Huxley/tpost0.g b/SD-image/sys-Huxley/tpost0.g new file mode 100644 index 0000000..91a45dc --- /dev/null +++ b/SD-image/sys-Huxley/tpost0.g @@ -0,0 +1,5 @@ +; tpost1.g +; Put G/M Codes in here to run after Tool 1 is selected +; un-comment the following line if you have a dual-nozzle build +;M116 P1 + diff --git a/SD-image/sys-Huxley/tpost1.g b/SD-image/sys-Huxley/tpost1.g new file mode 100644 index 0000000..91a45dc --- /dev/null +++ b/SD-image/sys-Huxley/tpost1.g @@ -0,0 +1,5 @@ +; tpost1.g +; Put G/M Codes in here to run after Tool 1 is selected +; un-comment the following line if you have a dual-nozzle build +;M116 P1 + diff --git a/SD-image/sys-Huxley/tpre0.g b/SD-image/sys-Huxley/tpre0.g new file mode 100644 index 0000000..d679d11 --- /dev/null +++ b/SD-image/sys-Huxley/tpre0.g @@ -0,0 +1,4 @@ +; tpre1.g +; Put G/M Codes in here to run before Tool 1 is selected +; un-comment the following line if you have a dual-nozzle build +;G1 X1 Y205 F6000 diff --git a/SD-image/sys-Huxley/tpre1.g b/SD-image/sys-Huxley/tpre1.g new file mode 100644 index 0000000..3e6083a --- /dev/null +++ b/SD-image/sys-Huxley/tpre1.g @@ -0,0 +1,4 @@ +; tpre2.g +; Put G/M Codes in here to run before Tool 2 is selected +; un-comment the following line if you have a dual-nozzle build +;G1 X1 Y205 F6000