Importing or Exporting Modbus Tags
Use
You can use the Import and Export functions to import or export the configuration of selected tags using CSV files.
Procedure
Exporting a CSV File
-
Choose the Export pushbutton.
The Import Modbus Tags dialog box appears. PCo proposes a path for storing the file, for example, C:\Program Files (x86)\SAP\Plant Connectivity\System.
-
Enter the file name and choose Save.
PCo exports the tags and stores them in a CSV file.
Importing a CSV File
-
Choose the Browse pushbutton to select the CSV file you want.
-
Select the CSV file you want.
The file is analyzed and the relevant separator (for example, comma) is selected automatically. Upon import, PCo tries to select the relevant columns automatically. You can change the columns, however. The access path and the address need to be unique but the update rate, the deadband, type, unit ID, size, and file number can initially be filled with some default values if there is no relevant column (in this case, the entry in the Column field is empty).
-
Choose the import mode you want in the Mode field. There are two modes:
-
Overwrite
The import mode Overwrite replaces all existing tags (those entered manually as well as imported tags) for which there are address conflicts or conflicts with the access path. Only a warning is issued.
-
Append
In the import mode Append, the imported tags are added to the existing tags. Address or access path conflicts are interpreted as errors and the import of faulty tags is terminated.
Check the attributes (access path, description, and so on) in the Columns screen area. You can select an entry, as required, for each attribute under Column. The access path and the address must be unique. The update rate, deadband, type, unit ID, size, and file number can be filled initially with some default values.
-
-
Confirm your entries by choosing the pushbutton OK.
Example
The screenshot shows what the Import Modbus Tags dialog box looks like after a CSV file has been selected: