• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    Loffy770
    last edited by 3 Apr 2017, 22:06 4 Mar 2017, 22:01

    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
    • undefined
      Loffy770
      last edited by 4 Mar 2017, 22:10

      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
      • undefined
        Loffy770
        last edited by 3 May 2017, 14:03 5 Mar 2017, 13:58

        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
        • undefined
          Loffy770
          last edited by 5 Mar 2017, 14:18

          Updated to 1.17e with no differance on homing

          1 Reply Last reply Reply Quote 0
          • undefined
            Loffy770
            last edited by 5 Mar 2017, 17:10

            Y homing sorted out… works.

            Now trying to fix Z

            1 Reply Last reply Reply Quote 0
            • undefined
              Loffy770
              last edited by 5 Mar 2017, 17:15

              I would like to see how a Homez.g for a carthesian without probe looks like… Mine has a probe setting. Can anyone post one?

              1 Reply Last reply Reply Quote 0
              • undefined
                jacksat
                last edited by 5 Mar 2017, 17:31

                Did you read these yet

                https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer#Homing_files

                If you home Z using a microswitch instead, then you can use a pattern similar to homex,g and homey.g. However, if you use a low-end homing switch that triggers a little before Z=0, then you can't use M208 to define the homing position, because it would prevent you moving below the trigger height. You can use a G92 command after homing instead. Here is an example, for the case where you have a low-end homing switch that triggers at Z=0.3mm:

                G91 ; relative mode
                G1 Z4 F200 ; raise head 4mm to ensure it is above the switch trigger height
                G90 ; back to absolute mode
                G1 X0 Y0 F2000 ; put head wherever you want it to be when you home Z (omit this line if it doesn't matter)
                G91 ; relative mode
                G1 Z-200 S1 F100 ; move Z down until the switch triggers
                G90 ; back to absolute mode
                G92 Z0.3 ; tell the firmware that we are at Z=0.3mm

                1 Reply Last reply Reply Quote 0
                • undefined
                  Loffy770
                  last edited by 3 May 2017, 17:54 5 Mar 2017, 17:53

                  Seems like the configurator is putting out the wrong content, it does put out probe in homez even if probe was deselected.

                  Will read that link thanks, have a homez based on Y content now as a start and it works…
                  Just trying to understand how the files are built up and relates.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Loffy770
                    last edited by 5 Mar 2017, 18:12

                    I think I have it all figured out now.

                    Thanks for any assistance given. 🙂 Im sure I will find something more to ask about within short.

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Loffy770
                      last edited by 5 Mar 2017, 18:24

                      Just like to remind DC42 to look at the error of the Duet 3.3v endstops signal and ground is not correct on schematic.. they need to switch place.

                      Configurator outputs probe even if probe in homez was deselected.

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by 5 Mar 2017, 19:40

                        @Loffy770:

                        Just like to remind DC42 to look at the error of the Duet 3.3v endstops signal and ground is not correct on schematic.. they need to switch place.

                        Please provide a link to the particular diagram that you believe is wrong, and confirm whether you have a blue production board or a white pre-production board.

                        @Loffy770:

                        Configurator outputs probe even if probe in homez was deselected.

                        Thanks for that report. I'll check it out.

                        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
                        • undefined
                          Loffy770
                          last edited by 5 Mar 2017, 20:00

                          https://duet3d.com/wiki/Duet_WiFi_wiring_diagrams

                          My board is a 1.01

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Loffy770
                            last edited by 5 Mar 2017, 20:03

                            My mistake, too tired when I did it. Schematic is ok.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dintid
                              last edited by 27 Sept 2017, 16:08

                              What is the status of rempping limits switche?

                              Asking as I'm using the last 2 drivers on Duex5 for my Z-axis motors. I have a limit-switch for each of these motors I want to use to sync the motors.
                              But either the remapping doesn't work, or i'm doing something wrong?
                              I tried defining the "old" Z as Extruder, just to see if that would change anything, but it didn't

                              Right now the Z-endstop is just telling me it is triggered.

                              M119
                              Endstops - X: at min stop, Y: at min stop, Z: at max stop, Z probe: not stopped
                              
                              

                              My Config

                              ; Endstops
                              M574 X1 Y1 Z2 S1		; 1=min end. 2=high end. S1=Normally Closed
                              
                              ; Define Drives
                              ; Motor remapping for dual Z
                              M584 X0 Y1 Z8:9 E3:4:5:6:7:2	; Driver 0 For X, 1 for Y, Extruder 3-7, Z 8-9 + individually as UV
                              
                              [b]My config:[/b]
                              ; Physical Drive conention
                              M569 P0 S1 	; Drive 0 A
                              M569 P1 S0 	; Drive 1 B
                              M569 P2 S0 	; Drive 2 - Original Z - unused
                              M569 P3 S0 	; Extruder0 - Physical Tool 0
                              M569 P4 S0 	; Extruder1 - Physical Tool 1
                              M569 P5 S0 	; Extruder2 - Physical Tool 2
                              M569 P6 S0 	; Extruder3 - Physical Tool 3
                              M569 P7 S0 	; Extruder4 - Physical Tool 4
                              M569 P8 S0 	; Drive 8  - Left z-motor
                              M569 P9 S0 	; Drive 9  - Right z-motor
                              
                              

                              RepRapFirmware supported G-codes: https://duet3d.com/wiki/G-code

                              1 Reply Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators
                                last edited by 28 Sept 2017, 20:06

                                You need to create the U and V axes in M584 to get the U and V endstops to show up, and they will use the E0 and E1 endstop connectors on the Duet.

                                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
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA