5.0 Settings and Layout Files
5.0 Settings and Layout Files
The Commander Control Utility saves two kinds of file: Commander Settings files (.set), which hold the controller's settings and standalone program, and layout files (.lay), which hold the position of the open windows.
Applies to: all controllers.
On this page:
- Save the controller settings
- What a settings file contains
- Open (load) a settings file
- What is not restored
- Layout files
- Default folders
- Related commands and see also
Save the controller settings
- Connect to the controller. Save and Open need a connection; without one the message Connect to a Commander first. appears.
- Click File > Save > Settings.
- The Save dialog opens in the Settings folder with a default name made from the controller model and the date and time: <MODEL>_CommanderSettings_<yyMMddHHmmss>.set, for example CMD-2ED_CommanderSettings_261125143005.set. The file type is shown as <MODEL> Settings (*.set).
- Click Save. The program reads every setting from the controller and writes the file. This takes a moment. Click Cancel to save nothing.

Saving only reads from the controller; it changes nothing.
What a settings file contains
A settings file is a text file with one command per line, in sections:
|
Section |
Contents |
Sent on Open |
|
First line |
The controller model the file came from, for example CMD-2ED. |
No (checked) |
|
Settings |
Every read/write setting the model supports, for every axis it has (X/Y, or X/Y/Z/U), plus variables V0–V99, joystick limits, analog and PWM outputs, and the digital and configurable outputs. I/O configuration, soft limits and polarity come first. |
Yes |
|
~Standalone |
Only when the controller holds a standalone program: the program lines, the Auto Start setting of each program, the error handling setting and the run state of programs 0–3. |
Yes, if you agree |
|
~ReadOnly |
Reference values: ID, device name, baud rate, enable state, positions, inputs, status and other read-only values. |
No |
|
~Errors |
Every read that the controller answered with an error. |
No |
If the controller's firmware reads back WHILE/IF lines of the standalone program incorrectly (V305/V305.1), the program rebuilds those lines. If it cannot rebuild them exactly, the program is written to ~Errors only, so a later Open never writes broken lines.
Open (load) a settings file
Caution: Open writes the settings into the controller and then sends STORE, which saves them in flash memory. It can also replace the standalone program and start programs. Save the current settings first if you may need them.
- Connect to the controller and click File > Open > Settings. Select the .set file.
- The program checks the first line:
- Same model as the connected controller: it continues.
- Another model: These settings were saved from a <model>, but a <model> is connected. The settings do not match the connected device. Load them anyway? Click Yes to continue (the default is No).
- No model (a file saved by an older version): This settings file does not say which device it was saved from… Load it anyway? Click OK to continue.
- It sends the settings. Lines for axes the controller does not have are skipped. Older files that use EXST are translated to EXSTA.
- If the file has a ~Standalone section: This settings file contains a standalone program. Load it? It replaces the program in the controller. On Yes, the program stops programs 0–3, writes the program lines, Auto Start and error handling settings, and sends the run state last (which can start programs that were running when the file was saved).
- It sends STORE.
- A summary shows how many commands were sent, how many lines were skipped and which lines the controller rejected (up to 25 are listed).

What is not restored
- The ~ReadOnly and ~Errors sections, including ID, positions and status.
- Settings of axes the connected controller does not have.
- Lines the controller rejects (listed in the summary). Known examples: the CMD-4CR rejects EXSTA and EXSTP lines with firmware V305/V305.1; SR0–SR3 cannot be read on that firmware, so they are saved in ~Errors and not sent back (see 1.6.1 Known Issues).
- Commands the command table does not mark for any model, and the joystick value JV.
Layout files
A layout file stores which windows are open and where they are, so you can restore your workspace.
|
Action |
Description |
|
File > Save > Layout |
Saves the open windows to CCU_SoftwareLayout_<yyMMddHHmmss>.lay (type CCU Layout (*.lay)) in the Layouts folder. Cancelling the Save dialog creates no file. |
|
File > Open > Layout |
Opens a .lay file, or an older layout file (choose Older layout files (*.set) in the file type list), and reopens the windows at their saved positions. |
Before V3.2.0, layouts were saved as .set, the same extension as settings files. When V3.2.0 starts, it renames the .set files in the Layouts folder to .lay. A file is left alone if a .lay file with the same name exists.
Default folders
|
Folder |
Used for |
|
C:\Users\Public\Documents\Nippon Pulse\Commander Series\Settings |
Commander Settings files (.set) |
|
C:\Users\Public\Documents\Nippon Pulse\Commander Series\Layouts |
Layout files (.lay) |
|
C:\Users\Public\Documents\Nippon Pulse\Commander Series\Ascript |
A-Script folder |
|
C:\Users\Public\Documents\Nippon Pulse\Commander Series\Manuals |
Offline manuals for the Help menu |
|
Your Documents folder |
Default folder for standalone program files (.prg) |
You can save files in any folder; these are the folders the dialogs open in.
Related commands and see also
Related commands: STORE, SA, SLOAD, SAP, SR, EXSTA
See also: 2.1.7 Flash Memory, 2.1.6 System settings, Menu Bar