2.2. Select Projects and Users for the OPC Server

The OPC Server Configuration dialog box lists the projects with authorized users that are attached to the OPC Server.

Do any of the following to modify the list.

1

Add.

2

Remove.

3

Show/Hide name space.

4

Details.

5

Reconcile cache to project.

6

OK / Cancel.

 

1

Add

Important: The OPC server will only accept points from a project if the project is listed in the configuration

  1. Click Add.

The Project Properties dialog opens.

  1. Enter the information in the fields as follows.

Field

Description

Project name

Project that will be added to the OPC Server configuration.

Note: Names of running projects are available in the drop down list. You can add a project name that is not running. However, the project will not be available to the OPC Server until it is started.

User name

Authorized CIMPLICITY project login user name.

Password

A CIMPLICITY password that is valid for the specified user. The OPC server uses the password in conjunction with project user name to determine user authorization.

Confirm password

Verification check. The Password and Confirm password must be the same. If they are not the same, the project settings cannot be saved.

  1. Click one of the following.

Button

Result

OK

Save project settings and return to the OPC Server Configuration dialog box, if there are no errors.

Cancel

Cancel the settings and return to the OPC Server Configuration dialog box.

Apply

Apply the latest entries. The names will be added to the OPC Server list, if there are no errors.

Continue adding names and passwords in the Project Properties dialog box.

Result: All correctly added project names and user names will be listed in the OPC Server Configuration dialog box when the OPC Project Properties dialog box is closed.

2

Remove

Note: The Remove button is enabled only when no OPC Clients are attached to the instance of the OPC Server that is being configured.

Any project can be disconnected from the OPC Server.

  1. Select a project in the list.

  2. Click Remove.

Result: The selected project is removed from the list.

3

Show/Hide name space

The OPC Server can show or hide the points and data for any listed project..

The Show the name space/Hide the name space button specifies the following.

Button Label

Description

Show this name space

When Show this name space is selected:

The project's:

Name space can be browsed from an OPC Client.

Cache, e.g. points and data are cached.

An OPC Client can successfully add items whether or not the project is running if the item is found in the cache.

Notes

In the Configuration Server dialog box:

Projects are listed in a bold font when the name space is shown.

The button label will display as Hide this name space when the project is selected in the OPC Server Configuration dialog box.

Hide this name space

Default

When Hide this name space is selected.

The project has:

A hidden name space.

No cache.

Items cannot be added when the project is not running

An OPC Client browse will not see items in the project.

Notes

In the Configuration Server dialog box:

Projects are listed in a normal font when the name space is hidden.

The button label will display as Show this name space when the project is selected in the OPC Server Configuration dialog box.

 

4

Details

The user name and/or password can be modified at any time for a selected project.

  1. Select a project in the list.

  2. Click Details.

The project's Project Properties dialog box containing the selected project's user name and password opens.

  1. Make any necessary changes.

  2. Accept or cancel the changes when you close the dialog box.

5

Reconcile cache to project

Reconcile cache to project specifies if the OPC Server, on startup, should reconcile its cache with the project server .

The options are as follows.

Reconcile

Description

Check

The OPC Server, on startup, will reconcile the cache for the project and up-date the cache with any changes that have been made in the project configuration.

Reconciling the cache on startup:

Important for projects that change frequently, e.g. points are added or deleted.

Causes the OPC Server to take more time on startup, particularly for large projects.

Important: When there is a change in the project or OPC Server configuration,

An instance of the OPC Server that started after the change will read the latest version of the .xml file on startup; its cache will be reconciled.

The cache for instances that are already running will contain the configuration data from when the obsolete .xml version was read.

Those instances can be reconciled while running or stopped and re-started to update their cache with the latest .xml data.

Clear

The OPC Server will not reconcile the cache for the project.

Not reconciling the cache on startup:

Is appropriate for projects that have stable configuration. If the configuration has not changed, differences will not be found so reconciling will not change anything in the cache.

Speeds up the OPC Server startup.

Tip: If Reconcile cache to project is clear and the configuration for a project whose name space is in the OPC Server has changed, a reconcile can be forced as follows.

  1. Check Reconcile cache to project.

  2. Click the Show the name space button.

The project will be listed in bold font. When the project is selected in the OPC Server Configuration dialog box, the button label will display as Hide the name space.

  1. Click OK.

The OPC Server Configuration dialog box closes.

The project data is hidden.

  1. Re-open the OPC Server Configuration dialog box.

  2. Click Hide the name space.

  3. Click OK.

The OPC Server Configuration dialog box closes. The OPC Server cache is reconciled.

  1. To turn or reconciliation again:

  1. Open the OPC Server Configuration dialog box

  2. Clear Reconcile cache to project.

6

OK / Cancel

Click one of the following.

Button

Result

OK

The OPC Server Configuration dialog box closes.

All changes made while the dialog box was open are made in the OPC Server.

Note: CIMPLICITY Login dialog boxes for configured projects may open when the OPC Server Configuration dialog box closes.

Cancel

Cancel all changes and return to the OPC Server window.

More information

2. Attach projects to the OPC Server.