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

    Updated to V3, now nothing works!

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    26
    1.2k
    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.
    • Sqwuidundefined
      Sqwuid
      last edited by Sqwuid

      Warning, I'm a noob. My config can be seen below. I went through the reprap configuration tool to generate this and I am not sure if I have my stepper motors correct. The icon I would press on my duet panel for my hotend is missing, also?

      Rig is:
      Folgertech FT-6 with standard kit (this has the heated bed, plugged into bedheat and bedtemp)
      Duet Wifi 2 (No duex)
      E3D V6 hotend (plugged into e0 temp and e0 heat)

      Any and all help is appreciated, I am still learning quite a bit!

      Edit: If it's just all sorts of messed up, the hubby has been revising it to try and figure out the issue. This is like... iteration #20.

      Edit edit: Heaters are working now!

      
      ; Configuration file for Duet WiFi (firmware version 2.03)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Sep 04 2020 17:09:43 GMT-0500 (Central Daylight Time)
      
      ; General preferences
      G90                                      ; send absolute coordinates...
      M83                                      ; ...but relative extruder moves
      M550 P"Folgertech T6"                    ; set printer name
      
      ; Network
      M551 P"zzzzzzzz"                         ; set password
      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 backwards
      M569 P1 S1                               ; physical drive 1 goes forwards
      M569 P2 S0                               ; physical drive 2 goes backwards
      M569 P3 S0                               ; physical drive 3 goes backwards
      M584 X0 Y1 Z2 E3                         ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                  ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z721.92 E88.32         ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00      ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00  ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00      ; set accelerations (mm/s^2)
      M906 X1500 Y1500 Z1500 E1500 I30         ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                  ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                         ; set axis minima
      M208 X670 Y320 Z384 S0                   ; set axis maxima
      
      ; Endstops
      M574 X2 Y2 S1                            ; set active high endstops
      M574 Z2 S2                               ; set endstops controlled by probe
      
      ; Z-Probe
      M307 H4 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 Z1.089                    ; set Z probe trigger value, offset and trigger height
      M557 X20:670 Y20:320 S200                ; define mesh grid
      
      ; Heaters
      M305 P0 T100000 B3950 R4700              ; set thermistor + ADC parameters for heater 0
      M143 H0 S120                             ; set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4725 C7.060000e-8 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 H-1                   ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
      
      ; Tools
      M563 P1 H1 F-1                           ; 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
      
      ; Custom settings are not defined
      
      
      
      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Well that config is for RRF2, not 3.

        Send M115 to see what firmware you actually have installed.

        You should update from 2.05.1 to 3.0 to 3.1.1

        Easiest way to update is to upload the entire firmware zip file in DWC and it will take care of the rest.

        https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip

        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

        In the config tool make sure you select firmware version 3+

        Z-Bot CoreXY Build | Thingiverse Profile

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Sqwuidundefined
          Sqwuid
          last edited by Sqwuid

          Thank you for the response, Phaedrux! I did as you said. I'm currently running 3.1.1, my updated config is below. The problem we develop is with the heaters. Going through the configurator, we set the heaters up to match where they are plugged in on the board, but when we do this is what happens:

          e7bd691d-0290-445d-8ce3-d1b44f4ef68b-image.png

          The bed temps disappear, and they are also faulting, with temp readings at 2000C.

          We have tried every combination possible to fix it and we can't. I didn't realize it at the time, but my hubby reverted us back to the v2 to get them to work (even though we are running 3.1.1).

          We are also having problems with our BLTouch/Homing (Shocking!). I've popped that code in too.

          This is our config file as it is currently.

          
          
          ; Configuration file for Duet WiFi (firmware version 3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Sep 04 2020 22:24:11 GMT-0500 (Central Daylight Time)
          
          ; General preferences
          G90                                                    ; send absolute coordinates...
          M83                                                    ; ...but relative extruder moves
          M550 P"Folgertech FT6"                                 ; 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 backwards
          M569 P1 S1                                             ; physical drive 1 goes forwards
          M569 P2 S0                                             ; physical drive 2 goes backwards
          M569 P3 S0                                             ; physical drive 3 goes backwards
          M584 X0 Y1 Z2 E3                                       ; set drive mapping
          M350 X16 Y16 Z16 E16 I1                                ; configure microstepping with interpolation
          M92 X80.00 Y80.00 Z721.92 E88.32                       ; set steps per mm
          M566 X900.00 Y900.00 Z12.00 E120.00                    ; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z180.00 E1200.00                ; set maximum speeds (mm/min)
          M201 X500.00 Y500.00 Z20.00 E250.00                    ; set accelerations (mm/s^2)
          M906 X1500 Y1500 Z1500 E1500 I30                       ; set motor currents (mA) and motor idle factor in per cent
          M84 S30                                                ; Set idle timeout
          
          ; Axis Limits
          M208 X0 Y0 Z0 S1                                       ; set axis minima
          M208 X670 Y320 Z384 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 S2                                             ; configure Z-probe endstop for low end on Z
          
          ; Z-Probe
          M950 S0 C"exp.heater7"                                 ; create servo pin 0 for BLTouch
          M558 P9 C"^zprobe.in" H5 F120 T6000                    ; set Z probe type to bltouch and the dive height + speeds
          G31 P500 X8 Y22 Z1.089                                 ; set Z probe trigger value, offset and trigger height
          M557 X20:670 Y20:320 S200                              ; define mesh grid
          
          ; Heaters
          M308 S0 P"e0temp" Y"thermistor" T100000 B3950          ; configure sensor 0 as thermistor on pin e0temp
          M950 H0 C"e0heat" T0                                   ; create bed heater output on e0heat 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"e1temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e1temp
          M950 H1 C"e1heat" T1                                   ; create nozzle heater output on e1heat 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 H-1                                         ; set fan 1 value. Thermostatic control is turned off
          
          ; Tools
          M563 P0 S"Nozzle" D0 H1 F-1                            ; 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
          

          Homeall

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v3.1.4 on Fri Sep 04 2020 22:24:11 GMT-0500 (Central Daylight Time)
          G91                     ; relative positioning
          G1 H2 Z5 F6000          ; lift Z relative to current position
          G1 H1 X-725 Y-355 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
          G1 H2 X5 Y5 F6000       ; go back a few mm
          G1 H1 X-725 Y-355 F360  ; move slowly to X and Y axis endstops once more (second pass)
          G90                     ; absolute positioning
          G1 X350 Y150 F6000        ; go to first bed probe point and home Z
          G30                     ; home Z by probing the bed
          

          Thank you so so so much for having a look, we've been beating our heads against a wall for a week 😞 I'm still learning how to manipulate gcode and with the update to 3.1.1 I feel like I've fallen massively behind.

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

            Are you certain that you are running RRF 3.1.1? Send M115 to check.

            Also send M98 P"config.g" to see if there are any error messages from commands in config.g.

            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

            1 Reply Last reply Reply Quote 0
            • Sqwuidundefined
              Sqwuid
              last edited by Sqwuid

              alt text

              alt text

              alt text

              alt text

              I am not sure of anything anymore lol.

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

                you only updated the web ui.

                you first have to upgrade to 3.0 then to 3.1.1
                see
                https://github.com/Duet3D/RepRapFirmware/releases

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  you're running RRF 2.04 now, and probably tried upgrading to RRF3?

                  you'll need to upgrade in a few steps, covered in
                  https://github.com/Duet3D/RepRapFirmware/blob/v3-dev/WHATS_NEW_RRF3.md#reprapfirmware-311

                  most notably 3.0.0 before 3.1.1

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

                    @Phaedrux said in Updated to V3, now nothing works!:

                    Well that config is for RRF2, not 3.

                    Send M115 to see what firmware you actually have installed.

                    You should update from 2.05.1 to 3.0 to 3.1.1

                    Easiest way to update is to upload the entire firmware zip file in DWC and it will take care of the rest.

                    https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip

                    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

                    In the config tool make sure you select firmware version 3+

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • Sqwuidundefined
                      Sqwuid
                      last edited by

                      I did it again, it's moving up to 3.1.1 but it's been saying "please wait for the updates to be installed" for about 10 mins. The console on the paneldue says "Error: Failed to add SSID to remembered list"

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

                        Can you post your current config?

                        If you're connected by usb terminal can you post the results of m122?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • Sqwuidundefined
                          Sqwuid
                          last edited by

                          === Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later<LF>Board ID: 08DGM-917DA-G4MSJ-6J9FG-3S46K-1SP3B<LF>Used output buffers: 1 of 24 (2 max)<LF>=== RTOS ===<LF>Static ram: 27980<LF>Dynamic ram: 93692 of which 20 recycled<LF>Exception stack ram used: 256<LF>Never used ram: 9124<LF>Tasks: NETWORK(ready,1892) HEAT(blocked,1224) MAIN(running,1912) IDLE(ready,80)<LF>Owned mutexes:<LF>=== Platform ===<LF>Last reset 00:01:31 ago, cause: power up<LF>Last software reset at 2020-09-05 05:43, reason: User, spinning module GCodes, available RAM 12428 bytes (slot 1)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN<LF>Error status: 0<LF>MCU temperature: min 27.2, current 31.2, max 31.4<LF>Supply voltage: min 0.4, current 1.6, max 1.6, under voltage events: 0, over voltage events: 0, power good: no<LF>Driver 0: ok, SG min/max not available<LF>Driver 1: ok, SG min/max not available<LF>Driver 2: ok, SG min/max not available<LF>Driver 3: o[Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.]

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

                            @Sqwuid
                            it seems to have updated the firmware. are you connecting via usb serial?

                            1 Reply Last reply Reply Quote 0
                            • Sqwuidundefined
                              Sqwuid
                              last edited by

                              I am now, for some reason the wifi module stopped working during the install. I am attempting to get it to reconnect.

                              I've gotten the wifi module to idle, but after giving it the m587 command with my ssid and password it simply says "OK", and doesn't do anything. I can't access the web control.

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

                                If you send m552 does it say it has an ip?

                                You may need to reflash to module. Send m997 S1.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • Sqwuidundefined
                                  Sqwuid
                                  last edited by

                                  Got it squared away, had to take out sd card and all that. Alright, we are updated completely and I can now see my tools. Got some issues with the heater I guess and some warning messages.

                                  m98 P"Config.g"

                                  Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C

                                  Current config

                                  ; Configuration file for Duet WiFi (firmware version 3)
                                  ; executed by the firmware on start-up
                                  ;
                                  ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 05 2020 05:42:29 GMT-0500 (Central Daylight Time)
                                  
                                  ; General preferences
                                  G90                                                    ; send absolute coordinates...
                                  M83                                                    ; ...but relative extruder moves
                                  M550 P"Folgertech FT6"                                 ; 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 backwards
                                  M569 P1 S1                                             ; physical drive 1 goes forwards
                                  M569 P2 S0                                             ; physical drive 2 goes backwards
                                  M569 P3 S0                                             ; physical drive 3 goes backwards
                                  M584 X0 Y1 Z2 E3                                       ; set drive mapping
                                  M350 X16 Y16 Z16 E16 I1                                ; configure microstepping with interpolation
                                  M92 X80.00 Y80.00 Z721.92 E88.32                       ; set steps per mm
                                  M566 X900.00 Y900.00 Z12.00 E120.00                    ; set maximum instantaneous speed changes (mm/min)
                                  M203 X6000.00 Y6000.00 Z180.00 E1200.00                ; set maximum speeds (mm/min)
                                  M201 X500.00 Y500.00 Z20.00 E250.00                    ; set accelerations (mm/s^2)
                                  M906 X1500 Y1500 Z1500 E1500 I30                       ; set motor currents (mA) and motor idle factor in per cent
                                  M84 S30                                                ; Set idle timeout
                                  
                                  ; Axis Limits
                                  M208 X0 Y0 Z0 S1                                       ; set axis minima
                                  M208 X670 Y320 Z384 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 Z2 S2                                             ; configure Z-probe endstop for high end on Z
                                  
                                  ; Z-Probe
                                  M950 S0 C"exp.heater7"                                 ; create servo pin 0 for BLTouch
                                  M558 P9 C"^zprobe.in" H5 F120 T6000                    ; set Z probe type to bltouch and the dive height + speeds
                                  G31 P500 X8 Y22 Z1.089                                 ; set Z probe trigger value, offset and trigger height
                                  M557 X20:670 Y20:320 S200                              ; define mesh grid
                                  
                                  ; Heaters
                                  M308 S0 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin e0temp
                                  M950 H0 C"e0heat" T0                                   ; create nozzle heater output on e0heat and map it to sensor 0
                                  M307 H0 B0 S1.00                                       ; disable bang-bang mode for heater  and set PWM limit
                                  M308 S1 P"bedtemp" Y"thermistor" T100000 B4138         ; configure sensor 1 as thermistor on pin bedtemp
                                  M950 H1 C"bedheat" T1                                  ; create bed heater output on bedheat and map it to sensor 1
                                  M307 H1 B1 S1.00                                       ; enable bang-bang mode for the bed heater and set PWM limit
                                  M140 H1                                                ; map heated bed to heater 1
                                  M143 H1 S120                                           ; set temperature limit for heater 1 to 120C
                                  
                                  ; 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 H-1                                         ; set fan 1 value. Thermostatic control is turned off
                                  
                                  ; Tools
                                  M563 P0 S"Nozzle" D0 H1 F-1                            ; 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
                                  
                                  
                                  
                                  Vetiundefined 1 Reply Last reply Reply Quote 0
                                  • Vetiundefined
                                    Veti @Sqwuid
                                    last edited by

                                    @Sqwuid said in Updated to V3, now nothing works!:

                                    Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C

                                    that can be ignored.

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

                                      Glad you got it sorted out!

                                      The warning is just a warning. Understand it and take precautions. Then you can ignore it.

                                      https://duet3d.dozuki.com/Wiki/FAQ#Section_M307_Heater_1_appears_to_be_over_powered_If_left_on_at_full_power_its_temperature_is_predicted_to_reach_521C

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • Sqwuidundefined
                                        Sqwuid
                                        last edited by

                                        Ok! Thanks so much for your help so far. We're redoing the config file now because all of our troubleshooting got it all mixed up!

                                        We had a question about the i/o mapping since we have the bl touch. Will the endstop pin just be zstop?

                                        When we do that, the M574 command for Z disappears from config and the only thing left is Z-Probe stuff.

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

                                          Depends if you want to use a Z endstop and the z probe at the same time. It may be easiest to just add back the endstop definition afterwards.

                                          That way the cnfigurator will set thing sup for the probe to use it for homing.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          • Sqwuidundefined
                                            Sqwuid
                                            last edited by

                                            We don't technically have a z endstop, just the probe. Not sure if that counts.

                                            We've run through a bunch of stuff, updated, edited, auto-tuned (cause that's a thing now, that's cool 🙂 ), but we're running into bl touch deploying issues. Shocking, one more bl touch question.

                                            Probe tests itself upon startup. M280 commands are not working, however.

                                            Below is our current config.g.

                                            ; Configuration file for Duet WiFi (firmware version 3)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sat Sep 05 2020 05:42:29 GMT-0500 (Central Daylight Time)
                                            
                                            ; General preferences
                                            G90                                                    ; send absolute coordinates...
                                            M83                                                    ; ...but relative extruder moves
                                            M550 P"Folgertech FT6"                                 ; 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 backwards
                                            M569 P1 S1                                             ; physical drive 1 goes forwards
                                            M569 P2 S0                                             ; physical drive 2 goes backwards
                                            M569 P3 S0                                             ; physical drive 3 goes backwards
                                            M584 X0 Y1 Z2 E3                                       ; set drive mapping
                                            M350 X16 Y16 Z16 E16 I1                                ; configure microstepping with interpolation
                                            M92 X80.00 Y80.00 Z721.92 E88.32                       ; set steps per mm
                                            M566 X900.00 Y900.00 Z12.00 E120.00                    ; set maximum instantaneous speed changes (mm/min)
                                            M203 X6000.00 Y6000.00 Z180.00 E1200.00                ; set maximum speeds (mm/min)
                                            M201 X500.00 Y500.00 Z20.00 E250.00                    ; set accelerations (mm/s^2)
                                            M906 X1500 Y1500 Z1500 E1500 I30                       ; set motor currents (mA) and motor idle factor in per cent
                                            M84 S30                                                ; Set idle timeout
                                            
                                            ; Axis Limits
                                            M208 X0 Y0 Z0 S1                                       ; set axis minima
                                            M208 X670 Y320 Z384 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 Z2 S2                                             ; configure Z-probe endstop for high end on Z
                                            
                                            ; Z-Probe
                                            M950 S0 C"exp.heater7"                                 ; create servo pin 0 for BLTouch
                                            M558 P9 C"^zprobe.in" H5 F120 T6000                    ; set Z probe type to bltouch and the dive height + speeds
                                            G31 P500 X8 Y22 Z1.089                                 ; set Z probe trigger value, offset and trigger height
                                            M557 X20:670 Y20:320 S200                              ; 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
                                            M307 H0 A129.6 C719.5 D0.9 V24.2 B0                    ; autotune for PID bedheat
                                            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 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 H-1                                         ; set fan 1 value. Thermostatic control is turned off
                                            
                                            ; Tools
                                            M563 P0 S"Nozzle" D0 H1 F-1                            ; 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
                                            
                                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA