As of this writing, the current
RepRapFirmware - dc42 image - is 1.09k (EDIT to correct version). Download and flash it to your Duet. I'll not put those instructions here to keep this simple. I was not able to flash from Mac OS X but had not trouble flashing from Windows 7 or 8.
Also update your PanelDue firmware.
Current version is .12 beta 2Detailed info on flashing and commissioning Duet here. I recommend following it to the letter (but using the firmware versions above) to minimize the chance of damaging the Duet.
Note: dc42 is the author of the delta RepRapFirmware release and maintains it. Dave is a great guy and doing some very good work on it and the PanelDue (his design). He also designed and built the IR probe for Duet, but I still prefer FSRs.
The CF card has 3 folders on it: gcodes, sys and www. www is the built in web server. You won't need to do anything to the files in there. gcodes is where you can upload files to print. sys is where the action is.
The main config file in sys is config.g - here's mine for the Kossel250
Code: Select all
; Configuration file for Mini Kossel kit from Think3DPrint3D
; Communication and general
M111 S0 ; Debug off
M550 PKossel250 ; Machine name and Netbios name (can be anything you like)
M551 opensesame ; Machine password (used for FTP)
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
;*** Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P192.168.1.201 ; IP address (0 = use DHCP)
M554 P192.168.1.200 ; Gateway
M553 P255.255.255.0 ; Netmask
M555 P2 ; Set output to look like Marlin
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M575 P1 B57600 S1 ; Set auxiliary serial port baud rate and require checksum (for PanelDue)
; Axis and motor configuration
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 (extruder) goes backards
M569 P4 S1 ; Drive 4 goes forwards
M574 X2 Y2 Z2 S1 ; set endstop configuration (all endstops at high end, active high)
;*** The homed height is deliberately set too high in the following - you will adjust it during calibration
M665 R182.55 L288.0 B105 H255.83 X -0.22° Y -0.16° Z 0.00 ; set delta radius, diagonal rod length, printable radius and homed height
M666 X-3.10 Y-0.13 Z2.97 ; put your endstop adjustments here, or let auto calibration find them
M92 X80 Y80 Z80 ; Set axis steps/mm
M906 X1000 Y1000 Z1000 E1000 ; Set motor currents (mA)
M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2)
M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min)
M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute
; fan needs to be inverted
M106 P0 I1
; Thermistors
;*** If you have a Duet board stickered "4.7K", change R1000 to R4700 to the following M305 commands
M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
M305 P1 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
M305 P2 T100000 B4388 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds
; Tool definitions
M563 P0 D0 H1 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
;*** If you have a dual-nozzle build, un-comment the next 2 lines
;M563 P1 D1 H2 ; Define tool 1
;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
M92 E494:494 ; Set extruder steps per mm
; Z probe and compensation definition
;*** If you have an IR zprobe instead of a switch, change P4 to P1 in the following M558 command
M558 P4 X0 Y0 Z0 H3 ; Z probe is a switch and is not used for homing any axes
G31 X0 Y0 Z-.05 P500 ; Set the zprobe height and threshold (put your own values here)
;*** If you are using axis compensation, put the figures in the following command
M556 S78 X0 Y0 Z0 ; Axis compensation here
M208 S1 Z-0.2 ; set minimum Z
;
T0 ; select first hot end
Let's go through this by section:
Communication and general
the IP address can be set to "0" to use DHCP. I found it more convenient to use a static IP so I always know what it is. This is especially convenient if using the WIFI bridge.
The gateway IP is to the WIFI bridge I'm using, Netmask matches the config on that device.
Details on configuring wifi here.Axis and motor configuration
This is where you'll need to be careful and configure to match your machine. My Rostock used the same directions for steppers and end stop configuration.
the line: M665 R182.55 L288.0 B105 H255.83 X -0.22° Y -0.16° Z 0.00 is where the action is for della configuration. You'll need to pull appropriate ball-park values for your Rostock - Gene's manual in the Repetier config section should list these.
The axis steps/mm (M92 X80 Y80 Z80 ) can be found in your EEPROM settings in Repetier.
The rest of the lines in this section should be ok. The M106 fan inversion only applies to Duet .8.5 not .6 and David is working on adding this to the firmware in a future version.
Thermistors
I'm running an E3D V6 hot end and a Kapton bed heater. These are my settings, you'll have to adjust for yours.
Tool definitions
The only thing you need to change here is your extruder steps per mm. I'm running an ezStruder with a 5:1 geared Kyson stepper motor. You can get this from your current EEPROM settings.
Z Probe and compensation definition
My values should be a good starting point. The only thing to notice is the Z-.05 setting that adjusts for the FSR trigger. I'm persnickety though, you can use Z0.
Finally, no axis compensation, my minimum Z is -/2 so I have a little headroom to auto calibrate. And T0 selects your single extruder hot end.
--------------
The other important sys file is homedelta.g:
Code: Select all
; Homing file for RepRapFirmware on Mini Kossel
G91 ; use relative positioning
;******* Change F250 in the following line to F2500 when you are finished commissioning
;******* Change 320 in the following to a higher value if your Kossel has taller towers
G1 S1 X320 Y320 Z320 F2500 ; move all carriages up 320mm, stopping at the endstops
G1 S2 X-3 Y-3 Z-3 ; move all carriages down 3mm
G1 S1 X6 Y6 Z6 F250 ; move carriages slowly up 6mm, stopping at the endstops
G1 Z-5 F2000 ; down a few mm so that we can centre the head
G90 ; back to absolute positioning
G1 X0 Y0 F2000 ; centre the head and set a reasonable feed rate
This should work for you.
and lastly, bed.g is for auto configuraiton. Here's mine:
Code: Select all
; Auto calibration routine for delta printers
; Before running this, you should have set up your zprobe Z offset to suit your build, in the G31 command in config.g.
M561 ; clear any bed transform, otherwise homing may be at the wrong height
G31 X0 Y0 ; don't want any probe offset for this
G28 ; home the printer
;*** Remove the following line if your Z probe does not need to be deployed
;M98 Pdeployprobe.g ; deploy the mechanical Z probe
; The first time the mechanical probe is used after deployment, it gives slightly different results.
; So do an extra dummy probe here. The value stored gets overwritten later. You can remove this if you use an IR probe.
;G30 P0 X0 Y0 Z-99999
; Probe the bed and do 6- or 7-factor auto calibration
G30 P0 X-86.60 Y-50.00 Z-99999 ; X tower
G30 P1 X0.00 Y-100.00 Z-99999 ; between X-Y towers
G30 P2 X86.60 Y-50.00 Z-99999 ; Y tower
G30 P3 X86.60 Y50.00 Z-99999 ; between Y-Z towers
G30 P4 X0.00 Y100.00 Z-99999 ; Z tower
G30 P5 X-86.60 Y50.00 Z-99999 ; between Z-X towers
G30 P6 X-43.30 Y-25.00 Z-99999 ; X tower
G30 P7 X0.00 Y-50.00 Z-99999 ; between X-Y towers
G30 P8 X43.30 Y-25.00 Z-99999 ; Y tower
G30 P9 X43.30 Y25.00 Z-99999 ; between Y-Z towers
G30 P10 X0.00 Y50.00 Z-99999 ; Z tower
G30 P11 X-43.30 Y25.00 Z-99999 ; between Z-X towers
G30 P12 X0 Y0 Z-99999 S6 ; center and auto-calibrate 6 factors
;*** Remove the following line if your Z probe does not need to be retracted
;M98 Pretractprobe.g ; retract the mechanical Z probe
G1 X0 Y0 Z150 F15000 ; get the head out of the way of the bed
This is for my Kossel 250 which has a smaller bed. I recommend you start with the above positions since they will be safe on a Rostock. You can then increase the probe radius later to get better bed coverage. I'll find some time to work up a set of points for the Rostock later. Note the lines commented out to deploy and retract the probe - that's not necessary with FSRs.