Motors not working as they should



  • I know, that's what I wanted.



  • post your homing scripts



  • ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
    G91 ; relative positioning
    G1 H2 Z5 F12000 ; lift Z relative to current position
    G1 H1 X365 Y385 F1800 ; move quickly to X or Y endstop and stop there (first pass)
    G1 H1 X365 ; home X axis
    G1 H1 Y385 ; home Y axis
    G1 X-5 Y-5 F12000 ; go back a few mm
    G1 H1 X365 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H1 Y385 ; then move slowly to Y axis endstop
    G90 ; absolute positioning
    G1 X-19 Y15 F12000 ; go to first bed probe point and home Z
    G30 ; home Z by probing the bed

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

    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
    G91 ; relative positioning
    G1 H2 Z5 F12000 ; lift Z relative to current position
    G1 H1 X365 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X-5 F12000 ; go back a few mm
    G1 H1 X365 F360 ; move slowly to X axis endstop once more (second pass)
    G1 H2 Z-5 F12000 ; lower Z again
    G90 ; absolute positioning

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
    G91 ; relative positioning
    G1 H2 Z5 F12000 ; lift Z relative to current position
    G1 H1 Y385 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y-5 F12000 ; go back a few mm
    G1 H1 Y385 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 H2 Z-5 F12000 ; lower Z again
    G90 ; absolute positioning

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Oct 17 2020 16:33:25 GMT+0200 (Central European Summer Time)
    G91 ; relative positioning
    G1 H2 Z5 F12000 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X-19 Y15 F12000 ; go to first probe point
    G30 ; home Z by probing the bed

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



  • so what you are saying is that when during homing you press the y endstop, the homing stop, but when the carriage hits the y endstop it doesnt?



  • Exactly.



  • and you made sure that you did not switch the wiring of the endstops by checking with M119



  • I think I found something. I noticed the LEDS on the optical endstops only dim but do not entirely extinguish when the axis hits the endstop. When I use a black piece of plastic to interrupt the switch the light extinguishes. When homed (by hand) M119 only reports the X endstop as triggered, not the Y axis. Could it be the PETG triggers on the printer are not thick enough to trigger the Y endstop and just enough to trigger the X ?



  • @mbunjes
    are the petg triggers black and not transparent?



  • They are yellow but not transparent.
    I'm printing them in black as we speak.



  • @mbunjes said in Motors not working as they should:

    I'm printing them in black as we speak.

    yes for optical endstops they need to be black.
    also check that the endstop flag actually intersects the light beam. it could be that the beam is not 100% blocked. that would also just cause a slight dimming.



  • Didn't have this problem with the SKR board that used to be in this printer. The new flags will be ready in 30 miniutes.
    Thanks again.


  • administrators

    @mbunjes said in Motors not working as they should:

    I think I found something. I noticed the LEDS on the optical endstops only dim but do not entirely extinguish when the axis hits the endstop. When I use a black piece of plastic to interrupt the switch the light extinguishes. When homed (by hand) M119 only reports the X endstop as triggered, not the Y axis. Could it be the PETG triggers on the printer are not thick enough to trigger the Y endstop and just enough to trigger the X ?

    Different boards have different value pullup resistors on the endstop inputs, which may account for the difference. Enabling the Duet additional pullup resistors in the M574 commands that configure the endstops will shift the trigger threshold, which might be enough to resolve the issue.


  • Moderator

    @mbunjes said in Motors not working as they should:

    They are yellow but not transparent.
    I'm printing them in black as we speak.

    electrical tape works well too.



  • @dc42 That's something to remember. The new black flags work perfectly though.


Log in to reply