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

    Z endstop switch issue

    Scheduled Pinned Locked Moved
    RepRapFirmware on other controllers
    4
    9
    507
    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.
    • JacquesBlomundefined
      JacquesBlom
      last edited by

      Hi all. I have searched and searched, and unless I am not searching right or missing the right posts I can't find the solution to my specific problem.

      I actually have a Fly RRF E3 board but using some the Duet firmware and so on. I followed Teaching Tech's Youtube video and it helped me get past other issues I had at first, as the video explains putting this board on a Prusa (I have a clone) and not an Ender 3.

      The Z endstop switch is a plain normally open switch.

      I have tried both
      M558 P1 H0 F120 T6000
      and
      M558 P3 H0 F120 T6000

      X and Y homes perfectly, Z does move up and down when I move it manually. But Z only lifts when I try to home it. It does not even try to home.

      Any help will be highly appreciated as I am getting very frustrated with this board after coming from Marlin

      Here is my config.g:

      ; Configuration file for Fly-E3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.1-LPC-STM32+7 on Wed Apr 20 2022 19:17:47 GMT+0200 (South Africa Standard Time)
      
      ; General preferences
      G90                                                    ; send absolute coordinates...
      M83                                                    ; ...but relative extruder moves
      M550 P"MK3RRF"                                         ; set printer name
      
      ; Network
      M551 P"5423"                                           ; set password
      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 using default driver timings
      M569 P1 S1                                             ; physical drive 1 goes forwards using default driver timings
      M569 P2 S1                                             ; physical drive 2 goes forwards using default driver timings
      M569 P3 S1                                             ; physical drive 3 goes forwards using default driver timings
      M584 X0 Y1 Z2 E3                                       ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                                ; configure microstepping with interpolation
      M92 X160.00 Y160.00 Z400.00 E160.00                    ; set steps per mm
      M566 X900.00 Y900.00 Z60.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 X1300 Y1300 Z1300 E1300 I30                       ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                                ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                                       ; set axis minima
      M208 X210 Y210 Z150 S0                                 ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"xstop"                                    ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop"                                    ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
      M574 Z1 S1 P"zstop"                                    ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop
      
      ; Z-Probe
      M558 P3 H0 F120 T6000                                  ; disable Z probe but set dive height, probe speed and travel speed
      M557 X25:185 Y25:185 S30                               ; define mesh grid
      
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4092         ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bed" T0                                      ; create bed heater output on bed and map it to sensor 0
      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
      M143 H0 S120                                           ; set temperature limit for heater 0 to 120C
      M143 H0 S120                                           ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1                                   ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 S1.00                                       ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S300                                           ; set temperature limit for heater 1 to 300C
      
      ; Fans
      M950 F0 C"fan0" Q500                                   ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H0 T45                                      ; set fan 0 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 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
      
      ; Miscellaneous
      M501                                                   ; load saved parameters from non-volatile memory
      M918 P1 E4 F1000000									   ; 12864 LCD screen
      
      
      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @JacquesBlom
        last edited by

        @jacquesblom

        You posted "The Z endstop switch is a plain normally open switch".

        You then show commands for configuring a Z probe.

        Those are two different things.

        Do you have both?

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        JacquesBlomundefined 2 Replies Last reply Reply Quote 0
        • JacquesBlomundefined
          JacquesBlom @fcwilt
          last edited by JacquesBlom

          @fcwilt No I only have a switch.

          and M119 gives me this:
          M119 Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: at min stop

          Do I actually just have to remove the Z-0Probe "section"

          1 Reply Last reply Reply Quote 0
          • JacquesBlomundefined
            JacquesBlom @fcwilt
            last edited by

            @fcwilt I took out the lines

            ; Z-Probe
            M558 P8 H0 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
            M557 X25:185 Y25:185 S30 ; define mesh grid

            Still the same M119 result.

            What am I missing? I am totally new to RepRap as I have been using Marlin for the past 7 years

            alankilianundefined 1 Reply Last reply Reply Quote 0
            • alankilianundefined
              alankilian @JacquesBlom
              last edited by

              @jacquesblom

              Did you reboot after editing the config.g file?

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              JacquesBlomundefined 1 Reply Last reply Reply Quote 0
              • JacquesBlomundefined
                JacquesBlom @alankilian
                last edited by

                @alankilian

                Yes, every time. I tried a normal closed switch now then it shows Z is stopped.

                However it still seems to think there is a Z probe as well which is stopped.

                How to I get rid of the Z probe altogether?

                jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @JacquesBlom
                  last edited by

                  @jacquesblom said in Z endstop switch issue:

                  @alankilian

                  Yes, every time. I tried a normal closed switch now then it shows Z is stopped.

                  However it still seems to think there is a Z probe as well which is stopped.

                  How to I get rid of the Z probe altogether?

                  You're using the wrong format for the z probe config. You're missing the pin number for starters. Where is it plugged into?

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                  JacquesBlomundefined 2 Replies Last reply Reply Quote 0
                  • JacquesBlomundefined
                    JacquesBlom @jay_s_uk
                    last edited by

                    @jay_s_uk
                    It's plugged into the zstop port.
                    I thought that the M574 would take care of it

                    1 Reply Last reply Reply Quote 0
                    • JacquesBlomundefined
                      JacquesBlom @jay_s_uk
                      last edited by

                      @jay_s_uk

                      Thanks for the help...I actually got it working now. This time I only commented the M558 line out

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA