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

    RRF 3.4.4 - M950 two outputs for one heater error

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    5
    246
    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.
    • Lemundefined
      Lem
      last edited by

      Hello!

      I'm trying to configure Mosquito Magnum Dual Heater on Duet 3 6HC + Toolboard 1LC.
      When I configured two heaters for one tool as below, it works ok.

      M308 S1 P"21.temp0" Y"pt1000" A"Right A"		; configure sensor 0 as thermistor on tool board board pin temp0
      M308 S9 P"21.temp1" Y"pt1000" A"Right B"		; configure sensor 0 as thermistor on tool board board pin temp0
      M950 H1 C"21.out0" T1					; create nozzle heater output on out0 and map it to sensor 0
      M950 H9 C"21.out1" T9
      M307 H1 R1.085 K0.153:0.000 D4.55 E1.35 S1.00 B0 V23.1	; PID parameters - tuning separetly
      M307 H9 R1.085 K0.153:0.000 D4.55 E1.35 S1.00 B0 V23.1	; PID parameters - tuning separetly
      M143 H1 S455							; set temperature limit for heater 1 to 455C
      M143 H9 S455							; set temperature limit for heater 9 to 455C
      M950 F1 C"!1.out8" Q10000					; configure fan 0, F = 10 kHz, PWM range from 0.3 to 1.0
      M106 P1 S0
      M563 P1 D1 H1:9 F1                                		; 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
      

      But unfortunately it's impossible to tuning it correctly. I can't tuning two heater at the same time. So I want to use two outputs for one heater as below:

      M950 H1 C"21.out0+out1" T1
      

      This line is copied from G-codes dictionary M950 examples, but returns error:

      7.11.2022, 10:32:53	Error: M950: Unknown pin name 'out0+out1'
      

      I tried:

      M950 H1 C"21.out0+21.out1" T1
      

      But result is the same.

      What is correct g code syntax to define it?

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @Lem
        last edited by

        @Lem the code should be

        M950 H1 C"21.out0+out1" T1
        

        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

        Lemundefined 1 Reply Last reply Reply Quote 0
        • Lemundefined
          Lem @jay_s_uk
          last edited by

          @jay_s_uk
          I tried

          M950 H1 C"21.out0+out1" T1
          

          and

          M950 H1 C"21.out0+21.out1" T1
          

          And both returns error

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

            @Lem the TOOL1LC has only one high current output suitable for heaters, so it does not support using more than one output for a single heater.

            You could connect the heaters in parallel to the single output, if the total current will be within the 5A rating of the output.

            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

            Lemundefined 1 Reply Last reply Reply Quote 1
            • Lemundefined
              Lem @dc42
              last edited by

              @dc42 This duet behavior is now clear. I will connect heaters in parallel, current will be less than 5A. Thank you!

              1 Reply Last reply Reply Quote 0
              • dc42undefined dc42 marked this topic as a question
              • dc42undefined dc42 has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA