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

Toolboard Heater Tuning and Fan Error

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
52
2.4k
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
    Veti @Frederik
    last edited by 19 Dec 2020, 08:29

    @Frederik

    post your config, could also be a wiring issue. the bltouch should not be triggered when idle

    undefined 1 Reply Last reply 19 Dec 2020, 09:00 Reply Quote 0
    • undefined
      Frederik @Veti
      last edited by 19 Dec 2020, 09:00

      @Veti

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"vcore" ; set printer name
      M669 K1 ; select CoreXY mode
      ; Drives
      M569 P0.0 S1 ; physical drive 0.0 goes forwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      M569 P0.2 S0 ; physical drive 0.2 goes forwards
      M569 P0.3 S0 ; physical drive 0.5 goes forwards
      M569 P0.4 S0 ; physical drive 0.5 goes forwards
      M569 P0.5 S1 ; physical drive 0.5 goes forwards
      M569 P121.0 S1 ; physical drive 0.5 goes forwards
      M584 X0.1 Y0.0 Z0.2:0.3:0.4 E0.5:121.0 ; set drive mapping
      M350 E16 I0 ; configure microstepping without interpolation
      M350 X32 Y32 Z64 I1 ; configure microstepping with interpolation
      M92 X320.00 Y320.00 Z3200.00 E830.00 ; set steps per mm
      M566 X3000.00 Y3000.00 Z60.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z100.00 E250.00 ; set accelerations (mm/s^2)
      M906 X1900 Y1900 Z1900 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout
      M671 X0:200:400 Y50:400:50 S10 ; Position of Leadscrews
      ;Duet Laser Filament Monitor
      M591 D0 P5 C"io3.in" R30:130 E3.0 S0 ; tolerance 30 to 130%, 3mm comparison length, diabled
      ; Pressure Advance Tuning
      ;M572 D0 S0.1 ;Extruder pressure advance: 0.010
      ; Cancel Ringing at the defined Freuquenzy
      ;M593 F40.5
      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X410 Y385 Z390 S0 ; set axis maxima
      ; Endstops
      M574 X1 S1 P"121.io2.in" ; configure active-high endstop for low end on X via pin 121.io2.in
      M574 Y1 S1 P"io0.in" ; configure active-high endstop for low end on Y via pin io1.in
      M574 Z2 S2 ; configure Z-probe endstop for high end on Z
      ; Z-Probe
      M950 S0 C"121.io0.out" ; create servo pin 0 for BLTouch
      M558 P9 C"^121.io0.in" H8 F120 T9000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
      M557 X0:400 Y0:400 S20 ; define mesh grid
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4100 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0 ; create bed heater output on out0 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"121.temp0" Y"thermistor" T500000 B4723 C1.19622e-7 ; configure sensor 1 as thermistor on pin 121.temp0
      M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1
      M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
      M143 H1 S500 ; set temperature limit for heater 1 to 500C
      M308 S2 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin temp2
      M950 H2 C"out2" T2 ; create chamber heater output on out1 and map it to sensor 2
      M307 H2 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit
      M141 H2 ; map chamber to heater 2
      M143 H2 S200 ; set temperature limit for heater 2 to 200C
      ; Heater Model Parameters
      M307 H0 R0.641 C945.3 D3.18 S1.00 V24.1 ; PID Parameters Heated Bed
      ; PID Parameters BuildChamber
      ; PID Parameters E3D Volcano
      ; Fans
      M950 F0 C"121.out2" Q500 ; create fan 0 on pin 121.out1 and set its frequency
      M106 P0 S0 H-1 ; set fan 0 name and value. Thermostatic control is turned on
      M950 F1 C"121.out1" Q500 ; create fan 1 on pin 121.out2 and set its frequency
      M106 P1 S0 H-1 ; set fan 1 name and value. Thermostatic control is turned off
      ; Tools
      M563 P0 S"Mosquito Magnum" D0 H1 F0:1 ; define tool 0
      G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
      G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
      M563 P1 S"E3D Volcano" D0 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
      ; Custom settings are not defined
      M912 P0 S-14.8 ; MCU Temperature Calibration
      ; Miscellaneous
      T0 ; select first tool
      1 Reply Last reply Reply Quote 0
      • undefined
        Veti
        last edited by 19 Dec 2020, 12:17

        @Frederik said in Toolboard Heater Tuning and Fan Error:

        M350 E16 I0 ; configure microstepping without interpolation

        M350 X32 Y32 Z64 I1 ; configure microstepping with interpolation

        M92 X320.00 Y320.00 Z3200.00 E830.00 ; set steps per mm

        M566 X3000.00 Y3000.00 Z60.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)

        M203 X18000.00 Y18000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)

        M201 X500.00 Y500.00 Z100.00 E250.00 ; set accelerations (mm/s^2)

        M906 X1900 Y1900 Z1900 E800 I30 ; set motor currents (mA) and motor idle factor in per cent

        you are missing the config for the second extruder

        what does the bltouch show in the ui when its not deployed?

        undefined 2 Replies Last reply 19 Dec 2020, 12:39 Reply Quote 0
        • undefined
          Frederik @Veti
          last edited by 19 Dec 2020, 12:39

          @Veti the second extruder is for my "fast switching" bowden - direct drive setup.

          I used the so-called EVA mod for my printhead, I only have to change 2 screws and 1 piece of plastic to convert my setup from direct to Bowden and vice versa. the Extruder is driven from the Toolboard stepper driver.

          This Toolhead can be used for a Hemera, volcano, mosquito or dragon Hotend, standard or Idex, and with BMG or Titan extruders.

          when in Bowden mode: the duet 3 mainboard drives it

          but I don't want to switch config... only hardware changes ๐Ÿ™‚

          at the moment Iยดm looking for a solution on how to properly mount the tool board when I use the Bowden setup.

          when in direct drive I've mounted it on the backside of the Nema with a printed holder.

          its a really nice design,

          https://pkucmus.github.io/EVA/

          1 Reply Last reply Reply Quote 0
          • undefined
            Frederik @Veti
            last edited by Frederik 19 Dec 2020, 12:40

            @Veti Z-Probe 0

            and the red and blue lights are constantly on.

            when doing a standard homeZ. it works fine.

            but when i try to do a mesh with 20mm spacing, it stops with the same error message after a random number of points.. sometimes 40 spots , sometimes only 15 spots

            1 Reply Last reply Reply Quote 0
            • undefined
              Veti
              last edited by 19 Dec 2020, 13:43

              a lot of the bltouch problems come from bad wiring.

              undefined 2 Replies Last reply 19 Dec 2020, 13:45 Reply Quote 0
              • undefined
                Frederik @Veti
                last edited by 19 Dec 2020, 13:45

                @Veti perhaps this one is software related.

                when i restart the printer without touching the head, it works perfekt....sometimes up to 10 times in a row ..

                1 Reply Last reply Reply Quote 0
                • undefined
                  Frederik @Veti
                  last edited by 19 Dec 2020, 13:46

                  @Veti and when the error occurs, the bltouch is blinkin red and in the dwc i can read z-probe 1000

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Veti
                    last edited by 19 Dec 2020, 13:46

                    have you updated the bootloader?

                    https://forum.duet3d.com/topic/19211/bltouch-and-duet-3-tool-board/22

                    undefined 1 Reply Last reply 19 Dec 2020, 13:48 Reply Quote 0
                    • undefined
                      Frederik @Veti
                      last edited by 19 Dec 2020, 13:48

                      @Veti

                      19.12.2020, 14:47:20
                      m122 b121
                      Diagnostics for board 121:
                      Duet TOOL1LC firmware version 3.2-beta4.1 (2020-12-03)
                      Bootloader ID: not available
                      Never used RAM 4180, free system stack 84 words
                      HEAT 50 CanAsync 89 CanRecv 83 TMC 54 MAIN 218 AIN 64
                      Last reset 00:24:45 ago, cause: VDD brownout
                      Last software reset data not available
                      Driver 0: position 0, 830.0 steps/mm, standstill, SG min/max 0/0, read errors 0, write errors 0, ifcnt 12, reads 21603, writes 12, timeouts 0, DMA errors 0
                      Moves scheduled 0, completed 0, in progress 0, hiccups 0
                      No step interrupt scheduled
                      VIN: 24.1V
                      MCU temperature: min 43.5C, current 43.6C, max 46.0C
                      Ticks since heat task active 54, ADC conversions started 1479264, completed 1479263, timed out 0
                      Last sensors broadcast 0x00000002 found 1 58 ticks ago, loop time 0
                      CAN messages queued 18185, send timeouts 0, received 13832, lost 0, free buffers 36
                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Veti
                        last edited by 19 Dec 2020, 13:49

                        the bootloader not the firmware. please read the thread.

                        undefined 1 Reply Last reply 19 Dec 2020, 14:05 Reply Quote 0
                        • undefined
                          jay_s_uk
                          last edited by 19 Dec 2020, 13:54

                          Is it to do with the BLtouch being on the toolboard but the z drivers being on the main board?
                          I believe the restriction is still in place about the probe being in a different board

                          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Frederik @Veti
                            last edited by 19 Dec 2020, 14:05

                            @Veti yes , but it says bootloader not available, and i cant find the file. i Have to update via can, do i need the ToolLc1 firmware also or only the bootloader file ?

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Veti
                              last edited by Veti 19 Dec 2020, 14:30

                              whats the error message when you issue the bootloader update?

                              the bootloader files are here as its written in the documentation.
                              https://github.com/Duet3D/Duet3Bootloader/releases

                              undefined 4 Replies Last reply 19 Dec 2020, 14:42 Reply Quote 0
                              • undefined
                                Frederik @Veti
                                last edited by 19 Dec 2020, 14:42

                                @Veti bootloader not found

                                I looked again in the toolboard documentation, but i cant find the link to the bootloader, there is only a link to GitHub with the step files....

                                do i need only the samc21.bin or the .elf file also?

                                any additional files needed?

                                i added the 3 lines for the workaround also to the end of my config.g

                                i will test if now the mesh completes without errors

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Frederik @Veti
                                  last edited by Frederik 19 Dec 2020, 14:47

                                  @Veti the samc21 from your link worked.

                                  m997 b121 s3

                                  Board 121 starting bootloader update

                                  19.12.2020, 15:45:56 Datei Duet3Bootloader-SAMC21.bin erfolgreich nach 0s hochgeladen

                                  now, iยดm really curious what the bltouch does ๐Ÿ™‚

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Frederik @Veti
                                    last edited by Frederik 19 Dec 2020, 14:49

                                    @Veti
                                    after the update :

                                    m122 b121
                                    Diagnostics for board 121:
                                    Duet TOOL1LC firmware version 3.2-beta4.1 (2020-12-03)
                                    Bootloader ID: SAMC21 bootloader version 2.1 (2020-11-03b2)
                                    Never used RAM 4668, free system stack 96 words
                                    HEAT 50 CanAsync 89 CanRecv 83 TMC 54 MAIN 338 AIN 64
                                    Last reset 00:02:38 ago, cause: software
                                    Last software reset data not available
                                    Driver 0: position 0, 80.0 steps/mm, standstill, SG min/max 0/0, read errors 0, write errors 1, ifcnt 22, reads 13732, writes 9, timeouts 0, DMA errors 0
                                    Moves scheduled 0, completed 0, in progress 0, hiccups 0
                                    No step interrupt scheduled
                                    VIN: 24.1V
                                    MCU temperature: min 42.0C, current 42.0C, max 42.3C
                                    Ticks since heat task active 85, ADC conversions started 158578, completed 158577, timed out 0
                                    Last sensors broadcast 0x00000000 found 0 88 ticks ago, loop time 0
                                    CAN messages queued 16, send timeouts 0, received 1436, lost 0, free buffers 36

                                    Is that the right combination of firmwares ?
                                    i am using DWC 3.2.0beta4

                                    m122
                                    === Diagnostics ===
                                    RepRapFirmware for Duet 3 MB6HC version 3.2-beta4.1 running on Duet 3 MB6HC v1.01 or later (SBC mode)
                                    Board ID: 08DJM-956BA-NA3TN-6J9DL-3S46S-99AUT
                                    Used output buffers: 1 of 40 (11 max)
                                    === RTOS ===
                                    Static ram: 123292
                                    Dynamic ram: 139216 of which 140 recycled
                                    Never used RAM 129544, free system stack 126 words
                                    Tasks: Linux(ready,101) HEAT(blocked,272) CanReceiv(blocked,829) CanSender(blocked,352) CanClock(blocked,352) TMC(blocked,20) MAIN(running,669) IDLE(ready,19)
                                    Owned mutexes: HTTP(MAIN)
                                    === Platform ===
                                    Last reset 00:23:02 ago, cause: power up
                                    Last software reset at 2020-12-19 15:22, reason: User, none spinning, available RAM 129752, slot 0
                                    Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0xffffffff Task Linu
                                    Error status: 0x00
                                    MCU temperature: min 27.7, current 31.2, max 42.6
                                    Supply voltage: min 24.0, current 24.1, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
                                    12V rail voltage: min 12.1, current 12.1, max 12.2, under voltage events: 0
                                    Driver 0: position 72800, standstill, reads 18438, writes 31 timeouts 0, SG min/max 0/248
                                    Driver 1: position 4000, standstill, reads 18439, writes 31 timeouts 0, SG min/max 0/244
                                    Driver 2: position 6400, standstill, reads 18440, writes 31 timeouts 0, SG min/max 0/246
                                    Driver 3: position 0, standstill, reads 18440, writes 31 timeouts 0, SG min/max 0/245
                                    Driver 4: position 0, standstill, reads 18441, writes 31 timeouts 0, SG min/max 0/244
                                    Driver 5: position 0, standstill, reads 18459, writes 14 timeouts 0, SG min/max 0/0
                                    Date/time: 2020-12-19 15:51:23
                                    Slowest loop: 182.07ms; fastest: 0.09ms
                                    === 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 ===
                                    FreeDm 375 (min 372), maxWait 436239ms, bed compensation in use: none, comp offset 0.000
                                    === MainDDARing ===
                                    Scheduled moves 49, completed moves 49, 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 = 3 -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.
                                    === Filament sensors ===
                                    Extruder 0: no data received
                                    === CAN ===
                                    Messages queued 5738, send timeouts 0, received 12611, lost 0, longest wait 3ms for reply type 6049, free buffers 47
                                    === SBC interface ===
                                    State: 0, failed transfers: 0
                                    Last transfer: 19ms ago
                                    RX/TX seq numbers: 47923/47924
                                    SPI underruns 0, overruns 0
                                    Number of disconnects: 0, IAP RAM available 0x209d8
                                    Buffer RX/TX: 0/0-0
                                    === Duet Control Server ===
                                    Duet Control Server v3.2.0-beta4
                                    Code buffer space: 4096
                                    Configured SPI speed: 8000000 Hz
                                    Full transfers per second: 30.23
                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Frederik @Veti
                                      last edited by 19 Dec 2020, 15:17

                                      @Veti the bootloader doesent make a big difference ๐Ÿ˜ž

                                      this time, it completes perhaps 40% of my build area bevor it stops and starts blinking.

                                      the workaround lines of code are also in place....

                                      Stephen6309undefined 1 Reply Last reply 19 Dec 2020, 15:45 Reply Quote 0
                                      • Stephen6309undefined
                                        Stephen6309 @Frederik
                                        last edited by 19 Dec 2020, 15:45

                                        @Frederik You could try a lower speed in M558. I use 6000.

                                        undefined 1 Reply Last reply 19 Dec 2020, 15:57 Reply Quote 0
                                        • undefined
                                          Frederik @Stephen6309
                                          last edited by 19 Dec 2020, 15:57

                                          @Stephen6309 i will try, moment

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