• No se han encontrado resultados

EVOLUCIÓN Y TENDENCIAS

In document MEMORIA ANUAL SNS-CEANITA 2016 (página 14-0)

6. ACTIVIDADES DEL SNS EN 2016

6.2 FLUJO DE NOTIFICACIÓN

6.2.1 EVOLUCIÓN Y TENDENCIAS

This chapter describes the features of the OPC Server Configurator as well as how to use the configurator.

The AIM*OPC Configurator is an interactive utility that allows you to configure the OPC Server to perform communication services; these services are required by its client applications and are related to the selected and imported tags needed by its clients in the configuration file.

The configurator has the following features:

Configuration can be performed whether or not the OPC Server is running.

All configuration changes are automatically applied to the OPC Server upon save of the configuration file. Therefore, there is no need to re-start the OPC Server to apply configuration changes.

The browser, accessible from the Delta Configuration page, allows you to browse for database tags among I/A Series stations and AIM*Historian instances.

Delta values of individual and selected groups of client tags are configurable.

All OPC Server parameters, such as server time-out values and API scan rates, are configurable.

Alias names can be configured in place of the regular OPC database tag names.

AIM*OPC Configuration Utility

The AIM*OPC Configurator allows you to configure:

Parameters for the AIM*OPC server

Change Delta values for the client tags

Alias names for the client tags.

Starting the AIM*OPC Configurator

To start the AIM*OPC Configurator,

Select Start > Programs > AimAT > AIM OPC Configurator

The initial AIM*OPC Configurator display appears as shown in Figure 6-1. The main window of the configurator consists of:

Four tabbed pages:

Delta Configuration Page

Server Parameters (General) Page

Server Parameters (Advanced) Page

Alias Configuration Page

Main menu bar with the General Options available under the View Menu

Tool Bar

Status Bar indicating Ready

When started, the OPC Configurator utility attempts to connect to all available AIM*API Servers as configured by the AIM*ApiAdmin utility. The Delta Configuration page is displayed on top of the other three pages. The Browse Database Tags window automatically displays the names of all the connected server stations as shown in Figure 6-1.

Expanding the items in the Browse Database Tags window provides access to various tags. The desired tags are then selected/configured for inclusion in the configuration file for use by all the OPC client applications.

Initially, no configuration file exists until the configurator is used and information saved to a file.

With no configuration file, the Changed Delta Tags window is empty.

Figure 6-1. Initial OPC Configuration Display - Delta Configuration Page

If the AIM*ApiAdmin utility has the broadcast feature enabled (check box is not checked), then the AIM*OPC Configurator attempts to connect to all AIM*API Servers that are available on the network. If the AIM*ApiAdmin broadcast feature is disabled (check box is checked), then the

No Pre-Existing Configuration File

I/A Servers

AIM*OPC Configurator attempts to connect to only the API servers that have been configured by AIM*ApiAdmin to the client initialization file (an_init.cfg). It is important to note that the AIM*OPC Configurator can connect to an AIM*API Server and browse only if that server has been authorized for the AIM*OPC Server. Refer to “AIM*AT OPC Server Licensing” on page 9.

OPC Configuration Menu Bar

The OPC Configurator menu bar provides easy access to configuration utility functions (Table 6-1).

Table 6-1. AIM*OPC Configurator Menu Bar Options

Menu Option Description

File New Opens a new OPC server configuration file.

Open Opens an existing OPC server configuration file.

Save Saves the currently loaded server configuration file to disk.

Save As Saves the currently loaded server configuration file to disk using a new name and path.

Print Prints the current configuration information

Print Preview Allows you to preview the current configuration informa-tion prior to printing.

Print Setup Allows you to select the printer and set printer options.

Recent File (Not used)

Exit Exits the OPC configuration utility.

Edit Undo (Not used)

Cut (Not used)

Copy (Not used)

Paste (Not used)

View Toolbar Displays the toolbar icons under the main menu bar.

Status Bar Displays server status information at the bottom of the screen.

Options Customize server options related to how the server: saves and loads its configuration, records error and debug infor-mation, and updates. See “Options for Server Configura-tion” on page 49 for additional information

Help About AimOpcConfig... Displays the version and licensing information.

Toolbar

The configuration toolbar provides easy access to configuration utility functions (Table 6-2).

Status Bar

The status bar at the bottom of the window, when visible, indicates Ready.

Using the AIM*OPC Configurator to Configure the OPC Server

NOTE

You do not have to use the OPC Configurator to configure the OPC Server prior to using the OPC Server. If not configured, the OPC Server runs with its default parameters.

To define the required OPC Server and configuration file settings,

1. Using the General and Advanced Server parameter pages on the initial window of the OPC Configuration Utility, define the operational server parameters.

See “Server Parameters (General) Settings” on page 46.

See “Server Parameters (Advanced) Settings” on page 47.

2. Using the Options dialog, define the following settings:

a. Customize the way the server saves and loads its configuration files. See “General Option Settings” on page 50.

a. Restrict client access to preconfigured alias items. See “General Option Settings”

on page 50.

b. Customize general activity logging. “General Logging Settings” on page 52 c. Customize error and debug logging. “Interface Logging Settings” on page 53 d. Set the timing attributes of the Server. “Advanced Option Settings” on page 54

Table 6-2. Configuration Utility Toolbar Options

Button Function

Opens a new configuration file having the default server configuration settings.

Opens an existing server configuration file.

Saves the currently loaded server configuration file to disk.

Prints the active file.

Displays program information, version number and copyright.

3. After setting the OPC server and configurator options, perform either of the following tasks:

Save these settings to the file as described in “Saving To the Configuration File” on page 41 and end the configuration session.

Configure the tags as discussed in “Creating/Updating an OPC Server Configura-tion File with Tags and Item Aliases” on page 23 and then save both the OPC server settings and tag information to the configuration file.

Creating/Updating an OPC Server Configuration File with Tags and Item Aliases

One OPC server configuration file contains all of the tags (Compound:Block.Parameters) needed to service all of the OPC server clients.

To create an OPC server configuration file with the desired tags and item aliases:

1. Start the configuration utility as described on “Starting the AIM*OPC Configurator”

on page 19. The initial OPC Server configuration page appears as shown in Figure 6-1.

2. Select the Delta Configuration tab, if not the initial page, and select the desired tags required by the clients. Change the delta values of the tags if required. See “Delta Configuration Page” on page 23

3. Select the Alias Configuration tab and create the desired item aliases required by the OPC client applications. Configuring aliases as described in “Creating OPC Item Aliases” on page 22.

4. Save the OPC server configuration file to disk as described in “Saving To the Config-uration File” on page 41.

Delta Configuration Page

The Delta Configuration page is used to locate tags and configure the associated delta values. The tags are located by browsing the I/A Series station control databases and AIM*Historian instances for the desired tag names. The tags and associated delta values can then be saved to the configura-tion file for the OPC Server.

Figure 6-2. Delta Configuration Page - Existing Configuration File

NOTE

Configuring a larger delta value reduces the volume of data that is transferred over the network, therefore, enhancing the performance of the OPC Server. This action reduces the load on Control Processor (CP) modules in an I/A Series system.

The Delta Configuration page contains the following components:

Browse Database Tags window to browse among connected I/A Series stations and AIM*Historian instances to locate and select tag names.

Tags Selection window showing a list of all the parameters of the selected block in the Browse Database Tags window.

Changed Delta Tags window showing the list of selected tags: transferred from the Tags Selection window, automatically imported at startup, or loaded from the existing

Existing Delta Configuration File

configuration file. The associated tag information consists of: Tag Name, Data Type, Delta, High Scale and Low Scale.

When there is no configuration file, the AIM OPC Server Configurator display indicates Unti-tled* in the display title. No tags appear in the Change Delta Tags window. When a configuration file exists, the OPC Server Configurator display indicates the name of the configuration file and the Changed Delta Tags window is populated with tags from the configuration file; however, if no tags have been saved to the existing configuration file, no tags appear.

NOTE

The Loadconfigurationonstartup check box must be marked in the Options dialog (see “Options for Server Configuration” on page 49) for the existing configura-tion file to appear.

Check Boxes

Import Client Tags On startup the OPC server imports client tags into the configuration win-dow. Client tags displayed in the Changed Delta Tag window appear with an asterisk (*) to distinguish them from non-client tags. Client tags are those tags designated by an application, such as the Matrikon OPC Explorer Client, to be collected by the OPC server. (Figure 6-8 shows Imported tags listed in the Change Delta Tags window.)

Get Tag Info from I/A Server

The OPC server collects the current settings available for the tag from the I/A Server (Control database).

Buttons

Delete Selected Tags

The selected tags (from the I/A Server, AIM* Historian instance, or client) in the Changed Delta Tags window are deleted.

Set Deltas of Selected Tags

The selected tags appear in the Set Delta Values of Selected Tags dialog in order to configure the delta values of an individual tag or a group of tags.

Set Deltas of Imported Tags

The imported tags appear in the Set Delta Values of Selected Tags dialog in order to configure the delta values of individual tags or a group of tags.

Clear All All the tags in the Changed Delta Tags window are cleared from the screen.

Browsing for Tags

From the Delta Configuration page (or the Alias Configuration page), use the browser to locate and select the tags (compound:block.parameters) required in the configuration file.

To browse for desired tags,

1. In the Browse window, highlight the desired host station and click on the + button to view:

a. Global folder to access all the station letterbugs associated with the selected I/A server as shown in Figure 6-3.

b. AIM*Historian instance folder to access compound:block.parameters.

NOTE

Historian instances are used to search for tag names that are known to exist in an historian instance; they are not used to establish an OPC Server connection to the historian.

Figure 6-3. Delta Configuration Page - Global and Historian Instances - Station Letterbugs

2. Continue to highlight the desired item and click on the associated + button to access the list of associated tags (compound:block.parameters). Select items as follows:

a. I/A Server > Global > Station Letterbug > Compound > Block > Individual Block Parameters OR

b. Host Station > Historian Instance > Individual Tag(s) NOTE

When an Historian instance is selected, you can select the Tag folder (representing the entire list of tags) to populate the Tags Selection window with all of the tags.

Alternately, you can click the Tag folder and expand the tree (click +) to access the list of tags and select individual tags.

Station Letterbugs I/A Server

List of Stations

Historian Instance

Figure 6-4. Delta Configuration Page - Station Name and Compound:Block.Parameters

3. The Tags Selection window contains the compound:block.parameters. The tags (Compound:Block.Parameters) listed in the Tags Selection window are arranged in alphabetical order.

Selecting/Deleting Tags

The Tags Selection window must contain the desired tags (Compound:Block.Parameters) in order for you to select and transfer the tags to the Changed Delta Tags window for inclusion in the con-figuration file.

To select tags in the Tag Selection window,

1. Mark the check box in front of each desired tag.

2. Click Insert to transfer the selected tags to the Changed Delta Tags window. The tags no longer appear as checked in the Tag Selection window. Duplicate tags do not appear in the Changed Delta Tags window. See Figure 6-5.

Block Compound Station Letterbug

Parameters

Figure 6-5. Delta Configuration Page - Selected Tag Inserted in Change Delta Tags Window

To clear all tag selections in the Tags Selection window,

Click ClearAll.

To delete any tags in the Changed Delta Tags window,

1. Select the tag(s) to be deleted. Use Ctrl or Shift key to select multiple tags.

2. Use one of two methods:

Click DeleteSelectedTags.

Right mouse button click within the Change Delta Tags window to activate the context menu and click DeleteSelectedTags.

To erase all the tags in the Changed Delta tags window,

Click Clear All.

Figure 6-6. Delta Configuration Page - Delete Selected Tags

Changing Delta Values of Selected Tags

Initially, the delta value of a tag inserted into the Changed Delta Tags window is set at a default of 0.001, with both the High Scale and Low Scale set to zero as displayed.

To change the delta value of one or more tags,

1. Select the desired tags in the Changed Delta Tags window. For example, Figure 6-6 shows that all three tags are selected.

2. Access the Set Delta Values of Selected Tags dialog using one of two methods.

Click SetDeltasofSelectedTags.

Right mouse button click within the Changed Delta Tags window to activate the context menu and click SetDeltasofSelectedTags.

Context Menu

Button

Figure 6-7. Delta Configuration Page - Set Delta Values Of Selected Tags Dialog

3. The Set Delta Values of Selected Tags dialog (see Figure 6-7) appears with the selected tags in the dialog box. Notice that the dialog displays the Delta, High Scale and Low Scale parameter values for the Tag name.

If the GetTag Info.from I/A Server box is checked (default), the values for the Delta, High Scale and Low Scale parameters are the actual values con-figured in the I/A Server for the block parameters. The purpose of getting the tag information from the I/A Server is to provide the user with a guideline for setting the delta value.

If the GetTag Info.from I/A Server check box is not marked, the fol-lowing default values appear: Delta 0.001, High Scale 100.00, and Low Scale 0.00.

NOTE

If you select a large number of tags located on a remote server and the check box for

GetTagInfo.fromI/AServer is checked, it may take considerable time for the AIM Configurator to retrieve the Delta, High and Low Scale I/A database values for each tag. The estimated time is about four seconds for each tag located on a remote server. During this time, the AIM Configurator appears to be disabled; however, the OPC server operation is not affected.

4. Use one of two methods to change the delta field for the tag entries:

To change the delta value for one tag,

a.Click the Delta field of the selected tag once.

b.Click the Delta field again and enter the desired delta value.

To change all the tag entries to the same delta value,

a.Enter a value in the field to the left of the Set Group Delta button.

b.Click Set Group Delta.

Range checking is done on any new value if access has been made to the I/A Server.

5. Click OK to set the new delta values.

NOTE

When the configuration file is saved, the tags in the Changed Delta Tags window are saved to the configuration file.

Changing Delta Values of Imported Tags

The AIM OPC Configurator provides the capability to configure the change delta value of tags that are being used by clients without having to browse the database for the tags. Once this feature is properly activated by the user, the client tags automatically appear in the Change Delta Tags window of the Delta Configuration page. By default this feature is not activated. These client tags are prefixed with an asterisk character [*] to identify them from the other tags. (See Figure 6-8.) Once this feature is activated, the OPC Server automatically writes the client tags (preceded by an *) to the OPC configuration file when new tags are added by an OPC client. When the OPC configurator is started and loads in the configuration file, these client tags automatically appear in the Changed Delta Tags window.

To activate the Import Client Tags feature,

1. On the Delta Configuration page, check the box labeled Import Client Tags [*] and then exit the configurator.

2. Select View > Options on the AIM OPC configurator main menu bar to display the Options dialog box.

3. On the General page, check the box labeled Load Configuration on Startup. 4. Select File > Exit to exit the configurator.

5. Restart the OPC Server.

6. Start the AIM OPC configurator. The client tag names that were not previously con-figured and saved to the configuration file now appear with an asterisk [*] in the Change Delta Tags window.

To change the delta values of imported tags,

1. Select the desired tags in the Changed Delta Tags window.

2. Access the Set Delta Values of Selected Tags dialog using one of two methods.

Click SetDeltasofImportedTags.

Right mouse button click within the Change Delta Tags window to activate the context menu and click SetDeltasofImportedTags.

3. The delta values for these new [*] client tags can now be changed as described in

“Changing Delta Values of Selected Tags” on page 29, Step 4.

NOTE

When the configuration file is saved, the imported tags in the Changed Delta Tags window are saved to the configuration file. The next time the configurator is started, these tags will not appear with an asterisk [*].

Figure 6-8. Delta Configuration Page - Imported Tags Inserted By OPC Server

Alias Configuration Page

Aliases allow the user to query data using user-defined names instead of the actual tag names.

User-defined names are more easily recognized. From the Alias Configuration page you locate tags (compound:block.parameters) from the I/A Server or an AIM*Historian instance and define the alias for the tag name in the configuration file.

NOTE

Only one tag can be selected at a time for alias configuration.

The Alias Configuration page contains the following components:

Browse Database Tags window to browse among connected I/A Servers and AIM*Historian instances to easily locate and select tag names.

Imported Tags

Tags Selection window showing a list of all the parameters of the selected block in the Browse Database Tags window.

Changed Alias Settings window showing the definition of aliased tags. The associated alias information consists of: Name (Alias), Item Path, Data Type, R/W, Update Rate, Poll Always.

Figure 6-9. Alias Configuration Page

Buttons

Edit Selected Alias An existing selected alias can be changed.

Edit Selected Alias An existing selected alias can be changed.

In document MEMORIA ANUAL SNS-CEANITA 2016 (página 14-0)

Documento similar