├── cancel.g ├── tfree0.g ├── tpre0.g ├── sleep.g ├── stop.g ├── tpost0.g ├── README.md ├── resume.g ├── pause.g ├── homedelta.g ├── bed.g └── config.g /cancel.g: -------------------------------------------------------------------------------- 1 | ; stop.g 2 | ; called when a print is cancelled after a pause. 3 | -------------------------------------------------------------------------------- /tfree0.g: -------------------------------------------------------------------------------- 1 | ; tfree0.g 2 | ; called when tool 0 is freed 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | 6 | -------------------------------------------------------------------------------- /tpre0.g: -------------------------------------------------------------------------------- 1 | ; tpre0.g 2 | ; called before tool 0 is selected 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | 6 | -------------------------------------------------------------------------------- /sleep.g: -------------------------------------------------------------------------------- 1 | ; sleep.g 2 | ; called when M1 (Sleep) is being processed 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | 6 | -------------------------------------------------------------------------------- /stop.g: -------------------------------------------------------------------------------- 1 | ; stop.g 2 | ; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled) 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | 6 | -------------------------------------------------------------------------------- /tpost0.g: -------------------------------------------------------------------------------- 1 | ; tpost0.g 2 | ; called after tool 0 has been selected 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | ; Wait for set temperatures to be reached 6 | M116 P0 7 | 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Anycubic-Predator-Duet 2 | Config files for the Anycubic Predator Duet 3 | My machine is stock except for the controller board. 4 | Therefore, you should be able to upload these config files and be sorted. 5 | 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. 6 | I will try and keep this repo up to date as I tweak my machine further. -------------------------------------------------------------------------------- /resume.g: -------------------------------------------------------------------------------- 1 | ; resume.g 2 | ; called before a print from SD card is resumed 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move 6 | G1 R1 X0 Y0 ; go back to the last print move 7 | M83 ; relative extruder moves 8 | G1 E10 F3600 ; extrude 10mm of filament 9 | 10 | -------------------------------------------------------------------------------- /pause.g: -------------------------------------------------------------------------------- 1 | ; pause.g 2 | ; called when a print from SD card is paused 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | M83 ; relative extruder moves 6 | G1 E-10 F3600 ; retract 10mm of filament 7 | G91 ; relative positioning 8 | G1 Z5 F360 ; lift Z by 5mm 9 | G90 ; absolute positioning 10 | G1 X0 Y0 F6000 ; go to X=0 Y=0 11 | 12 | -------------------------------------------------------------------------------- /homedelta.g: -------------------------------------------------------------------------------- 1 | ; homedelta.g 2 | ; called to home all towers on a delta printer 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | G91 ; relative positioning 6 | 7 | G1 S1 X470 Y470 Z470 F1800 ; move all towers to the high end stopping at the endstops (first pass) 8 | G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm 9 | G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass) 10 | G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred 11 | G90 ; absolute positioning 12 | ;G1 X0 Y0 F6000 ; move X+Y to the centre 13 | 14 | -------------------------------------------------------------------------------- /bed.g: -------------------------------------------------------------------------------- 1 | ; bed.g 2 | ; called to perform automatic delta calibration via G32 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Mon Apr 08 2019 07:52:58 GMT+0100 (British Summer Time) 5 | M561 ; clear any bed transform 6 | G28 ; home all towers 7 | ; Probe the bed at 6 peripheral and 6 halfway points, and perform 6-factor auto compensation 8 | ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g. 9 | G30 P0 X0 Y169.9 H0 Z-99999 10 | G30 P1 X147.14 Y84.95 H0 Z-99999 11 | G30 P2 X147.14 Y-84.95 H0 Z-99999 12 | G30 P3 X0 Y-169.9 H0 Z-99999 13 | G30 P4 X-147.14 Y-84.95 H0 Z-99999 14 | G30 P5 X-147.14 Y84.95 H0 Z-99999 15 | G30 P6 X0 Y84.9 H0 Z-99999 16 | G30 P7 X73.53 Y42.45 H0 Z-99999 17 | G30 P8 X73.53 Y-42.45 H0 Z-99999 18 | G30 P9 X0 Y-84.9 H0 Z-99999 19 | G30 P10 X-73.53 Y-42.45 H0 Z-99999 20 | G30 P11 X-73.53 Y42.45 H0 Z-99999 21 | G30 P12 X0 Y0 H0 Z-99999 S6 22 | ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors 23 | ; 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) 24 | G29 25 | 26 | -------------------------------------------------------------------------------- /config.g: -------------------------------------------------------------------------------- 1 | ; Configuration file for Duet WiFi (firmware version 1.21) 2 | ; executed by the firmware on start-up 3 | ; 4 | ; generated by RepRapFirmware Configuration Tool v2 on Tue Feb 26 2019 21:31:01 GMT+0000 (Greenwich Mean Time) 5 | 6 | ; General preferences 7 | G90 ; Send absolute coordinates... 8 | M83 ; ...but relative extruder moves 9 | 10 | ; Delta Settings 11 | M665 L440.000 R227 H456.0 B185.0 ; Set delta radius, diagonal rod length, printable radius and homed height 12 | M666 X0 Y0 Z0 A0.00 B0.00 ; Put your endstop adjustments here, or let auto calibration find them 13 | 14 | ; Network 15 | M550 P"Anycubic Predator" ; Set machine name 16 | M551 P"" ; Set password 17 | M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP 18 | M586 P0 S1 ; Enable HTTP 19 | M586 P1 S0 ; Disable FTP 20 | M586 P2 S0 ; Disable Telnet 21 | 22 | ; Drives 23 | M569 P0 S1 ; Drive 0 goes forwards 24 | M569 P1 S1 ; Drive 1 goes forwards 25 | M569 P2 S1 ; Drive 2 goes forwards 26 | M569 P3 S0 ; Drive 3 goes forwards 27 | M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation 28 | M92 X80.00 Y80.00 Z80.00 E380.45 ; Set steps per mm 29 | M566 X1000 Y1000 Z1000 E1000 ; Set maximum instantaneous speed changes (mm/min) 30 | M203 X12000.00 Y12000.00 Z12000.00 E10000 ; Set maximum speeds (mm/min) 31 | M201 X3000.00 Y3000.00 Z3000.00 E3000.00 ; Set accelerations (mm/s^2) 32 | M906 X1000.00 Y1000.00 Z1000.00 E1000.00 I30 ; Set motor currents (mA) and motor idle factor in per cent 33 | M84 S30 ; Set idle timeout 34 | 35 | ; Retraction 36 | M207 S4.0 F5000 R-0.025 T2500 Z0.5 ; Firmware retraction 37 | 38 | ; Axis Limits 39 | M208 Z0 S1 ; Set minimum Z 40 | 41 | ; Endstops 42 | M574 X2 Y2 Z2 S1 ; Set active high endstops 43 | 44 | ; Z-Probe 45 | M558 P4 H3 F120 T6000 ; Set Z probe type to switch and the dive height + speeds 46 | G31 P500 X0 Y0 Z16.0 ; Set Z probe trigger value, offset and trigger height 47 | M557 R115 S20 ; Define mesh grid 48 | G29 S1 ; Load the heightmap 49 | 50 | ; Heaters 51 | M307 H0 A137.8 C533.3 D1.5 V24.3 B0 ; Disable bang-bang mode for the bed heater and set PWM limit 52 | M305 P0 T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 0 53 | M143 H0 S120 ; Set temperature limit for heater 0 to 120C 54 | M305 P1 T100000 B4300 C0 R4700 ; Set thermistor + ADC parameters for heater 1 55 | M143 H1 S240 ; Set temperature limit for heater 1 to 240C 56 | 57 | ; Fans 58 | M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off 59 | M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on 60 | 61 | ; Tools 62 | M563 P0 D0 H1 ; Define tool 0 63 | G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets 64 | G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C 65 | 66 | ; Automatic saving after power loss is not enabled 67 | 68 | ; Custom settings are not configured 69 | M572 D0 S0.1 ; Pressure Advance 70 | M591 D0 P2 C4 S1 ; Activate filament sensor 71 | M404 N1.75 ; Set for print monitor 72 | M592 D0 A0.07772 B-0.00029 ; Nonlinear extrusion. Set parameters for extruder drive 0 73 | 74 | ; Miscellaneous 75 | M501 ; Load saved parameters from non-volatile memory 76 | --------------------------------------------------------------------------------