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

    Pellet Extruder Config with External PID and SSR

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    2
    5
    238
    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.
    • gdiffundefined
      gdiff
      last edited by

      I have a Duet 2 running RRF 3. I'm running 24V from E0 to an Omron PID controller and then to an SSR that switches 120V for my pellet extruder. It's patterned off similar machines in my shop that are running RRF 2.

      I can't figure out the configuration and correlating commands to switch the SSR on and off. I'd really appreciate any help.

      Here is my relevant Heaters config (I've tried with H1 commented out because I don't want temp feedback or control--that's for the external PID):

      ; Heaters 
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"e1heat" T0                           ; create bed heater output on e1heat 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 S70                                    ; set temperature limit for heater 0 to 70C
      ;M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; configure sensor 1 as thermistor on pin e0temp
      ;M950 H1 C"e0heat" T1                           ; create nozzle heater output on e0heat and map it to sensor 1
      ;M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      ;M143 H1 S280  
      

      and Tools config:

      ; Tools
      M563 P0 S"Pellet Extruder" D0 H1 F0            ; 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
      

      On my other machines, "M42 P0 S1" turns on the heater. I' can't figure out why that doesn't work here.

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        So you just want to switch the SSR on or off?

        For M42 to work it needs a corresponding M950 command to create the pin to switch. Check the wiki for M42 and M950.

        Z-Bot CoreXY Build | Thingiverse Profile

        gdiffundefined 1 Reply Last reply Reply Quote 0
        • gdiffundefined
          gdiff @Phaedrux
          last edited by

          @Phaedrux Thanks for your response. I'm trying to switch it on with E0. I have that defined as M950 H1 C"e0heat" T1.

          I'm not sure if I have it defined wrong or if I'm giving it the wrong M42 command.

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @gdiff
            last edited by Phaedrux

            @gdiff said in Pellet Extruder Config with External PID and SSR:

            M950 H1 C"e0heat" T1

            Yes but you have it commented out there and configured as a heater. If you just want to switch it on and off like a GPIO pin you could try

            M950 P0 C"e1heat"

            Then switch it with M42 P0 S1/S0

            P0 is the index, so if you already have a probe that uses a servo like the BLTouch defined you'd need to pick the next number available. P1 for example.

            Z-Bot CoreXY Build | Thingiverse Profile

            gdiffundefined 1 Reply Last reply Reply Quote 1
            • gdiffundefined
              gdiff @Phaedrux
              last edited by

              @Phaedrux I've tried it with and without comments. I tried it commented because I don't want PID control from the web interface.

              That was very helpful. I had it defined as a heater and defined as C"e0heat" but not tied to a pin.

              It's working now with M950 P1 C"e0heat"

              Thanks for your help!

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