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, including:
Automatically assigns PLC memory addresses to all variables that do not already have one. The algorithm avoids conflicts with existing addresses. This is the fastest way to prepare your project for code generation.
Lets you assign PLC memory addresses one variable at a time. Use this when you need precise control over the address layout, for example to match an existing PLC hardware configuration.
Checks your project for address conflicts and duplicates. If two variables share the same address, or if an address is outside the valid range for the target PLC, this command reports the issues so you can fix them before generating code.
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, address, and usage |
| Assign Addresses (Automatic) | Auto-assign non-conflicting addresses |
| Assign Addresses (Manual) | Assign addresses one by one |
| Validate Addresses | Check for conflicts and duplicates |
| Set Global Mode | Show all project variables in the Variables panel |
| Set Active Mode | Show only variables from the active file |