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

    Pay for config / json files for my corexy printer build.

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    11
    67
    5.7k
    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.
    • Vetiundefined
      Veti
      last edited by

      that went straight over my head.

      1 Reply Last reply Reply Quote 0
      • Stevoundefined
        Stevo
        last edited by

        This be the "Road runner" lol

        Finished it last year enjoyed nearly every minute of the build lol

        0_1562185279505_IMG_0101.JPG

        1 Reply Last reply Reply Quote 1
        • Stevoundefined
          Stevo @Veti
          last edited by

          @veti as follows.....

          0_1562185760975_IMG_1670 copy 2.jpg

          1 Reply Last reply Reply Quote 0
          • Stevoundefined
            Stevo
            last edited by

            Evening,
            If I wanted to home y axis first prior to the x due to how i plan to locate the x and y endstops have I made suitable alterations to the home all file to do this ?
            Be gentle lol

            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
            G91 ; relative positioning
            G1 Z15 F6000 S2 ; lift Z relative to current position
            G1 S1 Y445 F1800 ; move quickly to Y endstop and stop there (first pass)
            G1 S1 X445 F1800 ; move quickly to X endstop and stop there (first pass)
            G1 X-5 Y-5 F6000 ; go back a few mm
            G1 S1 X445 F360 ; move slowly to X axis endstop once more (second pass)
            G1 S1 Y445 ; then move slowly to Y axis endstop
            G90 ; absolute positioning
            G1 X188 Y-222 F6000 ; go to first bed probe point and home Z
            G30 ; home Z by probing the bed

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

              Yes that looks correct.

              Z-Bot CoreXY Build | Thingiverse Profile

              Stevoundefined 1 Reply Last reply Reply Quote 0
              • Stevoundefined
                Stevo @Phaedrux
                last edited by

                @phaedrux should I swap around the x and “move slowly” commands ? Towards the end of the file

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

                  That will depend if the end stops will still be lined up or not. If you need to get Y homed first to line up X, is the switch contact area large enough to trigger 5mm away? If it's still going to miss, you can switch the order of the second X and Y moves so that it moves Y first.

                  You can copy and paste each line of the macro into the gcode console to execute it one at a time for testing to make sure it actually works.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Stevoundefined 1 Reply Last reply Reply Quote 0
                  • Stevoundefined
                    Stevo @Phaedrux
                    last edited by

                    @phaedrux thank you very much like that

                    1 Reply Last reply Reply Quote 0
                    • DanLundefined
                      DanL
                      last edited by

                      @stevo said in Pay for config / json files for my corexy printer build.:

                      ; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
                      G1 R1 X0 Y0 Z5 F6000 ; go to 5mm above position of the last print move
                      G1 R1 X0 Y0 ; go back to the last print move
                      M83 ; relative extruder moves
                      G1 E10 F3600 ; extrude 10mm of filament

                      More of a question than a suggestion....
                      Theway I read the above is that 10mm of filament will be deposited on top of the last print position. Shouldn't the extrude filament command be first...as a priming step....then move the extruder to the last position to start printing again?
                      This is a really helpful thread...thanks!

                      DanL

                      1 Reply Last reply Reply Quote 0
                      • Stevoundefined
                        Stevo
                        last edited by Stevo

                        Evening,

                        I have done the final wire up and fitted the BLTouch and both X and Y limits.

                        Been editing the files to get me to where I am as follows,

                        When I turn on the printer the BL touch deploys and retracts twice and then lights up red self test ?
                        I can then hit the home all and the y axis will home firstly then followed by the x axis homing after this has completed the print head moves to the centre of the printbed which then starts to rise but the probe does nothing in regards to the homing of the z axis.

                        I realise I have not put the offsets in for the BLTouch just wanted to get an understanding of how the z homing should work.

                        Have wired BLTouch as per be true 3d link

                        Would appreciate a pointer please.

                        ; Configuration file for Duet WiFi (firmware version 1.21)
                        ; executed by the firmware on start-up
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)

                        ; General preferences
                        G90 ; Send absolute coordinates...
                        M83 ; ...but relative extruder moves

                        M669 K1 ; Select CoreXY mode

                        ; Network
                        M550 P"WILE E COYOTE" ; Set machine name
                        M552 S1 ; Enable network
                        ;*** Access point is configured manually via M587
                        M586 P0 S1 ; Enable HTTP
                        M586 P1 S0 ; Disable FTP
                        M586 P2 S0 ; Disable Telnet

                        ; Drives
                        M569 P0 S1 ; Physical drive 0 goes forwards
                        M569 P1 S1 ; Physical drive 1 goes forwards
                        M569 P2 S0 ; Physical drive 2 goes backwards
                        M569 P3 S1 ; Physical drive 3 goes forwards
                        M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                        M92 X80.00 Y80.00 Z1600.00 E420.00 ; Set steps per mm
                        M566 X900.00 Y900.00 Z30.00 E2400 ; Set maximum instantaneous speed changes (mm/min)
                        M203 X6000.00 Y6000.00 Z144.00 E1200.00 ; Set maximum speeds (mm/min)
                        M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
                        M906 X800.00 Y800.00 Z2000.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
                        M84 S30 ; Set idle timeout

                        ; Axis Limits
                        M208 X-220 Y-220 Z0 S1 ; Set axis minima
                        M208 X220 Y220 Z660 S0 ; Set axis maxima

                        ; Endstops
                        M574 X1 Y1 S0 ; Set active low and disabled endstops
                        M574 Z1 S2 ; Define Z to use Probe. Home to Min.
                        M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z.
                        G31 P25 X0 Y-25.3 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height

                        ; Z-Probe
                        M574 Z1 S2 ; Set endstops controlled by probe
                        M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                        M558 P9 H5 F100 T2000 ; Set Z probe type to bltouch and the dive height + speeds
                        G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
                        M557 X220:220 Y-220:220 S20 ; Define mesh grid

                        ; BLTouch - Heaters
                        M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.

                        ; Heaters
                        M140 H-1 ; Disable heated bed
                        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 C ; Part cooling fan
                        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 ; 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

                        ; Automatic saving after power loss is not enabled

                        ; Custom settings are not configured

                        ; Miscellaneous
                        T0 ; Select first tool

                        ; homeall.g
                        ; called to home all axes
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                        G91 ; relative positioning
                        G1 Z15 F6000 S2 ; lift Z relative to current position
                        G1 S1 Y-445 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                        G1 Y5 F6000 ; go back a few mm
                        G1 S1 Y-445 F360 ; move slowly to Y axis endstop once more (second pass)
                        G1 S1 X-445 F1800 ; move quickly to X axis endstop and stop there (first pass)
                        G1 X5 F6000 ; go back a few mm
                        G1 S1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
                        G90 ; absolute positioning
                        G1 X0 Y0 F6000 ; go to first bed probe point and home Z
                        G30 ; home Z by probing the bed

                        ; Uncomment the following lines to lift Z after probing
                        ;G91 ; relative positioning
                        ;G1 S2 Z15 F100 ; lift Z relative to current position
                        ;G90 ; absolute positioning

                        ; homez.g
                        ; called to home the Z axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)

                        G30 ; Do a single probe to home our Z axis
                        G90 ; Make sure we are in absolute mode
                        G1 Z10 F6000 ; Rapidly move the Z axis to Z=10.

                        ; Uncomment the following lines to lift Z after probing
                        ;G91 ; relative positioning
                        ;G1 S2 Z15 F100 ; lift Z relative to current position
                        ;G90 ; absolute positioning

                        ; homex.g
                        ; called to home the X axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                        G91 ; relative positioning
                        G1 Z15 F6000 S2 ; lift Z relative to current position
                        G1 S1 X-445 F1800 ; move quickly to X axis endstop and stop there (first pass)
                        G1 X5 F6000 ; go back a few mm
                        G1 S1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
                        G1 Z-15 F6000 S2 ; lower Z again
                        G90 ; absolute positioning

                        ; homey.g
                        ; called to home the Y axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                        G91 ; relative positioning
                        G1 Z15 F6000 S2 ; lift Z relative to current position
                        G1 S1 Y-445 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                        G1 Y5 F6000 ; go back a few mm
                        G1 S1 Y-445 F360 ; move slowly to Y axis endstop once more (second pass)
                        G1 Z-15 F6000 S2 ; lower Z again
                        G90 ; absolute positioning

                        ; deployprobe.g
                        ; called to deploy a physical Z probe
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                        M280 P3 S10 I1

                        ; retractprobe.g
                        ; called to retract a physical Z probe
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                        M280 P3 S90 I1

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

                          @stevo said in Pay for config / json files for my corexy printer build.:

                          ; Endstops
                          M574 X1 Y1 S0 ; Set active low and disabled endstops
                          M574 Z1 S2 ; Define Z to use Probe. Home to Min.
                          M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z.
                          G31 P25 X0 Y-25.3 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height
                          ; Z-Probe
                          M574 Z1 S2 ; Set endstops controlled by probe
                          M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                          M558 P9 H5 F100 T2000 ; Set Z probe type to bltouch and the dive height + speeds
                          G31 X0 Y0 Z0 P25 ; Set Z probe trigger value, offset and trigger height
                          M557 X220:220 Y-220:220 S20 ; Define mesh grid
                          ; BLTouch - Heaters
                          M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.

                          You've got a few commands duplicated there. You should probably clean those up to prevent future confusion.

                          @stevo said in Pay for config / json files for my corexy printer build.:

                          G1 X0 Y0 F6000 ; go to first bed probe point and home Z
                          G30 ; home Z by probing the bed

                          It would seem you are using 0,0 as bed center? Just checking.

                          @stevo said in Pay for config / json files for my corexy printer build.:

                          ; homez.g
                          ; called to home the Z axis
                          ;
                          ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                          G30 ; Do a single probe to home our Z axis
                          G90 ; Make sure we are in absolute mode
                          G1 Z10 F6000 ; Rapidly move the Z axis to Z=10.

                          You may want to add a G1 X Y move before the G30 to place the probe in the same location as you do in homeall for consistency, unless you have different plans for using homez alone in certain situations. That's valid, but just be aware that G28 and G28 Z will give you very different results.

                          @stevo said in Pay for config / json files for my corexy printer build.:

                          ; BLTouch - Heaters
                          M307 H7 A-1 C-1 D-1 ; Disable the 7th Heater to free up PWM channel 5 on the Duex board.

                          @stevo said in Pay for config / json files for my corexy printer build.:

                          ; deployprobe.g
                          ; called to deploy a physical Z probe
                          ;
                          ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                          M280 P3 S10 I1

                          You're unbinding heater pin 7, but then you're targeting servo 3 in your deploy and retract commands. I think this is the reason the probe isn't doing anything. If you are actually using pin 7, then change the servo commands to be P7 instead of P3.

                          Did you test the deploy and retract macros? What happens if you send M401 and M402? (should be deploy and retract)

                          Use this procedure for safely testing your probe. https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

                          Z-Bot CoreXY Build | Thingiverse Profile

                          Stevoundefined 1 Reply Last reply Reply Quote 0
                          • Stevoundefined
                            Stevo @Phaedrux
                            last edited by

                            @phaedrux Thank you for the help as always much appreciated!

                            Will report back once I have sorted my mess out lol.

                            1 Reply Last reply Reply Quote 0
                            • Stevoundefined
                              Stevo
                              last edited by

                              Evening all,
                              Now have signs of life from the BL touch on hitting the home button the bed lowers 15mm the y axis then homes followed by the x axis homing and then the printhead moves to the middle of the machine and deploys the probe and upon touching the bed and retracting the table lowers 15mm again.
                              Its a little hit and miss as sometimes when I turn the machine on the bl will just flash red and will not deploy at the z axis homing stage.
                              If I actually deploy the prove manually after one of these instances but prior to powering the machine on everything seems to be ok ?

                              ; Configuration file for Duet WiFi (firmware version 1.21)
                              ; executed by the firmware on start-up
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)

                              ; General preferences
                              G90 ; Send absolute coordinates...
                              M83 ; ...but relative extruder moves

                              M669 K1 ; Select CoreXY mode

                              ; Network
                              M550 P"WILE E COYOTE" ; Set machine name
                              M552 S1 ; Enable network
                              ;*** Access point is configured manually via M587
                              M586 P0 S1 ; Enable HTTP
                              M586 P1 S0 ; Disable FTP
                              M586 P2 S0 ; Disable Telnet

                              ; Drives
                              M569 P0 S1 ; Physical drive 0 goes forwards
                              M569 P1 S1 ; Physical drive 1 goes forwards
                              M569 P2 S0 ; Physical drive 2 goes backwards
                              M569 P3 S1 ; Physical drive 3 goes forwards
                              M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                              M92 X80.00 Y80.00 Z1600.00 E420.00 ; Set steps per mm
                              M566 X900.00 Y900.00 Z30.00 E2400 ; Set maximum instantaneous speed changes (mm/min)
                              M203 X6000.00 Y6000.00 Z144.00 E1200.00 ; Set maximum speeds (mm/min)
                              M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
                              M906 X800.00 Y800.00 Z2000.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
                              M84 S30 ; Set idle timeout

                              ; Axis Limits
                              M208 X-220 Y-220 Z0 S1 ; Set axis minima
                              M208 X220 Y220 Z660 S0 ; Set axis maxima

                              ; Endstops
                              M574 X1 Y1 S0 ; Set active low and disabled endstops
                              M574 Z1 S2 ; Define Z to use Probe. Home to Min.
                              M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z.
                              G31 P25 X0 Y-25.3 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment

                              ; Z-Probe
                              M574 Z1 S2 ; Set endstops controlled by probe
                              M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                              M558 P9 H15 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                              G31 P500 X32 Y2 Z2.5 ; Set Z probe trigger value, offset and trigger height
                              M557 X220:220 Y-220:220 S20 ; Define mesh grid

                              ; Heaters
                              M140 H-1 ; Disable heated bed
                              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 on
                              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 ; 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

                              ; Automatic saving after power loss is not enabled

                              ; Custom settings are not configured

                              ; Miscellaneous
                              T0 ; Select first tool

                              ; homeall.g
                              ; called to home all axes
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                              G91 ; relative positioning
                              G1 Z15 F6000 S2 ; lift Z relative to current position
                              G1 S1 Y-445 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                              G1 Y5 F6000 ; go back a few mm
                              G1 S1 Y-445 F360 ; move slowly to Y axis endstop once more (second pass)
                              G1 S1 X-445 F1800 ; move quickly to X axis endstop and stop there (first pass)
                              G1 X5 F6000 ; go back a few mm
                              G1 S1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
                              G90 ; absolute positioning
                              G1 X0 Y0 F6000 ; go to first bed probe point and home Z
                              G30 ; home Z by probing the bed

                              ; Uncomment the following lines to lift Z after probing
                              ;G91 ; relative positioning
                              ;G1 S2 Z15 F100 ; lift Z relative to current position
                              ;G90 ; absolute positioning

                              ; homex.g
                              ; called to home the X axis
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                              G91 ; relative positioning
                              G1 Z15 F6000 S2 ; lift Z relative to current position
                              G1 S1 X-445 F1800 ; move quickly to X axis endstop and stop there (first pass)
                              G1 X5 F6000 ; go back a few mm
                              G1 S1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
                              G1 Z-15 F6000 S2 ; lower Z again
                              G90 ; absolute positioning

                              ; homey.g
                              ; called to home the Y axis
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                              G91 ; relative positioning
                              G1 Z15 F6000 S2 ; lift Z relative to current position
                              G1 S1 Y-445 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                              G1 Y5 F6000 ; go back a few mm
                              G1 S1 Y-445 F360 ; move slowly to Y axis endstop once more (second pass)
                              G1 Z-15 F6000 S2 ; lower Z again
                              G90 ; absolute positioning

                              ; homez.g
                              ; called to home the Z axis
                              ;
                              ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)
                              G91 ; relative positioning
                              G1 Z15 F6000 S2 ; lift Z relative to current position
                              G90 ; absolute positioning
                              G1 X0 Y0 F6000 ; go to first probe point
                              G30 ; home Z by probing the bed

                              ; Uncomment the following lines to lift Z after probing
                              ;G91 ; relative positioning
                              ;G1 S2 Z15 F100 ; lift Z relative to current position
                              ;G90 ; absolute positioning

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

                                Some people add a command to reset the BLTouch out of an error state, before using it for probing. You can add this command in homez.g and homeall.g (before the G30 command), and if you wish in bed.g. It's an M280 command but I forget the details. You may need a short G4 delay command after it, to make sure that the reset happens before the firmware tries to deploy the probe.

                                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
                                • Phaedruxundefined
                                  Phaedrux Moderator @Stevo
                                  last edited by

                                  @stevo said in Pay for config / json files for my corexy printer build.:

                                  when I turn the machine on the bl will just flash red and will not deploy at the z axis homing stage.

                                  Try adding this to the end of your config.g to clear any BLTouch errors and retract the pin just in case.

                                  ; BLTOUCH PREP
                                  ;
                                  G4 S1
                                  M280 P7 S160 I1 		; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                  G4 S1
                                  M402				; Retract probe just in case it's down
                                  

                                  M558 P5 H5 F500 T4000 X0 Y0 Z1
                                  G31 P25 X0 Y-25.3 Z0.0 ;

                                  You've still got some probe settings duplicated in the endstops and zprobe section.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • Stevoundefined
                                    Stevo
                                    last edited by

                                    Thank you that's done the trick !

                                    1 Reply Last reply Reply Quote 0
                                    • Stevoundefined
                                      Stevo
                                      last edited by Stevo

                                      Evening all,

                                      Just wanted to ask when the printer has finished its task how / where do I ask it to lower the bed and come back to the homing corner minima on x and y to cool print head down bearing in mind my origin is the centre of the build plate.

                                      M104 S0 ;Turn off extruder heater
                                      G91 ;Relative positioning
                                      G1 Z 10 E-5 F300 ; Lower bed by 10mm and retract filament by 5mm
                                      G1 S1 Y-150 X-150 F500 ;Move nozzle 150mm home direction out of the way of finished print.
                                      M84 ;Motors off
                                      G90 ;Absolute positioning

                                      1 Reply Last reply Reply Quote 0
                                      • zaptaundefined
                                        zapta
                                        last edited by

                                        Does this help? https://forum.duet3d.com/topic/6760/stop-g

                                        Stevoundefined 1 Reply Last reply Reply Quote 0
                                        • Stevoundefined
                                          Stevo @zapta
                                          last edited by

                                          @zapta thank you !

                                          1 Reply Last reply Reply Quote 0
                                          • Stevoundefined
                                            Stevo
                                            last edited by

                                            Evening all just wondered if one of you kind folk could cast an eye over my config file to see if it could be improved in any way please speeds and placement of codes within the file.

                                            As always your comments greatly received

                                            ; Configuration file for Duet WiFi (firmware version 1.21)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool v2 on Tue Jul 23 2019 21:10:42 GMT+0100 (BST)

                                            ; General preferences
                                            G90 ; Send absolute coordinates...
                                            M83 ; ...but relative extruder moves

                                            M669 K1 ; Select CoreXY mode

                                            ; Network
                                            M550 P"CORE XY" ; Set machine name
                                            M552 S1 ; Enable network
                                            ;*** Access point is configured manually via M587
                                            M586 P0 S1 ; Enable HTTP
                                            M586 P1 S0 ; Disable FTP
                                            M586 P2 S0 ; Disable Telnet

                                            ; Drives
                                            M569 P0 S1 ; Physical drive 0 goes forwards
                                            M569 P1 S1 ; Physical drive 1 goes forwards
                                            M569 P2 S0 ; Physical drive 2 goes backwards
                                            M569 P3 S1 ; Physical drive 3 goes forwards
                                            M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                                            M92 X80.00 Y80.00 Z1600.00 E415.00 ; Set steps per mm
                                            M566 X900.00 Y900.00 Z30.00 E2400 ; Set maximum instantaneous speed changes (mm/min)
                                            M203 X6000.00 Y6000.00 Z144.00 E1200.00 ; Set maximum speeds (mm/min)
                                            M201 X500.00 Y500.00 Z20.00 E250.00 ; Set accelerations (mm/s^2)
                                            M906 X800.00 Y800.00 Z2000.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                            M84 S30 ; Set idle timeout

                                            ; Axis Limits
                                            M208 X-220 Y-220 Z0 S1 ; Set axis minima
                                            M208 X220 Y220 Z660 S0 ; Set axis maxima

                                            ; Endstops
                                            M574 X1 Y1 S0 ; Set active low and disabled endstops
                                            M574 Z1 S2 ; Define Z to use Probe. Home to Min.
                                            M558 P5 H5 F500 T4000 X0 Y0 Z1 ; Set Z probe type/mode 5. Not using on XY, but using it on Z.
                                            G31 P25 X2 Y32 Z0.0 ; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment

                                            ; BLTOUCH PREP
                                            G4 S1
                                            M280 P7 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                            G4 S1
                                            M402 ; Retract probe just in case it's down

                                            ; Z-Probe
                                            M574 Z1 S2 ; Set endstops controlled by probe
                                            M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                                            M558 P9 H15 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                                            G31 P500 X32 Y2 Z0.96 ; Set Z probe trigger value, offset and trigger height
                                            M557 X220:220 Y-220:220 S20 ; Define mesh grid

                                            ; Heaters
                                            M140 H-1 ; Disable heated bed
                                            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 on
                                            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 ; 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

                                            ; BLTOUCH PREP
                                            G4 S1
                                            M280 P7 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                            G4 S1
                                            M402 ; Retract probe just in case it's down

                                            ; Automatic saving after power loss is not enabled

                                            ; Custom settings are not configured

                                            ; Miscellaneous
                                            T0 ; Select first tool

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