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

    Bug in firmware / DWC

    Scheduled Pinned Locked Moved Solved
    General Discussion
    3
    4
    313
    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.
    • Tinchusundefined
      Tinchus
      last edited by

      Hello. I have been trying to set up a double chamber heater, having 2 heaters and wanting them to wrok independently so I ve indiviidual control on them for security purposes.

      So I have 2 resisitors conected to 2 solid state relays, each one of them conectd to out7 and out8 pins. So this is my setup:

      M308 S0 P"temp0" Y"thermistor" T100000 B4138 A"chamber" ; configuro sensor 0 en pin temp0
      M950 H0 C"out7" T0 ; create chamber heater output on out0 and map it to sensor 0
      M307 H0 R0.31 C284.700:284.700 D30 S1.00 V0 B0 ; enable PID mode for the chamber heater and set PWM limit
      M308 S3 P"spi.cs0"Y"thermocouple-max31856" K"K" A"chamber_resistorR"
      M308 S4 P"spi.cs1"Y"thermocouple-max31856" K"K" A"chamber_resistorL"
      M950 H3 C"out8" T0 ;
      M307 H3 R0.31 C284.700:284.700 D30 S1.00 V0 B0 ; PID heater chamber 2
      M141 H0
      M141 P1 H3
      M143 H0 P0 S240
      M143 H0 T3 S350 A2
      M143 H3 T4 S350 A2
      M143 H3 P1 S240

      My intention with this code was to have 2 heater chambers, control them individually, so I have a thermocuple on each one of them and so I can avoid overheating them. And I can see the temperature of the camber on the screen and the temperature of the resistors too. Looked ok

      But I tried to start printing today and I found this issue: so far I was using the DWC, on the screen I choosed the desired temperature. Due to restrictions or maybe my lack of knowledge on reprapfirmware, my config created on the screen 2 chambers, so on the screen I have to set up the chamber temperature on both of them. No a problem for me. And this is working ok. I set up the temperature on them and both resistors turn on.

      Now I moved into printing. I set up my start gcode using M141 P0 S80 and M141 P1 S80 in order to turn on both chamber heaters.
      To my surprise this gcode is not working : M141 P0 S80 turns on 1 heater, but them M141 P1 S80 turns on the other heater but turns off the first one. And so on: every time I execute a gocode to turn on 1 heater the other one is turned off.

      This is not happening when I turn on the heaters using the DWC, so I guess there is a bug here?

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @Tinchus
        last edited by

        @tinchus

        Did you try M141 P0 S80 P1 S80?

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        Tinchusundefined 1 Reply Last reply Reply Quote 0
        • Tinchusundefined
          Tinchus @fcwilt
          last edited by

          @fcwilt said in Bug in firmware / DWC:

          M141 P0 S80 P1 S80

          It does the same. It turns on for just 1 second P0 then turns it off and turns on P1 wich stay on.

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

            @tinchus please can we keep this to a single thread:

            https://forum.duet3d.com/topic/25355/sensor-not-showing-on-dwc/16

            www.duet3d.com

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