OPC UA Machine Simulator for MES Testing

Simulate industrial machines and test OPC UA communication without physical hardware. MaConSim provides an embedded OPC UA server that lets you build custom address spaces, expose dynamic machine data and validate communication with MES, SCADA and DCS systems.

Back to the product overview.

OPC UA node hierarchy in MaConSim: machine object with variables (spindle speed, temperature) and a method

How the OPC UA integration works

  1. Create an OPC UA tree — a virtual server instance with its own address, port (default 4840) and security configuration.
  2. Build the address space: Objects, Variables, Methods and Views, organized with references (Organizes, HasComponent, HasProperty, …). A separate Type Definitions view lets you define reusable types such as a standard MachineType.
  3. Bind every Variable to a data source: a static value, a database reference to live simulation data, or a simulation (sine, sawtooth, random, …). Methods are implemented by Python functions or low-code flows.
  4. Start the server. Your MES/SCADA connects as an OPC UA client and reads, subscribes to or writes your simulated machine data.

Changes to trees or nodes require stopping the server first; restart it afterwards for the changes to take effect. The system detects port conflicts automatically.

OPC UA server capabilities

Data sources behind OPC UA variables

The same data source system is shared with MQTT:

Type Description Best for
Static Value Fixed value until manually changed Configuration constants, test values
Database Reference Live values from the MaConSim database via a visual query builder (up to 4 JOINs, filters, sorting, limit, aggregation, live preview) Dynamic machine data, orders, event logs
Simulation Generated values (sine, sawtooth, random, …) Sensor data, demos, testing without database entries

Typical use cases

Technical details

Aspect Detail
Default port 4840 (configurable per tree)
Security Security modes None/Sign/SignAndEncrypt; recommended production mode SignAndEncrypt
Authentication Anonymous, UserName, Certificate (X.509), IssuedToken
NodeSet2 XML import (replaces existing nodes) and export
Deployment Desktop app and Docker — both run the OPC UA server
License OPC UA server/client requires the opcUaServer or opcUaClient entitlement

FAQ

Can MaConSim import OPC UA NodeSet2 files? Yes. Import a NodeSet2 XML file on any tree to pre-populate the node structure (the import replaces the tree’s current nodes and references), and export your own trees as NodeSet2 XML.

Can dynamic simulation values be exposed through OPC UA? Yes. Every Variable can be bound to a database reference or a simulation data source (sine, sawtooth, random, …), so clients see live-changing values.

Can OPC UA clients write to nodes? Yes, where the Variable’s access level allows it. Values in machine connection tables (e.g. the current value of a data collection) are read-only for OPC UA clients.

Which security configuration is recommended? For production-like testing use SignAndEncrypt with a modern policy such as Aes128Sha256RsaOaep and certificate or username authentication. Mode None sends messages in plain text.

Technical documentation

Read the OPC UA chapter of the User Manual: OPC UA, NodeSet2 Import/Export, Certificate Management, Node Management, Data Source Configuration.

Related: MQTT simulator · Automation Flows (methods run functions) · Machine Simulation.

Download the free version.

Download Area

Or schedule a demo.

Schedule Demo