Manual Calibration

Mystichrome
Plasticator
Posts: 6
Joined: Sun Jun 08, 2014 1:03 pm

Manual Calibration

Postby Mystichrome » Tue Jan 17, 2017 10:35 pm

Hello all. I had to do an unexpected upgrade to a duet wifi after my rambo kicked the bucket. I had to perform this upgrade before I got a chance to upgrade to FSR's so I need to get the machine calibrated manually without them. I'm using David Crocker's instructions found here:
https://miscsolutions.wordpress.com/2015/01/22/upgrading-the-mini-kossel-to-duet-electronics-part-3-calibration/

However, I'm running into a problem. In the section "Calibrating the endstop positions, delta radius and homed height" after doing the first go around of collecting the heights and creating the M666 command to adjust the endstops, when I go around for the second time, my Z0 does not have the nozzle contacting the bed. Which seems fine, but unlike in David's instructions, I cannot use the web interface buttons to lower the nozzle past 0 so that I can determine offset for the zero height. Also, just for the heck of it, I adjusted my M666 command to lower the nozzle another 1mm which should have had the nozzle hitting the bed at Z0, but it would appear that the nozzle stopped at the old Z zero and ignored the increased adjustment.

Does anyone have any thoughts on how I can get this adjusted without any probe's? For reference I'm using DC42's 1.17a firmware. Below are my configs. I'm now wondering if this has something to do with my bed.g as I don't remember setting any of that up. I used the configuration tool here:
https://configurator.reprapfirmware.org/


Config.g

; Configuration file for Duet WiFi (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sat Jan 07 2017 10:20:25 GMT-0500 (Eastern Standard Time)

; General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
;M555 P1 ; Set firmware compatibility to look like RepRapFirmare
M555 P2 ; Set output to look like Marlin\
M665 R133.1 L269 B130 H394.0 ; Set delta radius, diagonal rod length, printable radius and homed height386.05
M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them

; Endstops
M574 X2 Y2 Z2 S1 ; Define active high microswitches
;M558 P1 X0 Y0 Z0 H5 FNaN T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
;G31 PNaN XNaN YNaN ZNaN ; Set Z probe trigger value, offset and trigger height

; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S0 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X80 Y80 Z80 E92.4663 ; Set steps per mm
M566 X72000 Y72000 Z72000 E72000 ; Set maximum instantaneous speed changes (mm/min)
M203 X1200000 Y1200000 Z1200000 E216000 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
M906 X1400 Y1400 Z1400 E1400 I60 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout

; Heaters
M143 S270 ; Set maximum heater temperature to 280C
M307 H1 S1.00 A760.4 C219.8 D6.0 B0
M307 H0 S1.00 A320.6 C614.7 D15.1 B0
;M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M305 P0 T100000 B3988 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4719 C7.08e-8 R4700 ; Set thermistor + ADC parameters for heater 1

; Tools
M563 P0 D0 H1 ; Define tool 0
G10 P0 X0 Y0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

; Network
M550 PDuetWifi ; Set machine name
M551 Pbidman21 ; Set password
M552 P192.168.1.77 S1 ; Enable network and set IP address
M553 P255.255.255.0 ; Set netmask
M554 P192.168.1.1 ; Set gateway

; Fans
M106 P0 S0.3 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
;M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

; Custom settings are not configured




Bed.g

; 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-73.6 Y-42.5 Z-99999 ; X tower
G30 P1 X0 Y-85 Z-99999 ; between X and Y towers
G30 P2 X73.6 Y-42.5 Z-99999 ; Y tower
G30 P3 X73.6 Y20 Z-99999 ; between Y and Z towers
G30 P4 X0 Y67 Z-99999 ; Z tower
G30 P5 X-73.6 Y20 Z-99999 ; between Z and X towers
G30 P6 X-36.8 Y-21.25 Z-99999 ; half way to X tower
G30 P7 X36.8 Y-21.25 Z-99999 ; half way to Y tower
G30 P8 X0 Y42.5 Z-99999 ; half way to Z tower
G30 P9 X0 Y0 Z-99999 S6 ; centre, 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

Mystichrome
Plasticator
Posts: 6
Joined: Sun Jun 08, 2014 1:03 pm

Re: Manual Calibration

Postby Mystichrome » Wed Jan 18, 2017 2:36 pm

Please ignore the M666 X0 Y0 Z0 in my config.g, I was overriding that from the web console.

User avatar
DeltaCon
Printmaster!
Posts: 585
Joined: Sat Nov 14, 2015 5:01 am
Location: Wessem, The Netherlands
Contact:

Re: Manual Calibration

Postby DeltaCon » Wed Jan 18, 2017 3:20 pm

I think you need to increase your homed height a bit, or increase the probedistance. It is best practice to tune the endstopscrews manualy the oldfashioned way if you haven't done so before. That prevents duet having to compensate a lot. Also pid tune hotend and bed, because you really want to calibrate at correct printing temperature.

Did you set the values for max instant spees changes and max speed yourself? I don't remember having those high values there, but am not able to check right now.
I am DeltaCon, I have a delta, my name is Con, I am definitely PRO delta! ;-)
Rostock V2 / E3D V6 / Raymond Style Heatchamber on the way!

PS.: Sorry for the avatar, that's my other hobby!

Mystichrome
Plasticator
Posts: 6
Joined: Sun Jun 08, 2014 1:03 pm

Re: Manual Calibration

Postby Mystichrome » Wed Jan 18, 2017 3:35 pm

Thanks for the Reply Deltacon. I don't think increasing the homed height will help as when I started, the "zero" point (where the nozzle touched the bed) was actually at about 3mm (give or take) . It only varied about .015mm between probe points. Increasing the homed height will only make that 3mm larger. Once the M666 command is constructed, I'll be back in the same spot. The probe distance (assuming it's in the bed.g file) could could be the problem as I don't recall setting up anything in the bed.g file, but that could have been generated when I used the reprap configurator web page. The endstop screws were already manually adjusted just before my rambo died, so those should be good, especially considering I only saw .015mm variance between them. I should have mentioned that I did PID tune the hotend and bed as well. The max instant speed changes and max speed numbers I believe I got from this forum looking at other people's configs, but I could be wrong. Those may have been the defaults in the reprap conifgurator. I'll go back and look at the config's I pulled for reference. (and these were config's people set up for V2's like mine, with the exception of mhackney's v3 config i looked at for reference).

Mystichrome
Plasticator
Posts: 6
Joined: Sun Jun 08, 2014 1:03 pm

Re: Manual Calibration

Postby Mystichrome » Wed Jan 18, 2017 4:15 pm

Good Catch, I think the values for max speed and max instant speed changes must have been the defaults for the configurator, because I went back and looked at the config.g files I referenced and they did not have the values I have. Obviously I don't think that's causing my current problem as it's not speed related, but I'm glad you caught that and pointed it out as those do need to be adjusted. That could have caused some interesting results down the line once I got it up and running.

dc42
Printmaster!
Posts: 304
Joined: Mon Mar 07, 2016 10:17 am

Re: Manual Calibration

Postby dc42 » Wed Jan 18, 2017 4:57 pm

You can tell the firmware to allow movement be!ow Z=0 in a couple of ways. Either send e.g. M208 S1 Z-3 to tell to allow movement down to 3mm below where it thinks the bed is, or send M564 S0 to disable limit checking completely.

Mystichrome
Plasticator
Posts: 6
Joined: Sun Jun 08, 2014 1:03 pm

Re: Manual Calibration

Postby Mystichrome » Wed Jan 18, 2017 5:06 pm

Straight from the man himself. I thought there would be a simple code for it, but couldn't for the life of me find it, but then again I didn't know what to search for. Thanks David, much appreciated.


Return to “Duet”

Who is online

Users browsing this forum: No registered users and 2 guests