LibraryManagement – Comparator settings
A user who has the necessary access rights and system knowledge can configure the comparator settings for LibraryManagement. The following options are available:
1. Compare CFC files
You can configure versiondog to compare CFC files either by content (StdLib == CustStdLib) or by name (name in StdLib == name of predecessor in CustStdLib). These settings are configured using an INI file. The name of the file is Classes.ini. This file is located under
<vdServerArchive>VD$AConfigurationCompare
.
In the section [SimaticS7] of the file Classes.ini the key 7167 must be assigned the appropriate value. The following applies:
- 7167=Y: CFCs are compared by Name
- 7167=N: CFCs are compared by Content (default setting)
To compare CFCs by name, proceed as follows:
- Go to the AdminClient.
- Select the menu INI files. The dialog Edit ini file will appear.
- Select the file CompareClasses.ini.
- Click on Edit.
- Find the section [SimaticS7]. If this section is not present in the INI file, create it at the end of the file.
- Set the key 7167=Y.
- Save the file.
Example:
1.[SimaticS7 ]
1.7167= Y
2. Ignore blocks when running a comparison
You can configure versiondog to ignore blocks generated by the SCL compiler when running a comparison in versiondogLibraryManagement. These settings are configured via an INI file. The name of the file is Classes.ini. This file is located under
<vdServerArchive>VD$AConfigurationCompare
.
In the section [SimaticS7] of the file Classes.ini the key 36802 must be assigned the appropriate value. The following applies:
- 36802=Y: The blocks are ignored when running a comparison in LibraryManagement.
- 36802=N: The blocks are not ignored when running a comparison in LibraryManagement (default setting).
To configure the INI file, see the section Compare CFC files located above. Example:
1.[SimaticS7 ]
1.36802= Y
Note
Generated blocks can be identified by their author. If the author isES_MAP, then the block was created using the SCL
compiler.