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

    Firmware 1.19RC1 released - please help us with testing!

    Scheduled Pinned Locked Moved
    Firmware installation
    9
    94
    10.8k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      Thanks. I think the Z offset is working correctly. You have specified a Z offset of +10mm for tool 1, which means that tool 1 nozzle is 10mm higher than the reference point. So it should be trying to print 10mm below the bed surface; but you probably have a limit set at 0mm. If you want the tool to print 10mm above the bed, you need to specify a tool Z offset of -10mm in your G10 command.

      Using your configuration, I have replicated the problem of the U axis moving when you re-select tool 0 and move the head in X, and I am investigating it.

      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
      • Kulitorumundefined
        Kulitorum
        last edited by

        Ok, cool. If this is correct, then why is tool 0 printing at z10 for the last 5 secs if my video?

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

          That would because when tool 1 was selected, moving to Z offset 0+first layer height was prohibited, so it moved to 10mm + first layer height. Then when you reselected tool 0, Z was at 10 + layer heights and now G1 Z command has been read in the gcode file yet.

          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
          • Kulitorumundefined
            Kulitorum
            last edited by

            Just tested with head 0 offset of -10 and G1 Z commands after tool change, that everything seems to be working, apart from the head crash. Cool.

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

              Kulitorum, thanks.

              Lars and Kulitorum, I've just released RC3 with fixes for (I hope) CoreXY homing and IDEX tool change. Please try it (carefully - I suggest you reduce motor currents at first).

              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
              • Kulitorumundefined
                Kulitorum
                last edited by

                Thanks. Just tried it, and on the first change to T1, this happens:

                T0 is moved away correctly.
                T1 should move to R2, (R1?) but it tries to move the wrong direction, and just slams the head left.

                I let T1 print (outside the printbed) and when it was done it slammed left again. Then T0 did its thing correctly.
                Then T0 parked, and T1 printed correctly. (although offset 2mm left because of the headcrashes)

                https://www.youtube.com/watch?v=3XrpYAhsDrg

                1 Reply Last reply Reply Quote 0
                • Kulitorumundefined
                  Kulitorum
                  last edited by

                  After T0 layer2:
                  https://www.youtube.com/watch?v=dtG9O0oW2Wc

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

                    Thanks again for the videos. Is the +X direction to the left on your printer?

                    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
                    • larsundefined
                      lars
                      last edited by

                      Still problem with RC3. I move X and U and it works (T0 is active tool after boot). I change to T1 (right tool) and when doing a X+1 (or was it X-1) it stats to move towards the right side. I managed to emergency stop before crash as lowered both max speed and current. This is unhomed so no tool change scrips should run but as you requested them I'll include them below, I only have tfree0.g and tfree1.g.

                      Homing worked better this time but first time I ran it the right (t1) carriage never move out to the end stop. I could not reproduce this but I believe I have seen it once before (in earlier betas), that time it was t0. Second homing worked as it should. I restarted the duet and homed again and it worked.

                      tfree0.g

                      G90
                      G1 X-33 F18000
                      
                      

                      tfree1.g

                      G90
                      G1 X525 F18000
                      
                      

                      config.g

                      ; Communication and general
                      M111 S0                             	; Debug off
                      M550 PDuetWiFi		; Machine name and Netbios name (can be anything you like)
                      M551 Pxxxxx                        	; Machine password (used for FTP)
                      ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
                      M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED 	; MAC Address
                      ;*** Wifi Networking
                      M552 S1				; Enable WiFi. Disabled for setup and testing. Enable once set up on your network.
                      
                      M555 P2                           	; Set output to look like Marlin
                      M575 P1 B57600 S1			; Comms parameters for PanelDue
                      
                      G21                                 	; Work in millimetres
                      G90                                	; Send absolute coordinates...
                      M83                                 	; ...but relative extruder moves
                      
                      ; Core xyu
                      M669 K5 ; Select CoreXYU mode
                      
                      ; Axis and motor configuration
                      M584 Y5 X7 U8 V6 E3:4 Z0:1:2         ; Set up steppers for x, y, u, v, z and e, use P4 once it works to hide V
                      M671 X-60:560:250 Y-10:-10:560 S0.5  ; Set up lead screw positions for bed leveling
                      
                      M574 X1 Y1 U2 S1			; set endstop configuration (all endstops at high end, active high)
                      M574 Z0 S0
                      
                      M208 X-38 Y-5 U-5 V-5 Z0 S1 ; Set axis minima
                      M208 X495 Y500 U529.45 V500 Z700 S0 ; Set axis maxima U600 - 37 - 38 = 525
                      
                      M569 P0 S0 ; Drive 0 goes forwards Z
                      M569 P1 S0 ; Drive 1 goes forwards Z
                      M569 P2 S0 ; Drive 2 goes forwards Z
                      M569 P3 S0 ; Drive 3 goes forwards E0
                      M569 P4 S0 ; Drive 4 goes forwards E1
                      M569 P5 S1 ; Drive 5 goes forwards Y
                      M569 P6 S1 ; Drive 6 goes forwards V
                      M569 P7 S1 ; Drive 7 goes forwards X
                      M569 P8 S1 ; Drive 8 goes forwards U
                      M569 P9 S1 ; Drive 9 goes forwards
                      
                      M350 X16 Y16 U16 V16 Z16 E16:16 I1 ; Configure microstepping with interpolation
                      M92 X160 Y160 U160 V160 Z1600 ; Set steps per mm
                      M566 X800 Y800 U800 V800 Z24 E20:20 ; Set maximum instantaneous speed changes (mm/min)
                      M203 X24000 Y24000 U24000 V24000 Z400 E1800:1800 ; Set maximum speeds (mm/min)
                      M201 X1500 Y1500 U1500 V1500 Z250 E120:120 ; Set accelerations (mm/s^2)
                      M906 X1700 Y1700 U1700 V1700 Z1700 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                      
                      M84 S30 ; Set idle timeout
                      
                      ; Thermistors
                      M305 P0 T100000 B3950 R4700 H30 L0	; Put your own H and/or L values here to set the bed thermistor ADC correction
                      
                      M305 P1 X200 ; USE PT100 for heater 1 tool 0
                      M305 P2 X201 ; USE PT100 for heater 2 tool 1
                      
                      M570 S180				; Hot end may be a little slow to heat up so allow it 180 seconds
                      
                      ; Fans
                      M106 P0 S0 H-1 				; Part cooling, disable thermostatic mode for fan 0
                      M106 P1 T50 H1                          ; Set fan 1 to thermostatic mode for hotend 1 at 50deg
                      M106 P2 T50 H2                          ; Set fan 2 to thermostatic mode for hotend 2 at 50deg
                      
                      ; Tool definitions
                      ; Tool 0
                      M563 P0 D0 H1                       	; Define tool 0
                      G10 P0 S0 R0                        	; Set tool 0 operating and standby temperatures
                      ; Tool 1
                      M563 P1 D1 H2 X3                    	; Define tool 1 and bind it to U-axis (X3)
                      G10 P1 U0.15 Y-0.425 Z0.2 S0 R0         ; Set tool 1 operating and standby temperatures
                      M92 E2650:2650                       	; Set extruder steps per mm
                      
                      ; Z probe and compensation definition
                      M558 P6 X0 Y0 Z0                        ; Z probe is an BLTouch probe connected to E1-endstop (last)
                      G31 T6 X-14 Y-26.765 Z2.70 P10			; Set the zprobe height and threshold (put your own values here)
                      
                      M557 X30:470 Y30:470 S44  ; Probe grid
                      M376 H5                   ; Taper of bed compensation
                      
                      ;*** If you are using axis compensation, put the figures in the following command
                      M556 S78 X0 Y0 Z0                   	; Axis compensation here
                      
                      ; Heater model parameters
                      M307 H0 A93.0 C167.8 D2.5 S1.00 B0   ; Bed
                      M307 H1 A259.8 C120.8 D3.2 S1.00 B0  ; Tool 0
                      M307 H2 A356.8 C180.3 D3.9 S1.00 B0  ; Tool 1
                      ; BLTouch connected to PWM5/E6
                      M307 H7 A-1 C-1 D-1
                      
                      M208 S1 Z-0.2				; set minimum Z
                      
                      T0					; select first hot end
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Kulitorumundefined
                        Kulitorum
                        last edited by

                        yes, +x is to the left in the videos

                        1 Reply Last reply Reply Quote 0
                        • Kulitorumundefined
                          Kulitorum
                          last edited by

                          Any progress? - Eager to start testing 🙂

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

                            I really appreciate your help, because I need to resolve this today ready for the release tomorrow.

                            I'm puzzled because I just ran some more tests and I can't replicate your issue using RC3. Please can you try the following:

                            1. Home all axes. I homed X, Y and U in that order, and then sent G92 Z0 because I don't have a Z probe on my test rig.

                            2. Either send M302 P1 to enable cold extrusion or heat the hot ends up so that the tool change macros don't generate error messages.

                            3. Send the following sequence of commands:

                            T0
                            G1 X100 ; X carriage moves to 100
                            T1 ; X carriage moves to near home position
                            G1 X200 ; U carriage moves to 200
                            T0 ; U carriage moves to near home position
                            G1 X100 ; X carriage moves to 100

                            If this goes wrong, please let me know where and/or post a video. If it doesn't go wrong, please try to find a simple sequence that does.

                            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
                            • larsundefined
                              lars
                              last edited by

                              David, have you tried relative moves? I remember last time I tracked down this kind of problem (after beta 6?) it was related to relative moves… How does the web interface issue its moves, relative or absolute?

                              1 Reply Last reply Reply Quote 0
                              • Kulitorumundefined
                                Kulitorum
                                last edited by

                                Your little test script runs perfectly.

                                The small script here makes some wierd movements, so I am trying to figure out when and why.

                                The documentation for M111 is a bit shallow, can you tell me how to get realtime echo of the command running? (Or better, extend the documentation, but I guess that's not today)

                                G90
                                M82
                                M140 S60
                                ;From tool 0 gcode
                                G10 P0 R190 S190
                                G10 P1 R190 S190
                                G28
                                T1 ; To force the temperatures to be "activated"
                                T0
                                M116 P0
                                M116 P1
                                G92 E0
                                G1 E-3.0000 F600
                                G1 Z0.680 F9000
                                ; process Tool 0
                                ; layer 1, Z = 0.180
                                G1 z0.180
                                T0
                                ; tool H0.200 W0.480
                                ; skirt
                                G1 X109.566 Y102.382 F4500
                                G1 Z0.180 F9000
                                G1 E0.0000 F180

                                1 Reply Last reply Reply Quote 0
                                • Kulitorumundefined
                                  Kulitorum
                                  last edited by

                                  Here's the video of that gcode running:

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

                                  1 Reply Last reply Reply Quote 0
                                  • larsundefined
                                    lars
                                    last edited by

                                    Interesting, I did the test you asked for and it worked as expected. I then switched to T1, changed to relative G91 and did a G1 X-1.
                                    This moved T1 from end pos (529.4) to 99…

                                    12:31:58 G1 X-1
                                    12:31:43 G91
                                    12:31:11 T1
                                    12:30:59 G1 X100
                                    12:30:46 T0
                                    12:30:18 G1 X200
                                    12:29:49 T1
                                    12:29:41G1 X100
                                    12:29:27 T0

                                    1 Reply Last reply Reply Quote 0
                                    • Kulitorumundefined
                                      Kulitorum
                                      last edited by

                                      I have mailed you the login for my workshop computer, you are welcome to teamviewer to it and have a go at it.

                                      I am setting up a webcam, so you can see what you are doing 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • Kulitorumundefined
                                        Kulitorum
                                        last edited by

                                        Webcam is up at: 212.237.97.81:8081

                                        1 Reply Last reply Reply Quote 0
                                        • Kulitorumundefined
                                          Kulitorum
                                          last edited by

                                          FYI, I am also using relative moves in my tool change gcode (tfree0.g)

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

                                            Hi Kulitorum thanks for that. I've reproduced it and traced what is happening:

                                            • After homing, the last requested X position is 30 (from homing Z)
                                            • The T1 command leaves the last requested X position as 30 and changes the actual U position from 312.8 to 311.7and the actual X position to -27
                                            • The T0 command changes the last requested X position to 311.7. This is wrong. It looks like it's worked out the actual X position before the tool change using the U axis mapping (which it does to avoid issues in the tool change files), but then it hasn't restored the last requested X position that was saved before the tool change started. I'll work out why.
                                            • Then the G1 Z command uses the last requested X position, because the command doesn't include an X coordinate.

                                            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