Signals & Alarms
Signals connect the visible twin to machine state. In a standalone model, simulated sensors, drives and logic provide the values. In Live mode, an industrial interface or realvirtual CONNECT discovers PLC signals and exchanges values with the running machine.
realvirtual presents signal values in the hierarchy, component information, CONNECT panel and signal search. A delivered HMI can also combine those values with configured status indicators, alarm messages, KPIs and documentation.
PLC signal convention
Section titled “PLC signal convention”realvirtual uses Boolean, integer and floating-point signals with an explicit direction. The direction follows the PLC convention:
| Signal | Meaning in realvirtual | Typical use |
|---|---|---|
| PLCInputBool / Int / Float | The viewer writes the value and the PLC reads it | Sensor state, axis feedback, an operator command sent to the controller |
| PLCOutputBool / Int / Float | The PLC writes the value and the viewer reads it | Motor or valve command, lamp, status or counter from the controller |
The direction follows the PLC’s terminal strip. The field, represented here by the digital twin, supplies a PLC input. The PLC drives a PLC output, which the twin displays.
Text signals (PLCInputText / PLCOutputText) follow the same direction rule. See Text signals.
Text signals
Section titled “Text signals”A text signal carries a string, for example a barcode, a part number or a recipe name. A text value is never converted to a number: the signal "0042" stays "0042".
- Display – The signal chip and the signal list show the value in quotes, for example
"0042". A value of 32 characters or more is shortened with an ellipsis; the tooltip shows the full text. An empty value is shown as"". - Forcing – The force popover of a text signal is a free-text field with a length counter. An empty string is a valid force value.
- Length limit – A text signal can have a MaxLength. A longer value is truncated, and the Problems panel reports
signal-text-truncatedonce per signal. See Text signals. - Commands –
signal.setTextsets a text signal at runtime, for example throughweb_execute. It is refused on a signal that is not a text signal. - Binding – A text signal can only be bound to a text slot. Binding it to a numeric slot, or a numeric signal to a text slot, is refused.
The displayed signal name comes from the model or the connected controller. A signal can also retain its full hierarchy path so the twin can resolve the correct component when names repeat.
Signal display and connection status
Section titled “Signal display and connection status”- A signal chip can show its name, direction, type and current value, depending on the selected display level.
- Hovering a chip can reveal the full signal details, source and component bindings.
- For an active Boolean value, green identifies a PLCOutput and red identifies a PLCInput. These colors describe signal direction, not connection state.
- An inactive or otherwise non-active value is grey. An amber force marker identifies a signal whose value is currently forced or overridden.
- Connection and binding information is shown separately where the active workspace provides it. A lost connection can reconnect automatically when that option is enabled; confirm that Live mode is connected before acting on a displayed value.
Finding a signal
Section titled “Finding a signal”Open the Hierarchy and set its filter to Signals to list every signal in the model. The list shows names, directions and live values side by side, like a PLC tag list.

The Laser Welding Assembly Station uses the same signal names as the real station’s TIA tag list. PLC programmers can find each tag by its familiar name during commissioning. Of its 213 signals, 193 are these TIA tags; the other 20, starting with SIM_, are helper signals of the virtual PLC.
Where a signal is used
Section titled “Where a signal is used”Before you change or delete a signal, check what depends on it. The Used by list shows every place in the model that refers to the signal:
- Select a signal in the hierarchy. The property inspector ends with a Used by (N) block.
- In the hierarchy signal list and in the CONNECT signal list, a small count chip next to the signal opens the same list in a popover. A signal that nothing uses has no chip. The tooltip of a signal chip in the 3D view also shows the count.
The entries are grouped: Components, Logic steps, PLC (the program and line), Operator panel, Metadata, Bindings, CONNECT bridges and Historian. An entry marked writes writes the signal. Click an entry to jump to that component, step, PLC line or panel device. Entries that cannot be opened are shown without a pointer, and a reference that no longer resolves is shown in a warning colour.
If several signals share a name, the entries are grouped by the path of the signal they belong to, with a hint.
Simulation or PLC
Section titled “Simulation or PLC”A model with a virtual PLC made of logic steps can run on its own logic or on a real controller. The Connection Mode component in the model stores the starting mode in StartMode.
While an interface is connected and the simulation runs, the Viewer and Commissioning workspaces show the current mode as a small button to the right of the simulation controls:
![]()
| Shown | What runs the machine |
|---|---|
| SIM | The model’s virtual PLC writes the PLC outputs; the twin runs on its own |
| PLC | A real controller is expected to write the outputs; logic steps set to Active = Disconnected stay off, and ST programs stop writing only if they check RV_SimulationMode |
| PLC in green | A connected interface writes the model’s outputs and has taken over. A click switches to SIM; the interface is then ignored until you switch back |
| PLC in amber | The connection to the controller is lost. The model stays in PLC mode: the virtual PLC stays off and the outputs keep the controller’s last values |
Click the button to change between SIM and PLC; hover it for the full description. The document saves your choice.
Without a connected interface the button is hidden while the model is in SIM; in PLC it stays visible, so there is always a way back. An AI assistant connected over the AI bridge can still switch it with the command sim.setConnectionMode (web_execute). The Operator Panel shows the mode in its first chip at all times.
Connecting alone changes nothing. An interface takes over when it writes its first model output. After reconnecting, the interface takes over again on its next output write.
When the connection is lost
Section titled “When the connection is lost”A model in PLC mode never switches to SIM on its own. This holds for every interface, whether it runs through realvirtual CONNECT or connects from the browser directly.
| What happens | What the model does |
|---|---|
| The connection drops, the controller stops or is being downloaded, the interface reports stale data (for example a CODESYS network variable list that stays silent longer than its timeout), or the interface is switched off | Stays in PLC, shown in amber as PLC · connection lost. The virtual PLC stays off. The PLC outputs keep the last values the controller wrote |
| The controller writes an output again | Takes over again, PLC in green. Nothing has to be clicked |
| You click the button | Switches to SIM; the virtual PLC starts. This is the only way into simulation |
| A model is loaded | Starts in its saved mode |
The reason: a controller that is away for a moment must not find a twin that has meanwhile been moved by its own logic. Because the outputs keep their last values, an actuator that was switched on keeps running in the twin until the controller is back or you switch to SIM; pause the simulation if that is not wanted. The same model can run as a laptop demo or as a commissioning twin connected to a real PLC, without editing it between uses.
Plant behaviour, such as doors or an E-stop chain, keeps running in both modes. PLC mode stops logic steps only when their Active setting is Disconnected; editor-created containers run Always. A Structured Text program stops writing only if it checks RV_SimulationMode; otherwise it runs until you stop it in the PLC editor.
Alarms and machine status
Section titled “Alarms and machine status”Alarm and status presentation is configured with the delivered twin. Supported HMI content includes alarm dashboards, messages, drive and sensor states, KPI overlays and production charts. A configured alarm can provide operator guidance or open the associated diagnosis and documentation workflow. Do not assume that every standalone GLB contains an alarm list or live data connection.
Quick Start
Section titled “Quick Start”- Open the twin in its HMI workspace and identify whether it is running in standalone or Live mode.
- Select a component and inspect its signal chips or status indicators.
- Hover a signal chip to review its name, direction, type, source and current value.
- In Live mode, confirm that the connection and binding status indicate live data before acting on a value.
- If the twin provides alarms or messages, open the relevant entry and follow the supplied component, document or diagnosis context.
See also
Section titled “See also”- Virtual Commissioning — all commissioning functions at a glance
- Signal binding — connecting a PLC signal to a component slot
- Operator Panel — buttons, lamps and E-stops wired to these signals
- Documents
- CONNECT overview
- AI diagnosis