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

    Why first move of tue bed leveling is going up?

    Scheduled Pinned Locked Moved
    Gcode meta commands
    4
    24
    812
    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.
    • Arisoyundefined
      Arisoy
      last edited by

      Hello,

      When i execute a true bed leveling (G32) the bed goes up at the same time the carriage come to the first point. Then the bed wait for the carriage and finish to goes up.

      The fact that the bed goes up at the same that the carriage moves had already caused me some crash from to the z probe to the bed.

      The carriage should move first then the bed should goes up. Not both at the same time.

      Is there a way to change that?

      Here is my bed.g if that may help :

      M561 ; clear any bed transform
      	
      G30 P0 X5 Y10 Z-99999		; probe near a leadscrew
      G30 P1 X150 Y290 Z-99999	; probe near a leadscrew
      G30 P2 X290 Y10 Z-99999 S3	; probe near a leadscrew and calibrate 3 motors
      

      NB : The bed has three z motors.

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @Arisoy
        last edited by

        @arisoy

        What you are seeing is not normal.

        There must be something wrong with your configuration or perhaps wiring.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        Arisoyundefined 1 Reply Last reply Reply Quote 0
        • Arisoyundefined
          Arisoy @fcwilt
          last edited by

          @fcwilt But i'm printing and it works fine! What can be wrong in the configuration or wiring?

          fcwiltundefined infiniteloopundefined 2 Replies Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @Arisoy
            last edited by

            @arisoy said in Why first move of tue bed leveling is going up?:

            @fcwilt But i'm printing and it works fine! What can be wrong in the configuration or wiring?

            Hard to say.

            Please copy-and-paste your config and homing files using the </> tag - one per file.

            Thanks.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            1 Reply Last reply Reply Quote 0
            • infiniteloopundefined
              infiniteloop @Arisoy
              last edited by

              @arisoy said in Why first move of tue bed leveling is going up?:

              What can be wrong in the configuration or wiring?

              A lot. I think of two gcodes in your config.g which might result in the behaviour you describe:

              M558: is the dive height ("H") properly set?
              G31: the probe offset ("Z") might be too low

              Don't know what kind of probe you have - depending on that you might use two macros as well: deployprobe.g and retractprobe.g.

              To put things right, you should test the function of the probe at a safe location on your bed first, before you jump right into bed levelling.

              Arisoyundefined 1 Reply Last reply Reply Quote 0
              • Arisoyundefined
                Arisoy @infiniteloop
                last edited by

                @infiniteloop @fcwilt I'm using a bltouch for z probe. I hommit to mention that after the bed moves up a little. The true bed leveling process continue and everything works fine. But because of that first move the probe is really close to the bed. And if the bed is not already horizontal the probe touches it and the process stops.

                Here you can find my files :

                config.g

                ;;;;;;;;;; General preferences ;;;;;
                G90                                     ; Send absolute coordinates...
                M83                                     ; ...but relative extruder moves
                M550 P"V-Core 3"                        ; Set printer name
                M669 K1                                 ; Set printer type as CoreXY
                G29 S1                                  ; Set Units to Millimeters
                G4 S1									; Wait for the expansion board to start
                M404 N1.75 D0.4                         ; Filament width and nozzle diameter
                
                
                ;;;;;;;;;; Network ;;;;;;;;;;
                M552 S1                                 ; enable WiFi
                M586 P0 S1                              ; enable HTTP
                M586 P1 S0                              ; disable FTP
                M586 P2 S0                              ; disable Telnet
                
                
                ;;;;;;;;;; Drives ;;;;;;;;;;
                M569 P0.0 S1 D3                         ; physical drive 0.0 goes forwards
                M569 P0.1 S1 D3                         ; physical drive 0.1 goes forwards
                M569 P0.2 S0 D3                         ; physical drive 0.2 goes forwards
                M569 P0.3 S0 D3                         ; physical drive 0.3 goes forwards
                M569 P0.4 S0 D3                         ; physical drive 0.4 goes forwards
                M569 P20.0 S0 D3                        ; physical drive 0.5 goes forwards
                M584 X0.0 Y0.1 Z0.2:0.3:0.4 E20.0.0     ; set drive mapping
                M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
                
                M92 X80.00 Y80.00 Z400.00               ; set steps per mm
                M906 X1000 Y1000 Z800 I30               ; set motor currents (mA) and motor idle factor in per cent
                M84 S30                                 ; Set idle timeout
                
                M566 X400.00 Y400.00 Z6.00 E120.00 P1          ; set maximum instantaneous speed changes (mm/min)
                M203 X10800.00 Y10800.00 Z1000.00 E3600.00     ; set maximum speeds (mm/min)
                M201 X3000.00 Y3000.00 Z100.00 E3600.00        ; set accelerations (mm/s^2)
                
                
                ;;;;;;;;;; Axis Limits ;;;;;;;;;;
                M208 X0 Y0 Z0 S1                               ; set axis minima
                M208 X310 Y300 Z290 S0                         ; set axis maxima
                
                
                ;;;;;;;;;; Endstops ;;;;;;;;;;
                M574 X1 S1 P"io1.in"                           ; configure active high endstops
                M574 Y2 S1 P"io0.in"                           ; configure active high endstops
                M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
                
                M671 X-4.5:150:304.5 Y-4.52:305:-4.52 S5       ; define positions of Z leadscrews or bed levelling screws
                M557 X20:280 Y20:280 P5                        ; define 5x5 mesh grid
                
                
                ;;;;;;;;;; Heaters ;;;;;;;;;;
                M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed"    ; configure sensor 0 as thermistor on pin temp0
                M950 H0 C"out0" T0                                     ; create bed heater output on out0 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 S110                                           ; set temperature limit for heater 0 to 110C
                M307 H0 B0 R0.855 C274.9 D3.97 S1.00				   ; PID parameter
                
                M308 S1 P"20.temp0" Y"PT1000" A"Hotend" 
                M950 H1 C"20.out0" T1       ; create nozzle heater output on out0 and map it to sensor 1
                M307 H1 B0 S1.00            ; disable bang-bang mode for heater and set PWM limit
                M143 H1 S250                ; set the maximum temperature in C for heater
                M307 H1 B0 R2.320 C237.4 D5.37 S1.00 V24.1
                
                
                ;;;;;;;;;; Fans ;;;;;;;;;;
                M950 F0 C"20.out2+out2.tach" Q5000	; create fan 0 on pin out3 and set its frequency
                M106 P0 C"Hotend Fan" S0 H1 T45		; set fan 0 name and value. Thermostatic control turned on for Hotend
                M950 F1 C"20.out1" Q5000			; create fan 1 on pin out4 and set its frequency
                M106 P1 C"Layer Fan" S0 H-1			; set fan 1 name and value. Thermostatic control is turned off
                
                
                ;;;;;;;;;; Tools ;;;;;;;;;;
                M563 P0 D0 H1 F1           ; 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
                
                
                ;;;;;;;;;; EVA 2 / BMG / Mosquitto ;;;;;;;;;;
                M92 E830          ; set extruder steps per mm, 0.9 angle/step (LDO Pancake)
                M906 E800         ; set extruder motor current (mA) and idle factor in per cent
                 
                 
                ;;;;;;;;;; BLTouch ;;;;;;;;;;
                M950 S0 C"20.io0.out"                     ; Create a servo pin on io0 (toolboard 1LC)
                M558 P9 C"20.io0.in" H5 F240 T10800 A5    ; set Z probe type to unmodulated and the dive height + speeds
                G31 P25 X-28.00 Y-13.00 Z3.700          	  ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
                
                
                ;;;;;;;;;; Acclerometer ;;;;;;;;;;
                ;M955 P20.0 I10 ; specify orientation of accelerometer on Toolboard 1LC with CAN address 121
                
                
                ;;;;;;;;;; Pressure Advance ;;;;;;;;;;
                M572 D0 S0.10
                

                homeall.g

                	M280 P0 S160        	; Precautionary alarm release (BLTouch)
                	M280 P0 S90        		; Ensure the pin is raised (BLTouch)
                
                	G91						; relative positioning
                ;	G1 H2 Z5 F6000			; lift Z relative to current position (bed goes down)
                	G1 H1 X-999 Y999 F1800	; move quickly to X axis endstop and stop there (first pass)
                	G1 H1 X-999 F1800		; move quickly to X axis endstop and stop there (first pass)
                	G1 H1 Y999 F1800		; move quickly to Y axis endstop and stop there (first pass)
                	G1 H0 X5 Y-5 F6000		; go back a few mm
                	G1 H1 X-999 Y999 F100	; move quickly to X axis endstop and stop there (first pass)
                	G1 H1 X-999 F100		; move quickly to X axis endstop and stop there (first pass)
                	G1 H1 Y999 F100			; move quickly to Y axis endstop and stop there (first pass)
                	
                	G90               		; absolute positioning
                	G1 X150 Y150 F10000		; go to first probe point
                	G30               		; home Z by probing the bed
                
                	G91              		; relative positioning
                	G1 Z5 F1000       		; lift Z relative to current position  (bed goes down)
                	G90              		; absolute positioning
                

                deployprobe.g

                ; deployprobe.g
                ; Called to deploy a physical Z probe
                ;
                M280 P0 S10															; Deploy the BLTouch pin
                
                

                retractprobe.g

                ; retractprobe.g
                ; Called to retract a physical Z probe
                ;
                M280 P0 S90													; Retract the BLTouch pin
                
                
                fcwiltundefined infiniteloopundefined 2 Replies Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @Arisoy
                  last edited by

                  @arisoy said in Why first move of tue bed leveling is going up?:

                  In your homeall.g you have this:

                  G1 H2 Z5 F6000

                  Change the Z5 to Z10 and report back the behavior with this new setting.

                  Frederick

                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • infiniteloopundefined
                    infiniteloop @Arisoy
                    last edited by

                    @arisoy said in Why first move of tue bed leveling is going up?:

                    if the bed is not already horizontal the probe touches it

                    For one, you can increment the dive height. Another thing to do is to add a move to bed.g, ahead of the probing with G30. Something like
                    G1 X5 Y10 Z20 F2000
                    This would go to the first point to probe and lower the bed 20 mm from 0, regardless what initial Z-height you start with.

                    Arisoyundefined 1 Reply Last reply Reply Quote 1
                    • Arisoyundefined
                      Arisoy @infiniteloop
                      last edited by

                      @infiniteloop Adding the line "G1 X5 Y10 Z20 F2000" before the G30 in the bed.g make my bed going down first. Then it goes up fast at the same time of the carriage moves in x/y to the first point.

                      So nothing really changed except i have a new mouvement before the problem occured.

                      @infiniteloop said in Why first move of tue bed leveling is going up?:

                      For one, you can increment the dive height.

                      I don't know how to do that. Can you tell me please.

                      @fcwilt said in Why first move of tue bed leveling is going up?:

                      In your homeall.g you have this:

                      G1 H2 Z5 F6000

                      Change the Z5 to Z10 and report back the behavior with this new setting.

                      With the bed is going more down when i home the z. But nothing changed with true bed leveling.

                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                      • fcwiltundefined
                        fcwilt @Arisoy
                        last edited by fcwilt

                        @arisoy said in Why first move of tue bed leveling is going up?:

                        With the bed is going more down when i home the z. But nothing changed with true bed leveling.

                        Thanks.

                        You can put back the Z5.

                        Now change the H2 parameter in the M558 command to H5. You will have to re-boot to get the config.g to be loaded again.

                        Let us know the behavior with this change.

                        Thanks.

                        Frederick

                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                        Arisoyundefined 1 Reply Last reply Reply Quote 0
                        • Arisoyundefined
                          Arisoy @fcwilt
                          last edited by

                          @fcwilt said in Why first move of tue bed leveling is going up?:

                          Now change the H2 parameter in the G31 command to H5.

                          I don't find where is this command with H2.

                          It's here?

                          ;;;;;;;;;; BLTouch ;;;;;;;;;;
                          M950 S0 C"20.io0.out"                     ; Create a servo pin on io0 (toolboard 1LC)
                          M558 P9 C"20.io0.in" H5 F240 T10800 A5    ; set Z probe type to unmodulated and the dive height + speeds
                          G31 P25 X-28.00 Y-13.00 Z3.700          	  ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
                          

                          But there is no H2 parameter in the G31 command.

                          fcwiltundefined PCRundefined 2 Replies Last reply Reply Quote -1
                          • fcwiltundefined
                            fcwilt @Arisoy
                            last edited by

                            @arisoy said in Why first move of tue bed leveling is going up?:

                            @fcwilt said in Why first move of tue bed leveling is going up?:

                            Now change the H2 parameter in the G31 command to H5.

                            I don't find where is this command with H2.

                            It's here?

                            ;;;;;;;;;; BLTouch ;;;;;;;;;;
                            M950 S0 C"20.io0.out"                     ; Create a servo pin on io0 (toolboard 1LC)
                            M558 P9 C"20.io0.in" H5 F240 T10800 A5    ; set Z probe type to unmodulated and the dive height + speeds
                            G31 P25 X-28.00 Y-13.00 Z3.700          	  ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
                            

                            But there is no H2 parameter in the G31 command.

                            Sorry my bad. It is in the M558. Trusted to my memory - I shouldn't do that.

                            Frederick

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            Arisoyundefined 1 Reply Last reply Reply Quote 0
                            • PCRundefined
                              PCR @Arisoy
                              last edited by

                              @arisoy what's your Z M566?

                              1 Reply Last reply Reply Quote 0
                              • Arisoyundefined
                                Arisoy @fcwilt
                                last edited by

                                @fcwilt The paramater was already H5 so I tried H2 But no change. I set it back to H5.

                                fcwiltundefined 1 Reply Last reply Reply Quote 0
                                • fcwiltundefined
                                  fcwilt @Arisoy
                                  last edited by

                                  @arisoy said in Why first move of tue bed leveling is going up?:

                                  @fcwilt The paramater was already H5 so I tried H2 But no change. I set it back to H5.

                                  Thanks.

                                  Let's try the suggestion posted previously.

                                  Add G90 G1 X155 Y150 Z10 before the set of three G30 commands in your bed.g file and report the behavior.

                                  Thanks.

                                  Frederick

                                  Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                  Arisoyundefined 1 Reply Last reply Reply Quote 1
                                  • Arisoyundefined
                                    Arisoy @fcwilt
                                    last edited by

                                    @fcwilt I already did it. And after this positioning command "G90 G1 X155 Y150 Z10" the bed did a fast move up while the bltouch is going to the first probe point then wait for the probe to be in the good place and finally did the probing work.

                                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                                    • infiniteloopundefined
                                      infiniteloop
                                      last edited by

                                      @arisoy said in Why first move of tue bed leveling is going up?:

                                      For one, you can increment the dive height.

                                      I don't know how to do that. Can you tell me please.

                                      Look at my first post in this thread.

                                      1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @Arisoy
                                        last edited by

                                        @arisoy said in Why first move of tue bed leveling is going up?:

                                        @fcwilt I already did it. And after this positioning command "G90 G1 X155 Y150 Z10" the bed did a fast move up while the bltouch is going to the first probe point then wait for the probe to be in the good place and finally did the probing work.

                                        Thanks.

                                        Please change the Z10 to Z20 and see how that affects the behavior.

                                        It may help to post a video of what you are seeing to be sure we all understand what is happening.

                                        Thanks.

                                        Frederick

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                        Arisoyundefined 1 Reply Last reply Reply Quote 0
                                        • Arisoyundefined
                                          Arisoy @fcwilt
                                          last edited by

                                          @fcwilt Ok so i homed all axis and then i take a video from what happened.

                                          I started the video and just after i send the G32 command.

                                          As you can see at first the bed moves up. I don't want that at all. I want the probe to go at his place first and then the bed can moves up.

                                          link text

                                          infiniteloopundefined fcwiltundefined 2 Replies Last reply Reply Quote 0
                                          • infiniteloopundefined
                                            infiniteloop @Arisoy
                                            last edited by

                                            @arisoy Split the G1 movement in two:

                                            1. Move X/Y to whatever point you want
                                            2. Lower Z to 10 or 20 mm

                                            Possibly you can omit Z completely - at the moment, I can't verify that …

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