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

    No Step/Dir Signal from Duet 3 Expansion 1XD

    Scheduled Pinned Locked Moved Solved
    Accessories and Add-ons
    5
    57
    3.0k
    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.
    • Jeredundefined
      Jered
      last edited by

      Whelp,
      That celebration was short lived. The movement of the machine is that of a non corexy. It moves only the X axis motor when commanded to move and the Y axis motor when moved in Y. It should be using both motors to move in X and Y. It is using the correct 1xd board for moving the motors, its just not moving both to get a movement in the X or Y direction. Instead, it move in a diagonal motion due to only one of the motors moving.

      In the config,
      M584 X40.0 Y41.0 Z42.0:43.0:125.0 E0.0:0.1:0.2:0.3:0.4:0.5:1.1 ; set drive mapping

      X and Y are designated only one address, but in core xy it uses both, so is the line above correct? The Z has 3 motors and is addressed as such. Should x and y be similar?

      Jeredundefined 1 Reply Last reply Reply Quote 0
      • Jeredundefined
        Jered @Jered
        last edited by

        So, I have been testing this with the home x and home y buttons on the dash board (then quickly triggering the home switches) and the axis move like they should, except the y is backwards. When ever the H2 command is given, only the motor designated x or y moves. What is the H2 command? How do I invert the y home position? I can change the homey.g file and it moves correctly. Not sure if this is the correct way.

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Post your homing files.

          The homing direction is controlled in the homing files to be either positive or negative. Which direction that actually ends up being depends on the direction of rotation defined in M569 setting up the motor. The endstop position is defined in M574 to be either on the high (positive end) or low (negative end). And all of that is subject to creating a right hand coordinate system with 0,0 in the front left, +x moves right, -x moves left, +y moves back, -y moves to the front.

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @jered your config.g file is set up for a Cartesian machine because it has no M669 command to select CoreXY mode.

            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

            Jeredundefined 1 Reply Last reply Reply Quote 0
            • Jeredundefined
              Jered @dc42
              last edited by

              It does have M669 command and is set up for core xy. See line 11.

              In Use Config.txt

              I would still like to know what H2 is. It seems to take the machine out of core xy mode. In the homing files there is also an H2 command which makes the machine move funny when it backs off the home sensor. See below.

              M201 X500.00 Y500.00 ; Reduce acceleration for homing moves

              G91 ; Relative positioning
              G1 H2 Z5 F6000 ; Lift Z relative to current position

              G1 H1 Y-605 F3600 ; Move quickly to Y endstop and stop there (first pass)
              G1 H2 Y5 F600 ; Go back a few mm
              G1 H1 Y-605 F360 ; Move slowly to Y endstop once more (second pass)

              M201 X3000 Y3000 ; Return to full acceleration

              G1 H2 Z-5 F6000 ; Lower Z relative to current position
              G90 ; Absolute positioning

              This H2 is in all the homing files. The one above is for the Y. When this H2 is in the command line only the designated motor moves, not both. To be clear, only the motor with the address Y will move in this example, G1 H2 Y5 F600.

              I was hoping to have my machine home to the back left. Will this be a problem? Should I move my sensors or change the files mentioned? If I can change the homing definitions, that would be fine and a bit easier.

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

                @jered I'm sorry, I was using a smartphone last time I replied and I missed that line.

                G1 H2 moves are always raw motor moves, so will move only one of the motors. To move a few mm in the -Y direction you can use:

                G1 H2 X-5 Y5 F600

                To move a few mm in the -X direction, use:

                G1 H2 X-5 Y-5 F600

                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

                Jeredundefined 1 Reply Last reply Reply Quote 0
                • Jeredundefined
                  Jered @dc42
                  last edited by

                  This is off topic, but the warranty from is asking me for the serial # of the bad 1xd board, but there isn't one that I can see. The form says there is a sticker on the back of the board with this number on it, there is no sticker. See pics

                  Front.jpg Back.jpg

                  alankilianundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                  • alankilianundefined
                    alankilian @Jered
                    last edited by

                    @jered

                    I ran the RRF configurator and selected COREXY and none of the homeing.g files have any H2 moves in it for any axis other than Z.

                    Maybe you should rerun the configurator and generate new files?

                    (I don't know, I'm just trying to help, so if I'm wrong, I'm sorry.)

                    ; homey.g
                    ; called to home the Y axis
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Apr 27 2022 12:58:17 GMT-0400 (Eastern Daylight Time)
                    G91               ; relative positioning
                    G1 H2 Z5 F6000    ; lift Z relative to current position
                    G1 H1 Y-215 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                    G1 Y5 F6000       ; go back a few mm
                    G1 H1 Y-215 F360  ; move slowly to Y axis endstop once more (second pass)
                    G1 H2 Z-5 F6000   ; lower Z again
                    G90               ; absolute positioning
                    

                    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator @Jered
                      last edited by

                      @jered Don't worry about the serial number. Usually that would be on the mainboard.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      Jeredundefined 1 Reply Last reply Reply Quote 0
                      • Jeredundefined
                        Jered @Phaedrux
                        last edited by

                        @phaedrux
                        About the homing location. I have the switches setup for the machine to home to the back left. Is this ok, or should I move the switches? I am not sure what a typical machine homing location should be.

                        With the cnc machines that I design, all homing is to the front left.

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

                          @jered you can have the homing switches in any corner you like. Back left would normally be X min and Y max, so that +Y moves towards the back and +X to the right. Your M574 commands in config.g and homing movement commands in the homing files must be set up accordingly.

                          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

                          Jeredundefined 1 Reply Last reply Reply Quote 0
                          • Jeredundefined
                            Jered @dc42
                            last edited by

                            Thank you guys for being such good help!

                            After the machine homes (which it is doing just fine), I want it to move off the sensors 5mm and then set that position as 0,0. Is that possible? I have edited the home files so that it moves off 5mm from the sensors, but noticed the machine sees that it is 5mm of each axis. I want it to think that offset is 0,0. Is there a command that sets the home positions?

                            I did also try and edit the config file and set the min positions to 5,5 but the machine showed it was off by 5mm from home, so that didn't work.

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @Jered
                              last edited by

                              @jered said in No Step/Dir Signal from Duet 3 Expansion 1XD:

                              I want it to think that offset is 0,0. Is there a command that sets the home positions?

                              You have two options, either use G92 X0 Y0 after you have moved off by 5mm, or you can set the axis minima in M208 to x-5 y-5 so that the 0,0 point would be 5mm away from the endstop.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Jeredundefined 1 Reply Last reply Reply Quote 0
                              • Jeredundefined
                                Jered @Phaedrux
                                last edited by

                                Thanks again guys for your help! Here is a vid so you can see a bit more of what I am doing.

                                Multi Filament Vcore 3

                                deckingmanundefined 1 Reply Last reply Reply Quote 2
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  It's looking good. We're always here to help.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  alankilianundefined 1 Reply Last reply Reply Quote 0
                                  • alankilianundefined
                                    alankilian @Phaedrux
                                    last edited by

                                    @phaedrux This super great.

                                    It's clear you now how to build bullet-proof machines.

                                    Very well done man.

                                    Thanks for the video.

                                    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                    Jeredundefined 1 Reply Last reply Reply Quote 0
                                    • Jeredundefined
                                      Jered @alankilian
                                      last edited by

                                      Just curious, is the a way to auto tune 2 heater outputs at the same time due to the fact that they are using the same TC and are working together? My hot end has to heater cartages connected to their own output.

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        Can you show how that is configured in your config.g?

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        Jeredundefined 1 Reply Last reply Reply Quote 0
                                        • Jeredundefined
                                          Jered @Phaedrux
                                          last edited by

                                          Yep,
                                          The mapping shown in the heater setup blow seems to be working fine as the temp is display correctly on the DWC interface. I just haven't turned them on because I wanted to tune them first.

                                          ; Heaters
                                          M308 S0 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp1
                                          M950 H0 C"out3" T0 ; create bed heater output on out3 and map it to sensor 0
                                          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
                                          M143 H0 S150 ; set temperature limit for heater 0 to 150C
                                          M308 S1 P"spi.cs0" Y"thermocouple-max31856" ; configure sensor 1 as thermocouple via CS pin spi.cs0
                                          M950 H1 C"out2" T1 ; create nozzle heater output on out0 and map it to sensor 1
                                          M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                                          M143 H1 S300 ; set temperature limit for heater 1 to 300C
                                          M950 H2 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
                                          M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
                                          M143 H2 S300 ; set temperature limit for heater 2 to 300C

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by Phaedrux

                                            Try tuning them one at a time. It may help to set the temperature of the one not being tuned to the normal operating temperature while you tune the other.

                                            Have you actually tried tuning them yet?

                                            You cn also manually adjust the tuning values: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Heaters_tuning

                                            Z-Bot CoreXY Build | Thingiverse Profile

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