Pay for config / json files for my corexy printer build.
-
That’s very kind thank you.
I have started to use the configuration tool and I have the very basics setup.
Is there a text file I can open to show what I have setup so far in the two output files?Would I be correct in saying I do not need to do the bl touch board mod for the V3 version of the sensor in regards to the voltage ?
-
We ought to combine our posts...lol .... I'm in the same boat.. However, I want to learn so I can show the next guy how.. I used configurator, and followed the Wiki as best as I could.. If someone can help me navigate the spotty wiki instructions, I'll transcribe it into language that someone who is new to reprap (like Me) can understand. What would really help would be an explanation of how things are supposed to work with corexy. This is my 9th from scratch build. It's just my first with this configuration. If you can help "this Steve" (Me) I'll gladly help ya Stevo! In fact, I have a buddy who just finished his Rat Rig. We're gonna' Teamview later tonight. If I can get somewhere, I'll message ya, and pass on the raw configs.
-
@stevo said in Pay for config / json files for my corexy printer build.:
That’s very kind thank you.
I have started to use the configuration tool and I have the very basics setup.
Is there a text file I can open to show what I have setup so far in the two output files?Would I be correct in saying I do not need to do the bl touch board mod for the V3 version of the sensor in regards to the voltage ?
The configurator will generate a full set of config files that go into the /sys folder. These are all the macros that the system uses to operate. The config.g is the main file. It gets run at startup and configures the duet to work with your hardware. The homing files are macros that get run when you use the homing buttons or send G28. They define how the printer will behave when homing. What direction to move, etc. For the BLTouch if you had it selected it will also have deployprobe.g and retractprobe.g that will contain the servo commands to operate the BLTouch pin. Bed.g is the macro that gets run when you send G32. It can do whatever kind of bed leveling you want to setup. But that's getting into the more advanced setup.
Do you know what version of PCB your Duet is? On the board there will be a silk screened version number. If it's 1.0.3 or 1.0.4 you won't need to do anything, the V3 BLTouch will work without any modification.
CoreXY is a little more complicated to setup, but not too bad.
I suggest you go through the configurator and input as much information as you can. Download the zip file with all the macro files and then post them here so we can see what it's given you. If you include information about your printer, like what kind of endstops you have, motors, power supply, heaters, thermistors, etc we can see if everything makes sense.
There are also a few wiki pages that are very helpful for setting up a printer for the first time.
This will give you an idea of the information you will need to know to allow for a smooth setup:
https://duet3d.dozuki.com/Wiki/Going_from_Marlin_on_Arduino_to_RepRapFirmware_on_DuetThis covers the basics and goes through the setup for a cartesian:
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinterThis one picks up where the cartesian basic setup leaves off and has the specifics for CoreXY:
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinterThis one goes through the safe commissioning process to get everything tested working. It's specific to the Ender 3, but is generally applicable: https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+3:+Commissioning/39
And here's the BLTouch specifics: https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch
-
Hi,
So total travel is 440mm in both X and Y axis and 660mm for Z I have the homing direction of all three axis correct and was using the makerbot limit switches for this at the time.
I have now fitted the V3 BLTouch yet to wire in but would like very much for the X and Y to home first then for the printhead assembly to move to the centre of the print bed and home the Z axis using the BL touch if that is feasible ?I have added the text from all the individual files sorry if its too much info!
I have a E3D V6 24v hottend assy yet to wire in and 24v mean well power supply.
2 Nema 23 steppers for the Z-axis and 2 60mm Nema 17's for the X and Y axis.
Many thanks Steve
; Configuration file for Duet WiFi (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode
; Network
M550 P"WILE E COYOTE BLT VERSION" ; 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 E120.00 ; 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 Z2400.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 X2 Y2 S0 ; Set active low and disabled endstops; Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M307 H3 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 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Fans
M106 P0 S0 I0 F500 H T45 ; 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 ; 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; deployprobe.g
; called to deploy a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
M280 P3 S10 I1; 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 X445 Y445 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 S1 X445 ; home X axis
G1 S1 Y445 ; home Y axis
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; 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 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 X445 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 X-5 F6000 ; go back a few mm
G1 S1 X445 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 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 axis endstop and stop there (first pass)
G1 Y-5 F6000 ; go back a few mm
G1 S1 Y445 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 Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
G91 ; relative positioning
G1 Z15 F6000 S2 ; lift Z relative to current position
G90 ; absolute positioning
G1 X188 Y-222 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; pause.g
; called when a print from SD card is paused
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
M83 ; relative extruder moves
G1 E-10 F3600 ; retract 10mm of filament
G91 ; relative positioning
G1 Z5 F360 ; lift Z by 5mm
G90 ; absolute positioning
G1 X0 Y0 F6000 ; go to X=0 Y=0; resume.g
; called before a print from SD card is resumed
;
; 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; retractprobe.g
; called to retract a physical Z probe
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
M280 P3 S90 I1; sleep.g
; called when M1 (Sleep) is being processed
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:28 GMT+0100 (BST)
; stop.g
; called when M0 (Stop) is run (e.g. when a print from SD card is cancelled)
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:29 GMT+0100 (BST); tfree0.g
; called when tool 0 is freed
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:29 GMT+0100 (BST)
; tpost0.g
; called after tool 0 has been selected
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:29 GMT+0100 (BST); tpre0.g
; called before tool 0 is selected
;
; generated by RepRapFirmware Configuration Tool v2 on Wed Jun 26 2019 19:39:29 GMT+0100 (BST) -
That all looks good. I think you're on the right track.
Post back if you run into any issues.
-
@stevo said in Pay for config / json files for my corexy printer build.:
M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
The e3d hotend has a semitec thermistor.
Try this
M305 P1 T100000 B4725 C7.060000e-8 R4700 ; Set thermistor + ADC parameters for heater 1the position of the home probing is in the homez and homeall script.
i.e.
G1 X188 Y-222 F6000 ; go to first probe point
G30 ; home Z by probing the bedto change the position put in the desired location as X and Y for the probing.
-
@stevo I think @Phaedrux must be short of caffeine or sleep because I had a quick gander at your files and spotted a couple of things that he missed (unusual for him)
M667 is deprecated in firmware 2.03 onwards, so assuming you intend to use the latest firmware, use M669 instead. So M669 K1 instead of M667 S1.
Be aware that the configuartor cannot know how the steppers are wired so you may need to change the motor directions in M569. Read the section on checking the axes directions in here https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter
Your extruder jerk is very low. that's probably just how the configurator works but use something more like 2400 or upwards (I use 3600). So instead of M566.....E120 use E2400 (or more but 2400 should be a good starting point).
Your motor current for the Z axis are right on the maximum at 2.4 Amps. I don't know what the maximum current rating of your motors are - I'm guessing 3 Amp? The usual rule of thumb is to set them to about 85% of their maximum rating but if that gives 2400 mA, I'd drop that a bit to (say) 2000 mA or even less to be safe. That should be fine for Z because the speed is low so you won't be losing much torque.
You have configured things such that the X and Y homing switches are at the axis maxima. So your X homing switch is on the right and your Y homing switch is at the back. Yes? There is nothing wrong with doing it that way but it is more usual to have the homing switches at the axes minima. So I just wanted to check that the config files match the physical location of the end stops.
I'm not sure what you are doing with your fans. By default Fan 0 is the part cooling fan. In any case, this line is wrong ..........
M106 P0 S0 I0 F500 H T45
..............because it's set to be thermostatic but the "H" has no number so it won't know which heater to monitor.
Assuming you want Fan 0 to be the part cooling fan as is normal, then use
M106 P0 S0 I0 F500 H-1 C"Part fan" (or any other name you like).
On the other hand, if it is really a second hot end cooling fan, then change the "H" to "H1" and leave the rest of the line as is.Lastly your tool doesn't have a heater assigned to it. So add H1 to it.
i.e instead of M563 P0 D0 use M563 P0 D0 H1.HTH
PS. It's that "teach a man to fish" thing - we'd rather show you how to set up the configuration yourself than simply do it all for you - that way you'll learn and you won't be forever dependent on other people.
-
@veti
Hi so I’m regards to making alterations to instructions I can manually edit the particular line save and re-up through the web configuration ? -
Thanks for the help everyone much appreciated I will try to keep the amount of questions to a minimum..,,,,,,,,,
-
@stevo said in Pay for config / json files for my corexy printer build.:
Thanks for the help everyone much appreciated I will try to keep the amount of questions to a minimum..,,,,,,,,,
Don't be afraid to ask questions! I was also new to the duet firmware a couple of months ago, and I've found this community to be extremely supportive!
To get you introduced a little bit, @Phaedrux, @deckingman, and @Veti are regulars who know what they're talking about and dc42 is the duet designer. All are very knowledgeable and very helpful.
-
if you edit the config.g file in the web interface it'll ask you save changes and if you want to reboot the board for the new settings to take effect.
you can also just run any of the config lines in the g-code console to update the settings on the fly (there are some exceptions where the order of commands is important, but for the things you'll want to change, like speeds, directions, travel limits and limit switches it can be changed on the fly)
-
@bearer Thank you
-
@stevo said in Pay for config / json files for my corexy printer build.:
Hi so I’m regards to making alterations to instructions I can manually edit the particular line save and re-up through the web configuration ?
you can only upload the config.json file, not the config.g
the idea of the configurator is to give you a basic working config for your printer that you then tweak to your needs.
i.e work out the basic for your printer that you can input into the configurator.
then do some tests prints and start tweaking features like pressure advance, stepper current, jerk and acceleration to find the optimal settings for your printer. -
@stevo My approach is to always keep and maintain the configuration files on my PC. Then if I need to, I edit the PC based files and upload them to the Duet. That way, I always have a working backup should anything go amiss with the SD card.
Any text editor can be used to edit the files - notepad++ is one that I use (it's free). -
@deckingman
OK thank you -
@veti
Thank you -
@deckingman said in Pay for config / json files for my corexy printer build.:
I think @Phaedrux must be short of caffeine
More like toddler induced sleep deprivation.
-
Afternoon all,
I have edited all the files as mentioned in the previous comments,
When looking down on the printer with the two steppers controlling x and y at the bottom the tool head travels in both negative's axis direction to the bottom left.
I have purchased a genuine V3 BL touch and would like to connect this to the Duet WIFI 2 next.
After looking at other posts i have more doubts than when i first looked lol.So without doing something i will regret i don't need to physically break any connections on this version of sensor or add resistors.
But i need to add a Gcode to set the correct voltage for the sensor ? -
@stevo said in Pay for config / json files for my corexy printer build.:
When looking down on the printer with the two steppers controlling x and y at the bottom the tool head travels in both negative's axis direction to the bottom left.
Have you read the link deckingman has mentioned ? -> https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter
Quote from the Movement Section: https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Movement_section
For a CoreXY or H-Bot machine, RepRapFirmware assumes that the motor connected to the X motor output moves the head in the +X and +Y directions when it runs forwards, and that the Y motor moves the head in +X and -Y directions when it runs forwards.
Then test for the correct X motor movement by sending these commands from the console:
G91
G1 S2 X10 F3000If the head moves diagonally in the +X and +Y directions, all is well. If it moves in the -X and -Y directions, change the S parameter to S1 in the M569 P0 command. If it moves towards +X and -Y, or towards -X and +Y, turn the power off and swap the X and Y motor
Read the whole section again and run each command to test if everything moves in the direction it should
-
it sound like you are still in cartesian mode rather than corexy mode.
for bltouch see this guide
https://betrue3d.dk/bltouch-on-duet-wifi-configuratio-and-usage/