Skip to main content
Version: 5.5

Create instances from a file

If you want to create many connections from a template, you can

  • import a prepared Excel or CSV file
  • or create a corresponding table in OPC Router itself

Please note that the names of the template variables in the CSV file and the router template must match, and that the columns in the CSV file must be separated by semicolons or commas. The CSV file has the following structure:

InstanceNameVariable1Variable2...
---------------------------------
ConnectionName1ValueValueValue
ConnectionName2ValueValueValue
<bestehenderunterordner>\ConnectionName3ValueValueValue
...ValueValueValue

The following time offsets are available:

  • 1ms for milliseconds
  • 1s for seconds
  • 1m for minutes
  • 1h for hours
  • 1d for days

There must be no space between the number and the unit.

Specifying a connection group is optional. You can distribute the connections across several groups and subgroups.

  1. In the "Templates" or "Connections" snap-in, select the "Create instance" drop-down button and then "Create multiple instances."
  2. Select the template you want to use.
  3. Select the destination folder.
  4. Enter the values or open your CSV file.
  5. Specify whether existing connections should be retained or overwritten.
  6. Select the "Create Instances" button.
  7. Activate the new instances.
note

Note: If you change the template later, all instances will be adjusted.