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

    Enable endstops on a Duex5

    Scheduled Pinned Locked Moved
    General Discussion
    5
    32
    3.6k
    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.
    • Loffy770undefined
      Loffy770
      last edited by

      Hello,

      I have Duet WiFi and a Duex5. Now I have connected Sunex GL 8 endstops to 5v on Duex and it looks to be working ok, they light up so some reaction is in there. But how do I assign them to my XYZ.. cant find any info on that..

      Thanks
      Roger

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

        Currently there isn't a faciliary to reassign endstop connections. This is on the firmware wish list.

        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

        1 Reply Last reply Reply Quote 0
        • Loffy770undefined
          Loffy770
          last edited by

          Ohh, can I use the drivers on Duex as XYZ and get around the problem in that way?

          1 Reply Last reply Reply Quote 0
          • Loffy770undefined
            Loffy770
            last edited by

            Okay, I have pulled 5v from Duex5 and moved the signal to Duet, it lights up but there is no reaction when doing a home… The way I tested it was by doing a safe distance Z home and then putting a screw driver on the sensor. It lights up but does not stop the Z from moving...

            Am I missing something?

            1 Reply Last reply Reply Quote 0
            • iDeveloundefined
              iDevelo
              last edited by

              @Loffy770:

              Okay, I have pulled 5v from Duex5 and moved the signal to Duet, it lights up but there is no reaction when doing a home… The way I tested it was by doing a safe distance Z home and then putting a screw driver on the sensor. It lights up but does not stop the Z from moving...

              Am I missing something?

              What commands are you using to home Z?

              1 Reply Last reply Reply Quote 0
              • Loffy770undefined
                Loffy770
                last edited by

                Just the home buttons on the web interface and or Paneldue.

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

                  @Loffy770:

                  Ohh, can I use the drivers on Duex as XYZ and get around the problem in that way?

                  Sorry, mapping drivers does not map endstops.

                  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

                  1 Reply Last reply Reply Quote 0
                  • Loffy770undefined
                    Loffy770
                    last edited by

                    So how can I get past this.. whats the workaround?

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

                      @Loffy770:

                      Okay, I have pulled 5v from Duex5 and moved the signal to Duet, it lights up but there is no reaction when doing a home… The way I tested it was by doing a safe distance Z home and then putting a screw driver on the sensor. It lights up but does not stop the Z from moving...

                      Am I missing something?

                      Use M119 or the Settings->Machine Properties tab of DWC to test the endstops.

                      Can you post a link to the datasheet of the endstops, and tell us how you have connected them to the Duet? Does the endstop LEDs on the Duet show the correct endstop state?

                      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

                      1 Reply Last reply Reply Quote 0
                      • Loffy770undefined
                        Loffy770
                        last edited by

                        I took voltage from Duex endstop + & - then I took signal from Duet endstop Z.
                        When Z is moving I get a led from Sunx when I put a screwdriver on it on Duet Zendstop the led comes on with red light. Z continues to move though.

                        Sunx link http://www.clrwtr.com/PDF/SUNX/SUNX-GL-8U-Proximity-Sensors.pdf

                        With m119 I get a popup
                        Endstops - X at min stop. Y at min stop. Z at min stop. Z probe not stopped.

                        1 Reply Last reply Reply Quote 0
                        • Loffy770undefined
                          Loffy770
                          last edited by

                          These end stops are rated 12-24 but works with 5v as they are originals in my printer and runs well with 5 v.

                          1 Reply Last reply Reply Quote 0
                          • Loffy770undefined
                            Loffy770
                            last edited by

                            any ideas? Some more to test?

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

                              Which particular model of the GL8 series are they?

                              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

                              1 Reply Last reply Reply Quote 0
                              • Loffy770undefined
                                Loffy770
                                last edited by

                                Hi,
                                Its a Gl8h top sensing 3 wire model "normally open"

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

                                  Have you set up your M574 command and your homez.g and homeall.g files to tell the firmware that you are using an endstop for Z homing? See https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer. Your files may be set up for Z homing using a Z probe instead, depending on where they came from.

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • Loffy770undefined
                                    Loffy770
                                    last edited by

                                    Well I used the configurator to set it but I will go through it again.
                                    Just to be on the safe side.. I connected black signal cable to the outer pin closest to usb port on Duet. Looking at schematics for Duet it looks like it should be the other way around.. but if I do that I get no led light on Duet.

                                    On Duet I have + brown cable and - blue cable.

                                    1 Reply Last reply Reply Quote 0
                                    • Loffy770undefined
                                      Loffy770
                                      last edited by

                                      Can confirm the wrong in the schematics now, just measured it and power is wrong in the Duet schematic.

                                      1 Reply Last reply Reply Quote 0
                                      • Loffy770undefined
                                        Loffy770
                                        last edited by

                                        I have M574 X1 Y1 Z1 S0

                                        Had a M558 line active and put a rem in the front now, is that correct to rem that line and use the above for open and low homing?
                                        If so I will test this now.

                                        1 Reply Last reply Reply Quote 0
                                        • Loffy770undefined
                                          Loffy770
                                          last edited by

                                          Configuration file for Duet WiFi (firmware version 1.17)
                                          ; executed by the firmware on start-up
                                          ;
                                          ; generated by RepRapFirmware Configuration Tool on Sat Mar 04 2017 15:46:00 GMT+0100 (W. Europe Standard Time)

                                          ; General preferences
                                          M111 S0 ; Debugging off
                                          G21 ; Work in millimetres
                                          G90 ; Send absolute coordinates…
                                          M83 ; ...but relative extruder moves
                                          M555 P2 ; Set firmware compatibility to look like Marlin
                                          M208 X0 Y0 Z0 S1 ; Set axis minima
                                          M208 X370 Y250 Z280 S0 ; Set axis maxima

                                          ; Endstops
                                          M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches
                                          ;M558 P1 X1 Y0 Z1 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
                                          G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
                                          M557 X15:215 Y15:195 S20 ; Define mesh grid

                                          ; Drives
                                          M569 P0 S1 ; Drive 0 goes forwards
                                          M569 P1 S0 ; Drive 1 goes forwards
                                          M569 P2 S0 ; Drive 2 goes forwards
                                          M569 P3 S1 ; Drive 3 goes forwards
                                          M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                                          M92 X80 Y81 Z390 E189 ; 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 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
                                          M906 X1000 Y1000 Z1000 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                          M84 S30 ; Set idle timeout

                                          ; Heaters
                                          M143 S285 ; Set maximum heater temperature to 260C
                                          M305 P0 T130600 B6084 C2.635903e-7 R4700 ; Set thermistor + ADC parameters for heater 0
                                          M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                                          M307 H0 P130.1, I0.213, D449.1

                                          ; Tools
                                          M563 P0 D0 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

                                          ; Network
                                          M550 Black Widow ; Set machine name
                                          M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP

                                          ; Fans
                                          M106 P0 S0.3 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

                                          ; Custom settings are not configured

                                          1 Reply Last reply Reply Quote 0
                                          • Loffy770undefined
                                            Loffy770
                                            last edited by

                                            Okay I have X homing as it should!
                                            Y is homing in the wrong direction even though I did set it to low. Tried o change it to high incase there was a bug or something but it didnt work… It however stops if I put a screwdriver on the sensor so the sensor is communicating to the board correctly.. Its just the motor homing in the wrong direction despite being configurated as below.
                                            ; Endstops
                                            M574 X1 Y1 Z1 S0 ; Define active low and unused microswitches
                                            ;M558 P2 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to modulated, the axes for which it is used and the probe + travel speeds
                                            ;G31 P600 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
                                            ;M557 X15:355 Y15:235 S20 ; Define mesh grid

                                            Z does not stop with any metal on it but it still lights up on the board.

                                            Firmware Name: RepRapFirmware for Duet WiFi
                                            Firmware Electronics: Duet WiFi 1.0 + DueX5
                                            Firmware Version: 1.17c (2017-01-14)
                                            WiFi Server Version: 1.03 (ch fork)
                                            Web Interface Version: 1.14a

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