No x move with G1 X1‭47 F6000



  • Hi there,

    i have a problem. I want to home with bltouch the nozzle moves to the correct y position. But the nozzle stays at x=0. With manual move over the web interface i can move the nozzle to the defined max position in x direction. There are no error messages.. If i try different values in the console for AAAA with G1 XAAAA F6000 nothing happens. if try it with G1 YAAAA F6000 the y axis moves like it should.
    Whats the problem here?? I only turned on my printer today and adjusted the AAAA value to better fit the center of my print bed... Yesterday it worked normal...

    Thank you



  • ; Axis Limits
    M208 X-30 Y-15 Z0 S1 ; Set axis minima
    M208 X335 Y315 Z350 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 Z1 S0 ; Set active high endstops

    ; Z-Probe
    M574 Z1 S2 ; Set endstops controlled by 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 P25 X-32 Y17 Z2.50 ; Set Z probe trigger value, offset and trigger height
    M557 X20:298 Y20:315 P4:4 ; Define mesh grid



  • G1 X‭167 Y157 F6000 ; go to first bed probe point and home Z


  • administrators

    Have you homed X and Y before you try to home Z?



  • yes. As i said it worked many days well with these settings. I tested and if i choose G1 X230 F6000 it will move and then i am able to move G1 X167 F6000. Very strange...


  • administrators

    What X and Y coordinates does DWC show? Maybe it thinks it is already at X167 Y157.



  • hmm i have to try many AAAA values for G1 XAAAA F6000 sometime it will begin to work but then if i try home z it will move back to X=0 and then again i have to play with many AAAA values to get x to move 😞 😞



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

    What X and Y coordinates does DWC show? Maybe it thinks it is already at X167 Y157.

    no the coordinates are correct X=0 is real 0 and is shown as 0 in DWC. Also if i move the head the coordinates are correct



  • ok i tried the auto level macro and here the nozzle moves like it should

    Edit: With bltouch disabled it also will not move to the requested x position (always homing z at X=0)



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

    if i try home z it will move back to X=0 and then again i have to play with many AAAA values to get x to move

    Please post your homing files



  • ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool on Wed Oct 24 2018 17:07:50 GMT+0200 (Mitteleuropäische Sommerzeit)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    M98 Pdeployprobe.g ; deploy mechanical Z probe
    G1 S1 X-450 Y450 F3000 ; move quickly to X or Y endstop and stop there (first pass)
    G1 S1 X-450 ; home X axis
    G1 S1 Y450 ; home Y axis
    G1 X5 Y-5 F6000 ; go back a few mm
    G1 X5 X-5 F6000 ; go back a few mm
    G1 S1 X-450 F360 ; move slowly to X axis endstop once more (second pass)
    G1 S1 Y450 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    ;G1 X‭220 Y157 F6000 ; go to first bed probe point and home Z
    G1 X152 Y150 F6000
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    M98 Pretractprobe.g ; retract mechanical Z probe



  • What firmware version are you using?



  • @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?



  • @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.



  • @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



  • @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)



  • @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



  • @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



  • 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



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


Log in to reply