Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    My end stops are not responding on the Duex5

    Scheduled Pinned Locked Moved
    General Discussion
    4
    9
    335
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • georgepaulundefined
      georgepaul
      last edited by

      I have built a printer with IDEX using a Duet Wifi and a Duex5. the X,Y and Z axis homes perfectly but then the homing switch that is connected to the Duex is not responding. i have connected the pins perfectly and the LED is glowing on the Duex and the limitswitch.
      When i send a m119 code, the printer responds saying "Endstops - X: at min stop, Y: at min stop, Z: at min stop, U: not stopped" though the LED is lit.

      am i missing some Mcode that configures the endstops???

      1 Reply Last reply Reply Quote 0
      • georgepaulundefined
        georgepaul
        last edited by

        I just tried connecting U axis to the duet and the extruder to duex and they work... Now really curious what I am doing wrong... am I missing a jumper(i have just one jumper on the endstop voltage connected on the duex)??

        or is it still the firmware???

        deckingmanundefined 1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @georgepaul
          last edited by

          @georgepaul It might be best if you post your config.g file so that we can see. In particular do you have your M574 command after the M584 that creates the U axis?

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 0
          • georgepaulundefined
            georgepaul
            last edited by

            @deckingman said in My end stops are not responding on the Duex5:

            M574

            ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v2 on Sun Jun 02 2019 18:49:36 GMT+0530 (India Standard Time)

            ; General preferences
            G90 ; Send absolute coordinates...
            M83 ; ...but relative extruder moves

            ; Network
            M550 P"Duet_Test" ; Set machine name
            M552 S1 ; Enable network

            M586 P0 S1 ; Enable HTTP
            M586 P1 S0 ; Disable FTP
            M586 P2 S0 ; Disable Telnet

            M584 X0 Y1 Z2 U3 V4 E8:9:5:6:7 ; create the U axis and assign stepper driver 3 to it

            ; 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
            M569 P8 S0 ; Physical drive 2 goes backwards
            M569 P9 S1 ; Physical drive 3 goes forwards
            M350 X128 Y128 U128 V128 Z128 E128 I0 ; Configure microstepping without interpolation
            M92 X640.00 Y640.00 U640.00 V640.00 Z3200.00 E2000:2000:2000:2000:2000 ; Set steps per mm
            M566 X900.00 Y900.00 U900.00 V900.00 Z12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
            M203 X12000.00 Y12000.00 U12000.00 V12000.00 Z500.00 E3000.00 ; Set maximum speeds (mm/min)
            M201 X1000.00 Y1000.00 U1000.00 V1000.00 Z100.00 E5000.00 ; Set accelerations (mm/s^2)
            M906 X855.00 Y855.00 U855.00 V855.00 Z855.00 E855.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 X0 Y0 U0 V0 Z0 S1 ; Set axis minima
            M208 X150 Y150 U150 V150 Z150 S0 ; Set axis maxima

            ; Endstops
            M574 X1 Y1 U1 V1 Z1 S0 ; Set active low and disabled endstops

            ; Z-Probe
            M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
            M557 X25:0 Y25:0 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 B3988 R4700 ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120 ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B3988 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
            M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

            ; Tools
            M563 P0 D0:1:2:3:4 H1 ; 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 configured

            ; Miscellaneous
            M501 ; Load saved parameters from non-volatile memory
            T0 ; Select first tool

            1 Reply Last reply Reply Quote 0
            • georgepaulundefined
              georgepaul
              last edited by

              this is the actual m584...the other one was a test i tried yesterday

              M584 X0 Y1 Z2 U8 V9 E3:4:5:6:7 ; create the U axis and assign stepper driver 3 to it

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                You have 5 axes XYZUV and they will use the endstop inputs labeled X Y Z E0 E1 respectively. Remapping motors to outputs on the DueX does not remap endstop inputs.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                georgepaulundefined 1 Reply Last reply Reply Quote 0
                • georgepaulundefined
                  georgepaul @dc42
                  last edited by

                  @dc42
                  Oh thank you David.. no wonder it was working when i shifted them to the duet...
                  so is there any way to remap the endstops just to make things easier???

                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @georgepaul
                    last edited by

                    @georgepaul remapping endstops is part of the feature set of RRF3 but that is still experimental so I would not switch yet unless you have to have the functionality

                    www.duet3d.com

                    georgepaulundefined 1 Reply Last reply Reply Quote 0
                    • georgepaulundefined
                      georgepaul @T3P3Tony
                      last edited by georgepaul

                      @T3P3Tony looking forward to that

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA