• Tags
  • Documentation
  • Order
  • Register
  • Login
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.6k
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.
  • undefined
    Phaedrux Moderator
    last edited by 8 Jul 2019, 22:20

    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

    undefined 1 Reply Last reply 8 Jul 2019, 22:27 Reply Quote 0
    • undefined
      Stevo @Phaedrux
      last edited by 8 Jul 2019, 22:27

      @phaedrux thank you very much like that

      1 Reply Last reply Reply Quote 0
      • undefined
        DanL
        last edited by 9 Jul 2019, 12:26

        @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
        • undefined
          Stevo
          last edited by Stevo 25 Jul 2019, 21:51

          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

          undefined 1 Reply Last reply 26 Jul 2019, 03:45 Reply Quote 0
          • undefined
            Phaedrux Moderator @Stevo
            last edited by 26 Jul 2019, 03:45

            @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

            undefined 1 Reply Last reply 26 Jul 2019, 15:28 Reply Quote 0
            • undefined
              Stevo @Phaedrux
              last edited by 26 Jul 2019, 15:28

              @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
              • undefined
                Stevo
                last edited by 26 Jul 2019, 18:42

                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

                undefined 1 Reply Last reply 26 Jul 2019, 18:48 Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by 26 Jul 2019, 18:47

                  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
                  • undefined
                    Phaedrux Moderator @Stevo
                    last edited by 26 Jul 2019, 18:48

                    @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
                    • undefined
                      Stevo
                      last edited by 26 Jul 2019, 19:16

                      Thank you that's done the trick !

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Stevo
                        last edited by Stevo 8 Mar 2019, 21:36 3 Aug 2019, 20:59

                        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
                        • undefined
                          zapta
                          last edited by 3 Aug 2019, 21:34

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

                          undefined 1 Reply Last reply 3 Aug 2019, 22:26 Reply Quote 0
                          • undefined
                            Stevo @zapta
                            last edited by 3 Aug 2019, 22:26

                            @zapta thank you !

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              Stevo
                              last edited by 15 Aug 2019, 18:42

                              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 15 Aug 2019, 20:05 Reply Quote 0
                              • deckingmanundefined
                                deckingman @Stevo
                                last edited by 15 Aug 2019, 20:05

                                @stevo If I was being really pedantic I'd say that you have disabled thermostatic mode for your part cooling fan (M106 P0 H-1) which is fine, but the comment after says "Thermostatic control is turned on" (should say "off").

                                But I'm not feeling pedantic so I won't make that comment.

                                Seriously, nothing leaps out as being obviously amiss. I think you are at the stage of playing around with things to see if the end result looks any better or can be printed faster without degrading quality. One good thing about Duet is that you can play around with things "one the fly".

                                If you want, you can give your heaters and fans names for example such as "Hot end" rather than the default "heater 1" (M305 "S") or "Part fan" rather than "fan 0" (M106 "C").

                                You could try firmware retraction (G10 /G11). It won't work any better than your slicer but you can play around with it "on the fly" which is a far easier way to tune the retraction settings.

                                You could also play around with pressure advance (M572).

                                Ian
                                https://somei3deas.wordpress.com/
                                https://www.youtube.com/@deckingman

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Stevo
                                  last edited by 17 Aug 2019, 11:02

                                  Thank you for the input always appreciated !

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Stevo
                                    last edited by Stevo 17 Aug 2019, 14:44

                                    I have been tinkering with the driver speed settings in the config file only would this have any effect on the bltouch operation as when the x and y axis has homed and the head moves to the centre the bed raises a little before the bltouch has lowered the pin then changes its mind and lowers the bed.
                                    The bltouch then flashes red

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Phaedrux Moderator
                                      last edited by 18 Aug 2019, 04:43

                                      You can add a bit of a pause delay to the probe movements with M558 R0.5. This gives the BLTouch a half second chance to settle before starting to probe.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Stevo
                                        last edited by 26 Aug 2019, 15:21

                                        Afternoon everyone,
                                        I wonder if I could seek some clarification please Part cooling fan and hot end fan operate as they should during the print apart from the part cooling fan not turning off when the print has finished which I'm guessing I need to add a line to my S3D end code this is what I have in the config g file .

                                        ; Fans
                                        M106 P0 S0 I0 F500 H-1 ; Part cooling fan
                                        M106 P1 S1 I0 F500 H1 T35 ; Hot end fan set to come on and off at 35

                                        and S3D end code.

                                        G91 ; relative positioning
                                        M104 S0 ; extruder heater off
                                        G1 E-1 F300 ; retract the filament
                                        G1 Z15 F1000 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 F1000 ; 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 F1000 ; go back a few mm
                                        G1 S1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
                                        G90 ; absolute positioning
                                        M84 ;steppers off
                                        G90 ;absolute positioning

                                        deckingmanundefined 1 Reply Last reply 26 Aug 2019, 15:50 Reply Quote 0
                                        • deckingmanundefined
                                          deckingman @Stevo
                                          last edited by 26 Aug 2019, 15:50

                                          @stevo Add "M106 S0" to your end gcode.

                                          Ian
                                          https://somei3deas.wordpress.com/
                                          https://www.youtube.com/@deckingman

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