<< Click to Display Table of Contents >> Navigation: Multi-Protocol MasterOPC Server > Plugin SCRIPT > Import tags > Import from CSV |
Import from CSV allows you to import tags from various sources, such as those generated in Excel. The imported file has the following field structure:
Name;DataType;Access;Comment
Node1.Device1.Double.Tag1;double;ReadWrite;Comment1;
Node1.Device1.Double.Tag2;double;ReadWrite;Comment2;
Node1.Device1.Double.Tag3;double;ReadWrite;Comment3;
Where:
Name - имя тега. Вы можете создать иерархическую структуру, используя точку в качестве разделителя.
DataType - tag data type. Use tag types that are identical to the tag types in the "Data type in server" setting. The case is not taken into account.
Access - access type. Three options are possible - ReadOnly, ReadWrite, WriteOnly.
Comment - tag comment.
To import a CSV tag, use the Open button in the utility menu. In the window that appears, select the file you want. If the file has a correct structure, it will be added to the tree, otherwise an error message will appear.
Tick the tags you want to import. If you check a structure, all its nested tags are checked.
You can use the Check and Uncheck buttons to turn the flag on/off for the selected tags.
Use the Access drop-down list to set the desired access type for the selected tags.
After clicking the Import button, the tags will be added to the device.