Pay for config / json files for my corexy printer build.
-
just to double check you are running firmware version 2.03?
-
@veti Yes i am
-
@stevo said in Pay for config / json files for my corexy printer build.:
M669
whats is the output if you issue M669 in the console.
-
@stevo One thing about your config.g that looks odd to me is that the steps per mm for Z look right for a metric lead screw but looking at your machine name, I'd have thought that you would be using Acme threads
-
1600 is a lead screw 1 start 2mm lead.
some people use them because it allows for 0.01mm layer height variation. -
@veti said in Pay for config / json files for my corexy printer build.:
1600 is a lead screw 1 start 2mm lead.
some people use them because it allows for 0.01mm layer height variation.I know. I was making a joke when I saw the OP's machine name. You need to have watched the cartoons to know the significance of "Acme" though.......
-
Should probably switch joke supplier;)
-
@bearer said in Pay for config / json files for my corexy printer build.:
Should probably switch joke supplier;)
Yes, a joke never works when you have to explain it...........
-
that went straight over my head.
-
This be the "Road runner" lol
Finished it last year enjoyed nearly every minute of the build lol
-
@veti as follows.....
-
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 -
Yes that looks correct.
-
@phaedrux should I swap around the x and “move slowly” commands ? Towards the end of the file
-
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.
-
@phaedrux thank you very much like that
-
@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 filamentMore 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! -
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 movesM669 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 -
@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 bedIt 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 I1You'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
-
@phaedrux Thank you for the help as always much appreciated!
Will report back once I have sorted my mess out lol.