Endstop no difference NC(S1) or NO(S0)

  • No matter what setting I use 574 S0 or S1 the endstops read triggered yes if I push the micro switch then they say no but both settings do the exact same thing.

    Here is the config

    ; Configuration file for Duet WiFi (firmware version 2.03)
    ; executed by the firmware on start-up
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun Mar 29 2020 10:13:25 GMT-0400 (EDT)

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

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    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 X80.00 Y80.00 Z4000.00 E420.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 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X230 Y230 Z330 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S1 ; set active low and disabled endstops

    ; Z-Probe
    M307 H4 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 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:215 Y15:195 S20 ; define mesh grid

    ; 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 B4138 R4700 ; set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C

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

  • What type of endstops are they and how are they connected?

  • Micro switches and they connected black, red , green(black) left to right

  • There are no universal color codes for endstops.

    Please post a good photo of the switch, and of the plug into the Duet board.

  • IMG_1407.jpg IMG_1406.jpg

  • Let me be even more specific. If I hold the switch and hit home it works as expected and when I release the switch it thinks that is home. What I am saying is that its that way if I have S1 or S0 it doesn't matter. The switch is always triggered unless pushed on both settings.

  • Those are Folgertech switches that are actually designed by Makerbot. You have them wired correctly from everything I can see.

    The correct parameter in Duet/RepRap V2 for those particular switches is "S0". I know this is not working for you... and I'm not absolutely sure why... but for now, stick with "S0".

    More in a minute...

  • It does look in that photo like the solder joint on the COM (common) part of the microswitch is pretty bad. If you have the facilities to do so, I'd think about a "touch up" on all three of those pins, with a soldering iron and a tiny (TINY!) bit of new solder.

  • Question: When you click/release the switch, does the LED that is on the switch board change? I'd expect it to be "on" when pressed and "off" when released.

    And, on a Duet 2, there are LEDs that are physically over between the motor drive connectors. Do those change when you press/release? The relation of off/on/press/release, etc. is more complicated... the important thing is do they change?

  • Danal yes it does light that light when you press the switch on all three switches

  • Danal I will set that to S0

  • @resormar said in Endstop no difference NC(S1) or NO(S0):

    Danal yes it does light that light when you press the switch on all three switches

    On the switch board, I assume. What about on the Duet?

  • @Danal both the light on the switch board and the light next to the motor connections on the Duet. They both light up when pressed

  • @resormar There was a thread https://forum.duet3d.com/topic/3919/ft5-conversion-endstop-issue about a similar problem, maybe the information in it can help you. (but when testing wiring, please be careful not to short 3,3 V and ground, this will damage the board!)

    But I suspect a contact problem of the soldering joints, not only the com, but the middle pin also. It is possible that the soldering contact is only closed when a force againts the endstop is done. You could test the contacts with voltmeter measuring the connections (endstop detached from Duet board) and shake the plug while measuring. You could also hold the housing, press the endstop and if in this case the duet doesn't light the led, is propably a cold solder joint.

Log in to reply