Skip to content

XVM

Programmable actions engine.

What is a programmable action?

Programmable actions are small programs executed directly on the gateway.

They have access to all sensor readings (and more) and can be used to:

  • Control relay outputs.
  • Send custom Modbus commands.
  • Generate email or SMS alerts.
  • Calculate complex values and upload them to the cloud system.

XVM

Cloud platform programmable actions module comes with an easy-to-use user interface for defining the conditions and resulting actions. Actions created this way are automatically compiled into small programs and uploaded to the gateway.

The engine that executes these programs is called XVM. It is a register-based virtual machine.

For applications where the action creator is not complex enough, advanced programs can be written using a simple assembly language.

XVM LITE

XVM LITE is a simplified version of the programmable actions engine, designed for gateways with limited resources. It supports:

  • Basic conditional logic (e.g., if-else statements).
  • Simple control of relay outputs and digital inputs.
  • Basic arithmetic operations for sensor data.
  • Limited program size and complexity.

XVM LITE is ideal for straightforward automation tasks, such as turning on a relay when a sensor value exceeds a threshold.

XVM FULL

XVM FULL is the advanced version of the programmable actions engine, available on high-end gateways. It supports:

  • Complex conditional logic and loops.
  • Advanced arithmetic and logical operations.
  • Access to all gateway features, including Modbus commands and SMS alerts.
  • Larger program size and higher complexity.
  • Integration with external systems via custom Modbus commands.

XVM FULL is suitable for complex automation scenarios, such as multi-condition monitoring, advanced data processing, and integration with third-party systems.

For more information on how to create programmable actions, refer to the rayleighconnect™ cloud platform documentation.