Import Configuration

Associated with: Sofrel Outstations.

Security permission required to access this pick action: Configure.

You can use the Import Configuration action to import a Sofrel configuration file into ClearSCADA. You can use the Import Configuration action as part of your chosen configuration strategy(see WITS Configuration Strategies)

Creating an Import configuration file

There are two ways in which you can create an import configuration file:

When you use SOFTOOLS to export the configuration of an outstation to a file it uses the decimal point symbol defined by the Microsoft Windows regional settings. When ClearSCADA imports a file it expects the file to use the decimal point symbol defined by the Microsoft Windows regional settings on the main ClearSCADA server. For an import to be successful the same decimal point symbol must therefore be used on both machines (for example both use a dot or a comma).

When you are create export files manually then you must use the correct decimal point symbol.

Import file formats

ClearSCADA can import files in the tab-delimited text format defined by Sofrel. Each file contains the configuration of the points for an outstation.

The file consists of a header on the first line, followed by a body. The header contains numerical codes that identify the data in the corresponding column of the body. Different numerical codes are used for the column headings within each protocol. The body contains one line for each point.

Files exported from SOFTOOLS include all of the columns for the protocol. If you are creating your own files (for example in a text editor or spreadsheet) then ClearSCADA requires the following columns to always be present:

LACBUS-RTU:

60102 - Point number

60103 - I/O type (0 = input, 1 = output)

60104 - Value type (0 = logical, 1 = numerical)

60105 - Modified flag (0 = can not modify, 1 = can modify)

SOFBUS-PL:

6 - I/O type (0 = input, 1 = output)

7 - Point type (0 = digital, 1 = analogue, 3 = counter)

8 - Point number

Importing a configuration file

The Import Configuration action is available for all Sofrel outstations. The outstations should be pre-configured before being connected and setup within ClearSCADA. You can use the Import Configuration action to import the configuration of points from the outstation when you have configured the following Sofrel items:

When you select the Import Configuration action, the Import Configuration window is displayed:

This allows you to enter the filename directly or browse to the location containing the file. When you select the OK button, ClearSCADA begins the import process.

When you initiate the import process the configuration for each point that exists within the import file is created within ClearSCADA, within the same group as the outstation. If the points already exist in the database they are just updated.

ClearSCADA only supports importing files containing the configuration for a single outstation. If multiple outstations are found the import fails and error report is generated listing all of the outstations that were found in the file.

If the import process is unsuccessful, no changes are made to the configuration and an error report is generated. The report indicates the reasons for the import failure (see Display Config Report).

Some or all of the following settings may be included for each point:

If the outstation is using the LACBUS-RTU protocol the following differences occur when the configuration is imported:

If the outstation is using the SOFBUS-PL protocol the following differences occur when the configuration is imported:

If the outstation in ClearSCADA has a different protocol to the file being imported then the import will fail unless the outstation in ClearSCADA has no points. This is because the two protocols uses different addressing for the points and therefore the existing points can't be matched to the points being imported if the protocol is different.

NOTICE

INCORRECT CONFIGURATION

Always verify that the configuration you are importing is the correct configuration for the Outstation. If you import incorrect files, the incorrect configuration may replace any correct configuration that is already in place in ClearSCADA. For this reason, take care when selecting the import configuration files.

ClearSCADA checks whether the file is for the same outstation, using the RTU Number and ID code. If there is a mismatch then the import fails (the error report describes the mismatch). If the file does not contain the RTU Number or ID code, this check can not be carried out.

Failure to follow these instructions can result in incorrect configuration.

Importing the configuration into a Group Instance

If you are going to import the configuration, and the Outstation or any of its points are in a Group Instance, you need to be aware of:

If you import a configuration into items in a Group Instance (the Outstation or any of its points), ClearSCADA has to determine which configuration to use. It compares the imported configuration settings to those that are already in place in the ClearSCADA database, on a field-by-field basis. If the import configuration settings are different to those in ClearSCADA , ClearSCADA checks if the required Property Overrides are defined. If they are, the imported configuration overwrites the existing configuration. Any settings that are the same as those in ClearSCADA are discarded. If the file contains points that do not exist in ClearSCADA, new items are created to store the configuration. These new items are created automatically.

If an import fails as a result of missing Property Overrides or point conversions being required, ClearSCADA lists the configuration errors in a configuration report. There are no changes made to the ClearSCADA database.


Disclaimer

ClearSCADA 2017 R2