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:
InstanceName | Variable1 | Variable2 | ... |
Connection Group.Connection Name1 | Value | Value | Value |
Connection Name2 | Value | Value | Value |
Connection Group.Sub Group1.Connection Name3 | Value | Value | Value |
... | Value | Value | Value |
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.
- In the “Templates” or “Connections” snap-in, select the “Create Instance” drop-down button and then “Create Multiple Instances”.
- Select the template to use
- Select the destination folder.
- Enter the values or open your CSV file.
- Determine whether existing connections will be retained or over-written.
- Select the “Create instance” button.
- Make the new instances productive.
note
Note: If you change the template later, all instances will be adjusted.