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

duet 3 endstop wiring

Scheduled Pinned Locked Moved
Duet Hardware and wiring
5
33
3.1k
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
    Dad003 @dc42
    last edited by 3 May 2020, 22:38

    @dc42

    So i tested something here , tried ot home the Z with heat bed OFF it move 10mm and stop , started heated bed and boom Z axis keep moving , ANy idea what G CODE i should had or remove or modify ?

    1 Reply Last reply Reply Quote 0
    • undefined
      Phaedrux Moderator
      last edited by 3 May 2020, 22:43

      You're set up to home to Z max. Where is the endstop located? Is it at the bottom when the be is closest to the nozzle or is it at the opposite end?

      Z-Bot CoreXY Build | Thingiverse Profile

      undefined 1 Reply Last reply 3 May 2020, 23:32 Reply Quote 0
      • undefined
        Dad003 @Phaedrux
        last edited by 3 May 2020, 23:32

        @Phaedrux ends stop is at the bottom the opposite side of the hot end ,

        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator @Dad003
          last edited by 4 May 2020, 02:47

          @Dad003 said in duet 3 endstop wiring:

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 03 2020 01:01:37 GMT-0600 (Mountain Daylight Time)
          G91 ; relative positioning
          G1 H2 Z-5 F3000 ; lift Z relative to current position
          G1 H1 Z-805 F1800 ; move Z down until the endstop is triggered
          G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
          ; Uncomment the following lines to lift Z after probing
          ;G91 ; relative positioning
          ;G1 Z-5 F50 ; lift Z relative to current position
          ;G90 ; absolute positioning

          Ok, in that case your homez should have a positive Z movement to the endstop rather than negative.

          G1 H1 Z805 F1800

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            Dad003
            last edited by Dad003 5 Jun 2020, 04:56 6 May 2020, 04:00

            So after a few frustrating days i still have problem , my Y axis and Z axis will not home , they move a little and the duet web control show as home when they didnt even touch the limit switch

            here a video of the Y axis showing my problem , if i run a macro to move the axis after they home everything move fine but homing Y and Z unless they are already next to the limit switch doesnt work they start moving than stop sometime they move more like the video show . Either it a parameter that i dont see somewhere in the config but it not the gcode in the home files since the X work fine , if it neither in the file than is a firmware issue and it a big one , him running the last available firmware 3.01 RC11.

            https://www.youtube.com/watch?v=VYiLlLr1R1s

            ; homey.g
            ; called to home the Y axis
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 03 2020 01:01:37 GMT-0600 (Mountain Daylight Time)
            G91 ; relative positioning
            G1 H2 Z5 F3000 ; lower Z relative to current position
            G1 H2 Y-5 F3000
            G1 H1 Y300 F3000 ; move quickly to Y axis endstop and stop there (first pass)
            G1 H2 Y-5 F3000 ; go back a few mm
            G1 H1 Y300 F360 ; move slowly to Y axis endstop once more (second pass)
            G90 ; absolute positioning

            ; homez.g
            ; called to home the Z axis
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 03 2020 01:01:37 GMT-0600 (Mountain Daylight Time)
            G91 ; relative positioning
            G1 H2 Z10 F3000 ; lift Z relative to current position
            G1 H1 Z805 F3000 ; move Z down until the endstop is triggered
            G92 Z572 ; set Z position to axis minimum (you may want to adjust this)

            ; Uncomment the following lines to lift Z after probing
            ;G91 ; relative positioning
            ;G1 Z-5 F50 ; lift Z relative to current position
            ;G90 ; absolute positioning

            ; Configuration file for Duet 3 (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 03 2020 01:01:37 GMT-0600 (Mountain Daylight Time)

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

            ; Network
            M551 P"9410648" ; set password
            M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP
            M586 P0 S1 ; enable HTTP
            M586 P1 S1 ; enable FTP
            M586 P2 S0 ; disable Telnet

            ; Drives
            M569 P0.0 S1 ; physical drive 0.0 goes forwards
            M569 P0.1 S1 ; physical drive 0.1 goes forwards
            M569 P0.2 S1 ; physical drive 0.2 goes forwards
            M569 P0.5 S0 ; physical drive 0.5 goes backwards
            M569 P0.4 S1 ; physical drive 0.4 goes forwards
            M584 X0.0 Y0.1 Z0.2 E0.5:0.4 ; set drive mapping
            M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation
            M92 X160.00 Y160.00 Z3200.00 E172.64:172.60 ; set steps per mm
            M566 X900.00 Y900.00 Z12.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 E250.00:250.00 ; set accelerations (mm/s^2)
            M906 X1600 Y1600 Z1200 E1600:1600 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 X360 Y250 Z572 S0 ; set axis maxima

            ; Endstops
            M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin io0.in
            M574 Y2 S1 P"!io2.in" ; configure active-high endstop for high end on Y via pin io2.in
            M574 Z2 S1 P"!io1.in" ; configure active-high endstop for low end on Z via pin io1.in

            ; Z-Probe
            M558 P0 H-5 F120 T3000 ; disable Z probe but set dive height, probe speed and travel speed
            M557 X15:215 Y15:195 S20 ; define mesh grid

            ; Heaters
            M308 S0 P"temp3" Y"thermistor" T100000 B4725 ; configure sensor 0 as thermistor on pin temp3
            M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M308 S1 P"spi.cs0" Y"thermocouple-max31856" ; configure sensor 1 as thermocouple via CS pin spi.cs0
            M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
            M143 H1 S260 ; set temperature limit for heater 1 to 260C
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M308 S2 P"spi.cs1" Y"thermocouple-max31856" ; configure sensor 2 as thermocouple via CS pin spi.cs1
            M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2
            M143 H2 S290 ; set temperature limit for heater 2 to 290C
            M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

            ; Fans
            M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
            M106 P0 C"extruder 1" S1 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on
            M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
            M106 P1 C"extruder 2" S1 H2 T45 ; set fan 1 name and value. Thermostatic control is turned on
            M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency
            M106 P2 C"blower" S0 H-1 ; set fan 2 name and value. Thermostatic control is turned off
            M950 F3 C"out6" Q500 ; create fan 3 on pin out6 and set its frequency
            M106 P3 C"electrical" S1 H1:2 T30 ; set fan 3 name and value. Thermostatic control is turned on

            ; Tools
            M563 P1 D0 H1 F0 ; 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 D1 H2 F0 ; define tool 2
            G10 P2 X0 Y34.05 Z0 ; set tool 2 axis offsets
            G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

            ; Custom settings are not defined

            ; Miscellaneous
            M501 ; load saved parameters from non-volatile memory
            T1 ; select first tool

            1 Reply Last reply Reply Quote 0
            • undefined
              Danal
              last edited by 6 May 2020, 06:16

              @Dad003 said in duet 3 endstop wiring:

              M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin io0.in

              If you have physical normally closed switches, you do not need the !

              Go to the "machine specific" tab and look lower right. There is a sub-screen that shows endstop status. Verify the say "No" under triggered. Then press them with your finger and be sure each says "yes" .

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • undefined
                Dad003
                last edited by 6 May 2020, 06:26

                they are all on no and they all work , when i press them

                1 Reply Last reply Reply Quote 0
                • undefined
                  Danal
                  last edited by 6 May 2020, 06:27

                  @Dad003 said in duet 3 endstop wiring:

                  they are all on no and they all work , when i press them

                  Then the switches themselves are working and configured correctly.

                  Therefore, look at the homing files, or axis configuration, or other similar things.

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Dad003
                    last edited by 6 May 2020, 06:36

                    everything move like it should be excepted the homing of Y and Z axis and g code is directly from the tools and check it and check so many time tryed to change value trying to find the problem and nothing , nothing work the homing of the Y or Z never seem to move the same distance every time i call them

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Dad003
                      last edited by Dad003 5 Jun 2020, 07:43 6 May 2020, 07:33

                      here something interesting out of the 3 axis stepper , i had to make the wire longer and one motor i only did was to cut the connector to put the duet one in place , so i swapped this connector from the X that was working fine to the Y and the Y suddenly home like it should ! i got rid of the cable and than Z work like it should now , i might have a bad cable it look now

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