Precision Piezo v2.85 how to configuration



  • Hi, have mounted the Precision Piezo2.85 Universal Kit 20mm on the extruder suport, connected to the duet2wifi. LEDs are ok, the red one lights up, and when I crack the extruder the red LED is off and the blue one is on. PCB piezo is connected to SIG Digital A good first step. my question, what is the next step:
      change in config.g, homeall.g, homez.g

    I have Cartesian with duet2wifi
    Grateful for help

    code_text
    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Mar 07 2020 00:00:28 GMT+0100 (centraleuropeisk normaltid)
    
    ; General preferences
    G90                                     ; send absolute coordinates...
    M83                                     ; ...but relative extruder moves
    M550 P"My Printer"                      ; set printer name
    
    ; Network
    M552 S1                                 ; enable network
    M586 P0 S1                              ; enable HTTP
    M586 P1 S0                              ; disable FTP
    M586 P2 S0                              ; disable Telnet
    
    ; Drives
    M569 P0 S1                              ; physical drive 0 goes forwards
    M569 P1 S1                              ; physical drive 1 goes forwards
    M569 P2 S0                              ; physical drive 2 goes backwards
    M569 P3 S0                              ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3                        ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
    M92 X160.00 Y160.00 Z400 E448           ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00     ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00     ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30            ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                 ; Set idle timeout
    
    ; Axis Limits
    M208 X-60 Y0 Z0 S1                       ; set axis minima
    M208 X240 Y240 Z220 S0                   ; set axis maxima
    M208 X-60:240 Y0:240 Z0:220              ; set axis minima and maxima
    
    ; Endstops
    M574 X1 Y1 Z1 S1                        ; set active low and disabled endstops
    
    ; Z-Probe
    M558 P8 I1 R0.4 F330
    G31 X0 Y0 Z0.05 P100                    ; disable Z probe but set dive height, probe speed and travel speed
                                            ; define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 0
    M143 H0 S120                            ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700             ; set thermistor + ADC parameters for heater 1
    M143 H1 S280                            ; set temperature limit for heater 1 to 280C
    
    ; 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 S"TitanAero" H1 F0           ; 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 defined
    
    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Mar 07 2020 00:00:28 GMT+0100 (centraleuropeisk normaltid)
    G91                     ; relative positioning
    G1 H2 Z5 F6000          ; lift Z relative to current position
    G1 H1 X-245 Y-245 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 H2 X5 Y5 F6000       ; go back a few mm
    G1 H1 X-245 Y-245 F360  ; move slowly to X and Y axis endstops once more (second pass)
    G1 H1 Z-245 F60        ; move Z down stopping at the endstop
    G90                     ; absolute positioning
    G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
    G30                     ; lower head, stop when probe triggered and set Z to trigger height
    ; Uncomment the following lines to lift Z after probing
    ;G91                    ; relative positioning
    ;G1 Z5 F100             ; lift Z relative to current position
    ;G90                    ; absolute positioning_text
    
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat Mar 07 2020 00:00:29 GMT+0100 (centraleuropeisk normaltid)
    G91               ; relative positioning
    G1 H2 Z5 F6000    ; lift Z relative to current position
    G1 H1 Z-245 F80   ; move Z down until the endstop is triggered
    G1 H2 Z1 F60      ; go back a few mm
    G1 H1 Z-245 F20   ; move slowly to X axis endstop once more (second pass)     
    G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
    G30               ; lower head, stop when probe triggered and set Z to trigger height
    ; Uncomment the following lines to lift Z after probing
    ;G91              ; relative positioning
    ;G1 Z5 F100       ; lift Z relative to current position
    ;G90              ; absolute positioning
    

  • Moderator

    Have you seen this?

    https://forum.duet3d.com/topic/2671/precision-piezo-z-probes-guide-for-duet-users-reference?_=1589231004100

    It's an older thread but perhaps it can get you some ideas, especially if you check the end of the thread for some recent posts.



  • I set mine to

    ; Z-Probe
    M558 P8 I1 R0.4 H8 F800 T6000 R0.8 Z1 ; Set Z probe type to effector and the dive height + speeds
    G31 P500 X0 Y0 Z-0.148 ; Set Z probe trigger value, offset and trigger height
    M557 X15:300 Y15:300 S20 ; Define mesh grid

    Seems to work good

    I use it for the Z home and probe.. duel z motors also on a Cartesian..

    Gary



  • @Phaedrux
    have checked several but I'm not sure.
    I'm not sure what that means with
    "If using universal kit PCB you can set up the PCB with a NO - active high (I0) or NC - active low (I1) signal. It's your choice but NC -active low offers failsafe operation"


  • Moderator



  • How is it normal with precision piezo v2.85 20mm, on reprap NO or NC


  • Moderator

    Sorry I'm not very familiar with the Piezo configuration, but the difference is in how the failure state behaves.

    Maybe this post helps to understand: https://forum.duet3d.com/topic/2933/piezo-probe-not-working/6?_=1589233548372



  • @gorf26
    How is it normal with precision piezo v2.85 20mm, on reprap NO or NC.
    Have you in you in your config NO or NC


Log in to reply