Skip to main content
Version: 5.4

Creating Instances from Data

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

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

Please note, that the names of the template variables have to be the same in CSV data and router template, and that in CSV data columns are seperated with a semicolon “;” . The CSV data is structured as follows:

InstanceNameVariable1Variable2...
Connection Group.Connection Name1ValueValueValue
Connection Name2ValueValueValue
Connection Group.Sub Group1.Connection Name3ValueValueValue
...ValueValueValue

There are the following time-offsets:

  • 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.

Stating a Connection Group is optional. You can spread the connections like this to several groups and sub groups.

  1. In the “Templates” or “Connections” snap-in, select the “Create Instance” drop-down button and then “Create Multiple Instances”.
  2. Select the template to use
  3. Select the destination folder.
  4. Enter the values ​​or open your CSV file.
  5. Determine whether existing connections will be retained or over-written.
  6. Select the “Create instance” button.
  7. Make the new instances productive.
note

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