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

    Error: Pin 'exp.heater3' is not free (SOLVED)

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    8
    817
    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.
    • pauleddundefined
      pauledd
      last edited by pauledd

      Hi there

      When I do things in laser mode I activate it by this command:

      M452 C"!exp.heater3" R255 S1 F2000 ;
      

      and when I'm finished I go back to normal mode with this command:

      M451
      

      But then I want to reconfigure my exp.heater3 pin to P0:

      M950 P0 C"!exp.heater3" Q1000
      

      But that gets denied with this error message:

      Error: Pin 'exp.heater3' is not free
      

      What is the correct way to free exp.heater3 after having it used in laser mode?

      ----- human being without Windows™ ------

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        are you on firmware version 3.2?

        post your config and config overwrite.

        1 Reply Last reply Reply Quote 0
        • pauleddundefined
          pauledd
          last edited by

          Board: Duet 2 WiFi (2WiFi)
          Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2-beta3.2 (2020-11-12)
          Duet WiFi Server Version: 1.23

          config.g:

          M584 X0 Y1 Z2:3 U3 E4 P3
          
          G90                                                     ; send absolute coordinates...
          M83                                                     ; ...but relative extruder moves
          M550 P"PaulsPrinter"                                    ; set printer name
          
          ; Network
          M552 S1                                                 ; enable network
          M586 P0 S1                                              ; enable HTTP
          M586 P1 S0                                              ; disable FTP
          M586 P2 S0                                              ; disable Telnet
          
          ; Drives
          M569 P0 S0                                              ; physical drive 0 goes back
          M569 P1 S0                                              ; physical drive 1 goes back
          M569 P2 S1                                              ; physical drive 2 goes forwards
          M569 P3 S1                                              ; physical drive 3 goes forwards
          M569 P4 S1                                              ; physical drive 3 goes forwards
          
          M350 X16 Y16 Z16 U16 E16 I1                                 ; configure microstepping with interpolation
          M92 X80.02 Y80.07 Z398.00 U398.00 E92.60                       ; set steps per mm
          M566 X900.00 Y900.00 Z12.00 U12.00 E12.00                      ; set maximum instantaneous speed changes (mm/min)
          M203 X4000 Y4000 Z360.00 U360.00 E1200                  ; set maximum speeds (mm/min)
          M201 X2000.00 Y2000.00 Z50.00 U50.00 E250.00                    ; set accelerations (mm/s^2)
          M906 X1200 Y1200 Z1200 U1200 E1200 I30                        ; set motor currents (mA) and motor idle factor in per cent
          
          M84 S10                                                 ; Set idle timeout
          
          ; Axis Limits
          M208 X-115 Y-107.5 Z0 U0 S1                                ; set axis minima
          M208 X107.5 Y107.5 Z205 U205 S0                              ; set axis maxima
          
          ; Endstops
          M574 X1 S1 P"!xstop"                                     ; configure active-high endstop for low end on X via pin xstop
          M574 Y1 S1 P"!ystop"                                     ; configure active-high endstop for low end on Y via pin ystop
          M574 Z1 S1 P"!zstop"                                     ; configure active-high endstop for low end on Z via pin zstop
          M574 Z1 S1 P"!e0stop"
          
          ; Z-Probe
          M558 P0 H40 F120 T3000                                   ; disable Z probe but set dive height, probe speed and travel speed
          M557 X-107:107 Y-107:107 S20                            ; define mesh grid
          
          ; Heaters
          
          M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0                                   ; create bed heater output on bedheat and map it to sensor 0
          M307 H0 R0.430 C483.3 D1.01 S1.00 V12.3 B0
          M140 H0                                                 ; map heated bed to heater 0
          M143 H0 S90                                             ; set temperature limit for heater 0 to 90C
          M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8  ; 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 R2.838 C175.3 D10.39 S1.00 V12.5 B0				; PID tuning
          
          ; Fans
          M950 F0 C"fan0" Q500                                    ; create fan 0 on pin fan0 and set its frequency
          M106 P0 S0 H-1                                          ; set fan 0 value. Thermostatic control is turned off
          M950 F1 C"fan1" Q500                                    ; create fan 1 on pin fan1 and set its frequency
          M106 P1 S1 H1 T45                                       ; set fan 1 value. Thermostatic control is turned on
          
          ; Tools
          M563 P0 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
          
          ; Custom settings are not defined
          
          ; Miscellaneous
          M575 P1 S1 B57600                                       ; enable support for PanelDue
          

          ----- human being without Windows™ ------

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

            @pauledd said in Error: Pin 'exp.heater3' is not free:

            What is the correct way to free exp.heater3 after having it used in laser mode?

            You can try

            M452 C"nil"

            I'm not sure that it will work though. We don't expect users to change the laser pin to be something else, because the laser is presumably still connected.

            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

            pauleddundefined 1 Reply Last reply Reply Quote 0
            • pauleddundefined
              pauledd @dc42
              last edited by

              @dc42 said in Error: Pin 'exp.heater3' is not free:

              M452 C"nil"

              Works, thanks, solved.

              ----- human being without Windows™ ------

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

                @pauledd said in Error: Pin 'exp.heater3' is not free (SOLVED):

                Board: Duet 2 WiFi (2WiFi)
                Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.2-beta3.2 (2020-11-12)
                Duet WiFi Server Version: 1.23

                Should probably update to the full 3.2.2 release.

                https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip

                Z-Bot CoreXY Build | Thingiverse Profile

                pauleddundefined 1 Reply Last reply Reply Quote 0
                • pauleddundefined
                  pauledd @Phaedrux
                  last edited by

                  @Phaedrux said in Error: Pin 'exp.heater3' is not free (SOLVED):

                  Should probably update to the full 3.2.2 release.

                  Yes, but I am currently in a project where I heavily rely on my duets functionality. The nightmare update from FW V 2. to 3.x deters me from doing another update right now. 😵 😆

                  ----- human being without Windows™ ------

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

                    @pauledd Well now that you're on RRF3 the pain should be behind you.

                    Z-Bot CoreXY Build | Thingiverse Profile

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