More Z-Probe Problems

  • I have been trying for 4-5 days to get a Precision Piezo Orion module to work with Duet. Yesterday I did get it working but was still having trouble with the G30 command. It was recommended that I upgrade my firmware and remove the probe deploy retract files. I have successfully done both, but now when I press G30 all three motors start hammering the tower endstops. If I just manually control the effector it moves per normal. About to give up on this idea.

  • administrators

    I suggest you put "Precision Piezo" in the title, that way DjDemonD is more likely to see it.

  • @dc42 The Piezo was working until I updated the firmware.

  • administrators

    If you lower the nozzle to e.g. 100mm above the bed before you send the G30, does it still drive into the endstops?

    Please post your config,g file and a M122 diagnostic report.

  • @dc42 My current problem is probably due to an error on my part. I attempted to update the firmware and did it incorrectly. I loaded Release 2.01beta1 (Duet 2) and 1.21.2beta1 (Duet 06/085) . When I attempt to move back to 1.21 the update fails. I am now considering formatting the SD card and starting over. Any suggestions would be appreciated.

  • administrators

    What problem are you having with 2.01beta2? It should have been a straightforward upgrade from 1.21.

  • The problem is when attempting a G30 it slams the motors into the tower endstops and continues until I shut it down. Manual moves are still correct.

  • ; Configuration file for Duet Ethernet (firmware version 1.17 to 1.19)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool on Tue Jun 26 2018 13:43:59 GMT-0700 (Pacific Daylight Time)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare

    ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
    M665 R155 L360 B155 H440 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them

    ; Network
    M550 PDelta1.1 ; Set machine name
    M540 PBE:62:56:56:52:5A ; Set custom MAC address
    M552 P192.168.1.25 S1 ; Enable network and set IP address
    M553 P255.255.255.0 ; Set netmask
    M554 P192.168.1.254 ; Set gateway
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes backwards
    M569 P1 S0 ; Drive 1 goes backwards
    M569 P2 S0 ; Drive 2 goes backwards
    M569 P3 S0 ; Drive 3 goes backwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z80 E460.42 ; Set steps per mm
    M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2)
    M906 X1600 Y1600 Z1600 E1600 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X155 Y155 Z0 S1 ; Set minimum Z

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

    ; Z-Probe
    M558 P5 I1 R0.4 H300 F300 X0 Y0 Z0 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 X0 Y0 Z-0.1 P1000 ; Set Z probe trigger value, offset and trigger height
    M557 R155 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S130 ; Set temperature limit for heater 0 to 130C
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S3000 ; Set temperature limit for heater 1 to 280C

    ; 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

    ; 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

    ; Custom settings are not configured

  • I have been wondering what else has changed. You recommended removing the probe deploy and probe retract files. I have replaced them and the printer now moves in the right direction after G30. So maybe its not the new firmware, but instead how G30 uses those files.

  • administrators

    @craig said in More Z-Probe Problems:

    M558 P5 I1 R0.4 H300 F300 X0 Y0 Z0 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds

    I think that line may be the problem. The H300 parameter tells it to start probing 300mm above the assumed position of the bed. Did you mean H30?

  • I have to agree with David. H300 will instruct the machine to try to begin 300mm above the probing point, which is unnecessary, might be impossible given the z height available and will be time consuming. Sure setting it to 50 (or 20) might make sense if you've just changed something which affects the max Z height, such as slid in a new bed of differing thickness or changed delta arms etc... and this will ensure head crashes are less likely. Also probing from 300mm above relies on your machine to be extremely accurate and repeatable over that 300mm.

    Also consider changing G31 P1000 to P100 this is for digital probes a debounce interval and it need not be as long as that.
    Many are getting better results with M558 P8 which removes the debounce filtering altogether.

    I have found using the latest builds, the multitouch probing options offer a greater sense of accuracy, in that it will throw an error and abandon calibration if multiple probes of each point are not consistent. This prevents a problem such as a loose probe or wobbly bed, generating a nonsense calibration and the resulting craziness that can ensue.

    M558 P5 I1 R0.4 F1000 X0 Y0 Z0 H7 A5 S0.02 B1

    F1000 - 1000 mm/min travel speed between probing points
    H7 - dive height 7mm, enough if things basically stay the same between probing sessions
    A5 - probe each point 5 times at most
    S0.02 - Tolerance so if probe 2 is within 0.02 of probe 1 then the firmware moves to the next probing point, otherwise it tries again up to 5 times (A5)
    B1 - turn off bed heater when probing. Seems to make a difference for some - I haven't made my mind up yet.

Log in to reply