These commands help you manage the variables used in your Sequence programs. Variables represent inputs, outputs, and internal data such as sensor signals, actuator states, timers, and counters.
Renames a variable across your entire project. All references in every Sequence, action, and transition condition are updated automatically. This is a safe refactoring operation - you do not need to search and replace manually.
To run this command:
Reads the current value of a variable during simulation. This is useful for checking whether an input is True or False, or what value a counter has reached.
This command is only available while the emulator is running or paused. See Simulation Commands.
Forces a variable to a specific value during simulation. This lets you test your program by simulating sensor inputs, triggering conditions, or overriding outputs.
Forced values persist until you reset the emulation or force the variable again. See Simulation Commands.
Shows all variables defined in the current project, regardless of type. The list displays each variable's name, type, and current address (if assigned).
Shows only input variables (typically sensor signals and external triggers).
Shows only output variables (typically actuator commands and indicator signals).
Shows only local variables (internal values such as timers, counters, and flags that are not connected to physical I/O).
Displays detailed information about a selected variable:
Computes non-conflicting I/O addresses for unassigned channels across every station and module, opens the Machine editor's Architecture tab, and reports how many channels it auto-assigned. To persist the assignments in the .machine file, apply them from the Architecture tab.
Opens the Machine editor's Architecture tab so you can assign variables to channels one at a time in the grid. Use this when you need precise control over the layout, for example to match existing PLC hardware.
Checks the current address assignments and reports the result in a notification. It flags address conflicts (the same address claimed by more than one variable) and unassigned or unresolvable variables (mapped to a channel that does not exist on the equipment). The notification shows the counts; it does not write to the Problems panel.
The Variables view has two display modes. Toggle between them using the buttons in the Variables panel title bar.
Shows all variables from the entire project in the Variables panel, regardless of which file is currently open.
Shows only variables from the currently active file. This is useful when you are working on a specific sequence and want to focus on its variables without seeing the full project list.
| Command | Description |
|---|---|
| Rename Variable | Rename with project-wide refactoring |
| Get Variable Value | Read current value (during simulation) |
| Set Variable Value | Force a value (during simulation) |
| List Variables | Show all project variables |
| List Inputs | Show input variables only |
| List Outputs | Show output variables only |
| List Locals | Show local variables only |
| Variable Info | Show type, usage context, value, address, description |
| Assign Addresses (Automatic) | Compute non-conflicting addresses (apply in the Architecture tab) |
| Assign Addresses (Manual) | Assign variables to channels in the Architecture grid |
| Validate Addresses | Report conflicts and unassigned variables in a notification |
| Set Global Mode | Show all project variables in the Variables panel |
| Set Active Mode | Show only variables from the active file |