Free extra from netzmal

Universal OPC UA Server, free of charge.

An OPC UA server for Windows whose variables you define in a text file. It serves as the counterpart when commissioning and testing OPC UA clients, and provides values from other programs as OPC UA variables.

Runs as a Windows service, generates test values on request and applies changes without a restart. A standalone program, free of charge, also for commercial use.

What it is for

The counterpart you need while the machine is not there.

Setting up an OPC UA connection needs a counterpart. But the real machine is often still at the manufacturer, busy in production or must not be used for tests. The Universal OPC UA Server is that counterpart: an OPC UA server whose variables you define yourself.

  • Test an OPC UA client

    Try out a visualisation, a control system or your own program before the machine arrives. The included demo variables change by themselves, so there is live data from the first minute.

  • Provide values via OPC UA

    A program writes values into the server, and other systems read them there as OPC UA variables.

  • Exchange values between two programs

    One program writes, another one reads. If you like, the server keeps the values across a restart.

Functions and requirements

What it can do.

Functions

  • Variables of the types double, float, int32, uint32, int16, uint16, sbyte, byte, boolean and string
  • Read, write and subscribe from any OPC UA client
  • Test values generated by the server: counter, random value, sine wave, toggle bit
  • Login anonymous or with user name and password
  • Optionally saves the values and restores them after a restart
  • Port freely selectable (default 4334)
  • Changed settings are applied while the server is running
  • Log file with connections, logins and, if wanted, every read and write access
  • Runs as a Windows service; the setup creates the firewall rule if you wish

Requirements

  • Windows 10 / Windows Server 2016 or newer, 64 bit
  • Administrator rights for the installation
  • No internet access required, no data leaves the computer

Good to know

  • Free of charge, also for commercial use. No warranty and no entitlement to support.
  • Meant as a test and auxiliary tool, not for safety-related tasks.
  • Every connected client may write all variables.
  • Not a gateway to a PLC: the server contains exactly the variables you create.
  • Based on Node.js and node-opcua (both open source, included in the setup).

Together with IDPS

Machine data as OPC UA variables.

IDPS reads data from machines and databases, but it is not an OPC UA server itself. If a visualisation or a control system is to fetch this data via OPC UA, put the Universal OPC UA Server in between: IDPS writes the values into it, and the other system reads them there.

  1. Machines, databases, filesWeihenstephan, Modbus TCP, OPC DA, SQL, CSV
  2. IDPScollects and prepares the values
  3. Universal OPC UA Serverholds the values as OPC UA variables
  4. Visualisation, control systemany OPC UA client

The Universal OPC UA Server is a separate, free program with its own setup. You do not need it for IDPS, and it also runs without IDPS. What IDPS is

How to use it

Install, connect, add your own variables.

  1. 01

    Install

    Run the setup. The server is registered as a Windows service and started; it runs in the background and starts with the computer. Node.js does not have to be installed.

  2. 02

    Connect

    Enter the address of the server in your OPC UA client. Security policy "None" and anonymous login work out of the box.

  3. 03

    Look around

    The example variables are in Objects > Variables. The variables "Demo.*" change by themselves.

  4. 04

    Create your own variables

    Open "Edit variables" in the Start menu, add one section per variable and save. A few seconds later the variables are in the server, without a restart.

  1. 01

    Install

    Download the setup and run it with administrator rights. It installs the Windows service "Universal OPC UA Server" and starts it; from then on the server starts with the computer. Node.js is included and does not have to be installed.

    • The setup offers to create the firewall rule. Clients on other computers need it (incoming connections, domain and private networks).
    • After the very first start the server needs up to a minute until it accepts connections, because it creates its certificate.
    • Your configuration files are kept when you update or uninstall.
  2. 02

    Connect

    Enter this address in your OPC UA client. On the same computer, use "localhost" as the computer name.

    opc.tcp://<computer name or IP>:4334/UA/UNIVERSAL_OPC_SERVER_UA
    • Security: without further settings, the security policy "None" and anonymous login work.
    • Certificate: the server creates its own self-signed certificate. If the client reports it as untrusted, accept it in the client.
    • From another computer: check the firewall rule and the port. Some clients must be able to resolve the computer name of the server, because the server reports its address with that name.
    • Login with user name and password: set authRequired=true in config.ini and create the users in auth.ini. Anonymous clients are then rejected.
    • Another port: set "port" in config.ini, for example when 4334 is already in use.
  3. 03

    Look around

    In the address space of the server, the variables are in Objects > Variables. After the installation you find example variables there; the variables "Demo.*" change by themselves, so you see live values immediately.

    Every variable has this node id, for example ns=1;s=Line1.Counter:

    ns=1;s=<name>
    • Clients can read, write and subscribe to every variable.
    • If a client writes a simulated variable, the server overwrites the value at its next step.
    • What the server is doing is in the log: Start menu > Universal OPC UA Server > Log files.
  4. 04

    Create your own variables

    Open Start menu > Universal OPC UA Server > Edit variables. This opens variables.ini. Each variable is one section; the section name is the name of the variable.

    [Line1.Counter]
    kind=uint32
    init=0
    
    [Line1.Temperature]
    kind=double
    simulate=sine
    min=18
    max=24

    The first is a counter that clients write; the second is a sine wave between 18 and 24 that the server generates itself.

    kind
    Data type: double, float, int32, uint32, int16, uint16, sbyte, byte, boolean, string
    init
    Initial value (optional)
    sampling
    Minimum sampling interval in milliseconds (optional, default 1000)
    simulate
    The server changes the value itself (optional): counter counts from min to max and starts again, random gives a random value between min and max, sine a sine wave between min and max, toggle switches a boolean
    min, max
    Range for simulate (default 0 and 100)
    period
    Duration of one sine wave in seconds (default 60)
    • Save the file: the server applies the change after a few seconds, without a restart of the service.
    • When it applies a change, connected clients are disconnected for a moment and have to reconnect.
    • If values are to survive a restart: set save=60 in config.ini. The server then saves the values every 60 seconds and restores them at the next start. With save=0, all values start with "init".
    • Comments start with ";" and are on their own line. If a variable is missing, the log shows the reason.

    All settings are in the readme (English).

Download

Current version

Version 1.1.0Freeware

Universal OPC UA Server 1.1.0

Setup size: 30 MB · Readme (English) · License

Download setup
Release notes
Universal OPC UA Server 1.1.0
- Setup with Windows service, Node.js included
- Variables, port and users are applied without a restart
- Test values: counter, random, sine, toggle
- Variable names may contain dots (e.g. Line1.Counter)
- New data types byte and sbyte

And when the data has to go further: IDPS.

IDPS reads machine data from Weihenstephan, OPC DA, Modbus TCP, databases and CSV files and writes it to MySQL, OPC DA or OPC UA. The trial contains all functions.