Feature

Runtime Control & Live State

Operate running twin instances with live state, runtime actions, and controllable behavior before hardware is available.

Control a running twin

Start a device instance, inspect its live attributes and change the inputs that its model allows. Watch the model respond in SPX UI while your client continues communicating with the virtual device.

Example: a temperature controller

See how a simulated thermal controller responds to a change in its target. In this recorded example, the temperature rises toward 60 °C, then the target changes to 30 °C and the model cools and settles.

Change targetController modelLive temperatureUI and connected client
SPX UI showing a simulated Eurotherm 3216 controller with key attributes and a recorded temperature and setpoint graph: heating towards 60 degrees Celsius, followed by cooling and stabilization at 30 degrees.
Recorded SPX UI run: temperature and setpoint share a °C axis; time is shown in seconds.

Screenshot preview

Recorded SPX UI run: temperature and setpoint share a °C axis; time is shown in seconds. Open original image

This capture uses a presentation variant of the Eurotherm 3216 model. Its target was changed through a Modbus register; the graph shows the model's response, not a measurement from physical equipment.

Work with an instance

  1. Start: create an instance from a model and start it in SPX UI.
  2. Inspect: open the instance and choose relevant attributes for the live chart. Select an appropriate axis when values use different scales.
  3. Change: adjust a writable input in the UI or through a supported device protocol. Available inputs and their effects depend on the model; some values are calculated and may be updated again by the model.
  4. Observe: compare the input and response over time. Pause or stop the instance when you need to inspect or finish the run.

The SPX HTTP API and Python client provide another way to inspect and operate instances. Device protocols such as Modbus expose the mappings configured by the model; see its Communication tab for the actual endpoint and addresses.

When to use it

  • Inspect how a model responds to changing inputs before hardware is available.
  • Check a client's response to live device values and commands.
  • Reproduce a state while investigating an integration issue.

Continue exploring