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:
| InstanceName | Variable1 | Variable2 | ... |
| ------------ | --------- | --------- | --- |
| ConnectionName1 | Value | Value | Value |
| ConnectionName2 | Value | Value | Value |
| <bestehenderunterordner>\ConnectionName3 | Value | Value | Value |
| ... | Value | Value | Value |
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.
- In the "Templates" or "Connections" snap-in, select the "Create instance" drop-down button and then "Create multiple instances."
- Select the template you want to use.
- Select the destination folder.
- Enter the values or open your CSV file.
- Specify whether existing connections should be retained or overwritten.
- Select the "Create Instances" button.
- Activate the new instances.
note
Note: If you change the template later, all instances will be adjusted.