Click or drag to resize

How to configure CommServerUA

Home

By default CAS CommServer UA™ is installed with the default configuration. This short tutorial shows how to change the default configuration to the custom one. This short tutorial shows how to upload custom user configuration to the CommServerUA.

How to configure CommServerUA
Note Note

Default CommServer UA application path is:

  • Windows 2000/XP/2003: directory c:\Documents and Settings\All Users\Application Data\CAS\CAS.CommServerUA\ and file DemoConfiguration\CAS.UAServer.DemoConfiguration.uasconfig inside;

  • Windows Vista, 2008, 7: directory C:\ProgramData\CAS\CAS.CommServerUA\ and file DemoConfiguration\CAS.UAServer.DemoConfiguration.uasconfig inside;

Perform the following steps to change the default CommServer UA configuration to the new one, prepared as a solution in CAS OPC UA Address Space Model Designer:

  1. Copy the folder with the new server configuration to the location of the CommServer UA application, such folder should contain:

    • Models files included in the solution (as an XML files)

    • Dictionaries files coupled with the models included in the solution (*.csv files)

    • Server configuration file(*.uasconfig)

    • OPCViewer session file (*.oses) if CommServer UA is configured as OPC Classic Wrapper.

    • CommServer engine configuration file (XML file produced by NetworkConfig) if CommServer UA communicates with physical data sources using DataProviders.

    • Output files generated by the ModelCompiler from the models in the solution.

  2. Open CAS.UA.CommServer.exe.config file and change the following XML elements:

    1. CAS.UA.Server -> ConfigurationLocation -> FilePath - here should be the file path to the configuration file (*.uasconfig file that was copied in previous step).

    2. applicationSettings -> CAS.UA.Server.Properties.Settings -> setting -> value - here should be the file path to the configuration file (*.uasconfig file that was copied in previous step).