Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
Initial config files
  • Loading branch information
jay_s_uk committed Apr 16, 2019
1 parent c96d69d commit 177fe58
Show file tree
Hide file tree
Showing 12 changed files with 166 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Anycubic-Predator-Duet
Config files for the Anycubic Predator Duet
My machine is stock except for the controller board.
Therefore, you should be able to upload these config files and be sorted.
The only wiring changes I have made to my machine is to run an extra cable for the fans to separate them into two plugs.
I will try and keep this repo up to date as I tweak my machine further.
25 changes: 25 additions & 0 deletions bed.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
; bed.g
; called to perform automatic delta calibration via G32
;
; generated by RepRapFirmware Configuration Tool v2 on Mon Apr 08 2019 07:52:58 GMT+0100 (British Summer Time)
M561 ; clear any bed transform
G28 ; home all towers
; Probe the bed at 6 peripheral and 6 halfway points, and perform 6-factor auto compensation
; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
G30 P0 X0 Y169.9 H0 Z-99999
G30 P1 X147.14 Y84.95 H0 Z-99999
G30 P2 X147.14 Y-84.95 H0 Z-99999
G30 P3 X0 Y-169.9 H0 Z-99999
G30 P4 X-147.14 Y-84.95 H0 Z-99999
G30 P5 X-147.14 Y84.95 H0 Z-99999
G30 P6 X0 Y84.9 H0 Z-99999
G30 P7 X73.53 Y42.45 H0 Z-99999
G30 P8 X73.53 Y-42.45 H0 Z-99999
G30 P9 X0 Y-84.9 H0 Z-99999
G30 P10 X-73.53 Y-42.45 H0 Z-99999
G30 P11 X-73.53 Y42.45 H0 Z-99999
G30 P12 X0 Y0 H0 Z-99999 S6
; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
G29

2 changes: 2 additions & 0 deletions cancel.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
; stop.g
; called when a print is cancelled after a pause.
75 changes: 75 additions & 0 deletions config.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves

; Delta Settings
M665 L440.000 R227 H456.0 B185.0 ; Set delta radius, diagonal rod length, printable radius and homed height
M666 X0 Y0 Z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them

; Network
M550 P"Anycubic Predator" ; Set machine name
M551 P"" ; Set password
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

; 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.00 Y80.00 Z80.00 E380.45 ; Set steps per mm
M566 X1000 Y1000 Z1000 E1000 ; Set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z12000.00 E10000 ; Set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z3000.00 E3000.00 ; Set accelerations (mm/s^2)
M906 X1000.00 Y1000.00 Z1000.00 E1000.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Retraction
M207 S4.0 F5000 R-0.025 T2500 Z0.5 ; Firmware retraction

; Axis Limits
M208 Z0 S1 ; Set minimum Z

; Endstops
M574 X2 Y2 Z2 S1 ; Set active high endstops

; Z-Probe
M558 P4 H3 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y0 Z16.0 ; Set Z probe trigger value, offset and trigger height
M557 R115 S20 ; Define mesh grid
G29 S1 ; Load the heightmap

; Heaters
M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit
M305 P0 T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S240 ; Set temperature limit for heater 1 to 240C

; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

; 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 saving after power loss is not enabled

; Custom settings are not configured
M572 D0 S0.1 ; Pressure Advance
M591 D0 P2 C4 S1 ; Activate filament sensor
M404 N1.75 ; Set for print monitor
M592 D0 A0.07772 B-0.00029 ; Nonlinear extrusion. Set parameters for extruder drive 0

; Miscellaneous
M501 ; Load saved parameters from non-volatile memory
13 changes: 13 additions & 0 deletions homedelta.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning

G1 S1 X470 Y470 Z470 F1800 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
;G1 X0 Y0 F6000 ; move X+Y to the centre

11 changes: 11 additions & 0 deletions pause.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
; pause.g
; called when a print from SD card is paused
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)
M83 ; relative extruder moves
G1 E-10 F3600 ; retract 10mm of filament
G91 ; relative positioning
G1 Z5 F360 ; lift Z by 5mm
G90 ; absolute positioning
G1 X0 Y0 F6000 ; go to X=0 Y=0

9 changes: 9 additions & 0 deletions resume.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
; resume.g
; called before a print from SD card is resumed
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)
G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
G1 R1 X0 Y0 ; go back to the last print move
M83 ; relative extruder moves
G1 E10 F3600 ; extrude 10mm of filament

5 changes: 5 additions & 0 deletions sleep.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; sleep.g
; called when M1 (Sleep) is being processed
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

5 changes: 5 additions & 0 deletions stop.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; stop.g
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

5 changes: 5 additions & 0 deletions tfree0.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; tfree0.g
; called when tool 0 is freed
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

7 changes: 7 additions & 0 deletions tpost0.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
; tpost0.g
; called after tool 0 has been selected
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)
; Wait for set temperatures to be reached
M116 P0

5 changes: 5 additions & 0 deletions tpre0.g
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; tpre0.g
; called before tool 0 is selected
;
; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time)

0 comments on commit 177fe58

Please sign in to comment.