Globals Editor
Allows editing of globals from an easy to interact with interface · by jaysuk
RRF Globals Editor
A DuetWebControl plugin for RepRapFirmware that lets you view, edit, and create global.* variables directly from the web interface.

Features
- Live list — all
global.*variables are listed automatically and kept up to date as the object model polls - Type-aware editing — booleans use a true/false dropdown; all other scalar types use a text field
- Array support — arrays show an inline preview and can be expanded to edit individual elements, including nested sub-arrays
- Create new variables — choose a name, type, and value; the plugin sends the correct
globalG-code command - Search/filter — filter the variable list by name as you type
Requirements
- DuetWebControl 3.6 or later
- RepRapFirmware 3.4 or later (global variables support)
Installation
- Download
GlobalsManager-1.0.0.zipfrom the Releases page (or directly from this repo) - In DuetWebControl, go to Settings → General → Plugin Management
- Click Upload Plugin and select the ZIP file
- Enable the plugin and reload DWC when prompted
The plugin appears under Plugins → Globals Editor in the main navigation.
Usage
Viewing variables
All current global.* variables are listed in the table with their name, type, and current value. The count chip in the top-right shows how many variables are loaded.
Use the Search variables box to filter the list by name.
Editing a value
- Boolean — select
trueorfalsefrom the dropdown, then click Set - Number / String — type the new value in the text field, then click Set
- The Set button is only enabled when the value differs from the loaded value, so you can see at a glance which fields have pending changes
Editing array elements
Click the chevron button next to any array variable to expand it. Each element can be edited individually. For nested sub-arrays, enter the value in {1, 2, 3} brace notation.
Creating a variable
Use the Create New Variable card at the bottom of the page:
- Enter a variable name (letters, digits, underscores; must start with a letter or underscore)
- Choose the type: Number, Boolean, String, or Array
- Enter the initial value
- Arrays can be entered as comma-separated values:
1, 2, 3or{1, 2, 3} - Strings do not need surrounding quotes — the plugin adds them automatically
- Arrays can be entered as comma-separated values:
- Click Create
The plugin sends a global <name> = <value> command to the firmware. The variable will appear in the list on the next object model update.
Building from source
This plugin is built against DuetWebControl 3.6. To rebuild:
- Clone DuetWebControl 3.6 and install its dependencies
- Copy
plugin.json,index.js, andGlobalsManager.vueintosrc/plugins/GlobalsManager/inside the DWC repo - Register the plugin in
src/plugins/imports.ts - Run
npm run build-plugin-pkg GlobalsManagerfrom the DWC root
License
MIT