Prusa I3 homeY problem



  • hi,
    i have the proble with my new duet for prusa I3, when i write G28 X the homing is correct, when writing G28 Y homing failed. on DWC X is marked 0 and Y is marked 300... why is?
    this is my config.g

    ...........
    ; Drives
    M569 P0 S0 ; Drive 0 goes back
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80 Y80 Z3200 E135 ; Set steps per mm
    M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z250 E1000 ; Set accelerations (mm/s^2)
    M906 X800 Y1200 Z800 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0-5 Y-5 Z0 S1 ; Set axis minima
    M208 X215 Y300 Z210 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 Z1 S1 ; Set active high endstops
    ...............

    thanks for helping me
    sorry for my bad english



  • Dani,

    Could you provide more details on what you want the machine to do?

    It sounds like the machine is homing on Y correctly, as you have it set to home Y to the high end (Y=300) with the M574 Y2 command. After homing it is displaying Y=300 in DWC.

    If you want it to come back to Y0 after homing, you should add the movement command for this into the /sys/homey.g and /sys/homeall.g files.

    May need to look something like this:
    G1 Y310 F4000 S1 ; this will move Y to the end stop home position
    G1 Y0 F4000 ; after homing, this will move Y to 0 position

    Please tell us if this is what you want. If you are seeing other errors please also post your homey.g and homeall.g files.



  • when i send G28 Y the bed move to Y endstop but after homing the bed dont move to Y+, move only yet to Y-, to Y endstop.
    On DWC, after home Y, Y head positio is 300.

    this is my homeY.g

    G91 ; relative positioning
    G1 S1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F600 ; go back a few mm
    G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)
    G90 ; absolute positioning

    thanks


  • administrators

    This command in config,g:

    M574 X1 Y2 Z1 S1 ; Set active high endstops

    says that the Y endstop is at the Y-max end of the axis (Y2). But these commands in homey.g:

    G1 S1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F600 ; go back a few mm
    G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)

    are trying to home to minimum Y.



  • @dani3785

    To build on what David said: You say the machine is homing properly, but will not move in the positive direction, this indicates that the M574 command is incorrect, as it is telling the printer that it is at Y=300 when homed, rather than Y-0. Then when you try to move in +Y direction it will block the motion due to axis travel limits.

    Most likely you can fix the error by changing from:

    M574 X1 Y2 Z1 S1 ; Set active high endstops

    to:

    M574 X1 Y1 Z1 S1 ; Set active high endstops

    This will tell the system that it is at Y0 when it hits the Y home sensor.



  • thank you @dc42 and @nhof, problem solved.
    i have changed from
    ...M574 X1 Y2 Z1 S1 ; Set active high endstops
    to
    ...M574 X1 Y1 Z1 S1 ; Set active high endstops

    i'm really happy


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.