3.2.2 firmware - Endstop State Bug.
reFlexlab last edited by
I am posting this topic because my machine has been having some realy strange behavior that i cannot explain and that i have tried to troubleshoot with no success.
; homey.g ; called to home the Y axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Mar 06 2021 21:30:19 GMT+0100 (heure normale d’Europe centrale) G91 ; relative positioning G1 H2 Z5 F1000 ; lift Z relative to current position G1 H1 Y-525 F400 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y+5 F600 ; go back a few mm G1 H1 Y-525 F150 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F1000 ; lower Z again G90 ; absolute positioning
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Duet 3" ; set printer name ; Drives M569 P0.0 S0 ; physical drive 0.0 goes Backward X M569 P0.1 S0 ; physical drive 0.1 goes Backward Y M569 P0.2 S0 ; physical drive 0.2 goes Backward Y M569 P0.3 S1 ; physical drive 0.3 goes forwards Z M569 P0.4 S1 ; physical drive 0.4 goes forwards StoneFlower M569 P0.5 S1 ; physical drive 0.5 goes forwards CeraStruder M584 X0.0 Y0.1:0.2 Z0.3 E0.4:0.5 U0.5 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X533.33 Y1066.67 Z1600.00 E800:1600.00 U1600 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00:120.00 U120 ; set maximum instantaneous speed changes (mm/min) M203 X1800.00 Y1000.00 Z800.00 E1200.00:600.00 U600 ; set maximum speeds (mm/min) M201 X800.00 Y800.00 Z400.00 E250.00:250.00 U250 ; set accelerations (mm/s^2) M906 X1960 Y1960 Z840 E840:2100 U2100 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 U0 S1 ; set axis minima M208 X520 Y520 Z264.5 U600 S0 ; set axis maxima stone flower mars 2021 ; Endstops M574 X2 S1 P"!io1.in" ; configure active-high endstop for high end on X via pin io1.in M574 Y1 S1 P"!io5.in" ; configure active-high endstop for low end on Y via pin io2.in M574 Z2 S1 P"!io3.in" ; configure active-high endstop for high end on Z via pin io3.in M574 U1 S1 P"!io4.in" ; configure active-high endstop for Low end on U via pin io4.in ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters ; Fans M950 F0 C"!out4" Q10000 ; create fan 0 on pin out4 and set its frequency M106 P0 C"BackFanTop" S0.1 H-1 ; set fan 0 name and value. Thermostatic control is turned off M950 F1 C"!out5" Q10000 ; create fan 1 on pin out5 and set its frequency M106 P1 C"BackFanLow" S0.1 H-1 ; set fan 1 name and value. Thermostatic control is turned off M950 F2 C"out9" Q500 ; create fan 2 on pin out7 and set its frequency M106 P2 C"DUET3Fan" S0.1 H-1 ; set fan 2 name and value. Thermostatic control is turned off ; Tools M563 P0 S"StoneFlower" D0 F-1 ; 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 M563 P1 S"Cartouche" D1 F-1 ; define tool 1 G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C M563 P2 S"Complet" D0:1 F-1 ; définie l'outil 2 cad le complet G10 P2 X0 Y0 Z0 ; set tool 1 axis offsets G10 P2 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Custom settings are not defined M567 P2 E15:1 ; definit le ratio de mélange sur l'outil complet ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M501 ; load saved parameters from non-volatile memory
Eventhough M119 gives me the proper endstop state when i trigger them,
When I home my Y axis, the motors acts as if the endstop was already triggered.
However, when I remove the endstop connector from the DUET 3 board, the endstop act like it is not triggered.
- Endstop Connected : YES
- Endstop Triggered : No
- Endstop Status (M119) : Not triggered
- Homing behavior : Acts like its triggered
- Endstop Connected : No
- Endstop Triggered : NAN
- Endstop Status (M119) : Not Triggered
- Homing Behavior : acts like its not triggered.
I have the endstop config in my Config.g and they are similar with the X and Z axis where i dont have this probleme.
What I have tested.
- Changing the endstop itself
- Connecting the endstop to another IO pin
jay_s_uk last edited by
sounds like you have normally open endstops.
These can suffer from interference causing them to show as triggered.
We've had a few users on the LPC/STM port with this issue on Ender 5 Y axis endstops.
The cables for those are a 6 core ribbon with both motor and endstop cables and the Y motor move causes interference.
Either change to normally closed if you can or change the wiring to the endstop cable is away from motor cables as much as possible
alankilian last edited by