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

    Im getting a basic error:563 bad driver number for my heater 1

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    29
    989
    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.
    • Jeffrey_101undefined
      Jeffrey_101
      last edited by

      i have my hot end hooked up to heater 1, my tool settings are
      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
      but when i run the heater test, it flashes a error: m563 bad driver number
      what is happening?

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

        can you post your full config please?

        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

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

          The results of M122 and M98 P"config.g" wouldn't hurt either.

          Z-Bot CoreXY Build | Thingiverse Profile

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Jeffrey_101undefined
            Jeffrey_101
            last edited by

            ; Configuration file for Duet WiFi (firmware version 3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Sep 20 2020 15:20:40 GMT-0700 (Mountain Standard Time)

            ; General preferences
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"Jeffrey's printer" ; set printer name
            M665 R155 L397.19 B155 H520 ; Set delta radius, diagonal rod length, printable radius and homed height
            M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them

            ; Network
            M552 S1 ; enable network
            M586 P0 S1 ; enable HTTP
            M586 P1 S1 ; enable FTP
            M586 P2 S1 ; enable Telnet

            ; Drives
            M569 P0 S1 ; physical drive 0 goes forwards
            M569 P1 S1 ; physical drive 1 goes forwards
            M569 P2 S1 ; physical drive 2 goes forwards
            M569 P3 S1 ; physical drive 3 goes forwards
            M584 X0 Y1 Z2 E3 ; set drive mapping
            M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z80.00 E663.00 ; set steps per mm
            M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
            M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
            M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
            M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 Z0 S1 ; set minimum Z

            ; Endstops
            M574 X2 S1 P"!xstop" ; configure active-high endstop for high end on X via pin !xstop
            M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
            M574 Z2 S1 P"!zstop" ; configure active-high endstop for high end on Z via pin !zstop

            ; Z-Probe
            M307 H3 A-1 C-1 D-1 ;
            M558 P5 H5 F100 T2000;
            G31 X0 Y0 Z2.613 P25;
            M557 R150 S25

            ; Heaters
            M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
            M143 H0 S120 ; Set temperature limit for heater 0 to 120C
            M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
            M143 H1 S280 ; Set temperature limit for heater 1 to 280

            ; 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-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
            M106 P2 S1 I0 F500 H0 T50

            ; 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
            M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

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

              You have a mishmash of RRF2 and RRF3 commands there.
              for example,
              M307 to free up a pin is not required, M305 is not valid in RRF3 and M106 requires an M950 before hand.

              Confirm you are running some form of RRF3 using M115 and then I suggest you revisit the online configurator to generate a new set of config files.

              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

              1 Reply Last reply Reply Quote 0
              • Jeffrey_101undefined
                Jeffrey_101
                last edited by

                so i got a new set from the configurator and now im not getting any temp readings or anything. but it should all be in RRF3.

                ; Configuration file for Duet WiFi (firmware version 3)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.4 on Thu Sep 24 2020 10:58:07 GMT-0700 (Mountain Standard Time)

                ; General preferences
                G90 ; send absolute coordinates...
                M83 ; ...but relative extruder moves
                M550 P"Jeffrey's printer" ; set printer name
                M665 R155 L397.19 B155 H520 ; Set delta radius, diagonal rod length, printable radius and homed height
                M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them

                ; Network
                M552 S1 ; enable network
                M586 P0 S1 ; enable HTTP
                M586 P1 S1 ; enable FTP
                M586 P2 S1 ; enable Telnet

                ; Drives
                M569 P0 S1 ; physical drive 0 goes forwards
                M569 P1 S1 ; physical drive 1 goes forwards
                M569 P2 S1 ; physical drive 2 goes forwards
                M569 P3 S1 ; physical drive 3 goes forwards
                M584 X0 Y1 Z2 E3 ; set drive mapping
                M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                M92 X80.00 Y80.00 Z80.00 E663.00 ; set steps per mm
                M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
                M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
                M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
                M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                M84 S30 ; Set idle timeout

                ; Axis Limits
                M208 Z0 S1 ; set minimum Z

                ; Endstops
                M574 X2 S1 P"!xstop" ; configure active-high endstop for high end on X via pin !xstop
                M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
                M574 Z2 S1 P"!zstop" ; configure active-high endstop for high end on Z via pin !zstop

                ; Z-Probe
                M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
                M557 R85 S20 ; define mesh grid

                ; Heaters
                M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 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 S120 ; set temperature limit for heater 0 to 120C
                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

                ; 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
                M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Jeffrey_101
                  last edited by

                  @Jeffrey_101 please send M115 and post response.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

                    @Phaedrux said in Im getting a basic error:563 bad driver number for my heater 1:

                    The results of M122 and M98 P"config.g" wouldn't hurt either.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • Jeffrey_101undefined
                      Jeffrey_101 @droftarts
                      last edited by

                      @droftarts
                      M115
                      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-02-09b1

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

                        ok, so you have RRF2 installed and not RRF3.
                        Therefore you will need to generate your config for RRF2 from the online configurator

                        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

                        Jeffrey_101undefined 2 Replies Last reply Reply Quote 0
                        • Jeffrey_101undefined
                          Jeffrey_101 @jay_s_uk
                          last edited by

                          @jay_s_uk
                          oh, I see. thank you!

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

                            Alternatively, you can upgrade to 3.0 and then 3.1.1, and if you're starting a new build that is fairly standard that might be the best way to go.

                            If you have access to the web interface, the easy way to upgrade is to download these two zip files and then upload them one at a time as is (don't extract them) to the /system folder in DWC. It will detect them and update everything and reboot, then repeat for the second file. Then your config for RRF3 should work and you'll be on the current firmware release.

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

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

                            Z-Bot CoreXY Build | Thingiverse Profile

                            1 Reply Last reply Reply Quote 2
                            • Jeffrey_101undefined
                              Jeffrey_101 @jay_s_uk
                              last edited by

                              @jay_s_uk
                              So i just regenerated my config for RRF2. i ran the test heater function and it threw me this:
                              M98 P"0:/macros/03-Test_Heaters"
                              Error: M563: Tool creation: bad drive number

                              my tool code in my config is:
                              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
                              this concerns me because it looks correct

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

                                can you post your whole config?

                                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

                                1 Reply Last reply Reply Quote 0
                                • Jeffrey_101undefined
                                  Jeffrey_101
                                  last edited by

                                  ; General preferences
                                  G90 ; send absolute coordinates...
                                  M83 ; ...but relative extruder moves
                                  M550 P"Jeffrey's printer" ; set printer name
                                  M665 R155 L397.19 B155 H520 ; Set delta radius, diagonal rod length, printable radius and homed height
                                  M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them

                                  ; Network
                                  M552 S1 ; enable network
                                  M586 P0 S1 ; enable HTTP
                                  M586 P1 S1 ; enable FTP
                                  M586 P2 S1 ; enable Telnet

                                  ; Drives
                                  M569 P0 S1 ; physical drive 0 goes forwards
                                  M569 P1 S1 ; physical drive 1 goes forwards
                                  M569 P2 S1 ; physical drive 2 goes forwards
                                  M569 P3 S1 ; physical drive 3 goes forwards
                                  M584 X0 Y1 Z2 E3 ; set drive mapping
                                  M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                                  M92 X80.00 Y80.00 Z80.00 E663.00 ; set steps per mm
                                  M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
                                  M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
                                  M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
                                  M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                                  M84 S30 ; Set idle timeout

                                  ; Axis Limits
                                  M208 Z0 S1 ; set minimum Z

                                  ; Endstops
                                  M574 X2 Y2 Z2 S1 ; set active high endstops

                                  ; Z-Probe
                                  M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
                                  M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
                                  G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
                                  M557 R85 S20 ; define mesh grid

                                  ; Heaters
                                  M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
                                  M143 H0 S120 ; set temperature limit for heater 0 to 120C
                                  M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
                                  M143 H1 S280 ; set temperature limit for heater 1 to 280C

                                  ; Fans
                                  M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                  M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. 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
                                  M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

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

                                    nothing wrong there i can see.

                                    Whats in your macro?

                                    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

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

                                      oh wait, is that the test macro thats come on the card?

                                      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

                                      Jeffrey_101undefined 1 Reply Last reply Reply Quote 0
                                      • Jeffrey_101undefined
                                        Jeffrey_101 @jay_s_uk
                                        last edited by

                                        @jay_s_uk yeah

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

                                          Don't run those. They are for factory testing and you won't have the same hardware connected obviously.

                                          You can test the heater by turning it on in the web interface.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          Jeffrey_101undefined 1 Reply Last reply Reply Quote 0
                                          • Jeffrey_101undefined
                                            Jeffrey_101 @Phaedrux
                                            last edited by Jeffrey_101

                                            @Phaedrux
                                            i tried but it trips an error
                                            Error: Heating fault on heater 1, temperature rising much more slowly than the expected 1.7°C/sec
                                            its wired to the correct heater and everything

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