3.) Configuration (General Cartesian) · your browser and navigate to duettest.local/ (assuming the...

Post on 25-Jul-2020

10 views 0 download

transcript

Duet3D

3.) Configuration (General Cartesian)This guide will cover firmware configuration of your Duet Wifi or Duet Ethernet for a Cartesian

printer.

Written By: Filastruder

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 1 of 16

Step 1 — Using the RepRapFirmware Configurator

Modifying the configuration by hand can be tricky. For this reason, we will use the RepRapFirmware Configurator to set up the printer's configuration.

The configuration files that the configurator produces are detailed on the wiki page for configuringRepRapFirmware for a Cartesian printer. These files can be edited by hand (and sometimes this isrequired) so it's worth reading that article.

If you have a delta, corexy or other printer this guide is still a useful start point, as is the wiki pagelinked above. After that check the wiki pages for your specific printer type:

Configuring RepRapFirmware for a Delta printer

Configuring RepRapFirmware for a CoreXY printer

Configuring RepRapFirmware for an IDEX printer

Configuring RepRapFirmware for a SCARA printer

Configuring RepRapFirmware for a Polar printer Configuring RepRapFirmware for aHangprinter printer

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 2 of 16

Step 2 — Generate Configuration Files With RRF Configuration Tool

Begin by visitinghttps://configurator.reprapfirmware.org/ in your browser.

Run through each screen. You willneed an understanding of what thespecifications of the printer you areconfiguring the Duet to control. (e.g.axis steps/mm) That information canbe found in the configuration files ofprevious electronics if you areupgrading.

If you are unsure about anythingthroughout the process, hoveringover an option will give you aninformation bubble.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 3 of 16

Step 3 — Download Configuration .ZIP File

The RepRapFirmware Configuration tool will automatically generate configuration files for youbased on your selections.

Download the configuration .ZIP file and place it in a folder that can be easily accessed.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 4 of 16

Step 4 — Upload Configuration Via Duet Web Interface

This and following steps use DuetWeb Control (DWC) to setup andcontrol the Duet. There is a full DWCmanual in the documentation.

If you are using a Duet 2 Wifi, openyour browser and navigate toduettest.local/ (assuming theprinter name is still "duettest", andyour network setup supports mDNS)

Note that mDNS does not yetwork with the Duet 2 Ethernet andDuet 2 Maestro. please connectdirectly to the IP address .

Otherwise, you can use the IPaddress of the printer. Your routershould be able to report theaddresses of everythingconnected.

Navigate to Settings.

Click "Upload Files" in the fileupload section.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 5 of 16

Step 5 — Select Configuration .ZIP File

Navigate to the folder where yousaved the configuration .ZIP file amoment ago.

Select "Open".

Step 6 — Reboot Duet

The Duet will notice that you haveuploaded a configuration file and willask to be rebooted. Select Yes to

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 6 of 16

reboot the Duet and apply the newfirmware.

Configuration changes made in theSystem Editor or by uploading a filewill not take effect until the devicehas been rebooted. A configurationchange sent via a G-Code consolewill take effect immediately, but willbe lost when the device is rebooted(unless the system file has beenedited to also reflect the change).

Step 7 — Check Thermistors

Note: If you changed the machinename in the RepRapFirmwareConfigurator, this will be reflected inthe .local address. For instance, ifyou named the machine "MyPrinter", you will navigate tomyprinter.local/ (without spacesand not case sensitive).

Open your browser and navigate toyourduetname.local/.

Check that you are getting atemperature reading on "Tool 0" and"Bed". It should be around roomtemperature. It is OK if there's a fewdegrees of error as thermistorreadings have better resolution athigher temperatures.

If you get a reading of "2000°C",there is a problem with yourthermistor wiring. Correct thisbefore continuing.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 7 of 16

Step 8 — Check Fans

Always On fans should already beon. Check them at this time.

If you have a fan that is connectedto F0, you can enable it by sendingG-Code command "M106 P0 S1"

For thermostatically controlled fans,(which are F1 and F2 by default) wecan check them by temporarilychanging the temperature at whichthey activate.

In the Duet web interface, loadthe G-Code Console.

Send the following command tothe Duet: "M106 P1 T1 H1".

P1 is for Fan 1. If you have twothermostatically controlledfans, repeat this step afterchanging P1 to P2.

After confirming the operation of thefans, you may reset theconfiguration by simply pressing the"Reset" button on the Duet, if youwish. Do not confuse the Resetbutton with the Erase button!

For more details on configuring fanssee these wiki pages: Connectingand configuring fans, and Gcode:M106

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 8 of 16

Step 9 — Check Heater Functionality

Since we have checked for properoperation of our thermistors, we maynow check our heaters.

On the Machine Control page, entera number in the "Active" box foreach heater. Start off with a lownumber such as 35°C.

Select the drop down box next to"Tool 0" and click "Select Tool".

You should see the correspondingtemperature begin to rise. It ispossible that it will overshoot the settemperature a bit, this is OK.

Complete this step by selecting"Tool 0" and "Deselect Tool" to putthe tool into standby.

Repeat this step for the bed heater.

WARNING: If you enable the heaterbut do not observe an increase inthe temperature reading, turn off thecontroller immediately and checkyour wiring.

It is recommended that you tuneyour heaters after ensuring theirfunctionality.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 9 of 16

Step 10 — Check Endstop Configuration

You should have already checkedfor proper operation of endstops. Atthis time, we will make sure that theyare correctly configured.

Navigate to Settings, then MachineProperties to check the status ofyour endstops. Observe the actualstatus of the endstops on yourprinter and make a note if theindicated status is incorrect.

If any endstops are not configuredproperly, we will fix them in the nextstep.

Step 11 — Configuring Active High or Active Low Endstops

If you found that any endstops arenot configured properly in the laststep, navigate to Settings, then to"System Editor" and open theconfig.g file.

Endstops are configured here. Thefirst line (S0) defines all active lowendstops.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 10 of 16

An active low endstop is onewhich pulls the signal to groundwhen the endstop is pressed(normally open). An active highendstop is one which pulls thesignal to ground when theendstop is not pressed.

Never connect an endstop wiresfrom +3.3v to ground. This willcreate a short circuit and coulddamage the Duet.

The second line (S1) defines allactive high endstops.

If you are unsure if your endstopsare active high or active low, youcan test them by observing thelight next to the correspondingstepper motor connector. If thelight is lit when the button ispressed, then this would indicatean active low endstop.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 11 of 16

Step 12 — Configure High End or Low End Endstops

Remaining in the same config.g fileas the last step, observe the numbernext to each axis' endstop - forexample X0, Z0 and Y2.

Think of "low end" and "high end"as a numeric scale for the axis. Ifyour Y axis has a 250mm rangeof motion, the low end is 0mmand the high end is 250mm.

Observe the physical location ofeach endstop and compare it to thissetting. If it is incorrect, change itnow.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 12 of 16

Step 13 — Check Stepper Motors

Before conducting this step,temporarily alow axis movementwithout homing by navigating to theG Code console and entering: M564S0 H0

Navigate back to the MachineControl page. At this time, we willcheck the operation of our steppermotors.

Move each stepper motor,individually, 1 mm in each direction.If any motors are incorrect, we willfix them in the next step.

Note that a stepper can't bemoved before homing. unless theM564 command is used tooverride this safety default.

If your motor moves in the correctdirection, you may home the axis atthis time.

Important: Be sure that you haveconfirmed the correct operation ofyour endstops before homing.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 13 of 16

Step 14 — Reversing a Stepper Motor

To reverse the direction of a steppermotor, navigate to Settings, then toSystem Editor and open the config.gfile.

Look for M569 settings. S1configures a drive to move in the"forward" direction and S0 is"reverse".

For any stepper motors that aremoving in the wrong direction,change the configuration of S1 to S0for the corresponding drive.

The default mapping for drives is0=X, 1=Y, 2=Z, 3=E0 and 4=E1.

Step 15 — Configuring PanelDue

If you are using a PanelDue, ifconnected properly it should alreadybe configured.

You can check that it is functioningby making sure that it turned on andis displaying reasonably correcttemperature information. You mayalso choose to home an axis or bystarting a heater.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 14 of 16

Step 16 — Configuring Z Probe

Begin by familiarizing yourself withthe different probe modes which canbe found Connecting a Z probe

Navigate to Settings, then SystemEditor and open the config.g file.

Change the P value of M558 tomatch whichever probe you areusing.

X, Y and Z values define whether ornot there is a probe on that axis. Azero means that a probe is not used.

H value defines the dive height,which is the height above the triggerheight from which probing starts.

F value defines the "feed rate", orprobing speed in millimeters perminute.

T value defines the travel speed atwhich the probe is moved betweenprobe points in millimeters perminute.

For more information on Z probingsee these wiki pages: Choosing a Zprobe, how to Test and calibrate a Zprobe and Setting up automaticprobing of the print bed.

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 15 of 16

Step 17 — Test Z Probe

Test the Z probe and ensuring that the status changes in Duet Web Control.

e.g. If using an IR probe, by putting a piece of paper under the probe

Step 18 — Configuration Complete!

Congratulations! Upon completion of this guide, your Duet is set up. For further details thefollowing wiki pages are a good place to start:

Step by step guide to using your Duet

Configuring RepRapFirmware for a Cartesian Printer

FAQ

The complete reference for all gcodes use for configuration and control: Gcode

3.) Configuration (General Cartesian) Draft: 2020-05-06Guide ID: 10 -

This document was generated on 2020-05-06 01:05:00 PM (MST).

© 2020 duet3d.dozuki.com/ Page 16 of 16