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

    Large Format Dowell to Duet conversion

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    14
    362
    35.3k
    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.
    • Charles Fraserundefined
      Charles Fraser @T3P3Tony
      last edited by

      @t3p3tony 8FCC3C85-A8A4-4FFB-A2BD-E20AE40EF9F4.jpeg

      1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators
        last edited by

        @charles-fraser ok perfect so now satisfied that the right firmware versions are on everything.

        Is this picture still accurate for how the Pi is connected to the Duet?
        https://forum.duet3d.com/assets/uploads/files/1631111270670-green-machine-8-9-2021.jpg

        How is the PI powered?

        www.duet3d.com

        Charles Fraserundefined 1 Reply Last reply Reply Quote 0
        • Charles Fraserundefined
          Charles Fraser @T3P3Tony
          last edited by

          @t3p3tony nope it now has USB C power

          image.jpg

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @Charles Fraser
            last edited by

            @charles-fraser ok so we are now at the point where the SBC is working. The Duet is working. but comms between them don't appear to be working. Please try the following:

            1. Power the whole system down and then back up again. In all these changes I am not sure if we have had a full reset.

            2. If after #1 DWC does not allow you to send a command to the Duet, connect a USB cable to the Duet's USB port and open up the terminal application you were using and send M122

            www.duet3d.com

            Charles Fraserundefined 2 Replies Last reply Reply Quote 0
            • Charles Fraserundefined
              Charles Fraser @T3P3Tony
              last edited by

              @t3p3tony

              Thanks Tony, I did a restart and power off of all systems before but this time I could here the fan spinning on the extruder! Sign of life!

              I ran M122 and it printed !! Whoop

              1 Reply Last reply Reply Quote 0
              • Charles Fraserundefined
                Charles Fraser @T3P3Tony
                last edited by

                @t3p3tony 27A3C6B1-C573-4BC6-BA2D-CA08DD88E62B.jpeg

                Charles Fraserundefined 1 Reply Last reply Reply Quote 0
                • Charles Fraserundefined
                  Charles Fraser @Charles Fraser
                  last edited by

                  @charles-fraser quick question: to connect to the Pi via USB to “SerialTools about in there” I should use the USB C?

                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                  • T3P3Tonyundefined
                    T3P3Tony administrators @Charles Fraser
                    last edited by

                    @charles-fraser said in Large Format Dowell to Duet conversion:

                    @charles-fraser quick question: to connect to the Pi via USB to “SerialTools about in there” I should use the USB C?

                    No the Duet 3 is a micro USB port.

                    @charles-fraser said in Large Format Dowell to Duet conversion:

                    I ran M122 and it printed !! Whoop

                    Ok excellent so now you are at the point where you have communication between the Pi and the Duet MB 6HC, and between the Duet and the 3HC.

                    Run

                    M98 P"0:/sys/config.g"
                    

                    That will give you any errors in you config.g that need to be changed.

                    As an aside,
                    From now on are you able to send the text of the M122 reports etc using the "</>" function in the forum rather than as an image. It make is easier to see whats going on.
                    2c27c879-ca95-479f-b487-61689131d6c3-image.png

                    www.duet3d.com

                    Charles Fraserundefined 3 Replies Last reply Reply Quote 0
                    • Charles Fraserundefined
                      Charles Fraser @T3P3Tony
                      last edited by Charles Fraser

                      @t3p3tony

                      I thought you meant connect to the Pi via USB not the Duet

                      04/10/2021, 17:30:46	M98 P"0:/sys/config.g"
                      CORS disabled
                      CORS disabled
                      CORS disabled
                      
                      1 Reply Last reply Reply Quote 0
                      • Charles Fraserundefined
                        Charles Fraser @T3P3Tony
                        last edited by Charles Fraser

                        @t3p3tony okay I have to cycle to the shops to get food before it gets dark and starts raining again. Thank you again for all your help! I will sing duet from the steepletops if we get this working. Also what is your favorite Champagne, Wine and Ale? This Christmas t'wil be flowing!

                        1 Reply Last reply Reply Quote 0
                        • Charles Fraserundefined
                          Charles Fraser @T3P3Tony
                          last edited by

                          @t3p3tony hi dear Tony, I am taking ladbrokes to court at the moment for bullying tactics and so have spent much of the morning dealing with them and some of my team helping me with things. I’m now able to put a few hours back into the printer if you are around?

                          I’m happy to pay for your time and or send huge cases of your finest drink to you for christmas if you think you could help me get this printer working?

                          I posted what was printed after that command in my second to last post. I’m not sure what that response means but I’m trying to get the board to recognise the thermistor and thermocouple with no luck. Please advise. Many thanks, Charles

                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators @Charles Fraser
                            last edited by

                            @charles-fraser I think you are now at the point where the boards are working and communicating so the next step is actually setting up and commissioning the printer.

                            I see from an earlier post that you have gone through and used the config tool to generate the configuration, which we have subsequently modified to remove the non SBC networking stuff. To get rid of the CORS reports when you send M98 P"0:/sys/config.g"
                            remove the 3 lines starting with M586, then test running M98 P"0:/sys/config.g" again.

                            At that point please post your config.g here using the </> method to make it easy and we can start testing the movement, heaters etc.

                            www.duet3d.com

                            Charles Fraserundefined 4 Replies Last reply Reply Quote 0
                            • Charles Fraserundefined
                              Charles Fraser @T3P3Tony
                              last edited by Charles Fraser

                              @t3p3tony Thank you!

                              Charles Fraserundefined 1 Reply Last reply Reply Quote 0
                              • Charles Fraserundefined
                                Charles Fraser @Charles Fraser
                                last edited by Charles Fraser

                                @charles-fraser

                                Okay so all court documents are submitted to the courts in time even though Ladbrookes tried to change the dates on us and then revert back to the old dates last min, and I can get back to work on this:

                                When I send M98 P"0:/sys/config.g" it just posts that in the event log in a green coloured entry. Nothing else comes back.

                                Here is the config.g file

                                ; Configuration file for Duet 3 (firmware version 3.3)
                                ; executed by the firmware on start-up
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:54 GMT+0100 (British Summer Time)
                                
                                ; General preferences
                                G90                                                             ; send absolute coordinates...
                                M83                                                             ; ...but relative extruder moves
                                
                                ; Wait a moment for the CAN expansion boards to start
                                G4 S2
                                
                                
                                ; 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.3 S1                                                    ; physical drive 0.3 goes forwards
                                M569 P0.4 S1                                                    ; physical drive 0.4 goes forwards
                                M569 P0.5 S1                                                    ; physical drive 0.5 goes forwards
                                M569 P1.0 S1                                                    ; physical drive 1.0 goes forwards
                                M584 X0.0 Y0.1 Z0.2 E0.3:0.4:0.5:1.0                            ; set drive mapping
                                M350 X16 Y16 Z16 E16:16:16:16 I1                                ; configure microstepping with interpolation
                                M92 X80.00 Y80.00 Z400.00 E420.00:420.00:420.00:420.00          ; set steps per mm
                                M566 X900.00 Y900.00 Z60.00 E120.00:120.00:120.00:120.00        ; set maximum instantaneous speed changes (mm/min)
                                M203 X6000.00 Y6000.00 Z180.00 E1200.00:1200.00:1200.00:1200.00 ; set maximum speeds (mm/min)
                                M201 X500.00 Y500.00 Z20.00 E250.00:250.00:250.00:250.00        ; set accelerations (mm/s^2)
                                M906 X3000 Y3000 Z800 E800:800:800:800 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 X1200 Y2000 Z1600 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 Y1 S1 P"io1.in"                                            ; configure active-high endstop for low end on Y via pin io1.in
                                M574 Z1 S2                                                      ; configure Z-probe endstop for low end on Z
                                
                                ; Z-Probe
                                M558 P9 C"^1.io1.in" H100 F120 T6000                            ; set Z probe type to switch and the dive height + speeds
                                G31 P500 X0 Y0 Z2.5                                             ; set Z probe trigger value, offset and trigger height
                                M556 S50 X0 Y0 Z0                                               ; set orthogonal axis compensation parameters
                                M557 X15:215 Y15:195 S20                                        ; define mesh grid
                                
                                ; Heaters
                                M308 S0 P"spi.cs0" Y"thermocouple-max31855"                     ; configure sensor 0 as thermocouple via CS pin spi.cs1
                                M950 H0 C"out1" T0                                              ; create bed heater output on out1 and map it to sensor 0
                                M307 H0 B1 S1.00                                                ; enable bang-bang mode for the bed heater and set PWM limit
                                M140 H0                                                         ; map heated bed to heater 0
                                M143 H0 S80                                                    ; set temperature limit for heater 0 to 80C
                                M308 S1 P"temp0" Y"pt1000" R2200                                ; configure sensor 1 as PT1000 on pin temp0
                                M950 H1 C"out2" T1                                              ; create nozzle heater output on out2 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
                                
                                ; Fans
                                M950 F0 C"out8" Q500                                            ; create fan 0 on pin out8 and set its frequency
                                M106 P0 S0 H T45                                                ; set fan 0 value. Thermostatic control is turned on
                                M950 F1 C"out9" Q500                                            ; create fan 1 on pin out9 and set its frequency
                                M106 P1 S1 H-1                                                  ; set fan 1 value. Thermostatic control is turned off
                                
                                ; Tools
                                M563 P0 S"lily" D0 H1 F0:1                                      ; define tool 0
                                G10 P0 X100 Y100 Z0                                             ; set tool 0 axis offsets
                                G10 P0 R0 S0                                                    ; set initial tool 0 active and standby temperatures to 0C
                                
                                ; Custom settings are not defined
                                
                                
                                
                                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                                • Charles Fraserundefined
                                  Charles Fraser @T3P3Tony
                                  last edited by Charles Fraser

                                  @t3p3tony

                                  Dear Tony, I have my k-type thermocouple plugged into 'tc0' on the daughterboard on the expansion board. Is this the correct instruction to set that please?

                                  M308 S0 P"spi.cs0" Y"thermocouple-max31855"                     ; configure sensor 0 as thermocouple via CS pin spi.cs1
                                  

                                  Is

                                  M950 H0 C"out1" T0                                              ; create bed heater output on out1 and map it to sensor 0
                                  

                                  Mapping out1 on the expansion board? I see no reference to the expansion board?

                                  Is

                                  M308 S1 P"temp0" Y"pt1000" R2200                                ; configure sensor 1 as PT1000 on pin temp0
                                  

                                  Setting the thermistor on 'temp0' on the expansion board? Again I see/understand no reference to the3HC? Same for all heater and sensors for noz and bed - they are all on 3HC and daughter board on the 3HC. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • Charles Fraserundefined
                                    Charles Fraser @T3P3Tony
                                    last edited by

                                    @t3p3tony I also can’t work out for the life of me what the coordinate and drive mapping system is for the 4 x z motors

                                    This is their location measured from X=0 y=0 on the bed looking from above

                                    435266AE-14F3-41E7-BE39-92C53C1462F5.png

                                    And here is an up to date mapping of the wires / ports I hope: Green Machine Wiring Table

                                    1 Reply Last reply Reply Quote 0
                                    • Charles Fraserundefined
                                      Charles Fraser @T3P3Tony
                                      last edited by

                                      @t3p3tony

                                      Also the output of the heater for the heated bed goes to a relay. The polarity of the wires seems to matter but I can’t work out which of the pins on ‘OUT0’ on the 3HC is positive or negative. Sorry if this should be possible to determine from the wiring diagram, I still can’t work that out after looking at it

                                      33C8E132-0F58-44A4-86DD-188209777564.jpeg

                                      F3D9FE35-5219-40F2-8B45-CF16A4A5E571.jpeg

                                      Please NB location of blue and brown wires.

                                      1 Reply Last reply Reply Quote 0
                                      • T3P3Tonyundefined
                                        T3P3Tony administrators @Charles Fraser
                                        last edited by

                                        @charles-fraser said in Large Format Dowell to Duet conversion:

                                        M98 P"0:/sys/config.g" it just posts that in the event log in a green coloured entry. Nothing else comes back.

                                        Thats good, means there are no commands that are erroring when the machine starts

                                        edited to refer to the table you shared here:
                                        https://docs.google.com/spreadsheets/d/1BnwMvK9tU8W356t2_NAa4YQPk077nXfBA7ScrNfxe_A/edit#gid=0

                                        I have only started covering the issues - I can't answer your questions if you ask them quicker than I can answer - 1 step at a time.

                                        I am assuming that the wiring is plugged in as that table refers except the BL touch which is potentially faulty as was preventing the expansion board form starting up. First check there are still no issues with communication or safety after everything is plugged (send M122, M122 B1, check no heaters are heating uncontrollably).

                                        1. You have the table showing a Thermocouple being used for the heated bed, connected to thermocouple DB that is plugged into the 3HC. The heater for the heated bed is controlled by a SSR from the 3HC. That should be ok, although the configuration is set to have it connected to the mainboard so lets change that:
                                        M308 S0 P"1.spi.cs0" Y"thermocouple-max31855" ; configure sensor 0 as thermocouple via CS pin 1.spi.cs1 on expansion board 1
                                        M950 H0 C"1.out2" T0                                              ; create bed heater output on expansion board 1 out2 and map it to sensor 0
                                        

                                        Cross reference with the 6HC wiring diagram here:
                                        https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Wiring_Diagram
                                        and 3HC wiring diagram here:
                                        https://duet3d.dozuki.com/Wiki/Duet_3_Expansion_3HC_Wiring_Diagram

                                        1. Similar to point 1, the config does not match your table, change it to:
                                        M308 S1 P"1.temp1" Y"thermistor" T100000  B3800                              ; configure sensor 1 as PT1000 on pin temp0
                                        M950 H1 C"1.out1" T1                                              ; create nozzle heater output on out2 and map it to sensor 1
                                        

                                        For some reason you had a PT1000 set in the config, not a thermistor so check that. NOTE the B value in the line above is probably totally wrong as it will be specific to the thermistor. you need to find out what the correct B (and C if the manufacture gives that) values you should be using for this specific thermistor.

                                        1. Fans. Your config has the hotend cooling fan connected to out 8 on the mainboard and the part cooling fan connected to out9. that will be fine if they are both 2 wire fans that run at the same voltage. and fan 1 is your hotend cooling fan, while fan 2 is your part cooling fan.

                                        2. Your table does not match the wiring diagram for motors, You only have 1 Z motor defined and 4 extruders. The table has the following setup:
                                          z back right Driver 3
                                          z front right Driver 2
                                          x Driver 0
                                          y Driver 1
                                          z front left Driver 4
                                          z back left Driver 5
                                          Extruder motor Expansion Driver 0
                                          Note, refer to the mainboard 6HC wiring diagram again - can you confirm that is how you have them plugged in because an earlier image you posted with a schematic had them plugged in differently. Check where each driver is on the mainboard!
                                          The M584 command needs adjusting to correctly assign the driver to the correct axis (assuming the mapping as you have in the table):

                                        M584 X0.0 Y0.1 Z0.2:0.4:0.5:0.3 E1.0
                                        

                                        This sets the order of the Z motors as Front right, Front left, back left, back right. which is important for Z levelling later.
                                        You also need to adjust the subsequent commands to take into account you have 4 Z motors and 1 extruder.

                                        M350 X16 Y16 Z16 E16  I1                                ; configure microstepping with interpolation
                                        M92 X80.00 Y80.00 Z400.00 E420.00          ; set steps per mm
                                        M566 X900.00 Y900.00 Z60.00 E120.00        ; set maximum instantaneous speed changes (mm/min)
                                        M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                                        M201 X500.00 Y500.00 Z20.00 E250.00        ; set accelerations (mm/s^2)
                                        M906 X3000 Y3000 Z800 E800 I30                      ; set motor currents (mA) and motor idle factor in per cent
                                        

                                        Note for now I have just removed the additional extruder parameters. The settings there will apply equally to all Z motors which I assume are the same.

                                        1. The co ordinates for you motors (for use in M671 later in the process). I think they are as follows based on the image you have posted:
                                          7b5c394f-458c-44f3-8d2e-ec11441ebc9e-image.png
                                          Assuming the motors are where the circles are?

                                        Ok I think that is enough for now. Make the changes to config.g I have suggested and then re-run M98 P"0:/sys/config.g". Then plost config.g here again and we can take the next steps.

                                        www.duet3d.com

                                        Charles Fraserundefined 2 Replies Last reply Reply Quote 0
                                        • Charles Fraserundefined
                                          Charles Fraser @T3P3Tony
                                          last edited by

                                          @t3p3tony

                                          you are amazing Tony thank you so much! I need to get inside to warm up abit and cook supper then will get outside again to give it some more work. Thank you thank you thank you!

                                          1 Reply Last reply Reply Quote 0
                                          • Charles Fraserundefined
                                            Charles Fraser @T3P3Tony
                                            last edited by

                                            @t3p3tony

                                            Thanks so much Tony! So:

                                            1. M122 under heaters says
                                            === Diagnostics ===
                                            RepRapFirmware for Duet 3 MB6HC version 3.3 (2021-06-15 21:45:47) running on Duet 3 MB6HC v1.01 or later (SBC mode)
                                            Board ID: 08DJM-9P63L-DJ3S0-7J1D6-3SD6S-1UJV8
                                            Used output buffers: 1 of 40 (13 max)
                                            === RTOS ===
                                            Static ram: 150904
                                            Dynamic ram: 61572 of which 0 recycled
                                            Never used RAM 141716, free system stack 202 words
                                            Tasks: SBC(ready,4.9%,306) HEAT(delaying,0.0%,351) Move(notifyWait,0.0%,352) CanReceiv(notifyWait,0.0%,908) CanSender(notifyWait,0.0%,374) CanClock(delaying,0.0%,339) TMC(notifyWait,7.3%,93) MAIN(running,87.7%,1252) IDLE(ready,0.0%,29), total 100.0%
                                            Owned mutexes: HTTP(MAIN)
                                            === Platform ===
                                            Last reset 00:09:13 ago, cause: power up
                                            Last software reset at 2021-10-06 17:48, reason: User, none spinning, available RAM 141716, slot 1
                                            Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a
                                            Error status: 0x00
                                            Step timer max interval 129
                                            MCU temperature: min 25.2, current 31.6, max 31.9
                                            Supply voltage: min 24.1, current 24.2, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
                                            12V rail voltage: min 12.2, current 12.2, max 12.2, under voltage events: 0
                                            Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
                                            Driver 0: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Driver 1: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Driver 2: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Driver 3: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Driver 4: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Driver 5: position 0, standstill, reads 16623, writes 14 timeouts 0, SG min/max 0/0
                                            Date/time: 2021-10-06 20:51:18
                                            Slowest loop: 0.46ms; fastest: 0.06ms
                                            === Storage ===
                                            Free file entries: 10
                                            SD card 0 not detected, interface speed: 37.5MBytes/sec
                                            SD card longest read time 0.0ms, write time 0.0ms, max retries 0
                                            === Move ===
                                            DMs created 125, maxWait 0ms, bed compensation in use: none, comp offset 0.000
                                            === MainDDARing ===
                                            Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                            === AuxDDARing ===
                                            Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                                            === Heat ===
                                            Bed heaters = 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                                            === GCodes ===
                                            Segments left: 0
                                            Movement lock held by null
                                            HTTP* is doing "M122" in state(s) 0
                                            Telnet is idle in state(s) 0
                                            File is idle in state(s) 0
                                            USB is idle in state(s) 0
                                            Aux is idle in state(s) 0
                                            Trigger* is idle in state(s) 0
                                            Queue is idle in state(s) 0
                                            LCD is idle in state(s) 0
                                            SBC is idle in state(s) 0
                                            Daemon is idle in state(s) 0
                                            Aux2 is idle in state(s) 0
                                            Autopause is idle in state(s) 0
                                            Code queue is empty.
                                            === CAN ===
                                            Messages queued 4902, received 7, lost 0, longest wait 1ms for reply type 6042, peak Tx sync delay 333, free buffers 49 (min 48), ts 2769/2768/0
                                            Tx timeouts 0,0,0,0,0,0
                                            === SBC interface ===
                                            State: 4, failed transfers: 1, checksum errors: 0
                                            Last transfer: 1ms ago
                                            RX/TX seq numbers: 18779/18925
                                            SPI underruns 0, overruns 0
                                            Disconnects: 1, timeouts: 0, IAP RAM available 0x2c810
                                            Buffer RX/TX: 0/0-0
                                            === Duet Control Server ===
                                            Duet Control Server v3.3.0
                                            Code buffer space: 4096
                                            Configured SPI speed: 8000000Hz
                                            Full transfers per second: 19.81, max wait times: 8.6ms/0.0ms
                                            Codes per second: 0.00
                                            Maximum length of RX/TX data transfers: 3203/64
                                            

                                            M122 B1 Says

                                            Diagnostics for board 1:
                                            Duet EXP3HC firmware version 3.3 (2021-06-15 16:12:41)
                                            Bootloader ID: not available
                                            Never used RAM 159072, free system stack 4400 words
                                            Tasks: Move(notifyWait,0.0%,160) HEAT(delaying,0.0%,104) CanAsync(notifyWait,0.0%,69) CanRecv(notifyWait,0.0%,82) CanClock(notifyWait,0.0%,71) TMC(notifyWait,7.2%,63) MAIN(running,91.5%,430) IDLE(ready,0.0%,39) AIN(delaying,1.3%,263), total 100.0%
                                            Last reset 00:10:07 ago, cause: software
                                            Last software reset data not available
                                            Driver 0: position 0, 420.0 steps/mm,  standstill, reads 56771, writes 16 timeouts 0, SG min/max 0/0, steps req 0 done 0
                                            Driver 1: position 0, 80.0 steps/mm,  standstill, reads 56776, writes 11 timeouts 0, SG min/max 0/0, steps req 0 done 0
                                            Driver 2: position 0, 80.0 steps/mm,  standstill, reads 56777, writes 11 timeouts 0, SG min/max 0/0, steps req 0 done 0
                                            Moves scheduled 0, completed 0, in progress 0, hiccups 0, step errors 0, maxPrep 0, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
                                            Peak sync jitter -2/8, peak Rx sync delay 178, resyncs 0/0, no step interrupt scheduled
                                            VIN: 24.0V, V12: 12.2V
                                            MCU temperature: min 23.3C, current 24.3C, max 24.7C
                                            Ticks since heat task active 193, ADC conversions started 607931, completed 607931, timed out 0, errs 0
                                            Last sensors broadcast 0x00000000 found 0 198 ticks ago, loop time 0
                                            CAN messages queued 31, send timeouts 0, received 5392, lost 0, free buffers 37, min 37, error reg 110069
                                            dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 0
                                            
                                            1. Okay I changed those values for the sensors and heaters (all on the 3HC) thanks!

                                            Juan who designed and built the pellet extruder does not have the thermistor info. It might be easier to just buy a new one that fits in the heating block. Any recommendations would be appreciated re kind.

                                            1. Fans, the fans are 12V fans I think. Both two wire fans running at Q500 which is barely at all but when I change that value up it just makes more noise but doesnt spin much at all.

                                            2. Yea those are the correct driver to motor matches in the table - I changed it from the pic before to try and match the config tool and arrangement in the instructions for setting up multiple z motors. I've added all the config you setup thank you!

                                            4.1 I still need to work out the correct miliAmps for Nema 17 (z motors & extruder motor) and mAmps for Nema 23 X & Y motors.

                                            4.2 I still need to work out the steps per mm info. The screws on the z scres has a lead of 5mm and a toothed gear at the top with a pulley to another toothed gear on the nema 17 motor. I'll add a pic here in a bit. Not sure how to work out what kind of gears they are for the gear ratio calculations / steps / mm cals

                                            4.3 Not sure what microstepping setting to set for best performance / my use case, mostly printing with a 3mm Nozzle

                                            1. Okay not sure where to add the M671 command so will wait till later in the process. Thanks for that!

                                            I just saved that config and updated the board. I can see the heater thermistor is at a balmy -273C which I think is pretty close to absolute zero, which is how I feel right now. Bed says n/a

                                            I sent that M98 command and

                                            06/10/2021, 21:29:47	M98 P"0:/sys/config.g"
                                            Error: M308: Unknown sensor type name "thermocouplemax3185"
                                            Warning: M950: Sensor number 0 has not been defined
                                            06/10/2021, 21:27:01	Warning: M950: Sensor number 0 has not been defined
                                            06/10/2021, 21:27:01	Error: M308: Unknown sensor type name "thermocouplemax3185"
                                            

                                            The config file now looks like:

                                            ; Configuration file for Duet 3 (firmware version 3.3)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v3.3.3 on Fri Oct 01 2021 16:59:54 GMT+0100 (British Summer Time)
                                            
                                            ; General preferences
                                            G90                                                             ; send absolute coordinates...
                                            M83                                                             ; ...but relative extruder moves
                                            
                                            ; Wait a moment for the CAN expansion boards to start
                                            G4 S2
                                            
                                            
                                            ; 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.3 S1                                                    ; physical drive 0.3 goes forwards
                                            M569 P0.4 S1                                                    ; physical drive 0.4 goes forwards
                                            M569 P0.5 S1                                                    ; physical drive 0.5 goes forwards
                                            M569 P1.0 S1                                                    ; physical drive 1.0 goes forwards
                                            M584 X0.0 Y0.1 Z0.2:0.4:0.5:0.3 E1.0
                                            M350 X16 Y16 Z16 E16  I1                                ; configure microstepping with interpolation
                                            M92 X80.00 Y80.00 Z400.00 E420.00          ; set steps per mm
                                            M566 X900.00 Y900.00 Z60.00 E120.00        ; set maximum instantaneous speed changes (mm/min)
                                            M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
                                            M201 X500.00 Y500.00 Z20.00 E250.00        ; set accelerations (mm/s^2)
                                            M906 X3000 Y3000 Z800 E800 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 X1200 Y2000 Z1600 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 Y1 S1 P"io1.in"                                            ; configure active-high endstop for low end on Y via pin io1.in
                                            M574 Z1 S2                                                      ; configure Z-probe endstop for low end on Z
                                            
                                            ; Z-Probe
                                            M558 P9 C"^1.io1.in" H100 F120 T6000                            ; set Z probe type to switch and the dive height + speeds
                                            G31 P500 X0 Y0 Z2.5                                             ; set Z probe trigger value, offset and trigger height
                                            M556 S50 X0 Y0 Z0                                               ; set orthogonal axis compensation parameters
                                            M557 X15:215 Y15:195 S20                                        ; define mesh grid
                                            
                                            ; Heaters
                                            M308 S0 P"1.spi.cs0" Y"thermocouple-max31855" ; configure sensor 0 as thermocouple via CS pin 1.spi.cs1 on expansion board 1
                                            M950 H0 C"1.out2" T0                                              ; create bed heater output on expansion board 1 out2 and map it to sensor 0
                                            M307 H0 B1 S1.00                                                ; enable bang-bang mode for the bed heater and set PWM limit
                                            M140 H0                                                         ; map heated bed to heater 0
                                            M143 H0 S80                                                    ; set temperature limit for heater 0 to 80C
                                            M308 S1 P"1.temp1" Y"thermistor" T100000  B3800                              ; configure sensor 1 as PT1000 on pin temp0
                                            M950 H1 C"1.out1" T1                                              ; create nozzle heater output on out2 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
                                            
                                            ; Fans
                                            M950 F0 C"out8" Q500                                            ; create fan 0 on pin out8 and set its frequency
                                            M106 P0 S0 H T45                                                ; set fan 0 value. Thermostatic control is turned on
                                            M950 F1 C"out9" Q500                                            ; create fan 1 on pin out9 and set its frequency
                                            M106 P1 S1 H-1                                                  ; set fan 1 value. Thermostatic control is turned off
                                            
                                            ; Tools
                                            M563 P0 S"lily" D0 H1 F0:1                                      ; define tool 0
                                            G10 P0 X100 Y100 Z0                                             ; set tool 0 axis offsets
                                            G10 P0 R0 S0                                                    ; set initial tool 0 active and standby temperatures to 0C
                                            
                                            ; Custom settings are not defined
                                            
                                            
                                            

                                            thank you again. I hope you are researching the very finest Welsh ales you want for Christmas

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