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

Chamber on H6/H7

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
8
1.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.
  • undefined
    pacioc193
    last edited by 15 May 2018, 21:16

    Why if i set the chamber heater on H6 or H7 duet won't bot?
    If i change it to H3 all is fine.

    The problem is that i've only the : Duet Expansion Header Breakout .
    If i use the H3 directly from pin 8 the PWM seems inverted. Any suggestion?

    Thanks!

    undefined 1 Reply Last reply 16 May 2018, 08:37 Reply Quote 0
    • undefined
      dc42 administrators @pacioc193
      last edited by 16 May 2018, 08:37

      @pacioc193 said in Chamber on H6/H7:

      Why if i set the chamber heater on H6 or H7 duet won't bot?
      If i change it to H3 all is fine.

      That sounds odd. With firmware version are you using? Please post the config.g file that causes the Duet to fail to boot.

      If i use the H3 directly from pin 8 the PWM seems inverted. Any suggestion?

      The heater outputs on the expansion bus are active low.

      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
      • undefined
        pacioc193
        last edited by 16 May 2018, 12:17

        Firmware version : 1.21 - Duet Ethernet

        Config :

        ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool on Mon Apr 02 2018 21:59:35 GMT+0200 (ora legale Europa occidentale)

        ; General preferences
        G21
        G90 ; Send absolute coordinates...
        M83 ; ...but relative extruder moves
        M555 P2 ; Set firmware compatibility to look like RepRapFirmare

        M667 S1 ; Select CoreXY mode

        ; Network
        M552 P192.168.2.30 ; (0 = DHCP) Static IP
        M554 P192.168.2.1 ; Gateway Address
        M553 P255.255.255.0 ; Netmask Subnet
        M550 P3Dream PRO ; Set machine name
        M552 S1 ; Enable network
        M586 P0 S1 ; Enable HTTP
        M586 P1 S0 ; Disable FTP
        M586 P2 S0 ; Disable Telnet
        M552 S1 ; Turn network on

        ; Drives
        M569 P0 S0 ; Drive 0 goes forwards
        M569 P1 S0 ; Drive 1 goes forwards
        M569 P2 S0 ; Drive 2 goes forwards
        M569 P3 S0 ; Drive 3 goes forwards
        M569 P4 S1 ; Drive 3 goes forwards
        M584 X0 Y1 Z2 E3:4 ; Apply custom drive
        M350 X256 Y256 Z32 E32:32 I1 ; Configure microstepping with interpolation
        M92 X1280 Y1280 Z1280 E920:920 ; Set steps per mm
        M566 X600 Y600 Z30 E1200:1200 ; Set maximum instantaneous speed changes (mm/min)
        M203 X18000 Y18000 Z1200 E3600:3600 ; Set maximum speeds (mm/min)
        M201 X3000 Y3000 Z50 E6000:6000 ; Set accelerations (mm/s^2)
        M906 X1800 Y1800 Z1800 E1000:1000 I50 ; 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 X340 Y300 Z300 S0 ; Set axis maxima

        ; Endstops
        M574 X1 Y1 Z2 S1 ; Set active high endstops

        ; Z-Probe
        ;M558 P5 H0 F120 T10000 I1 ; Set Z probe type to switch and the dive height + speeds
        ;G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
        ;M557 X15:325 Y15:285 S20 ; Define mesh grid

        M558 P5 H5 F120 T10000 I1 ; Set Z probe type to switch and the dive height + speeds
        G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
        M557 X30:270 Y30:270 S100 ; Define mesh grid

        ; Heaters
        M141 H7 ; Assign chamber heater to heater 3
        M301 H7 P-1 ; Set heater 3 to bang-bang mode
        M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
        M143 H0 S130 ; Set temperature limit for heater 0 to 130C
        M305 P1 X200 ; Configure thermocouple for heater 1
        M143 H1 S400 ; Set temperature limit for heater 1 to 400C
        M305 P2 X200 ; Configure thermocouple for heater 2
        M143 H2 S400 ; Set temperature limit for heater 2 to 400C
        M305 P7 T100000 B4138 C0 R4700 X2; Set thermistor + ADC parameters for heater 3
        M143 H7 S80

        ; Fans
        M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
        M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
        M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

        ; Tools
        M563 P0 D0 H1 ; 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 D1 H2 ; Define tool 1
        G10 P1 X17 Y0 Z0 ; Set tool 1 axis offsets
        G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

        ; Filament sentinel
        M591 D0 P1 C3
        ;M591 D1 P1 C4

        ; Custom settings are not configured

        M552 S1 ; Riconnetti all'ultimo WiFi Impostato
        M570 H7 P999 S999 ; Allunga errore su riscaldamento stanza
        M307 H7 B1 ; Bang su estrusore 2
        M107 ; ventole estrusore spente

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 16 May 2018, 20:27

          Thanks, I'll test that tomorrow.

          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
          • undefined
            dc42 administrators
            last edited by dc42 17 May 2018, 11:35

            That config.g works fine for me, but I don't have an external stepper driver interface board to test it with;. I am wondering whether your interface board might be faulty. Does the Duet fail to boot with that config.g file when the interface board is not connected? Does it fail to boot when the interface board is connected but nothing is connected to the H7 output?

            EDIT: disregard the above, I have reproduced the problem.

            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
            • undefined
              dc42 administrators
              last edited by dc42 17 May 2018, 17:16

              I believe I have found the problem. Will be fixed in RC3.

              EDIT: the fix is now tested and working.

              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
              • undefined
                pacioc193
                last edited by 18 May 2018, 17:33

                Thanks dc.

                Same problem with this config.txt

                ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Apr 02 2018 21:59:35 GMT+0200 (ora legale Europa occidentale)

                ; General preferences
                G90 ; Send absolute coordinates...
                M83 ; ...but relative extruder moves
                M555 P1 ; Set firmware compatibility to look like RepRapFirmare

                M667 S1 ; Select CoreXY mode

                ; Network
                M552 S1 ; Riconnetti all'ultimo WiFi Impostato

                ; Drives
                M569 P0 S0 ; Drive 0 goes forwards
                M569 P1 S0 ; Drive 1 goes forwards
                M569 P2 S1 ; Drive 2 goes forwards
                M569 P3 S0 ; Drive 3 goes forwards
                M569 P4 S0 ; Drive 4 goes forwards
                M584 X0 Y1 Z2 E3:4 ; Apply custom drive
                M350 X256 Y256 Z32 E32:32 ; Configure microstepping with interpolation
                M92 X1280 Y1280 Z1280 E920:920 ; Set steps per mm
                M566 X600 Y600 Z30 E1200:1200 ; Set maximum instantaneous speed changes (mm/min)
                M203 X18000 Y18000 Z1200 E3600:3600 ; Set maximum speeds (mm/min)
                M201 X1000 Y1000 Z50 E10000:10000 ; Set accelerations (mm/s^2)
                M906 X2000 Y2000 Z1000 E1000:1000 I50 ; 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 X340 Y300 Z300 S0 ; Set axis maxima

                ; Endstops
                M574 X1 Y1 Z2 S1 ; Set active high endstops

                ; Z-Probe
                ;M558 P5 H0 F120 T10000 I1 ; Set Z probe type to switch and the dive height + speeds
                ;G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
                ;M557 X15:325 Y15:285 S20 ; Define mesh grid

                M558 P5 H5 F120 T10000 I1 ; Set Z probe type to switch and the dive height + speeds
                G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
                M557 X30:270 Y30:270 S100 ; Define mesh grid

                ; Stanza
                M141 H4 ; Assign chamber heater to heater 4
                M570 H4 P999 S999 ; Allunga errore su riscaldamento stanza
                M307 H4 B1 ; Bang su estrusore 4
                M305 P4 T100000 B4138 C0 R4700 X2 ; Set thermistor + ADC parameters for heater 3
                M143 H4 S70

                ; Tavolo
                M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                M143 H0 S130 ; Set temperature limit for heater 0 to 130C

                ; Riscaldatori
                M305 P1 X200 ; Configure thermocouple for heater 1
                M143 H1 S400 ; Set temperature limit for heater 1 to 400C
                M305 P2 X201 ; Configure thermocouple for heater 2
                M143 H2 S400 ; Set temperature limit for heater 2 to 400C

                ; Sensore Filo
                M591 D0 P1 C3 ; Sensore filo Estrusore 1
                M591 D1 P1 C4 ; Sensore filo Estrusore 2

                ; Fans
                M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                M106 P1 S1 I0 F500 H T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                M106 P2 S1 I0 F500 H T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                ; Tools
                M563 P0 D0 H1 ; 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 D1 H2 ; 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

                ; Automatic saving after power loss is not enabled

                ; Custom settings are not configured

                M107 ; ventole estrusore spente

                Just for fun, wich was the problem??

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 18 May 2018, 21:11

                  I released RC4 this morning but I haven't had time to finish documenting it yet. It includes the fix for configuring chamber heaters. Please try 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
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA