Skip to main content

Site Navigation

Your Account

Choose Language

Help

Revision to Duet Web Control Manual

Tony

Duet Web Control is a full featured UI for the Duet family of electronics. It is adaptive and what is displayed changes depending on the configuration of the printer connected. The screenshots in the example below is for a printer with 2 extruders, each mounted on their own X axis however the descriptions are valid for any printer setup.
 
== OverviewIntroduction ==
== OverviewIntroduction ==
 
This manual is for DWCDuetWebControl version 1.2.1-b2 and later.
This manual is for DWCDuetWebControl version 1.2.1-b2 and later.
 
When opened in a browser Duet Web Control starts in the machine control screeenscreen, when viewed on a large screen will look similar to this:
When opened in a browser Duet Web Control starts in the machine control screeenscreen, when viewed on a large screen will look similar to this:
 
[image|684|size=large|align=center]
 
* The DuetWebControl display is dynamic so tools, axis and other features will be displayed only if they are configured
* To help illustrate this dynamic display this manual uses screen shots from a single tool delta printer and a multi tool IDEX printerprinter.
* To help illustrate this dynamic display this manual uses screen shots from a single tool delta printer and a multi tool IDEX printerprinter.
 
ItThe Duet Web Control layout will adapt to smaller screen sizes as required however all the features can still be accessed through drop down menus, as shown here on an Android Phone:
ItThe Duet Web Control layout will adapt to smaller screen sizes as required however all the features can still be accessed through drop down menus, as shown here on an Android Phone:
 
[image|252|align=center]
=== Browser Compatibility ===
 
Note that Chrome and Firefox browsers fully support DuetWebControl however Edge, IE have problems so avoid those. DWCDuetWebControl file editor works in Safari 10.0.1 and later. (Won't work in any earlier versions). These issues are due to some browsers failing to implement the HTML 5 standard.
Note that Chrome and Firefox browsers fully support DuetWebControl however Edge, IE have problems so avoid those. DWCDuetWebControl file editor works in Safari 10.0.1 and later. (Won't work in any earlier versions). These issues are due to some browsers failing to implement the HTML 5 standard.
 
== Machine ControlCommon elements ==
== Machine ControlCommon elements ==
 
The machine control page is composed of the following elements:=== Overview ===
The machine control page is composed of the following elements:=== Overview ===
 
HeaderSome elements of the DuetWebControl are common across all pages.

==== Header
bar (common to all pages):====
HeaderSome elements of the DuetWebControl are common across all pages.

==== Header
bar (common to all pages):====
 
[image|253|size=large]
 
Printer''The header bar and the printer status (commoncan be fixed or allowed to all pages):scroll. This is selected in settings->user interface""
Printer''The header bar and the printer status (commoncan be fixed or allowed to all pages):scroll. This is selected in settings->user interface""
 
[image|685|size=large==== Printer status ====

[image|705|size=large
]
[image|685|size=large==== Printer status ====

[image|705|size=large
]
 
''The IDEX printer in this example has 3 tools defined, only defined tools are shown''
 
Main==== Main menu (common to all pages):====
Main==== Main menu (common to all pages):====
 
[image|686|align=center]
 
Axes and extruder control:
 
[image|687|size=large]
 
Macros and miscellaneous:
 
[image|688|size=large]
 
=== Selecting Tools, Setting Temperatures ===
 
==== Tool States ====
 
Tools can be in three states::
* standby
* off
 
Clicking on the tool cycles between active and standby. The Control All menu allows for all tools to be turned off, as well as setting global active and standby temps:
 
[image|702|align=center]
 
Only one tool can be active at any one time (but a tool can be made up of multiple hotends, for example on an IDEX printer when printing in mirror or ditto modes see: [[ConfiguringMultipleIndependentXcarriagesCartesian|configuring multiple independent X-carriages on a Cartesian printer]]). Making a tool active sets the remainder to standby (unless they are off, in which case they stay off.
 
==== Selecting a Tool ====
 
The currently selected tool is underlined and the background is light blue (in the default skin):
Tools can be selected or deselected using the right click menu
 
[image|693|size=large|align=centerimage|706|size=large|align=center]
[image|693|size=large|align=centerimage|706|size=large|align=center]
 
The '''load filament''' option runs a load filament macro that is defined on the filaments page which will be covered later.
 
If==== Heater view ====

If
you have a mixing setup with a lot of different tools dfineddefined for different ratios then it may be asiereasier to view the heaters, rather than tools. Selecting the heater view shows each heater, and the associated tools:
If==== Heater view ====

If
you have a mixing setup with a lot of different tools dfineddefined for different ratios then it may be asiereasier to view the heaters, rather than tools. Selecting the heater view shows each heater, and the associated tools:
 
[image|692|size=large|align=center]
 
TheseThe temperature of each heater is displayed in the temperature chart. The colours of the lines on the chart relate to the heater colours.

[image|701|align=center]

These
images illustrate a more complex setup, just having 1 tool per heater is more normalcommon):
TheseThe temperature of each heater is displayed in the temperature chart. The colours of the lines on the chart relate to the heater colours.

[image|701|align=center]

These
images illustrate a more complex setup, just having 1 tool per heater is more normalcommon):
 
[image|690|size=large|align=center]
 
==== Extra view ====
 
Additional temperature inputs from "virtual" temperature sources such as the MCU and stepper over temperature channels [[Gcode#Section_M305_Set_temperature_sensor_parameters|can be configured]] to be shown in the extra tab. can be viewed in the extra tab.
 
[image|703|align=center]
 
=== Machine Status ===
 
This displays the current axis positions, extruder drive positions, VIN and Z-probe reading.
 
[image|704|align=center]
 
When printing the heat position and extruder drive amounts can change rapidly and the refresh rate on DuetWebControl means the values are not the exact position at all times.
 
The Z -Probe value is either 0 or 1000 for digital probe inputs. Analog probes can be any value between 0 and 1000.
 
== Machine Control ==
 
=== Overview ===
 
The machine control page is composed of the following elements:
 
==== Axes and extruder control ====
 
[image|687|size=large]
 
==== Macros and miscellaneous ====
 
[image|688|size=large]
 
=== Homing and Moving Axes ===
 
Before some axes can be moved they must be homed, This can be overridden in the Settings on newer DWCDuetWebControl versions but it is best practice to ensure all axes are homed before moving them.
Before some axes can be moved they must be homed, This can be overridden in the Settings on newer DWCDuetWebControl versions but it is best practice to ensure all axes are homed before moving them.
 
[image|694|size=large|align=center]
 
The Web interface is using the same gcodesG-Codes to home as if the gcodesG-Codes were entered manually in the console or over USB. See the section below about configuring system macros for links to more details on how this works.
The Web interface is using the same gcodesG-Codes to home as if the gcodesG-Codes were entered manually in the console or over USB. See the section below about configuring system macros for links to more details on how this works.
 
Once the axes are homed they turn from orange to blue:
[image|262|size=large|align=center]
 
Note that by default an axis will not be allowed to move outside of the printer dimensions set in the printer configuration file. The axis movement speed is set in the Settings->UserInterface->Machine Control section.

=== Probing the Bed ===

[image|742|align=center]

''Cartesian''

[image|743|align=center]

''Delta''

The "Auto Bed Compensation" button on a Cartesian or "Auto Delta Calibration" button runs [[Gcode#Section_G32_Probe_Z_and_calculate_Z_plane|G32]]. This has [[Setting_up_automatic_probing_of_the_print_bed|different functions]] . On a Cartesian/CoreXY/SCARA machine it is used for [[Bed levelling using multiple independent Z motors]]. On a delta Delta it is used for [[Calibrating a delta printer|calibration]].

Clicking on the drop down menu gives access to the mesh bed levelling commands:

[image|744|align=center]

Once setup correctly [[Mesh bed compensation]] probes the bed in a number of points and then uses that mesh to compensate for uneven bed surfaces.

[image|745|size=large|align=center]

This mesh is automatically saved onto the SD card as sys/heightmap.csv. You can view, disable and reload the saved heightmap using this menu.
Note that by default an axis will not be allowed to move outside of the printer dimensions set in the printer configuration file. The axis movement speed is set in the Settings->UserInterface->Machine Control section.

=== Probing the Bed ===

[image|742|align=center]

''Cartesian''

[image|743|align=center]

''Delta''

The "Auto Bed Compensation" button on a Cartesian or "Auto Delta Calibration" button runs [[Gcode#Section_G32_Probe_Z_and_calculate_Z_plane|G32]]. This has [[Setting_up_automatic_probing_of_the_print_bed|different functions]] . On a Cartesian/CoreXY/SCARA machine it is used for [[Bed levelling using multiple independent Z motors]]. On a delta Delta it is used for [[Calibrating a delta printer|calibration]].

Clicking on the drop down menu gives access to the mesh bed levelling commands:

[image|744|align=center]

Once setup correctly [[Mesh bed compensation]] probes the bed in a number of points and then uses that mesh to compensate for uneven bed surfaces.

[image|745|size=large|align=center]

This mesh is automatically saved onto the SD card as sys/heightmap.csv. You can view, disable and reload the saved heightmap using this menu.
 
=== Macros and Miscellaneous ===
 
The Miscellaneous box is not shown by default, when options are selected within the "settings" page to display the ATX power control and Fan slider they appear here.
 
[image|700|align=center]
 
== Print Status ==
 
The print status page does not display any useful information until a print is started. Once a print is started though it shows information about the file being printed, layer times, forecasttimes and estimates for print time remaining based on the layer numbers and/or filament usageremaining. It also allows for Fan, extrusion rationratio and print speeds to be adjusted in real time:
The print status page does not display any useful information until a print is started. Once a print is started though it shows information about the file being printed, layer times, forecasttimes and estimates for print time remaining based on the layer numbers and/or filament usageremaining. It also allows for Fan, extrusion rationratio and print speeds to be adjusted in real time:
 
[image|264|size=largeimage|707|size=large|align=center]
[image|264|size=largeimage|707|size=large|align=center]
 
The some of the reported information is reliant on the slicer placing the correct information at the end of the gcode file. Simplify3d, Slic3r and some versions of Cura do this.=== Print progress bar ===
The some of the reported information is reliant on the slicer placing the correct information at the end of the gcode file. Simplify3d, Slic3r and some versions of Cura do this.=== Print progress bar ===
 
== Gcode Console ==[image|708|size=large|align=center]
== Gcode Console ==[image|708|size=large|align=center]
 
The Gcode console provides a log of gcodes entered, responses and errors/warnings/notifications received fromThis bar bar shows how through the Duet by the webinterface sincelayers and filament the browser was last refreshedprint has progressed.
The Gcode console provides a log of gcodes entered, responses and errors/warnings/notifications received fromThis bar bar shows how through the Duet by the webinterface sincelayers and filament the browser was last refreshedprint has progressed.
 
In the example below the error of trying to home the Z axis before the other axes are homed is shown, along with a couple of example information gcodes entered in the console. Gcodes can also be entered in the quick gcode entry box as shown with M302 in this example, with the output shown in the console. If the console page is not selected any output from the quick gcode entry box is also shown as a popup message=== Print control ===
In the example below the error of trying to home the Z axis before the other axes are homed is shown, along with a couple of example information gcodes entered in the console. Gcodes can also be entered in the quick gcode entry box as shown with M302 in this example, with the output shown in the console. If the console page is not selected any output from the quick gcode entry box is also shown as a popup message=== Print control ===
 
[image|265|size=large]The print control allows the print to be paused:
[image|265|size=large]The print control allows the print to be paused:
 
== Gcode Files ==[image|709|align=center]
== Gcode Files ==[image|709|align=center]
 
The Gcode Files page allows for g-code files for printing to be uploaded, downloaded, deleted and sorted into sub directories. A summary ofPausing runs the print time and other information is provided, if"pause.g" system macro so the slicing software puts this information inactions on pausing can be user configured (e.g retract some filament, move the gcode file in a format readable byhead away from the Duet. As shownprint). Editing system macros is covered later in the image, there is a drop down menu to select the external SD card if one is [[Connecting_an_LCD_control_panel#Using_the_external_SD_card_socket_on_the_LCD_panel|attached to the DuetWifi]].this manual
The Gcode Files page allows for g-code files for printing to be uploaded, downloaded, deleted and sorted into sub directories. A summary ofPausing runs the print time and other information is provided, if"pause.g" system macro so the slicing software puts this information inactions on pausing can be user configured (e.g retract some filament, move the gcode file in a format readable byhead away from the Duet. As shownprint). Editing system macros is covered later in the image, there is a drop down menu to select the external SD card if one is [[Connecting_an_LCD_control_panel#Using_the_external_SD_card_socket_on_the_LCD_panel|attached to the DuetWifi]].this manual
 
[image|266|size=large]Once the print is paused it can be resumed or cancelled.
[image|266|size=large]Once the print is paused it can be resumed or cancelled.
 
The file upload functionality cannot be used during a print to prevent interference with reading the SD card for an ongoing print:[image|710|align=center]
The file upload functionality cannot be used during a print to prevent interference with reading the SD card for an ongoing print:[image|710|align=center]
 
[image|267|size=large]Resuming runs "resume.g", cancel "cancel.g" system macros.
[image|267|size=large]Resuming runs "resume.g", cancel "cancel.g" system macros.
 
Files can be dragged and dropped inThe print control section has a check box to sub directories"Enable Auto-Sleep". If this is selected then the [[Gcode#Section_M1_Sleep_or_Conditional_stop|M1 G-Code]] is sent at the end of the print which runs the "sleep.g" macro file. This for organisationexample would allow the shutting down of the main power supply once the print had complete (assuming the printer hardware is setup to allow this).
Files can be dragged and dropped inThe print control section has a check box to sub directories"Enable Auto-Sleep". If this is selected then the [[Gcode#Section_M1_Sleep_or_Conditional_stop|M1 G-Code]] is sent at the end of the print which runs the "sleep.g" macro file. This for organisationexample would allow the shutting down of the main power supply once the print had complete (assuming the printer hardware is setup to allow this).
 
[image|268|size=large]=== Z Baby Stepping ===
[image|268|size=large]=== Z Baby Stepping ===
 
=== Starting[image|711|align=center]

This allows for the Z axis to be lowered or raised by small steps - sometimes known as "Baby Stepping". The size of each baby step can be configured in the user interface setting covered later in this manual.

=== File information ===

[image|712|align=center]

This reports information from the file header that is provided by the slicer The reported information is reliant on the slicer placing the correct information at the end of the G-Code file in a format the Duet Web Control understands. Newer versions of the following slicers are reported to provide this information:

* Simplify3d (v4 and later)
* Slic3r (1.29 and later, Slic3r PE)
* Kisslicer (Pro)
* Cura (2.7 and later)

=== Fan Control ===

[image|713|align=center]

Fans configured in firmware are displayed, along with their current setting as a %. Clicking on the fan name selects and deselects the display. In the image above Fan 0 and Fan 2 are displayed, Fan 1 is not. The Tool Fan slider related to the currently active tool (as different tools may use different print cooling fans etc).

'''Notes '''

* fans need to be configured in config.g explicity show up on this list. if the default fan settings are fine for a fan the use:

[code]M106 Pn H-1[/code]

where n is the fan number that you want to configure as a non thermostatic fan and have displayed in DuetWebControl.

* Thermostatic fans are not displayed.

=== Speed and Extrusion Factors ===

[image|714|align=center]

Set and override:

* The print [[Gcode#Section_M220_Set_speed_factor_override_percentage|speed factor]]. This scales all feed rates so should be used with caution.
* The [[Gcode#Section_M221_Set_extrude_factor_override_percentage|extrusion factor]], per extruder.

=== Print progress estimations ===

[image|715|align=center]

Duet Web Control displays three estimations of print progress based on filament usage, file progress and layer time. The Filament usage and layer time estimates rely on the G-Code file having sufficient header information provided by the slicer (see the File information section earlier in this manual). Different print jobs will have different properties so the accuracy of each estimation varies by the print job. Simulating the print can provide a more accurate estimation. See the section on simulation later in this manual.

=== Data and layer statistics ===

[image|716|align=center]

As the print progresses data is collected and displayed in the table. this particular print was started with the nozzle and bed warn so no warm up time was registered. a graph showing the time taken (Y axis) for each layer (x axis) is shown. This graph can be zoomed in and out (using the mouse scroll wheel):

[image|717|align=center]

hovering over a point in the graph will provide more information about that layer:

[image|718|align=center]

== G-Code Console ==

The G-Code console provides a log of G-Codes entered, responses and errors/warnings/notifications received from the Duet by the webinterface since the browser was last refreshed.

In the example below the error (red) of trying to move the Z axis when it was not homes homed is shown along with a other G-Codes entered in the console (green). Information (blue) returned from the firmware is also shown. In this case the the unsucessful and then successful simulation of a file.

[image|719|size=large|align=center]

The console output can be downloaded as a plain text or CSV file.

Gcodes can also be entered in the quick G-Code entry box at the top of the page with the output shown in the console. If the console page is not selected any output from the quick G-Code entry box is also shown as a popup message.

[image|720|align=center]

This also shows that previously entered commands in this session are shown as quick select options.

A description of all the G-Codes that RepRapFirmware supports is well beyond the scope of this manual. The "?" button links to the [[Gcode|G-Code documentation page]] which has this detail.

== G-Code Files ==

The G-Code Files page allows for g-code files for printing to be uploaded, downloaded, deleted and sorted into sub directories.
A Printsummary of the print time and other information is shown if the slicing software adds it to the header (see the File information section of this manual above). As shown in the image, there is a drop down menu to select the external SD card if one is [[Connecting_an_LCD_control_panel#Using_the_external_SD_card_socket_on_the_LCD_panel|attached to the DuetWifi]].

[image|721|size=large|align=center]

=== Uploading and organizing G-Code files ===

Files can be uploaded by browsing for them or dropping them onto the "Upload G Code Files(s) button The file upload functionality cannot be used during a print to prevent interference with reading the SD card for an ongoing print:

[image|267|align=center]

Files can be dragged and dropped in to sub directories for organisation. Files can be organised through the headings.

Right clicking on the file opens a menu with options to print, simulate, download, edit rename or delete the file.

[image|722|align=center]

=== Editing a print G-Code file ===

In order to edit a file the file needs to be downloaded from the SD into the local cache. This can take a while, especially for large G-Code files:. Editing allows for quickly changing settings such as the start print temperature, more complex editing is best done by downloading the file, using an offline editor and re-uploading it.

[image|723|align=center]

=== Simulating a print ===

The simulation option "prints" the file without heating any heaters or moving any axis. the firmware works out how long moves would have taken and thus can determine an accurate estimate of the print time.

[image|724|align=center]

The results are reported as a pop up and in the console:

[image|725|align=center]

=== Starting a print
===
=== Starting[image|711|align=center]

This allows for the Z axis to be lowered or raised by small steps - sometimes known as "Baby Stepping". The size of each baby step can be configured in the user interface setting covered later in this manual.

=== File information ===

[image|712|align=center]

This reports information from the file header that is provided by the slicer The reported information is reliant on the slicer placing the correct information at the end of the G-Code file in a format the Duet Web Control understands. Newer versions of the following slicers are reported to provide this information:

* Simplify3d (v4 and later)
* Slic3r (1.29 and later, Slic3r PE)
* Kisslicer (Pro)
* Cura (2.7 and later)

=== Fan Control ===

[image|713|align=center]

Fans configured in firmware are displayed, along with their current setting as a %. Clicking on the fan name selects and deselects the display. In the image above Fan 0 and Fan 2 are displayed, Fan 1 is not. The Tool Fan slider related to the currently active tool (as different tools may use different print cooling fans etc).

'''Notes '''

* fans need to be configured in config.g explicity show up on this list. if the default fan settings are fine for a fan the use:

[code]M106 Pn H-1[/code]

where n is the fan number that you want to configure as a non thermostatic fan and have displayed in DuetWebControl.

* Thermostatic fans are not displayed.

=== Speed and Extrusion Factors ===

[image|714|align=center]

Set and override:

* The print [[Gcode#Section_M220_Set_speed_factor_override_percentage|speed factor]]. This scales all feed rates so should be used with caution.
* The [[Gcode#Section_M221_Set_extrude_factor_override_percentage|extrusion factor]], per extruder.

=== Print progress estimations ===

[image|715|align=center]

Duet Web Control displays three estimations of print progress based on filament usage, file progress and layer time. The Filament usage and layer time estimates rely on the G-Code file having sufficient header information provided by the slicer (see the File information section earlier in this manual). Different print jobs will have different properties so the accuracy of each estimation varies by the print job. Simulating the print can provide a more accurate estimation. See the section on simulation later in this manual.

=== Data and layer statistics ===

[image|716|align=center]

As the print progresses data is collected and displayed in the table. this particular print was started with the nozzle and bed warn so no warm up time was registered. a graph showing the time taken (Y axis) for each layer (x axis) is shown. This graph can be zoomed in and out (using the mouse scroll wheel):

[image|717|align=center]

hovering over a point in the graph will provide more information about that layer:

[image|718|align=center]

== G-Code Console ==

The G-Code console provides a log of G-Codes entered, responses and errors/warnings/notifications received from the Duet by the webinterface since the browser was last refreshed.

In the example below the error (red) of trying to move the Z axis when it was not homes homed is shown along with a other G-Codes entered in the console (green). Information (blue) returned from the firmware is also shown. In this case the the unsucessful and then successful simulation of a file.

[image|719|size=large|align=center]

The console output can be downloaded as a plain text or CSV file.

Gcodes can also be entered in the quick G-Code entry box at the top of the page with the output shown in the console. If the console page is not selected any output from the quick G-Code entry box is also shown as a popup message.

[image|720|align=center]

This also shows that previously entered commands in this session are shown as quick select options.

A description of all the G-Codes that RepRapFirmware supports is well beyond the scope of this manual. The "?" button links to the [[Gcode|G-Code documentation page]] which has this detail.

== G-Code Files ==

The G-Code Files page allows for g-code files for printing to be uploaded, downloaded, deleted and sorted into sub directories.
A Printsummary of the print time and other information is shown if the slicing software adds it to the header (see the File information section of this manual above). As shown in the image, there is a drop down menu to select the external SD card if one is [[Connecting_an_LCD_control_panel#Using_the_external_SD_card_socket_on_the_LCD_panel|attached to the DuetWifi]].

[image|721|size=large|align=center]

=== Uploading and organizing G-Code files ===

Files can be uploaded by browsing for them or dropping them onto the "Upload G Code Files(s) button The file upload functionality cannot be used during a print to prevent interference with reading the SD card for an ongoing print:

[image|267|align=center]

Files can be dragged and dropped in to sub directories for organisation. Files can be organised through the headings.

Right clicking on the file opens a menu with options to print, simulate, download, edit rename or delete the file.

[image|722|align=center]

=== Editing a print G-Code file ===

In order to edit a file the file needs to be downloaded from the SD into the local cache. This can take a while, especially for large G-Code files:. Editing allows for quickly changing settings such as the start print temperature, more complex editing is best done by downloading the file, using an offline editor and re-uploading it.

[image|723|align=center]

=== Simulating a print ===

The simulation option "prints" the file without heating any heaters or moving any axis. the firmware works out how long moves would have taken and thus can determine an accurate estimate of the print time.

[image|724|align=center]

The results are reported as a pop up and in the console:

[image|725|align=center]

=== Starting a print
===
 
Clicking on a file prompts you if you want to print it.
 
[image|269|size=large]image|726|align=center]

Selecting print from the right click menu does not prompt before starting.
[image|269|size=large]image|726|align=center]

Selecting print from the right click menu does not prompt before starting.
 
You can also use the upload and print button in the header bar to quickly start a print.
== Macros ==
 
Macros are a powerful addition to RepRapFirmware and Duet Web Control as they allow automation of any process that can be described in Gcodes. There are two general types of macros: system Macrosmacros which will be described later, and user macros which are described here.
Macros are a powerful addition to RepRapFirmware and Duet Web Control as they allow automation of any process that can be described in Gcodes. There are two general types of macros: system Macrosmacros which will be described later, and user macros which are described here.
 
The Macro screen shows a list of all the user macros that are currently onin the on-board SD card in the Duet (in the /macros/ directory):
The Macro screen shows a list of all the user macros that are currently onin the on-board SD card in the Duet (in the /macros/ directory):
 
[image|270|size=largeimage|727|size=large|align=center]
[image|270|size=largeimage|727|size=large|align=center]
 
Macros can be organised into sub directories and dragged and dropped between them. As well as editing macros in a text editor and then uploading them, they can also be created and edited within Duet Web Control in the browser:
[image|271|size=large]
 
In this example I createdthere is a new macro called "PreparePrinter", thisPreparePrinter" being edited. This macro homes the printer, sets the hotend temperatures, waits for them to be reached and then calls another macro (using M98) to purge both hotends.
In this example I createdthere is a new macro called "PreparePrinter", thisPreparePrinter" being edited. This macro homes the printer, sets the hotend temperatures, waits for them to be reached and then calls another macro (using M98) to purge both hotends.
 
For examples of commonly useful macros have a look at the [http://reprap.org/wiki/RepRap_Firmware_macros#Useful_user_macros[Macros]] documentation page.

== Filaments ==

The filaments page allows for the configuration of filament types and their associated load and unload macros. See the [[Filaments]] documentation for more information.

[image|728|size=large|align=center]

The right click menu allows for the filament to be deleted, renamed and for the load and unload macros associated with that filament to be edited:

[image|729|size=large|align=center
]
For examples of commonly useful macros have a look at the [http://reprap.org/wiki/RepRap_Firmware_macros#Useful_user_macros[Macros]] documentation page.

== Filaments ==

The filaments page allows for the configuration of filament types and their associated load and unload macros. See the [[Filaments]] documentation for more information.

[image|728|size=large|align=center]

The right click menu allows for the filament to be deleted, renamed and for the load and unload macros associated with that filament to be edited:

[image|729|size=large|align=center
]
 
== Settings ==
 
The settings page has a number of sub pages which give information and allow for the configuration of both Duet Web Control, and the Duet to be updated. Currently theseThese settings are stored by Duet Web Control as a local cookie however itthere is on the [https://www.duet3d.com/forum/thread.php?id=8]an option to havestore them stored on the ob-board SD card on the Duet for more permanence and portabilityDuet.
The settings page has a number of sub pages which give information and allow for the configuration of both Duet Web Control, and the Duet to be updated. Currently theseThese settings are stored by Duet Web Control as a local cookie however itthere is on the [https://www.duet3d.com/forum/thread.php?id=8]an option to havestore them stored on the ob-board SD card on the Duet for more permanence and portabilityDuet.
 
=== Overview ===
 
[image|272|size=large]image|272|size=large|align=center]

Note that changes do not come into effect until "Apply Settings" is clicked. To revert to the default settings use "Load Factory Defaults", followed by "Apply Settings"
[image|272|size=large]image|272|size=large|align=center]

Note that changes do not come into effect until "Apply Settings" is clicked. To revert to the default settings use "Load Factory Defaults", followed by "Apply Settings"
 
=== General ===
 
[image|273|size=largeimage|730|size=large|align=center]
[image|273|size=largeimage|730|size=large|align=center]
 
This shows the versions of the firmware, webserver and DWCDuetWebControl installed, along with a button to upload new firmware:
This shows the versions of the firmware, webserver and DWCDuetWebControl installed, along with a button to upload new firmware:
 
[image|274|size=largeimage|274|size=large|align=center]
[image|274|size=largeimage|274|size=large|align=center]
 
When a new firmware file is uploaded the web interface will prompt you if you want to install it immediately:
 
[image|275|size=large]image|275|size=large|align=center]

Multiple firmware files can be dropped at once and then installed one they have all uploaded.
[image|275|size=large]image|275|size=large|align=center]

Multiple firmware files can be dropped at once and then installed one they have all uploaded.
 
You do not need to install the firmware immediately as it can be initialted from the console/over USB/from a [[PanelDue]] at a later point.
 
Also on this page are setting for DWCDuetWebControl in the browser communicating with the RepRapFirmware running on the Duet. The default communication and reconnect settings should work well however if you are having intermittent network issues resulting in AJAX errors then increasing the maximum number of AJAX retries will help.
Also on this page are setting for DWCDuetWebControl in the browser communicating with the RepRapFirmware running on the Duet. The default communication and reconnect settings should work well however if you are having intermittent network issues resulting in AJAX errors then increasing the maximum number of AJAX retries will help.
 
=== User Interface ===
 
[image|276|size=large]Many elements of how the user interface looks and behaves can be set on this sub page.
[image|276|size=large]Many elements of how the user interface looks and behaves can be set on this sub page.
 
Many elements of how the user interface responds can be set on this sub page, along with adding an information to display the output from an [[How to include a web camera image in Duet Web Control|IP camera]].[image|731|size=large|align=center]
Many elements of how the user interface responds can be set on this sub page, along with adding an information to display the output from an [[How to include a web camera image in Duet Web Control|IP camera]].[image|731|size=large|align=center]
 
=== List Items ======= General ====
=== List Items ======= General ====
 
The list items sub page allows for certain drop down options to be changed or added to with the DWC User Interface. The default gcodes that are an option in the Quick Gcode entry box and the console can be modified, along with the default temperature selections for hotend/bed/chamber.[image|732|align=center]
The list items sub page allows for certain drop down options to be changed or added to with the DWC User Interface. The default gcodes that are an option in the Quick Gcode entry box and the console can be modified, along with the default temperature selections for hotend/bed/chamber.[image|732|align=center]
 
[image|277|size=large]'''Display File Sizes with Binary Prefix''': Display file sizes with a base of 1024 instead of 1000.

'''Always show info area and main menu''': Turning on this option ensures the info area and the main menu are always shown on larger displays. This option has no effect on small devices.

'''Show Fan Controls''':Show Fan Sliders allowing you to control the Fan Outputs.

'''Show Fan RPM in Sensors''': Display fan RPM of a [[Connecting_and_configuring_fans#Section_Connecting_4_wire_fans|4-pin PWM cooling fan]] in the sensors area.

'''Store Web Interface Settings on the Duet''':Store the settings of Duet Web Control as a file on the Duet SD card, rather than just as a local cookie. this allows the settings to be portable across browsers and devices accessing the Duet.

'''Language''': choose from languages that are added to DuetWebControl. To add additional languages see the "internationalisation" part of the [https://github.com/chrishamm/DuetWebControl|readme on the DuetWebControl github page].

'''Theme''': currently only three choices. Custom themes can be written in css.

==== Machine Control ====

[image|734|align=center]

'''Default Move Button Feedrate''': Default Feedrate for axis movement controls. The value must be greater than or equal to 60 mm/s. The extruder feedrate is selectable in the Machine Control window.

'''Z Distance per Babystep''': Z Amount per Babystep, 0.05 is a sensible starting default for most FDM printers.

'''Allow moves if axes are not homed''': Send movement codes with the S2 parameter to allow movements while the axes are not homed. This is useful for commissioning and trouble shooting but is not recommended for normal operation.

'''Confirm Emergency STOP''': Confirm emergency stop by displaying a message box. This adds an extra step to the emergency stop so it not recommended.

Show ATX Power control:Show a small panel on the Control page to toggle ATX power. This is only useful if the duet is [[Power_Wiring#Section_Controlling_the_external_power_supply|wired to control an ATX or similar power supply]].

==== Tool Changes ====

[image|736|align=center]

Over ride the default setting to run TfreeN, TPreN and TpostN G-Codes when [[Gcode#Section_T_Select_Tool|tools are changed]]. Generally it would be better to edit these files to perform as desired (including being empty if nothing was required at a particular step). This global override can be useful during troubleshooting.

==== Notifications ====

[image|737|align=center]

'''Show HTML5 desktop notifications''': Use HTML5-based desktop notifications when the page is hidden.

'''Automatically close messages''': Activate these options to automatically close user-generated firmware messages / error messages. This stops a lot of messages stacking up and filling tthe screen but can mean (important) error messages are not immediately noticed unless you switch to the console to view them. Use with caution.

'''Show Pop-Up Notifications''': for

* Codes that completed without a response: only select this for certain troubleshooting scenarios otherwise there will be many messages that are not useful.
* Info/Warnings/Errors messages: It is not recommended to suppress Warning or Error messages.

'''Default Notification Timeout: '''Time after which default notifications are automatically closed.

'''Max. number of notifications:'''Maximum number of simultaneously displayed notification pop-ups. If you have a large number of notifications at once the new ones will force the old ones off the bottom of the screen so it is not flooded.

==== G codes ====

[image|738|align=center]

'''Always Convert G-Codes to Upper-Case''': Convert every G-Code to Upper-Case before sending them, does no hard in most situations although RepRaFirmware will recognise lower case G and M codes.

'''Clear Cached File Information''': Duet Web Control has a local cache of the G-Code file information that is shown on the G-Code files page (as describes earlier in this manual). this clears that cache and forces Duet Web Control to reload the file information. Useful if files have been edited offline.

==== Webcam integration ====

Setup to display the output from an optional [[How to include a web camera image in Duet Web Control|IP camera]].

=== List Items ===
[image|277|size=large]'''Display File Sizes with Binary Prefix''': Display file sizes with a base of 1024 instead of 1000.

'''Always show info area and main menu''': Turning on this option ensures the info area and the main menu are always shown on larger displays. This option has no effect on small devices.

'''Show Fan Controls''':Show Fan Sliders allowing you to control the Fan Outputs.

'''Show Fan RPM in Sensors''': Display fan RPM of a [[Connecting_and_configuring_fans#Section_Connecting_4_wire_fans|4-pin PWM cooling fan]] in the sensors area.

'''Store Web Interface Settings on the Duet''':Store the settings of Duet Web Control as a file on the Duet SD card, rather than just as a local cookie. this allows the settings to be portable across browsers and devices accessing the Duet.

'''Language''': choose from languages that are added to DuetWebControl. To add additional languages see the "internationalisation" part of the [https://github.com/chrishamm/DuetWebControl|readme on the DuetWebControl github page].

'''Theme''': currently only three choices. Custom themes can be written in css.

==== Machine Control ====

[image|734|align=center]

'''Default Move Button Feedrate''': Default Feedrate for axis movement controls. The value must be greater than or equal to 60 mm/s. The extruder feedrate is selectable in the Machine Control window.

'''Z Distance per Babystep''': Z Amount per Babystep, 0.05 is a sensible starting default for most FDM printers.

'''Allow moves if axes are not homed''': Send movement codes with the S2 parameter to allow movements while the axes are not homed. This is useful for commissioning and trouble shooting but is not recommended for normal operation.

'''Confirm Emergency STOP''': Confirm emergency stop by displaying a message box. This adds an extra step to the emergency stop so it not recommended.

Show ATX Power control:Show a small panel on the Control page to toggle ATX power. This is only useful if the duet is [[Power_Wiring#Section_Controlling_the_external_power_supply|wired to control an ATX or similar power supply]].

==== Tool Changes ====

[image|736|align=center]

Over ride the default setting to run TfreeN, TPreN and TpostN G-Codes when [[Gcode#Section_T_Select_Tool|tools are changed]]. Generally it would be better to edit these files to perform as desired (including being empty if nothing was required at a particular step). This global override can be useful during troubleshooting.

==== Notifications ====

[image|737|align=center]

'''Show HTML5 desktop notifications''': Use HTML5-based desktop notifications when the page is hidden.

'''Automatically close messages''': Activate these options to automatically close user-generated firmware messages / error messages. This stops a lot of messages stacking up and filling tthe screen but can mean (important) error messages are not immediately noticed unless you switch to the console to view them. Use with caution.

'''Show Pop-Up Notifications''': for

* Codes that completed without a response: only select this for certain troubleshooting scenarios otherwise there will be many messages that are not useful.
* Info/Warnings/Errors messages: It is not recommended to suppress Warning or Error messages.

'''Default Notification Timeout: '''Time after which default notifications are automatically closed.

'''Max. number of notifications:'''Maximum number of simultaneously displayed notification pop-ups. If you have a large number of notifications at once the new ones will force the old ones off the bottom of the screen so it is not flooded.

==== G codes ====

[image|738|align=center]

'''Always Convert G-Codes to Upper-Case''': Convert every G-Code to Upper-Case before sending them, does no hard in most situations although RepRaFirmware will recognise lower case G and M codes.

'''Clear Cached File Information''': Duet Web Control has a local cache of the G-Code file information that is shown on the G-Code files page (as describes earlier in this manual). this clears that cache and forces Duet Web Control to reload the file information. Useful if files have been edited offline.

==== Webcam integration ====

Setup to display the output from an optional [[How to include a web camera image in Duet Web Control|IP camera]].

=== List Items ===
 
For example, adding a cold extrusion override as a menu option:[image|277|size=large|align=center]
For example, adding a cold extrusion override as a menu option:[image|277|size=large|align=center]
 
[image|278|size=large|align=center]The list items sub page allows for certain drop down options to be changed or added to with the DuetWebControl User Interface.
[image|278|size=large|align=center]The list items sub page allows for certain drop down options to be changed or added to with the DuetWebControl User Interface.
 
Gives this result in drop down menus:The "Default G-Codes" is a legacy setting to provide options for the quick G-Code and consolde G-Code entry box. This is now replaced with DuetWebControl's ability to remember previously entered G-Codes.
Gives this result in drop down menus:The "Default G-Codes" is a legacy setting to provide options for the quick G-Code and consolde G-Code entry box. This is now replaced with DuetWebControl's ability to remember previously entered G-Codes.
 
[image|279|size=large|align=center]Default temperature selections for hotend/bed/chamber heaters can be added to make setting these quicker.
[image|279|size=large|align=center]Default temperature selections for hotend/bed/chamber heaters can be added to make setting these quicker.
 
=== System Editor ===
 
All the configuration of RepRapFirmware is carried out by gcodeG-Code commands stored in specifically names gcodeG-Code files within the /sys/ directory on the ob-boardon-board SD card. These are also known as system macrosmacros or system G-Codes.
All the configuration of RepRapFirmware is carried out by gcodeG-Code commands stored in specifically names gcodeG-Code files within the /sys/ directory on the ob-boardon-board SD card. These are also known as system macrosmacros or system G-Codes.
 
[image|280|size=largeimage|739|size=large|align=center]
[image|280|size=largeimage|739|size=large|align=center]
 
ThereChanges can be made by downloading the files and editing them in a text editor before uploading them (this has the advantage of maintaining a local copy). Alternatively all the changes can be made by editing the files within the web interface:

[image|281|size=large|align=center]

In this case The config.g file is being edited to change the printer name from "DWCExample" to "BigBoxIDEX". After the config file is saved the web interface prompts to reboot:

[image|282|size=large|align=center]

Setting changes to config.g do not come into effect until the duet is rebooted, in this case after reboot then printer name is changed:

[image|283|size=large|align=center]

Changes to other system macros such as the homing, tool change, pause etc macros come into effect without rebooting as they are read every time the printer is homed, tools are changed, a print is paused etc.

The contents of the system macros is outside of the scope of this manual. There
are wikidocumentation pages dedicated to the specific settings within config.g, the various homeinghoming and tool change gcodesG-Codes:
ThereChanges can be made by downloading the files and editing them in a text editor before uploading them (this has the advantage of maintaining a local copy). Alternatively all the changes can be made by editing the files within the web interface:

[image|281|size=large|align=center]

In this case The config.g file is being edited to change the printer name from "DWCExample" to "BigBoxIDEX". After the config file is saved the web interface prompts to reboot:

[image|282|size=large|align=center]

Setting changes to config.g do not come into effect until the duet is rebooted, in this case after reboot then printer name is changed:

[image|283|size=large|align=center]

Changes to other system macros such as the homing, tool change, pause etc macros come into effect without rebooting as they are read every time the printer is homed, tools are changed, a print is paused etc.

The contents of the system macros is outside of the scope of this manual. There
are wikidocumentation pages dedicated to the specific settings within config.g, the various homeinghoming and tool change gcodesG-Codes:
 
* [[ConfiguringRepRapFirmwareCartesianPrinter|Configuring RepRapFirmware for a Cartesian printer]]
* [[Tuning the heater temperature control]]
* [[Setting up automatic probing of the print bed]]
 
These changes can be made by downloading the files and editing them in a text editor before uploading them (this has the advantage of maintaining a local copy). Alternatively all the changes can be made by editing the files within the web interface:
 
[image|281|size=large]
 
In this case The config.g file is being edited to change the printer name from "DWCExample" to "BigBoxIDEX". After the config file is saved the web interface prompts to reboot:
 
[image|282|size=large]
 
Setting changes to config.g do not come into effect until the duet is rebooted, in this case after reboot then printer name is changed:
 
[image|283|size=large]
 
Changes to other system macros such as the homeing, tool change, pause etc macros come into effect without rebooting as they are read every time the printer is homed, tools are changed, a print is paused etc.
 
=== Machine Properties ===
 
[image|284|size=largeimage|740|size=large|align=center]
[image|284|size=largeimage|740|size=large|align=center]
 
This table provides a summary of the configuration of the various drives within the DuetWifi and expansion header/board, along with [[Glossary_of_Terms#Endstop|endstop]]endstop trigger status, z probesprobe information and other miscellaneous information. The Firmware diagnosis button runs the M122 GcodeG-Code which outputs a detailed diagnostic dump to the console.
This table provides a summary of the configuration of the various drives within the DuetWifi and expansion header/board, along with [[Glossary_of_Terms#Endstop|endstop]]endstop trigger status, z probesprobe information and other miscellaneous information. The Firmware diagnosis button runs the M122 GcodeG-Code which outputs a detailed diagnostic dump to the console.
 
=== Tools ===
 
[image|285|size=largeimage|741|size=large|align=center]
[image|285|size=largeimage|741|size=large|align=center]
 
This sub page showsShow the configured tools and allows for tools to be added or removed. Currently these additions and removals don't persist through hardware resets so it is recommended to add tools using the [[Gcode#Section_M563_Define_or_remove_a_tool|M563 G-Code]] in config.g file as described in [[ConfiguringRepRapFirmwareCartesianPrinter|Configuring RepRapFirmware for a Cartesian printer]].
This sub page showsShow the configured tools and allows for tools to be added or removed. Currently these additions and removals don't persist through hardware resets so it is recommended to add tools using the [[Gcode#Section_M563_Define_or_remove_a_tool|M563 G-Code]] in config.g file as described in [[ConfiguringRepRapFirmwareCartesianPrinter|Configuring RepRapFirmware for a Cartesian printer]].
 
[[Duet Web Control Manual#top|back to top]]

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes