From 82b63699b63672325da0f48abc4d905651e1e860 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 8 Jun 2021 22:07:21 +0000 Subject: [PATCH] Improve homeall.g, aiming for a smoother homing --- README.md | 20 ++++++++++++-------- config.g | 2 +- homeall.g | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 5bd3b78..99eb6fa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Vcore3 500^3 -## Purpose -Configure and document a [Vcore3 from RatRig](https://www.ratrig.com/3d-printing-cnc/3d-printer-kits/all-3d-printer-kits/v-core3configurable.html) with a Duet 3 6HC. +## Intro +Configure and document a [Vcore3 from RatRig](https://www.ratrig.com/3d-printing-cnc/3d-printer-kits/all-3d-printer-kits/v-core3configurable.html) with a Duet 3 6HC. The Vcore3 is a [core xy 3d printer](https://www.reprap.org/wiki/CoreXY) with a kinematic bed on 3 axis. The purpose of this repo is not to have a 1 fit all solution but the solution that works for my use case, I've tryed to provide all the hardware components and their setup, this may not suit your case. If you have a suggestion please consider opening a pull request. In the other hand it may help you setup your printer in a fast way, use at your own risk. Parts of the g code are not mine and were extracted from the ratrig config, duet github repos, and other sources (references on the links and external sources bellow). @@ -10,8 +10,10 @@ Pay special attention to the stepper direction and stepper step/angle, these are ## HW Config ##### - 1x [Duet 3 6HC](https://www.123-3d.nl/Duet3D-Duet-3-Mainboard-6HC-v1-0-origineel-Duet-3-MB6HC-v1-00-i4602.html) + ##### Display - 1x [Duet panel Due](https://www.123-3d.nl/Duet3D-PanelDue-met-7-v1-0-display-kabel-PanelDue-7i-v1-0-i3018-t14808.html) + ##### SBC - 1x [PI 4 2GB](https://www.123-3d.nl/RaspberryPi-Raspberry-Pi-4-model-B-2-GB-i4908-t16066.html) @@ -30,11 +32,11 @@ Pay special attention to the stepper direction and stepper step/angle, these are ##### HotEnd - 1x [E3D V6](https://www.123-3d.nl/E3D-v6-hotend-complete-kit-1-75-mm-24V-thermistor-cartridge-origineel-i2184-t13151.html) - 1x [Bondtech BMG Extruder](https://www.123-3d.nl/Bondtech-BMG-Extruder-EXT-BMG-i3776-t15696.html) -##### Lighting -- 1x [SSR 40A DC-DC](https://www.la3d.ch/e-shop/relais-ssr-creality-3d-cr-10s-pro/)) -- 2x [Led strips 24v 50cm](https://www.amazon.nl/gp/product/B07N1GDJV1/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1) -Note: The usage of the SSR allows more lighting to be added without worries for curruent usage on the board. +##### Lighting +- 1x [SSR 40A DC-DC](https://www.la3d.ch/e-shop/relais-ssr-creality-3d-cr-10s-pro/) +- 2x [Led strips 24v 50cm](https://www.amazon.nl/gp/product/B07N1GDJV1/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1) +Note: The usage of a second SSR allows more lighting to be added without worries for curruent usage on the board. ##### Fans - 1x [STD ratrig layer fan 24v](https://www.ratrig.com/fan-50mm-blower-type-24v-dc.html) @@ -94,10 +96,12 @@ All steppers are 0.9ยบ Heating elements in use: * out1 - SSR Bed * out2 - Hotend + ##### Fans (24v) Fans in use: * out4 - layer fan * out7 - hotend fan + ##### Lighting * out8 - dc ssr operated leds @@ -110,7 +114,7 @@ Thermal probes in use: - Setup filament sensor - Add printing tracking camera -- All macros are untested until stated otherwise (cloned from duet repos), list of tested macros: +- All macros are untested until stated otherwise (some are cloned from duet repos, others are mine), list of tested macros: - - Lighting (all) - - Preheat (all) - - PID tuning Bed && HotEnd @@ -126,4 +130,4 @@ I've also set a exectronics backplate (to be a cut of alluminium or polycarbonat * [GCode library](https://duet3d.dozuki.com/Wiki/Gcode) * [RatRig vcore3 docs](https://ratrig.dozuki.com/c/Rat_Rig_V-Core_3) * [Duet Macros repo](https://github.com/Duet3D/GcodeMacros) - +* [RatRig Vcore video by TeachingTech](https://www.youtube.com/watch?v=XoTxFs3BGuk&t) diff --git a/config.g b/config.g index c52350b..4952c13 100644 --- a/config.g +++ b/config.g @@ -62,7 +62,7 @@ M143 H1 S280 ; set temperature limit for h ; Fans M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency M106 P0 C"Hotend fan" S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on -M950 F1 C"out4" Q10 ; create fan 1 on pin out4 +M950 F1 C"out4" 20 ; create fan 1 on pin out4 M106 P1 C"Layer fan" S0 H-1 -L255 ; set fan 1 value. Thermostatic control is turned off ; Lights diff --git a/homeall.g b/homeall.g index 9df8649..22ddf85 100644 --- a/homeall.g +++ b/homeall.g @@ -5,20 +5,20 @@ M280 P0 S160 ; Reset probe G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position -G1 H1 X-625 Y625 F3600 ; move quickly to X and U axis endstops and stop there (first pass) -G1 H1 X-625 F1800 ; move quickly to X and U axis endstops and stop there (first pass) -G1 H1 Y625 F1800 ; move quickly to X and U axis endstops and stop there (first pass) -G1 H2 X5 Y-5 F6000 ; go back a few mm -G1 H1 X-625 Y625 F360 ; move slowly to X and U axis endstops once more (second pass) -G1 H1 X-625 F360 ; move slowly to X and U axis endstops once more (second pass) -G1 H1 Y625 F360 ; move slowly to X and U axis endstops once more (second pass) +G1 H1 X-625 Y625 F1800 ; move quickly to X and Y axis endstops and stop there (first pass) +G1 H1 X-625 F900 ; move quickly to X axis endstops and stop there (first pass) +G1 H1 Y625 F900 ; move quickly to Y axis endstops and stop there (first pass) +G1 H2 X5 Y-10 F1800 ; go back a few mm +G1 H1 X-625 Y625 F256 ; move slowly to X and Y axis endstops once more (second pass) +G1 H1 X-625 F256 ; move slowly to X axis endstops once more (second pass) +G1 H1 Y625 F256 ; move slowly to Y axis endstops once more (second pass) G90 ; absolute positioning G1 X250 Y250 F10000 ; go to first probe point G30 ; home Z by probing the bed -G91 ; relative positioning -G1 Z5 F100 ; lift Z relative to current position -G90 ; absolute positioning +G91 ; relative positioning +G1 Z5 F100 ; lift Z relative to current position +G90 ; absolute positioning G1 X15 Y-15 F10000