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

No x move with G1 X1‭47 F6000

Scheduled Pinned Locked Moved
General Discussion
3
23
586
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.
  • undefined
    PuddingBaer91
    last edited by 5 Dec 2019, 12:49

    @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

    ;G1 X‭220 Y157 F6000 ; go to first bed probe point and home Z
    G1 X152 Y150 F6000

    with the secons G1 it works. Do you see a difference?

    undefined 1 Reply Last reply 5 Dec 2019, 12:52 Reply Quote 0
    • undefined
      PuddingBaer91 @aidar
      last edited by 5 Dec 2019, 12:49

      @aidar said in No x move with G1 X1‭47 F6000:

      What firmware version are you using?

      tried the latest and downgraded to 2.03 but problem exists on both.

      undefined 1 Reply Last reply 5 Dec 2019, 12:56 Reply Quote 0
      • undefined
        aidar @PuddingBaer91
        last edited by 5 Dec 2019, 12:52

        @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

        with the secons G1 it works. Do you see a difference?

        Yes i see, first G1 has ; at the beginning of the line, so its comments line, not command

        1 Reply Last reply Reply Quote 0
        • undefined
          aidar @PuddingBaer91
          last edited by 5 Dec 2019, 12:56

          @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

          tried the latest and downgraded to 2.03 but problem exists on both.

          With firmware 2.02 or later i reccomend to use H1 parameter instead of S1 for homing (see https://duet3d.dozuki.com/Wiki/Gcode#Section_G0_G1_Move ), also you dont need call deployprobe.g and retractprobe.g, firmware will do it for you if your probe is set as bltouch (P9 in M558 command)

          1 Reply Last reply Reply Quote 0
          • undefined
            aidar @PuddingBaer91
            last edited by 5 Dec 2019, 12:59

            @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

            G1 X5 X-5 F6000 ; go back a few mm

            Also this line doesnt make sense, X5 and X-5

            undefined 1 Reply Last reply 5 Dec 2019, 13:16 Reply Quote 0
            • undefined
              PuddingBaer91 @aidar
              last edited by 5 Dec 2019, 13:16

              @aidar said in No x move with G1 X1‭47 F6000:

              @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

              G1 X5 X-5 F6000 ; go back a few mm

              Also this line doesnt make sense, X5 and X-5

              this is from online config tool. Also don't know why they there. I will try the H1 Paramter thanks for the info

              1 Reply Last reply Reply Quote 0
              • undefined
                PuddingBaer91
                last edited by 13 Dec 2019, 22:58

                ok i did a complete reconfig with the online tool and firmware 2.03... Now almost is running fine except homing z. If i press home all x axis moves to the correct location x=220 but y moves always to y=30. I can't find the error...

                ; homeall.g
                ; called to home all axes
                ;
                ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Dec 05 2019 15:32:21 GMT+0100 (Mitteleuropäische Normalzeit)
                G91 ; relative positioning
                G1 H2 Z5 F6000 ; lift Z relative to current position
                M98 Pdeployprobe.g ; deploy mechanical Z probe
                G1 H1 X-365 F1800 ; move quickly to X axis endstop and stop there (first pass)
                G1 H1 Y335 F1800 ; move quickly to Y axis endstop and stop there (first pass)

                G90 ; absolute positioning
                ;G1 H2 X220 Y157 F6000 ; go to first bed probe point and home Z
                G1 H2 X220 Y157 F6000
                G30 ; home Z by probing the bed
                M98 Pretractprobe.g ; retract mechanical Z probe

                undefined 1 Reply Last reply 13 Dec 2019, 23:07 Reply Quote 0
                • undefined
                  PuddingBaer91
                  last edited by 13 Dec 2019, 22:58

                  ; Configuration file for Duet WiFi (firmware version 2.03)
                  ; executed by the firmware on start-up
                  ;
                  ; generated by RepRapFirmware Configuration Tool v2.1.3 on Thu Dec 05 2019 15:32:21 GMT+0100 (Mitteleuropäische Normalzeit)

                  ; General preferences
                  G90 ; send absolute coordinates...
                  M83 ; ...but relative extruder moves
                  M550 P"TronXY X5S" ; set printer name

                  M667 S1 ; select CoreXY mode

                  ; Network
                  M551 P"" ; 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
                  M569 P1 S1 ; physical drive 1 goes forwards
                  M569 P2 S0 ; physical drive 2 goes backwards
                  M569 P3 S1 ; physical drive 3 goes forwards
                  ;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 E411.00 ; 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 X1344 Y1344 Z1900 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent
                  M906 X1144 Y1144 Z1500 E1500 I30 ; Set motor currents (mA) and motor idle factor in percent
                  M84 S30 ; Set idle timeout

                  ; Axis Limits
                  M208 X-30 Y-17 Z0 S1 ; set axis minima
                  M208 X330 Y315 Z350 S0 ; set axis maxima

                  ; Endstops
                  M574 X1 Y2 S0 ; set active high endstops
                  M574 Z1 S2 ; set endstops controlled by probe

                  ; Z-Probe
                  M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
                  M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                  G31 P500 X-32 Y17 Z2.5 ; set Z probe trigger value, offset and trigger height

                  ;M557 X-15:215 Y0:195 S20 ; define mesh grid
                  M557 X20:298 Y20:315 P4:4

                  ; Heaters
                  M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
                  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 B4725 C7.060000e-8 R4700 ; set thermistor + ADC parameters for heater 1
                  M143 H1 S260 ; set temperature limit for heater 1 to 260C

                  ; 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 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

                  ; Miscellaneous
                  ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                  M307 H1 A241.8 C124.9 D2.6 S1.00 V24.2 B0 ; Extruder PID
                  M307 H0 A101.4 C1123.0 D10.0 B0 ; Heatbed PID

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators @PuddingBaer91
                    last edited by dc42 13 Dec 2019, 23:07

                    @PuddingBaer91 said in No x move with G1 X1‭47 F6000:

                    ok i did a complete reconfig with the online tool and firmware 2.03... Now almost is running fine except homing z. If i press home all x axis moves to the correct location x=220 but y moves always to y=30. I can't find the error...

                    Does it home correctly to Y=+335 before going to Y30 instead of to Y157? If so then I suspect that your M92 Y steps/mm value is incorrect. Try jogging Y 10mm or 50mm at a time in Duet Web Control, and see how far it actually moves.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      PuddingBaer91
                      last edited by 14 Dec 2019, 09:10

                      if i move the head with web control it moves correctly. As you said i move to y=335. After homing is done it shows y=335 at web control. Steps per mm should be correct. Calculated with prusa calculator and these values i used for many months.. X and Y are the same motors and pulleys also the steps/mm should be equal.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        dc42 administrators
                        last edited by 14 Dec 2019, 13:52

                        Your M558 command indicates that you have a BLTouch. You should remove the M98 Pdeployprobe.g and M98 Pretractprobe.g lines. Also, check that your deployprobe.g and retractprobe.g files are set up correctly for BLTouch.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

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