Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    zprobe latches in the "high" state

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    1
    2
    116
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • digiex_chrisundefined
      digiex_chris
      last edited by digiex_chris

      I've got a weird one here. I am switching my bltouch over to a EZABL, but I don't think this is related to that.

      I'm using the zprobe header. As far as I know, I should be able to get the state to change with a jumper wire between zprobe.in and gnd with a probe type of 5.
      ;M558 P5 C"!zprobe.in" H3 F900 T12000
      ;G31 P25 X0 Y-41 Z2

      m119 when triggered and latched

      Endstops - X: no endstop, Y: no endstop, Z: no endstop, Z probe: at min stop
      

      Because the state was stuck as a 1000 value for the z probe, I tried a jumper wire. If I boot the board with no jumper, the zprobe=0. If I connect the jumper, it switches to zprobe=1000. If I remove the jumper, it stays at 1000. Am I correct about this assumption? Or is zprobe.in expecting my zprobe to provide a high signal instead of grounding it and maybe it's just floating on startup?

      M98 P"config.g"

      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled
      Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
      Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 256C
      

      m115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03

      config.g

      ; General preferences
      G90                                                ; send absolute coordinates...
      M83                                                ; ...but relative extruder moves
      M550 P"CoreXY"                                     ; set printer name
      M540 PBE:EF:DE:AD:FE:ED
      
      M584 X0 Y1 Z2 E3                                   ; set drive mapping
      M667 S1                                            ; select CoreXY mode
      
      ; Network
      ; M551 P"apassword"                           ; set password
      M551 ; no password
      M552 S1                                            ; enable network
      M586 P0 S1                                         ; enable HTTP
      M586 P1 S0                                         ; disable FTP
      M586 P2 S0                                         ; disable Telnet
      
      ; Drives
      M569 P0 S0                                         ; physical drive 0 goes forwards
      M569 P1 S0                                         ; physical drive 1 goes backwards
      M569 P2 S0                                         ; physical drive 2 goes forwards
      M569 P3 S1                                         ; physical drive 3 goes backwards
      
      M350 Z4 E8 I0                                      ; configure microstepping without interpolation
      M350 X16 Y16 I1                                    ; configure microstepping with interpolation
      M92 X100.00 Y100.00 Z400.00 E199.00                  ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00                ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z1980.00 E1000.00         ; set maximum speeds (mm/min)
      M201 X1500.00 Y1500.00 Z20.00 E250.00                ; set accelerations (mm/s^2)
      M906 X1600 Y1600 Z1600 E800 I30                    ; set motor currents (mA) and motor idle factor in per cent
      M84 S160                                            ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z-2 S1                                 ; set axis minima
      M208 X305 Y325 Z340 S0                             ; set axis maxima
      
      ; M579 X-1 ; swap X direction
      
      ; Endstops
      M574 X1 S3 P"xstop"                                ; configure active-high endstop for low end on X via pin xstop
      M574 Y1 S3 P"ystop"                                ; configure active-high endstop for high end on Y via pin ystop
      ;M574 Z1 S2                                         ; configure Z-probe endstop for low end on Z
      M915 X Y R0 F0
      
      ; Z-Probe
      M950 S0 C"exp.heater3"                             ; create servo pin 0 for BLTouch
      
      M558 P5 C"!zprobe.in" H3 F900 T12000  ;EZ-ABL
      G31 P25 X0 Y-41 Z2                             ; set Z probe trigger value, offset and trigger height
      
      M556 S50 X0 Y0 Z0                                  ; set orthogonal axis compensation parameters
      M557 X15:285 Y15:300 S20                           ; define mesh grid
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B3950     ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0                              ; create bed heater output on bedheat and map it to sensor 0
      M143 H0 S125                                       ; set temperature limit for heater 0 to 120C
      M307 H0 B0 S1.00                                   ; disable bang-bang mode for the bed heater and set PWM limit
      M140 H0                                            ; map heated bed to heater 0
      M308 S1 P"spi.cs1" Y"rtd-max31865"      ; configure sensor 1 as PTC thermistor on pin e0temp
      M950 H1 C"e0heat" T1                               ; create nozzle heater output on e0heat and map it to sensor 1
      M143 H1 S300                                       ; set temperature limit for heater 1 to 280C
      M307 H1 B0 S1.00                                   ; disable bang-bang mode for heater  and set PWM limit
      
      ; Fans
      M950 F0 C"fan0" Q500                               ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1                                     ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500                               ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S1 H1 T45                                  ; set fan 1 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 S"Extruder" D0 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
      M591  D0 P1 C"e1stop" S1 ; filament out sensor
      ;M581 E0 T1 S0 C1 ; filament out sensor using trigger file, prefer the 591 over this
      
      ; Miscellaneous
      M501                                               ; load saved parameters from non-volatile memory
      ;M911 S22 R30 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      T0                                                 ; select first tool
      M81 S1 ; turn off atx power if fans are off
      M564 H0 ; turn off movement lock when not homed, I don't like it
      
      
      digiex_chrisundefined 1 Reply Last reply Reply Quote 0
      • digiex_chrisundefined
        digiex_chris @digiex_chris
        last edited by

        I figured it out! If anyone else runs into this, in the M558 documentation it mentions in one spot that the zprobe pin pull-up is disabled and it needs to be enabled with a ^

        M558 P5 C"!^zprobe.in" H3 F900 T12000
        
        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA