Escolar Documentos
Profissional Documentos
Cultura Documentos
B0750AD
Rev E
May 6, 2011
iii
Contents
Contents..............................................................iii
Before You Begin ..............................................vii
Foxboro Control Software Access Manager ........................................ vii
Revision Information........................................................................... viii
Reference Documents ........................................................................... ix
FCS Documentation .......................................................................... ix
I/A Series Software Documentation .................................................. ix
Wonderware Documentation .............................................................. x
iv
Contents
Contents
vi
Contents
vii
viii
Figure 1
Revision Information
For this version of the document (B0750AD, Revision E), the following
changes have been made to this document for the FCS v3.0 release:
Entire Document
Modified the I/A Series Device Integration Object Editor General Tab
Attributes on page 23.
ix
Modified the I/A Series History Provider Data Flow on page 73.
Added a new section, History Object Log flags on page 88.
Modified the I/A Series Alarm Provider Data Flow on page 91.
Modified the I/A Series Security Provider Data Flow on page 119.
Reference Documents
The following sections provide FCS reference documents, I/A Series system
documents and Wonderware software reference documents.
FCS Documentation
Refer to the following documents for specific information about related FCS
Configuration Tools and Editors:
Wonderware Documentation
For additional information about InTouch software, the Wonderware
Historian, and other ArchestrA components, refer to the following
Wonderware documents:
C H A P T E R
This chapter discusses the operation of the I/A Series Galaxy Browser, that
identifies the available I/A Series compound and block parameters in a galaxy
database. The browser is used to configure references to the I/A Series
parameters for FCS InTouch application displays, and for application objects
being configured with FCS Configuration Tools.
The I/A Series Galaxy Browser appears as a tab in the Galaxy Browser
application. The tab identifies compounds, strategies, and blocks in a galaxy
configuration. Other objects in the galaxy are displayed in the Attribute
Browser tab.
Contents
Accessing the I/A Series Galaxy Browser
I/A Series Browser Tab Components
Browser Cache Files
2.
3.
Click here to
open the browser
Figure 1-1.
4.
Click
to the right of the PV input source text box in the I/O group
box to invoke the Galaxy Browser (Figure 1-2) for the process variable
input.
The browser opens the Attribute Browser tab, which is a standard IDE tool
for configuring application objects. This browser allows you to view the
exposed attributes of each tag and add references to the attributes and to
their properties. The Attribute Browser tab is not used to configure points
for the FCS InTouch Application.
Figure 1-2.
Galaxy Browser
Click the I/A Series Browser tab (Figure 1-3),and by using it select a
compound parameter or a block parameter in the galaxy database to create
a reference to that parameter.
The layout of the browser is described in the next section.
are selected and displayed in the following I/A Series Browser tab (Figure 1-3)
components:
1.
The I/A Configuration pane on the left side is used to view the
compounds, strategies, and blocks in the galaxy database.
2.
The Parameter pane on the right displays the parameters of the block or
compound selected in the I/A Configuration pane.
3.
The DI & Extensions view, which can be displayed below the parameter
pane (as in Figure 1-3) or minimized to its title, is used to select an
I/A Series Device Integration Object and scan group, and to specify
extensions to the parameter.
Note The DI drop-down box contains only instances of I/A Series Device
Integration Objects. As a result, you will be able to create tags only for I/A
Series Device Integration Objects.
If you want to refer to an I/A Series OPC Device Integration Object, then you
need to manually enter it in the Value field. This is used to support backward
compatibility.
4.
The Value text box on the lower right side of the browser shows the tag
that results from selections in the I/A Configuration pane, Parameter pane,
and DI & Extensions view.
1
2
Figure 1-3.
Click
in the upper left corner of the I/A Configuration pane to display
information on generating the files and their location on the workstation.
Refer to Browser Cache Files on page 15 for detailed information on
refreshing these cache files.
Strategy
Selected block
Nested strategy
Click
Click
blocks.
Click
to the left of a compound or strategy to hide its contained
strategies or blocks.
Use the scroll bar and arrow buttons on the right side of the pane to scroll
the display up and down.
Drag the right edge of the pane to the right or left to adjust the width of the
display.
When a compound or block is selected in the tree view, its parameters are
displayed in the Parameter pane to the right, that allows you to select the
parameter and construct the tag. No attributes are displayed on the right pane
when a strategy is selected, because strategies do not have attributes. Strategies
are container objects in the FCS Configuration Tools that are not downloaded
to the I/A Series system.
Figure 1-5.
Search View
To find a specific item in the configuration:
1.
Click
in the I/A Configuration pane to open the Search view
(Figure 1-6).
The Search view consists of tools for specifying the search criteria and a
table listing the results from the most recent search. The results can be
saved from one use of the I/A Series Galaxy Browser to the next.
Name
Compound, block,
strategy, or other
element type
Block type or
other element type
Results
Figure 1-6.
2.
Search View
Use the three fields at the top of the view to specify the search criteria:
Field
Description
Name
Element
Type
Block
Strategy
None
3.
4.
Double-click any element in the results list to select that element in the
I/A Configuration pane and display its parameters in the Parameter pane.
5.
Select Save search results check box to maintain the list for the next use
of the I/A Series Browser tab.
Parameter Pane
When a block or compound is selected in the I/A Configuration pane, its
parameters are displayed in tabular form in the Parameter pane on the right
side of the browser (Figure 1-7). The object name and type are shown at the
top of the pane (AOUT_1 [AOUT] in Figure 1-7). The first available
parameter in the table is automatically selected and added to the tag string in
the Value text box (ACHNGE in Figure 1-7).
Name and
and type
Selected
parameter
is added
to the value
string
Click here to
hide the DI &
Extensions view
Figure 1-7.
Parameter Pane
Description
Name
The I/A Series parameter name. The name may vary from
the name used in various FCS Configuration Tools editor.
Data Type
All
Bool (Boolean)
Character
Integer
Long Int (Long Integer)
Packed Long (Long Packed Boolean)
Packed Bool (Short Packed Boolean)
Short Int (Short Integer)
String
Real
10
Column
Description
Security
Connectable
Configurable
None
DataConnectionSourceAndSink is connection
made in the configurator to copy scaling parameters
from a source block.
Settable
Click
on the right edge of the DI & Extensions title bar to hide the
view and enlarge the Parameter pane.
2.
Click any column head to sort parameters on that category; click the
column head a second time to reverse the sort order.
3.
Drag the right border of a column header to right or left to adjust the width
of the column.
11
Parameter
list filters
Click this
button to open
the Columns
Settings dialog
box
Click the
header to
sort rows by
the column
Click here to
display the DI &
Extensions view
Figure 1-8.
4.
Use the Category and Type drop-down lists below the object name to
filter the parameter display.
In Figure 1-9 for example, Connectable has been selected in Category
and SourceAndSink in Type to display only parameters that allow readwrite access.
5.
Click
to the right of the Category and Type drop-down lists to open
the Column Settings dialog box (Figure 1-9), clear the check boxes against
the columns you do not want to display, and click OK.
Figure 1-9.
12
Click
on the right edge of the DI & Extensions title bar if the full view
is not displayed.
Figure 1-10.
2.
Use the drop-down list to select an I/A Series Device Integration Object
(AWKE03_IADI in Figure 1-11).
2.
3.
When you are entering reference to I/A Series OPC Device Integration
Object manually, enter device node IASeries in the Value field.
Figure 1-11.
13
Extensions Group
Use the Extensions group to select the extensions for a particular parameter.
You can select from the following four types of extensions, as shown in
Figure 1-12:
Access Extension
Frequency Extension
Data Extension
Packing Extension
14
Figure 1-12.
Value Field
The Value Field displays the extended name for the element selected in the
browser. The galaxy name is not shown in the Value Field. The format for the
remainder of the string is dependent on the element type.
For I/A Series Device Integration Object:
For block parameters, the format is:
DI.ScanGroup.Compound.Block.Parameter#Extensions
For compound parameters, the format is:
DI.ScanGroup.Compound.Parameter#Extensions
For I/A Series OPC Device Integration Object
For block parameters, the format is:
DI.ScanGroup.IASeries.Compound.Block.Parameter#Extensions
For compound parameters, the format is:
DI.ScanGroup.IASeries.Compound.Parameter#Extensions
Extensions selected in the Extensions pane are displayed in this field in their
truncated format.
The scan group and extensions are optional for both DI Objects.
The IASeries, which is device node in the IADAS, is required for I/A Series
OPC Device Integration Object.
The parameter names with IASeries device node could be used for I/A Series
DI Object. Although that is not recommended, but it will not affect the DI
Object performance.
15
Figure 1-13.
On the galaxy server machine, choose Start > Programs > Invensys >
InFusion IASeries Browser > Configuration Generator.
2.
Use the drop-down list in the I/A Series Browser Configuration Generator
dialog box (Figure 1-14) to select the galaxy for which the configuration
files are to be generated. If this is the first time the utility has been invoked
for this galaxy, the Cache File Directory and Cache Files fields are empty,
the Open Location button is inactive and a message in the bottom left of
the dialog box advises Cache has not been previously generated for the
selected galaxy in this AW!
16
If cache files were generated earlier, the dialog box displays the location
and file names, and a message in the lower left corner of the dialog box
indicates the last time the files were generated. You do not need to refresh
the files if there have been no I/A Series configuration changes in the
galaxy (other than deployment of the objects) since the files were
generated.
Figure 1-14.
3.
Figure 1-15.
4.
5.
On each workstation, the cache files get copied automatically when the
Refresh button is pressed from the browser toolbar, and the following
message is displayed. Close the browser and reopen to access the
refreshed galaxy.
Figure 1-16.
17
6.
If it is the first time the browser is invoked on the workstation after serverside cache generation, you do not need to press the browser Refresh
button; the browser automatically copies the local cache from the server.
7.
Open the I/A Series Galaxy Browser and check the Refresh Date
information in the lower left corner of the I/A Configuration pane to verify
that the browser is using the correct files.
18
19
C H A P T E R
I/A Series Device Integration Object provides high performance, uses less
memory and has less CPU load.
Each Platform can have one I/A Series Device Integration Object and one I/A
Series OPC Device Integration Object.
Each AppEngine can have one I/A Series Device Integration Object and one
I/A Series OPC Device Integration Object.
Note The combined number of OM List Count Max configured in all
Platform's DI Objects shall not exceed maximum number of OM lists reserved
for the Access Manager on the Platform (by default 200). For example if
Platform has two DI Objects, then you can configure OM List Count Max of
the first DI Object to be 150, the second DI Object to be 50.
Contents
Installation
I/A Series Device Integration Object Data Flow
I/A Series OPC Device Integration Object Data Flow
Extensions
DI Object Logs
20
Installation
The I/A Series Device Integration Object is installed and deployed on all FCS
workstations as part of the FCS installation. The object is instantiated as an
ArchestrA application object and assigned to an application engine. The
Device Integration Object is not assigned to an area.
The installation program names the object and the host application engine by
appending _IADI and _AppE, respectively, to the workstation name
(letterbug). The Deployment view in Figure 2-1 shows the device integration
object and application engine on the workstation AWXP05.
Note This section does NOT apply to the I/A Series OPC Device Integration
Object.
Application Engine
I/A Series Device
Integration Object
Figure 2-1.
Figure 2-2.
21
The I/A Series OM List Manager is a shared library that provides clients with
read/write access to I/A Series data via the I/A Series Object Manager (OM),
including process variables, I/A Series application objects, and other shared
variables and aliases. The I/A Series OM List Manager provides I/A Series
data directly to the I/A Series History Provider (Chapter 3, I/A Series History
Provider). All other applications, such as the FCS InTouch Application,
access the I/A Series OM List Manager through the I/A Series Device
Integration Object. The DI Object configures the I/A Series OM List Manager.
There is a one-to-one relationship between an instance of the I/A Series Device
Integration Object and the I/A Series OM List Manager.
Note Do not end the aaengine.exe process from the Windows Task Manager.
Terminating the Engine in this way will orphan any open Object Manager lists
in the I/A Series Device Integration Object. Instead, to stop the DI Object,
undeploy the DI Object from the FCS Configuration Tools. The I/A Series
Device Integration Object can also be stopped from the SMC by stopping the
AppE application engine that hosts the I/A Series Device Integration Object.
The I/A Series Device Integration Object communicates with the I/A Series
Security Provider to retrieve I/A Series parameter's Security Classification and
Security Group.
22
Figure 2-3.
Expand the Platform object in the Deployment view to display I/A Series
Device Integration Object AWKE23_IADI as shown in Figure 2-3.
2.
Double click the I/A Series Device Integration Object to open the DI
Object Editor (Figure 2-4).
The relevant configurable options are located on the General (Figure 2-4) and
OM List Manager (Figure 2-5) tab pages. Settings on the other tab pages are
not applied to the I/A Series Device Integration Object, but can be configured
for client-side purposes.
23
General Tab
The I/A Series Device Integration Object Editors General tab will only
contain parameters applicable to the I/A Series Device Integration Object
configuration.
Figure 2-4.
Table 2-1 lists the configurational attributes of the General Tab of an I/A Series
Device Integration Object Editor.
Table 2-1.
Attribute
Description
24
Figure 2-5.
25
Table 2-2 lists the configuration options for the OM List Manager tab.
Table 2-2.
Attributes
Description
OM Simulation Mode
OM List Count
Maximum
26
Table 2-2.
Attributes
Description
OM Deadband
27
Group tab (Table 2-3) to add optional scan groups to the object to organize tags
on the client side.
Table 2-3.
Field
Description
Scan Group
Update Interval
Attribute
Item Reference
28
Figure 2-6.
Deploying DI Object
Element
Description
Galaxy
DI Object
Table 2-4.
29
Element
Description
Scan Group
Item
InfoDiItemsCount
This indicates the number of tags added by all clients including tags with $tag$
prefix tag items.
Range: from 0 to number of tags
InfoDiGoodItemsCount
This indicates the number of tags added by all clients with good quality.
Range: from 0 to number of tags
InfoDiBadItemsCount
This indicates the number of tags added by all clients that have bad quality.
Range: from 0 to number of tags
30
InfoDiWaitingItemsCount
This indicates the number of tags added by all clients that are waiting for initial
respond.
Range: from 0 to number of tags
InfoDiNotFoundItemsCount
This indicates the number of tags added by all clients that were not found (no
response from OM).
Range: from 0 to number of tags
InfoDiUncertainItemsCount
This indicates the number of tags that have the Uncertain quality.
Range: from 0 to number of tags
InfoDiTagItemsCount
This indicates the number of tags with $tag$ prefix added by all clients.
Range: from 0 to number of tags
InfoOmListCountAvailable
This is the number of OM Lists that are available for use by the DI Object and
subsequently the client. This number is OmListCountMaximum minus the
number of reserved lists (OmListCountReserved) and the current number of
OM Lists opened by the DI Object.
Range: 0 to OmListCountMaximum
InfoOmListsUsed
This indicates the number of used OM lists by all clients.
Range: from 0 to maximum lists limit.
InfoOmListsFree
This indicates the number of used OM lists available for use (not containing
any tags).
Range: from 0 to maximum lists limit.
InfoOmPollItemsCount
This indicates the number of tags added by all clients that OM List Manager is
currently polling for.
Range: from 0 to number of tags
31
InfoOmRetryItemsCount
This indicates the number of tags added by all clients that OM List Manager is
currently retrying.
Range: from 0 to number of tags
InfoOmScanItemsCount
This indicates the number of tags added by all clients that OM List Manager
maintains in the OM lists.
Range: from 0 to number of tags
InfoOmPollOverrunItemsCount
This indicates the number of tags that were polled with slower rate that is
configured.
Range: from 0 to number of tags
InfoOmListCountClientLimit
This is the total number of OM Lists that may be used by the client, which is
OmListCountReserved less than OmListCountMaximum, to allow for list
packing. This value is static since it is determined through configuration.
Range: N/A
or
Galaxy:IADI.$tag$.COMP.BLOCK.PARAM#Extensions
32
DI Object Logs
This section describes the procedure for using the Log Flag Editor to capture
I/A Series Device Integration Object log messages. The SMC provides the
ability to capture I/A Series Device Integration Object log messages. Logging
may be configured by using the Log Flag Editor, as shown in Figure 2-7.
Under normal operating conditions, only the following Log Flags need be
enabled: Error, Warning, and Info. When troubleshooting a general problem, it
is often useful to enable Trace. Verbose can be used in combination with any
Log Flag. This Log Flag will allow the I/A Series Device Integration Object to
log more detailed information; however, it may produce a very large number of
log messages.
Figure 2-7.
Log Flags
There can be different types of log flags in OM List Manager. They are
explained in the below sections.
33
Configure
The Configure log flag is used to log OM List Manager configuration changes.
With the verbose flag, adding and removing tags is logged.
Receive
The Receive log flag is used to log actions resulting in data being read or
received from I/A Series parameters or shared variables. With the Verbose flag,
the results of conversions to other data types, such as .NET or ArchestrA, from
I/A Series data types are logged. This includes value, quality and timestamp
conversions.
Send
The Send log flag is used to log actions resulting in data being sent or written
to I/A Series parameters or shared variables. With the Verbose flag, the results
of conversions from other data types, such as .NET or ArchestrA, to I/A Series
data types are logged. This includes value, quality and timestamp conversions.
Update
The Update log flag is used to log parameter updates to timestamp, value
and/or status as they are received from the OM via the OM List Managers scan
or poll mechanism.
Note Above mentioned log flags will allow the OM List Manager to log more
detailed information; however it may produce a very large number of log
messages. These are basically for troubleshooting the problems.
Note The messages generated by the OM List Manager will be published
under IASeriesIntegrator Runtime component.
All error, warning, and informational messages generated within the I/A Series
Device Integration Object will be logged.
Security
The Security log flag is used to log information related to retrieving
parameter's classification and Security Group information from the I/A Series
Security Provider.
34
Figure 2-8.
The IADAS is a DA server that provides OPC clients with read/write access to
I/A Series data via the I/A Series Object Manager (OM), including process
variables, I/A Series application objects, and other shared variables and aliases.
The I/A Series OPC Device Integration Object configures, starts, and stops the
IADAS. There is a one-to-one relationship between an instance of the I/A
Series OPC Device Integration Object and the IADAS. There could only be
one deployed I/A Series OPC DI Object per workstation.
35
Note Do not end the IADAS.exe process from the Windows Task Manager or
make Foxboro.IASeries.DAServer.1 unavailable from the SMC DAServer
Manager. Terminating the IADAS in this way will orphan any open Object
Manager lists. Instead, to stop the IADAS service, undeploy the I/A Series
OPC DI Object from the FCS Configuration Tools. The IADAS service can
also be stopped from the SMC by stopping the "AppE" application engine that
hosts the I/A Series OPC DI Object.
The I/A Series OPC DI Object supports the following operations in the I/O
points of the IADAS:
The I/A Series OPC Device Integration Object communicates with the I/A
Series Security Provider, which supplies tag Security Classification and
Security Group information to ArchestrA security. The I/A Series Security
Provider is described in Chapter 6, I/A Series Security Provider.
In the ArchestrA IDE screen, click Galaxy > Import > Objects. Specify
the location of the file D:\Program
Files\ArchestrA\Framework\Bin\Invensys\InFusionIntegrator. A
progress dialog box Figure 2-9 appears showing the import process of the
objects from the InFusionIntegrator.aaPKG file:
36
Figure 2-9.
2.
Figure 2-10.
37
Expand the platform object in the Deployment view to display the object
(AWXP05_IADI_LEGACY in Figure 2-10).
2.
The relevant configurable options are located on the General (Figure 2-11) and
DAServer (Figure 2-12) tab pages. Settings on the other tab pages are not
applied to the IADAS, but may be configured for client-side purposes.
General Tab
Figure 2-11.
Table 2-5 lists the configurable options for the General tab.
38
Table 2-5.
Field
Description
Server node
Server name
Run server out-of-proc This checkbox must be checked so that the IADAS operates outof-process. An in-process OPC DA Server runs as a .dll within
the engine process. An out-of-process OPC DA Server runs as a
stand-alone executable. Currently, only one IADAS may be
active on a workstation at any one time, so the out-of-process
option must be used to enforce this.
Use scan group name as Unchecked by default. If checked, the name of the scan group
access path
must be IASeries since this group is used for the OPC access
path, or topic.
Restart attempts
The maximum number of times that the I/A Series OPC Device
Integration Object should attempt to restart a failed IADAS
within the time specified in Restart period.
Restart period
Priority
Connection heartbeat
period
Detect connection
alarm
Priority
Force all Tag Names to This option should be checked to maintain compatibility
Upper Case
between InTouch tag names, which are not case-sensitive, and
I/A Series object names, which are case-sensitive. If InTouch
software is not being used, this box may be unchecked. This box
must be unchecked to access I/A Series application objects
through the I/A Series OPC Device Integration Object when the
application objects have case-sensitive names.
39
DAServer Tab
The IADAS is configured on the DAServer tab. The default settings shown in
Figure 2-12 are sufficient for most systems. The IADAS attributes are
described in Table 2-6.
Figure 2-12.
40
Table 2-6.
Attribute
Description
OM Simulation Mode
OM List Count
Reserved
Table 2-6.
41
Attribute
Description
OM Deadband
Field
Description
Scan Group
Update Interval
42
Table 2-7.
Field
Description
Attribute
Item Reference
Figure 2-13.
43
Click
to make the next available row editable, and enter a unique
name in the Attribute field.
2.
Click
in the Item Reference field to browse for and select the point in
the I/A Series system.
Edit the Item Reference field to add extensions (as described in
Extensions on page 58), if necessary.
4.
Click
b.
Use the dialog box to specify the file name and destination folder, and
click Save.
Click
b.
Use the dialog box to specify the name and location of the source file,
and click Open.
Field
Description
Block Read
Transaction
Access Path
44
Table 2-8.
Field
Description
Attribute
Item Reference
Field
Description
Block Write
Transaction Timeout
Access Path
Attribute
Item Reference
45
Rule File
The IADAS rule file (IADAS.aarul) specifies that only one instance of the
IADAS is allowed on any particular workstation, and defines the default
attributes and values for that Server instance. The rule file is an XML file, but
under normal circumstances and for most configurations, it should not be
edited. Incorrect modification to this file will cause the server to malfunction.
Configuration File
The IADAS stores its configurable attributes in a configuration file
(IADAS.aacfg). This file contains system variables and DeviceNnode
configuration information. This file is read when the IADAS service is first
started manually or when the associated I/A Series OPC Device Integration
Object is deployed.
The configuration file is automatically updated when the I/A Series OPC
Device Integration object is deployed or undeployed through the ArchestrA
IDE. When the I/A Series OPC Device Integration object is deployed, a
DeviceNode with the appropriate attributes is added to this file, and when the
I/A Series Device Integration object is undeployed, the DeviceNode is
removed.
This DeviceNode contains the configuration of the I/A Series OPC Device
Integration object. The name of the DeviceNode will be the same as the name
of the instance of the I/A Series OPC Device Integration object created in the
IDE. The values for the DeviceNodes attributes can be customized in the
I/A Series OPC Device Integration objects WinForm. Therefore, when
deploying and starting the I/A Series OPC Device Integration object using the
ArchestrA IDE, you should not modify this file.
Figure 2-14 shows the default contents of the IADAS.cfg configuration file.
The file looks like this before the I/A Series OPC Device Integration object is
deployed.
46
<DASConfiguration>
<System NAME="SYSTEM" TYPE="SYSTEM">
<_ImageId>0</_ImageId>
<CaseSensitive>1</CaseSensitive>
<DefaultDelimiter>.</DefaultDelimiter>
<DefaultPokeMode>0</DefaultPokeMode>
<EnableSystemItems>1</EnableSystemItems>
<LinkTopicCache>0</LinkTopicCache>
<LockConfigurationFile>0</LockConfigurationFile>
<ProtocolTimerTick>50</ProtocolTimerTick>
<SimulationMode>0</SimulationMode>
<SlowPollInterval>10000</SlowPollInterval>
<SubscriptionTransactionRatio>2</SubscriptionTransactionRatio>
<TransactionsBacklog>20</TransactionsBacklog>
<TransactionTimeout>2000</TransactionTimeout>
<UniqueDeviceGroup>1</UniqueDeviceGroup>
<UpdateInterval>1000</UpdateInterval>
<InitialStatus>8</InitialStatus>
</System>
</DASConfiguration>
Figure 2-14.
Configuration File
Figure 2-15 shows an example configuration file that could be used to support
third-party OPC clients. The configuration file is an XML file and it can be
modified using a text editor. However, this is only useful in the unusual case
where the I/A Series OPC Device Integration object cannot be used to
configure the IADAS and the configuration file must be customized to support
third-party OPC client access. The values for the attributes under the
DeviceNode shown in the example may be customized as required, subject to
the ranges specified. Additional device nodes can be added as needed. The
default configuration file does not contain the OMProxy1 device node (as this
is only an example).
47
<DASConfiguration>
<System NAME="SYSTEM" TYPE="SYSTEM">
<_ImageId>0</_ImageId>
<CaseSensitive>1</CaseSensitive>
<DefaultDelimiter>.</DefaultDelimiter>
<DefaultPokeMode>0</DefaultPokeMode>
<EnableSystemItems>1</EnableSystemItems>
<LinkTopicCache>0</LinkTopicCache>
<LockConfigurationFile>0</LockConfigurationFile>
<ProtocolTimerTick>50</ProtocolTimerTick>
<SimulationMode>0</SimulationMode>
<SlowPollInterval>10000</SlowPollInterval>
<SubscriptionTransactionRatio>2</SubscriptionTransactionRatio>
<TransactionsBacklog>20</TransactionsBacklog>
<TransactionTimeout>2000</TransactionTimeout>
<UniqueDeviceGroup>1</UniqueDeviceGroup>
<UpdateInterval>1000</UpdateInterval>
<InitialStatus>8</InitialStatus>
</System>
<DeviceNode NAME="OMProxy1" TYPE="MESH_ADAPTER" DELIMITER=".">
<OmListCountMaximum>200</OmListCountMaximum>
<OmListScanRateDefault>500</OmListScanRateDefault>
<OmListSizeMaximum>255</OmListSizeMaximum>
<OmObjectDeadbandDefault>0.0000001</OmObjectDeadbandDefault>
<SimulationMode>0</SimulationMode>
<UpdateInterval>100</UpdateInterval>
</DeviceNode>
</DASConfiguration>
Figure 2-15.
Configurable Attributes
The IADAS has the following configurable attributes. Refer to Figure 2-14 for
examples of attribute definitions in the configuration file.
Case Sensitivity
Case Sensitivity is not configurable. This option is always true because
I/A Series software is case-sensitive.
Tag: <CaseSensitive>1</CaseSensitive>
Range: 1
Default: 1
Scope: All Topics
Delimiter
The Delimiter option sets the default value for the delimiter to be used between
hierarchies in the Item ID, if not specified at each hierarchy.
Tag: <DefaultDelimiter>.</DefaultDelimiter>
Range: String
Default: .
Scope: All Topics
48
Initial Status
The Initial Status option enables the IADAS to return any OPC Quality after an
item is activated or none at all. In the later case, the IADAS relies on the DAS
Engine to provide the appropriate quality (see below). This option may be set
to any desired OPC quality, using base 10 decimal notation. Since OPC Quality
is usually documented in hexadecimal, a conversion to decimal is necessary
before being used in the IADAS.AAcfg file. The default value for this option is
BAD_NOTCONNECTED (<InitialStatus>8</InitialStatus>). If InitialStatus is
set to BAD_WAITINGFORINITIALDATA (<InitialStatus>32</InitialStatus>)
the IADAS will not force a status update, instead it will rely on the DAS
Engine to update clients when the item becomes active. If Initial Status is set to
<InitialStatus>288</InitialStatus>, the IADAS will force a status update, so
BAD_WAITINGFORINITIALDATA can be forced in this way. Note that only
the standard OPC quality and status bits are passed to the DAS Engine on
initial updates. The vendor quality bits are not passed to ensure that the clients
interpret them correctly.
Tag: < InitialStatus>10</ InitialStatus>
Range: 0 to 65535
Default: 8
Scope: All Subscription Topics
49
50
Tag: <PollRateDefault>2000</PollRateDefault>
Range: 500 to 86400000
Default: 2000
Units: milliseconds
Scope: Polled Parameters
Poke Mode
This option is disabled and not configurable. The value is always 0, control
mode. All data will be written in the order it is received.
Tag: <DefaultPokeMode>0</DefaultPokeMode>
Range: 0
Default: 0
Scope: All Topics
Simulation Mode
When Simulation Mode is 0, the IADAS accesses data from the I/A Series
system. When Simulation Mode is 1, the IADAS provides simulated data for
all requested tags, rather than actually providing access to the I/A Series
51
system via the OM. Simulation Mode is useful for testing and troubleshooting.
A warning message is logged in the SMC log file whenever the IADAS is
started in Simulation Mode indicating that this option is on.
Tag: <SimulationMode>0</SimulationMode>
Range: 0 or 1
Default: 0
Scope: All Topics
Transactions Backlog
The Transactions Backlog option specifies the number of completed
transactions kept in the diagnostic viewer.
Tag: <TransactionsBacklog>20</TransactionsBacklog>
Range: 0 to 50
Default: 20
Scope: Transaction Topics
52
Transaction Timeout
The Transaction Timeout option specifies the maximum time allowed in
milliseconds for a message participating in a transaction to complete.
Tag: <TransactionTimeout>6000</TransactionTimeout>
Range: 10 to 60000
Default: 6000
Scope: Transaction Topics
Update Interval
The Update Interval is the rate, in milliseconds, for all Message Processing.
This is the rate at which the DAS Engine will scan for changes. The Update
Interval should be set at a very high rate to ensure timely updates, but generally
no faster than 100 ms. Note that the value can be decreased (that is, set to a
faster rate) at run time using the $SYS$UpdateInterval system item. See
$sys$UpdateInterval (VT_UI4/Read, Write) on page 56.
Tag: <UpdateInterval>100</UpdateInterval>
Range: 0 to 100000
Default: 100
Scope: All Topics
53
Element
Description
Galaxy
DI Object
Scan Group
IASeries
Item
Commands
Commands provide a way to dynamically control certain aspects of the IADAS
at run time. Supported commands are listed in the following subsections.
54
OnPollNow
When a value is written to the system item $SYS$PollNow in a subscription
topic (device scan group), the server updates all items in that subscription
topic. This is used to update items when the data is needed before the regular
update occurs, which is governed by the device scan groups update interval.
This command forces a read of the OM list associated with the Device Scan
Group, which will gather only the data that has changed since the OM list was
last read (that is, dqlist). It does not cause an update of all of the data from the
OM list (that is, omread), but only the data that has changed.
Store Settings
When a value is written to the system item $SYS$StoreSettings of a device
scan group, the IADAS stores any changed settings in the configuration file.
Update Interval
When a value is written to the system item $SYS$UpdateInterval of a
subscription topic (device scan group), the update interval is changed to that
value.
System Items
System items provide access to IADAS status and diagnostic information as
well as special functions. This data can be acquired through subscription.
Although system items appear to be ordinary data with respect to the client,
these items are not acquired from the I/A Series system. System item values
are generated through internal calculations, measurements, and tracking by the
DAS Engine.
System Item Tags are case-insensitive in the IADAS. For example,
$SYS$OMLISTCOUNTAVAILABLE and $Sys$OmListCountAvailable will
address the same system item.
55
$sys$OmListCountClientLimit(VT_I4/Read)
This is the total number of OM lists that will be used by the client, which
is OmListCountReserved minus OmListCountMaximum, to allow for list
packing. This value is static because it is determined through
configuration.
Range: N/A, Value: OmListCountMaximum - OmListCountReserved,
Default: N/A
56
The server-specific code signals this state to the DAS Engine after
evaluating protocol access return codes.
$sys$StoreSettings (VT_UI4/Read, Write)
This allows the client to store changed settings in the configuration file for
a specific device scan group. Writing a value of 1 will store the settings
for the device scan group; all other values are ignored. This item will
always return a value of 0 when read.
Range: Always zero
$sys$UpdateInterval (VT_UI4/Read, Write)
This is the update interval for messages (see section Update Interval for
more information).
Range: Update interval in milliseconds
57
Tag Items
Tag Items provide clients with the ability to obtain the I/A Series parameter
name and extension as a string without performing any additional parsing
operations. This data can be acquired through a transaction or subscription
mechanism.
Note Because subscriptions provide data on a change-driven basis and the
string value returned will never change, the usefulness of the subscription
mechanism is minimal.
Although tag items appear to be ordinary data with respect to the client, the
values are not acquired from the I/A Series system. Tag Item values are
generated from the tag name itself. The syntax is as follows (two forms are
supported):
Galaxy:IADI.IASeries.$tag$COMP.BLOCK.PARAM#Extensions
or
Galaxy:IADI.IASeries.$tag$.COMP.BLOCK.PARAM#Extensions
DI Object Logs
This section describes the procedure for using the Log Flag Editor to capture
I/A Series OPC Device Integration Object log messages. The SMC provides
the ability to capture I/A Series OPC Device Integration Object log messages.
Logging may be configured by using the Log Flag Editor, as shown in
Figure 2-16. Under normal operating conditions, only the following Log Flags
need be enabled: Error, Warning, and Info. When troubleshooting a general
problem, it is often useful to enable Trace. Verbose can be used in combination
with any Log Flag. This Log Flag will allow the I/A Series OPC Device
Integration Object to log more detailed information; however, it may produce a
very large number of log messages. Use Security log flag to trace security
information provided by the I/A Series Security Provider. Use Security log flag
to trace security information provided by the I/A Series Security Provider.
58
Figure 2-16.
Extensions
Note This section is common for I/A Series Device Integration Object and
I/A Series OPC Device Integration Object
OM List Manager (in case of I/A Series Device Integration Object) and
IADAS (in case of I/A Series OPC Device Integration Object) use List
Manager. The List Manager is a common component responsible for managing
OM Lists. This section describes the tag's extension rules implemented by the
List Manager.
A parameter or shared variable can have one or more extensions added to the
tag name to specify custom, non-default processing for the tag.
There are four extension categories: access, data, frequency, and packing. Only
one extension from each category can be applied to a tag at any one time.
59
Table 2-11 summarizes the available tag extensions. For each extension, the
table lists the extension name as used in the I/A Series Browser extension
drop-down lists and the form.
Table 2-11.
Extension Summary
Dataa
Access
Frequencyb
Packing
Read-Only
#AR
Bit
#Bbit
Automatic
#FAperiod
Never
#P0
Write
separate
#AW
Deadband
#Ddeadband
OM
Connect
#FCperiod
Always
#P1
Write
confirmed
#AWC
Mask
#Mmask
Manual
#FMperiod
Automat #P2
ic
Write
Secured
#AWS
Status
#Sbit
or
#sMN
Once
#FO
object_type,
data_type
Read-Write
separate
#AX
Type
#TD
Poll
#FPperiod
Read-Write
Confirmed
#AXC
Scan
#FSperiod
Read-Write
Secured
#AXS
a.
b.
Note The concepts of Secured Write and Confirmed Write differ from those
terms as used in relation to ArchestrA security. Refer to Object Manager Calls
(B0193BC) for a description of these terms as used in I/A Series System
Object Manager software.
Table 2-12 provides some examples of using tag extensions. The examples are
not meant to be exhaustive.
Table 2-12.
Extension Examples
Tag Name
Description
CMP1.CALC0.II01#FA2000
CMP1.CALC0.M01#FP10000
60
Table 2-12.
CMP1.CALC0.II01
or
CMP1.CALC0.II01#AX#FC#P2
CMP1.CALC0.II01#AW#FO1,2
or
CMP1.CALC0.II01#FO1,2#AW
C.B.P#B0
C.B.P#B15
C.B.P#B31
CMP1.CALC0.II01#D0.000001
CMP1.CALC0.II01#D123.4567
Example deadband.
61
62
Use the table in Figure 2-17 to determine which extensions are available and
which can be used together.
First, select a parameter from the Galaxy Browser. The parameter selected
limits the initial set of available options based on the values in the Data Type
and the I/A Series Parameter Accessibility rows. Only those options (shown in
the columns) with a check in both the appropriate Data Type and I/A Series
Parameter Accessibility rows are visible in the Browsers drop-down lists.
For example, selecting the PERIOD parameter (a short integer data type that is
non connectable and non settable) initially causes the browser to display the
following extensions. If you follow the Short_Int row in the Data Type
category while following the Non Connectable & Non Settable row in the
I/A Series Parameter Accessibility category, you see that:
The FA, FC, FO, and FP frequency extensions will be shown in the
browser, because these frequency extensions all have checks in both the
Short_Int and Non Connectable & Non Settable rows.
Similarly, the B, M, S1, S2, and TD data extensions will be shown in the
browser, because these data extension columns all have checks in both the
Short_Int and Non Connectable & Non Settable rows. However, the D
data extension will not be shown in the browser because the D data
extension column does not have a check in the Non Connectable & Non
Settable row.
Finally, the P0, P1, and P2 packing extensions will be shown in the
browser for the same reason.
63
Access Extensions
Access extensions specify the access privilege (read-only, write, or read-write)
and write method (separate, confirmed, or secured) for data access.
The write method defaults to separate if no other write method is specified. If
an access extension is not specified, the access privilege is governed by the
data extension, in combination with the OM data type. If no data extension is
specified or the specified data extension does not limit the access privilege, the
access privilege defaults to read-write (#AX).
The access extensions are listed in Table 2-13.
Table 2-13.
Access Extensions
Description
Read Only
#AR
Write Separate
#AW
Values may be written. Writes are done using the OM set API.
Value and status may be read initially using the OM get API, as
I/A Series type information is required for writing. Thereafter,
the value may not be updated (see notes below).
Write Confirmed
#AWC
Write Secured
#AWS
Read-Write
#AX
Read-Write
Confirmed
#AXC
Read-Write Secured
#AXS
Notes
1.
2.
3.
64
4.
The write separate method (#AW) does not require the destination to
respond. In this case, writes are faster and success is assumed if the local
OM returns success. However, in the case of #AW, whether or not the
destination accepted the write may be unknown, as the value may not be
updated. If updates are desired, use the #AX extension (which is the
default).
5.
Tags with the #AW, #AWC, or #AWS extensions will not have their values
updated periodically unless another tag with read options (#AR, #AX,
#AXC, #AXS) and the same path name was added previously to the List
Manager. In this case, the data and status of the new tag will be updated
when the other tag is updated. This is because the List Manager is
designed to reuse compatible existing objects, rather than creating new
objects for each item added.
6.
7.
Write secured extensions (#AWS, #AXS) cannot be used with the #B, #M,
or #T extension, as the OM List API does not support writing bit masks or
type. If these extensions are used, reads may be possible but the writes will
not contain the necessary mask information.
8.
Write secured extensions (#AWS, #AXS) cannot be used with the #FP or
#FO extensions, because these Frequency modes do not use OM lists.
9.
Write secured extensions (#AWS, #AXS) cannot be used with the #FA or
#FC extension if the I/A Series parameters are not connectable, since nonconnectable parameters cannot be written through OM lists.
10. Tags with a write secured extension (#AWS, #AXS) cannot be packed.
These parameters work as if the #P0 extension were specified. If
parameters with write secured extensions have compatible options and are
added at the same time, they are placed on the same OM list (which has
the same effect as list packing).
If an Access extension is specified that is incompatible with a Data extension,
an error is logged in the SMC. In some cases, incompatible extensions will
prevent data access. In other cases, it will only restrict data access. For
example, if a write-only access privilege was specified for a read-only status
bit as in #AW#sSEC, the data would not be written. However, if a read-write
access privilege was specified for a read-only status bit as in #AX#sSEC, data
would be read but not written.
Frequency Extensions
The frequency extension specifies the minimum rate at which data is read from
the OM and the method of data access. When a frequency extension is not
specified, the List Manager uses the rate specified in OM List Scan Rate
65
Table 2-14.
Select the frequency mode from the drop-down list in Frequency and
select an allowed rate in the adjacent Value field.
Frequency Extensions
Browser
Selection
Form
Description
Automatic
#FAperiod
Connectable
#FCperiod
66
Table 2-14.
Browser
Selection
Form
Description
Manual
#FMperiod
PollMode
#FPperiod
ScanMode
#FSperiod
Once Mode
(not listed in
the I/A Series
Browser
Frequency
list)
#FO
om_object_type,
om_data_type
67
Notes
1.
2.
Write secured extensions (#AWS, #AXS) cannot be used with the #FP or
#FO extensions, because these Frequency modes do not use OM lists.
3.
Write secured extensions (#AWS, #AXS) cannot be used with the #FA or
#FC extension if the I/A Series parameters are non connectable, as non
connectable Parameters cannot be written through OM lists.
4.
Table 2-15.
OM Object Types
OM Object Type
VARIABLE
ALIAS
PROCESS
DEVICE
LBUG
OM_SOCKET
Table 2-16.
OM Data Types
OM Data Type
CHARACTER
INTEGER
FLOAT
STRING
OM_BOOL
OM_LNG_INT
CIO_SHORT
OM_S_PKBOL
OM_L_PKBOL
10
68
Data Extensions
Bit
The List Manager provides bit extensions for reading single bits from integer
and OM long integer data types, and for read-write access to single bits in a
packed boolean. The List Manager does not provide the facility to write one or
more bits at a time for Integer types (INTEGER, OM_LNG_INT), as the OM
does not provide this ability and the possibility of non exclusive access makes
this operation unsafe.
Form: #Bn
where n is the bit number, least significant bit (LSB) first. This differs from the
standard I/A Series style representation of the most significant bit (MSB) first.
Range: 0 to 31 (0 extracts the LSB)
Examples:
C.B.P#B0 extracts the LSB of a 32 bit value
C.B.P#B0 extracts the LSB of a 16 bit value
C.B.P#B31 extracts the MSB of a 32 bit value
C.B.P#B15 extracts the MSB of a 16 bit value)
Items with a bit extension default to a deadband of 1.
To specify a bit extension when using the I/A Series Browser:
Select Bit in the Data field and then use the drop-down list in the Value
field to the right to select to bit number (0 is the LSB).
The bit numbers listed depend on the data type of the selected parameter.
Deadband
A deadband extension, which specifies an absolute range beyond which the
value of the parameter must change before it is reported as having changed, is
provided for all data types.
When a deadband extension is not specified, the deadband for the tag is set
according to the OM Deadband specified in the DI Object Editor
(Figure 2-12).
When a deadband extension is provided, the extension value overrides the
default.
Form: #Dn
where n is the deadband in engineering units.
Range: 0 to 100000.0 (7 digits)
Examples:
C.B.P#D0.000001
C.B.P#D0.123456
C.B.P#D123.4567
C.B.P#D123456.7
To specify a deadband extension when using the I/A Series Browser:
69
Select Deadband in the Data field and enter the data in the Value field to
the right.
Notes
1.
2.
3.
4.
5.
Mask
The mask extension provides the ability to read integer and packed boolean
values (INTEGER, OM_LNG_INT, CIO_SHORT, OM_S_PKBOL,
OM_L_PKBOL) while ignoring bits within the value that are not specified
within the mask. If the value provided for the mask is out of range, the mask is
set to 0 and no masking is done. This is equivalent to specifying FFFFFFFF as
a mask. Mask extensions are ignored when writing values.
Form: Mmask
where mask denotes the bit positions to be read.
Range: 1 (reads the LSB only) to 0xFFFFFFFF (reads all bits)
To specify a bit extension when using the I/A Series Browser:
Select Mask in the Data field and then enter the mask in the Value field
(1 to FFFFFFFF).
Status
The status extension allows read and read-write access to selected bits in the
I/A Series status word. Tags with a status extension return a Boolean value
corresponding to the I/A Series value status of the parameter, instead of
returning the parameter value. Likewise, writing a Boolean value to a tag with
a status extension sets the I/A Series value status of the parameter, not the
value of the parameter assuming the status bit has read-write access.
There are two forms for specifying a status extension:
#Sbit where bit is the bit number as listed in Table 2-17.
#sMN where MN is the mnemonic of the status bit as shown Table 2-17.
70
Status Extensions
Form
Access
Propagation Error
#S15 or #sERR
Read-Only
Limited Low
#S14 or #sLLO
Read-Only
Limited High
#S13 or #sLHI
Read-Only
Out of Service
#S11 or #sOOS
Read-Write
Init. Acks
#S10 or #sACK
Secure
#S9 or #sSEC
Read-Only
Bad
#S8 or #sBAD
Read-Write
Downstream Error
#S4 or #sDWN
Read-Only
Select Status in the Data field and then use the drop-down list in the
Value field to the right to select one of the status values listed in
Table 2-17.
The browser inserts the extension in the Value field using the form #Sbit.
Type
The type extension reads the OM data type from the OM object specified by
the tag name.
Form: #TD
The List Manager returns an integer representing the OM data type
(Table 2-16).
To select the Type extension when using the I/A Series Browser:
71
Packing Extensions
The packing extensions (Table 2-18) specify the data organization in an OM
list. The default packing mode is #P2, Automatic packing, which is sufficient
for most clients.
Table 2-18.
Packing Extensions
Browser
Selection Form
Description
None
#P0
Always
#P1
Automatic
#P2
72
73
C H A P T E R
This chapter describes setup, management, and use of the I/A Series History
Provider. This application consists of an ArchestrA application object (history
object) operating on a workstation that collects data from the I/A Series system
and delivers the sample data to the Wonderware Historian for bulk storage and
access by InTouch and ActiveFactory clients and other applications.
Figure 3-1 illustrates the I/A Series History Provider data flow.
Figure 3-1.
74
Contents
I/A Series History Provider Installation
Wonderware Historian Installation
Configuring Historian Collectors
Configuring Historian Connections
Starting and Stopping the Wonderware Historian
Verifying History Storage
History Object Log flags
75
Application Engine
Area
I/A Series History Provider
Application Object
Figure 3-2.
History Object
When deployed and on scan, the I/A Series History Provider performs these
functions:
Interfaces with the OM List Manager to subscribe for and collect sample
data from the I/A Series controllers.
Registers the I/A Series tags with Wonderware Historian Server so that
ArchestrA clients can access the sample data without invoking a
specialized browser.
76
Hardware Requirements
The minimum hardware requirements for the Wonderware Historian are based
on the tag count and the anticipated data throughput. If the Historians tag
count exceeds 70,000 tags or if the anticipated data storage rate exceeds 30,000
values per second, a more powerful server should be used or a proportional
number of I/A Series AW70 servers should be added to the system. As
multiprocessor and multicore I/A Series AW70 servers are not currently
available, selecting a more powerful server requires that it be located on a
separate network, because only I/A Series stations can be connected to the
Mesh network. Consult the IndustrialSQL Server 9.0 Installation Guide for
guidance on selecting a non-I/A Series server.
77
Method 2: Use the IDAS to collect the data from the IADAS or another
DA server. Use this method:
There is usually no need to collect the same parameter using both methods.
Identify all the workstations you want to use for collecting historical data.
Note Each collecting workstation can collect at most 30,000 tags. If more
tags are needed, a proportional number of collecting workstations will be
required. Refer to Foxboro Control Software Deployment Guide
(B0750BA) for additional sizing considerations.
2.
3.
4.
78
Note The I/A Series Device Integration Object doesn't use the IADAS. Hence
user will need to create and deploy I/A Series OPC DI Object to enable this
method.
Refer to Accessing I/A Series Data on page 52 for information on specifying
the I/A Series block parameters, compound parameters, and shared variables in
the item.
Figure 3-3.
79
Table 3-1 lists the configuration options for the OM List Manager tab.
Table 3-1.
Attributes
Description
OM Simulation Mode
80
Table 3-1.
OM List Count
Max
2.
3.
81
Verify that Enable Tag Hierarchy check box is selected if you want
added tags to appear in the browse hierarchy (by
compound/block/parameter under the area IASeriesHistoryTags) in
Wonderware Historian Clients.
Note If Enable Tag Hierarchy option is not selected, you can still select
tags under All Analog Tags, All Discrete Tags, or All String Tags.
4.
Click
to the right of the Historian text box to browse for and select an
a Wonderware Historian Server, if the correct workstation is not already
selected.
5.
Figure 3-4.
82
2.
Click the Engine tab, and verify that Enable storage to historian check
box is selected.
Enable Tag Hierarchy check box is automatically selected.
3.
4.
Click
5.
6.
Click
Redundant History
To implement redundant history collection, if the history object is present on
the backup workstation, it must be removed, and the primary workstation must
be identified in the compounds from which the samples are to be collected.
The following steps provide an overview of setting up redundant collection.
For detailed instructions, refer to Wonderware FactorySuite A2 Deployment
Guide.
1.
2.
Enable redundancy using the Redundancy tab of the Primary App Engine.
3.
Drag the backup out of the Unassigned Host folder to the Backup
Platform, as shown in the following figure.
Figure 3-5.
4.
83
5.
84
Figure 3-6.
Historizing Parameters
The table at the top of the tab lists the currently selected parameters with their
scan rate, dead band, and other collection attributes described in Table 3-2.
Table 3-2.
Attribute
Description
Description
Engineering Units
Table 3-2.
85
Attribute
Description
Scan Rate
Dead Band
86
Figure 3-7.
2.
Right-click Status and choose Start InSQL from the context menu.
All green triangles under Module indicate that the Historian is running.
Right-click Status and choose Stop InSQL from the context menu.
87
Right-click Status and select All Tasks > Shutdown (and disable)
InSQL from the context menu.
Right-click Status and select All Tasks > Enable (allow to run) InSQL
from the context menu.
2.
b.
Look for a line that refers to MDAS for an aaEngine for the number
of registered tags, number of total samples (Values), and samples per
second (Rate).
c.
d.
Select Status in ...Management Console and view the lower pane for
log messages.
Use any of the following tools to verify proper storage of samples in the
database:
3.
ActiveFactory Trend
ActiveFactory Query
ScratchPad Trend
SQL tools to query the SQL database
Use Object Viewer to review tag count attributes to determine the number
of tags various states such as configured, added, connected, and registered:
Field
Description
TagCntTotal
TagCntAddedToLM
TagCntConnectedToIA
88
Description
ExecutionCnt
TotalSampleCnt
SamplesPerSecond
OMScansPerSecond
HistInfoFilter
4.
Run SMC and select the following to view messages from the I/A Series
History Provider and other ArchestrA components:
Log Viewer > Galaxy > Lbug_Plat
where Lbug is the name (letterbug) of the collecting workstation.
Error
Warning
Info
89
allow the I/A Series History Object to log more detailed information; however,
it may produce a very large number of log messages.
Figure 3-8.
The following custom log flags are used to specify where to dump the
requested data.
1.
HistDumpToFile
This log file is used to log the specified log file information dumped into
a file.
The dump files will be created in the <FoxDrive:/>.HistoryObjectDumps
directory. The dump file names will be in the format of
<DumpLogFlagName><Index>.txt.
For example: D:\HistoryObjectDumps\HistDumpConfig1.txt
2.
HistDumpToSMC
This log file is used to log the specified log file information dumped into
SMC.
If both the above flags are not set (unchecked state), then the History
Object generates a warning message in the SMC and will not execute
dump.
90
91
C H A P T E R
The I/A Series Alarm Provider reports I/A Series process alarms and system
alarms to the FCS InTouch Application and the Wonderware Alarm subsystem
(Figure 4-1). This chapter covers setup and management of this application.
Figure 4-1.
92
Contents
Alarm Provider Components
Redeploying Alarm Provider
Alarm Provider Configuration
Application Engine
Alarm Area
Figure 4-2.
2.
3.
Right-click the host application engine again, select Deploy from the drop
menu, and select the Cascade Deploy option in the Deploy dialog box.
4.
93
Verify the deployment success on an InTouch Alarm Panel, where the I/A
Series alarms are displayed.
2.
3.
Configure the Alarm Provider using the Process Alarm Database and
System Alarms tabs as discussed in the next two sections.
4.
Click
5.
Right-click the host application engine again, select Deploy from the drop
menu, and select the Cascade Deploy option in the Deploy dialog box.
2.
3.
4.
Redeploy AppA.
5.
Reboot the workstation. (This step may not be necessary in all cases.)
Configure the process alarms database using the controls in the Process
Alarm Database tab (Figure 4-3 and Table 4-1).
94
Figure 4-3.
Table 4-1.
95
Attribute
Description
Use the drop-down list to select a rule for dropping alarms from the alarm
database whenever the total number of alarm items exceeds Alarm
Database Size:
LowestPriorityOldest (default)
Remove the lowest priority alarms first; within each priority level,
remove the oldest first.
OldestAlarms
Remove the oldest alarms first.
AckedOldestThenUnAckedOldest
Remove the acknowledged alarms first, starting with the oldest; then
remove unacknowledged alarms, taking the oldest first.
AckState-Priority-Time
Remove acknowledged alarms first, starting with the lowest priority
and the oldest within each priority; then remove unacknowledged
alarms, taking the lowest priority first and the oldest within each
priority.
Rtn/Alm-AckState-Priority-Time
Remove alarms where the condition has returned to normal, starting
with acknowledged alarms in accordance with their priority and age.
Alarm Priority
Mapping
Specify the mapping between each of the five I/A Series alarm priorities
and the priority to be displayed in the InTouch Alarm Panel. The range of
alarm priorities in the InTouch panel is 1 to 999. In Figure 4-3, for
example, I/A Series priority 1 alarms are being mapped to priority 12, and
will be displayed as such in the InTouch Alarm Panel.
Note Make sure that the mapping is in increasing order so that the relative
priority remains meaningful.
Alarm Recovery
The I/A Series Alarm Provider can be configured to recover the alarm states
for workstations when there is an upset in the alarm system, such as a
workstation reboot. Use the Process Alarm Recovery tab (Figure 4-4) to enable
or disable the recovery feature.
96
Figure 4-4.
System Alarms
To view system alarms within the Alarm Panel, the System Monitor must be
configured to send alarm messages to the workstation and the Alarm Provider
object on the workstation must have system alarming enabled. System
alarming is enabled by default.
To configure System Monitor to send system alarms to the Alarm Provider:
The system alarms are the I/A Series SysMon (configured as Printer target),
Historian and OAJ messages. By default I/A Series Alarm Provider objects are
enabled to receive system alarms and reported under its area (alarm group)
IASMGT.
97
Figure 4-5.
2.
3.
Follow the format example in the tab to add areas to System Alarm
Areas.
Note For more details, refer to the section Alarming Overview in Foxboro
Control Software Framer and Alarm Management Users Guide (B0750AR).
98
99
C H A P T E R
When compounds and blocks are configured within the FCS Configuration
Tools for history and security and are deployed, the FCS Configuration Tools
notify the galaxy synchronization service (Galaxy Sync Service) to collect the
configuration data and then distribute the data to the history and security
clients on the network. Figure 5-1 depicts the Galaxy Sync Service data flow.
Figure 5-1.
This chapter provides information on the Galaxy Sync Service, and describes
the refresh command and optional configuration of the service.
Contents
Sync Service Components
Sync Service Features
Refreshing the History and Security Database
Custom Configuration
Galaxy Sync Service Utility
100
The Galaxy Sync Service delivers all data configured for history and
security to the appropriate workstations. In the case of security, it is the
entire set of configured tags for the entire system. History data is delivered
to the collecting workstation identified in each tags containing compound,
as described in Configuring Historian Connections on page 84.
The Galaxy Sync Service maintains all configuration data and client states
inside a SQL server database (InFusionDeployedDb). This database and
tables can be examined using SQL Query Analyzer or Enterprise Manager.
The FCS Configuration Tools can instruct the Galaxy Sync Service to
perform a full database reset, as discussed in the next section.
The Galaxy Sync Service determines and distributes default and initial
security data.
101
2.
3.
Select the galaxy node at the top of the Template Toolbox or one of the
Application Views.
4.
Choose Galaxy > Refresh History and Security Database from the main
menu.
The refresh feature works for systems configured with the FCS Configuration
Tools. It does not work for systems configured with other tools such as IACC.
102
Custom Configuration
The Galaxy Sync Service, the SyncAgentProxy (used by the History and
Security Providers) and the SyncAgentCollector (used by the FCS
Configuration Tools) can be configured using configuration files. Use of these
configuration files is optional. Each is explained in the following sections.
In the example above the entry for initcpd compound configures initial
Security Group. The entry for parameter initparam configures the
parameters initial Security Classification.
Note This file is read when the Galaxy Sync Service starts. If the file is
changed while the Galaxy Sync Service is running, the Galaxy Sync Service
must be stopped and restarted, and then the database refreshed (see
Refreshing the History and Security Database on page 101) for the changes
to take effect.
The purpose of the default Security Classification is to reduce the amount of
security data sent to all clients by the Galaxy Sync Service. If a particular
parameter has a Security Classification that is equivalent to the default for that
parameter name, the Galaxy Sync Service does not send the Security
Classification for that particular parameter to the client. When the client is
queried for tag Security Classification information, if it has the tag, it returns
the Security Classification. However, if it does not have a particular tag
(compound.parameter or compound:block.parameter) it returns the default
Security Classification for the parameter portion of that tag.
103
Key
Description
SyncServerPort
SecurityMessageSize
HistoryMessageSize
MutexLockEnable
BatchSize
104
\Program Files\ArchestrA\Framework\Bin\Invensys\Access\
SyncService
This optional file changes the default galaxy server name and the default
TCP/IP port. Under typical circumstances, the default values are desired so this
file is not needed. By default, the ArchestrA file platformMapping.xml
provides the galaxy server name. The default TCP/IP port is 6523.
An example file is located at:
\Program Files\ArchestrA\Framework\Bin\Invensys\Access
To use this file, edit the GalaxyMachineName and/or the Port Value, save the
file and then move it one directory down, to:
\Program Files\ArchestrA\Framework\Bin\Invensys\Access\
SyncService
You must cascade redeploy the local platform and restart the FCS
Configuration Tools for the changes to take effect. The format for the
SyncAgentProxyConfig.xml file is as follows:
<Configuration>
<GalaxyMachineName Name=GalaxyMachine />
<Port Value=6523 />
</Configuration>
Note All I/A Series stations have a six-character workstation name
(letterbug). The example file shown above will not work if used without
changing the GalaxyMachineName.
105
Galaxy Sync Service. If you wish to stop the service, use the Stop button (see
Service below).
Service
The Service tab page allows the user to get the status of the Galaxy Sync
Service (InFusionSyncService) and to start or stop it. The location of the
Galaxy Sync Service (the name of the server where it is installed) must be
provided in the Server name text box.
Figure 5-2.
If the workstation (where the Galaxy Sync Service Utility was run) was
configured correctly, the name of the server (where the Galaxy Sync Service is
installed) will be automatically added to the Server name text box. This name
is read from the SyncAgentProxyConfig.xml file or from the Platform
mapping file.
Click the Connect button to get the current status of the Galaxy Sync Service
running on the server identified in the Server name box. This gets the current
service status and enables or disables the Start and Stop buttons, depending on
the service status. The service status may be either Unknown, Error,
Stopped, or Running.
106
When the utility is first started, the service status will be Unknown and the
Start and Stop buttons are both disabled. When the service status is Stopped
or Running, the Start and Stop buttons are enabled or disabled, respectively.
Click the Start or Stop button to start or stop the Galaxy Sync Service. The
start and stop function works just like the Windows Services control panel,
except it can be done remotely from any FCS client.
!
Figure 5-3.
The period indicates that the Galaxy Sync Service Utility will use the local
host name when trying to connect to the Galaxy Sync Service. Unless the
107
Galaxy Sync Service Utility is run from the Galaxy server, this default is NOT
appropriate.
If you know the name of the machine that hosts the Galaxy, enter that name in
the Server name text box, otherwise, quit the utility, deploy the platform for
this workstation, or fix the configuration and try again. Note that the Galaxy
Sync Service is always installed on the server that hosts the Galaxy so you
should type that name into the Server name text box or use that name in the
SyncAgentProxyConfig.xml file.
Initialization
The Initialization tab page allows the user to reset the deployment
synchronization locks that are managed by the Galaxy Sync Service and to
initialize the SQL Server database tables owned by the Galaxy Sync Service.
The function of the Reset Locks button is explained in this section (see
Initialization on page 111 for information about the Initialize History and
Security database button).
Figure 5-4.
The Reset Locks button allows you to reset the Galaxy database deployment
and synchronization locks. This is necessary only in the unlikely event that an
instance of the FCS Configuration Tools, running on a particular workstation,
locked the database and subsequently had an unrecoverable fault, where the
FCS Configuration Tools cannot be restarted on that particular workstation. In
this case, clicking this button will allow the user to perform deployment and
bulk generation operations on another workstation.
108
Warning Clicking the Reset Locks button will instruct the Galaxy Sync
Service to release and reset all Galaxy database locks. If this is done while
another instance of the FCS Configuration Tools (that has not had an
unrecoverable failure) are accessing the Galaxy database, it will allow any
other instance of the FCS Configuration Tools to concurrently access the
database, which may cause corruption of the Galaxy.
The Initialize History and Security database button is enabled when the
Galaxy Sync Service Utility is run on the Galaxy server; otherwise it is
disabled (see Initialization on page 111).
Security Db
The Security Db tab page allows the user to change the Security configuration
by adding transactions to the security database. The Security Db tab is only
available when the Galaxy Sync Service Utility is run on the Galaxy server.
Figure 5-5.
109
The total number of security database transactions is also shown in this dialog.
This value is updated every five seconds.
To add transactions to the database, enter the full path to the XML file that
contains the configuration transactions in the text box (see History and
Security Configuration Without Using FCS Configuration Tools on page 112
for XML file format). The buttons beside the text box can be used to browse
for and select multiple files (see Table 5-2 below). These files must be
accessible from the station where the Galaxy Sync Service is running.
Table 5-2.
Button
When new files are added to the text box, the Validate button is enabled. Click
this button to validate the XML files against the IaSecurity.xsd schema.
The number of errors (if any) will be shown in a status message. A detailed
description of each error will be added to the SMC Log. If there are no errors,
the Load button is enabled.
Click the Load button to add all validated transactions to the database. After
you click the Load button, all files will be removed from the text box and the
security database transaction number will increase by the number of
transactions added to the database. Since the server must load, parse, and
validate the files, the update may take several seconds to complete.
Note When you refresh history and security, all the security XML files gets
loaded at once in order to process the Reset Done command.
History Db
The History Db tab page allows the user to change the History configuration
by adding transactions to the history database. The History Db tab is available
only when the Galaxy Sync Service Utility is run on the Galaxy server.
The total number of history database transactions per Letterbug is shown in
this dialog box. This value is updated every five seconds.
110
Figure 5-6.
To add transactions to the database, enter the full path of the XML file that
contains the configuration transactions, in the text box (see History and
Security Configuration Without Using FCS Configuration Tools on page 112
for XML file format). The buttons beside the text box can be used to browse
for and select multiple files (see Table 5-3 below). These files must be
accessible from the station where the Galaxy Sync Service is running.
Table 5-3.
Button
When new files are added to the text box, the Validate button is available.
Click this button to validate the XML files against the IaHistory.xsd
schema. The number of errors (if any) will be shown in a status message. A
detailed description of each error will be added to the SMC Log. If there are no
errors, the Load button is available.
Figure 5-7.
111
Click the Load button to add all validated transactions to the database. After
the Load button is clicked, all files will be removed from the text box and the
history database transaction number per letterbug will increase by the number
of transactions added to the database. Since the server must load, parse, and
validate the files, the update could take several seconds to complete.
Initialization
The Initialization tab page allows the user to reset the deployment
synchronization locks that are managed by the Galaxy Sync Service and to
initialize the SQL Server database tables owned by the Galaxy Sync Service.
The function of the Initialize History and Security database button is
explained in this section (see Initialization on page 107 for information
about the Reset Locks button).
112
Figure 5-8.
Clicking the Initialize History and Security database button will initialize
the SQL Server database tables owned by the Galaxy Sync Service.
Initialization removes all History and Security data from the SQL Server
database tables and increments the database reset count. This returns the
database to its original state and prepares it for an entirely new data set. This
button should only be used if the Galaxy Sync Service Utility will be used
subsequently to load History and Security configuration data for I/A Series
compounds and blocks. This button is available when the Galaxy Sync Service
Utility is run on the Galaxy server; otherwise it is not available.
IMPORTANT If the FCS Configuration Tools were used to configure
history and security for I/A Series compounds and blocks, then the Initialize
History and Security database button should NOT be used. In this case, use
the FCS Configuration Tools Galaxy menu item Refresh History and
Security Database instead (see Refreshing the History and Security
Database on page 101.).
113
The format for the XML files is described in the following sections. The XML
files need to be created with a standard XML editor (not provided with the
FCS), with the Notepad application, or with any text editor. If an XML editor is
used, the IAHistory.xsd or IASecurity.xsd schemas can be used to aid in
creating these files. The schemas are located in the directory:
ProgramFiles\ArchestrA\Framework\Bin\Invensys\
Access\SyncService.
History Configuration
History XML files can be used to configure historical data collection on
systems that do not use the FCS Configuration Tools to configure I/A Series
compounds and blocks. Historical data can be collected for both compound
and block parameters.
To configure historical data collection without the FCS Configuration Tools,
create one <Parameter /> node for each compound or block parameter you
want to collect historical data for. These nodes must be child nodes of a
<Compound /> or <Block /> node. The exact format of the History XML
file is specified in the history schema file IAHistory.xsd. This specification
is summarized below.
The History XML file has the format as shown in the following example.
<HistoryData>
<Deployment>
<Compound Name="COMPND_001">
<HistoryTarget Name="AWXP05" />
<Parameter Name="ON" DBAction="Delete" />
</Compound>
<Block Name="ACCUM_1" Compound="COMPND_001">
<HistoryTarget Name="AWXP05" />
<Parameter Name="MRATE" DBAction="Add" Description="" EngUnit=""
ForceStoragePeriod="0" OnMsg="" OffMsg="" ScanRate="1000"
TrendHigh="100" TrendLow="0" ValueDeadBand="0.1" />
<Parameter Name="OUT" DBAction="Add" />
</Block>
</Deployment>
</HistoryData>
114
Figure 5-9.
The Compound and Block nodes are used to identify the compound or block
for which historical data should be collected. These nodes must be nested
within a <Deployment> node, which must be nested within a
<HistoryData> node as shown in Figure 5-9.
When a Compound node is used, the Compound attribute Name is required.
Each Compound must have one HistoryTarget node. The HistoryTarget
attribute Name is required.
When a Block node is used, the Block attributes Name and Compound are
required. Each Block must have one HistoryTarget node. The
HistoryTarget attribute Name is required.
The HistoryTarget attribute Name is the letterbug of the workstation that
will be historizing the tags in the Compound or Block. For a redundant
application engine pair, this must be the letterbug of the primary workstation in
the redundant pair.
For both Compound and Block, the Parameter node attributes Name and
DBAction are required. All other Parameter attributes are optional. The
default and valid range of each Parameter is shown in Table 5-4
Table 5-4.
Attribute
Default Value
Valid Range
Compound Attributes
Name
N/A (required)
1 to 12 characters
Name
N/A (required)
1 to 12 characters
Compound
N/A (required)
1 to 12 characters
Block Attributes
HistoryTarget Attributes
Name
N/A (required)
6 characters
DBAction
N/A (optional)
Parameter Attributes
Name
N/A (required)
1 to 6 characters
DBAction
N/A (required)
Description
EngUnit
ForceStoragePeriod
OnMsg
TRUE
0 to 15 characters
OffMsg
FALSE
0 to 15 characters
ScanRate
1000
Table 5-4.
115
Attribute
Default Value
Valid Range
TrendHigh
100.0
TrendLow
0.0
ValueDeadBand
0.1
Default Value
You can modify the default values of schema files if required. The defaults are
defined in the following section of the IAHistory.xsd file. To change a
default value, be sure to change only the text within the quotes () after
default=. Be careful not to modify any other portion of this file, since other
changes can cause the system to malfunction. While changes to the defaults are
validated, there is no meta-schema to validate changes to other portions of the
schema.
<xs:group name="targetContent">
<xs:sequence>
<xs:element name="Parameter" minOccurs="1" maxOccurs="unbounded" >
<xs:complexType>
<xs:attribute name="Description" type="Description" default="default=""
use="optional" />
<xs:attribute name="EngUnit" type="EngUnits" default=""
use="optional" />
<xs:attribute name="ForceStoragePeriod" type="ForcedStoragePeriod"
default="0" use="optional" />
<xs:attribute name="OnMsg" type="Message" default="TRUE"
use="optional" />
<xs:attribute name="OffMsg" type="Message" default="FALSE"
use="optional" />
<xs:attribute name="ScanRate" type="ScanRate" default="1000"
use="optional" />
<xs:attribute name="TrendHigh" type="xs:float" default="100.0"
use="optional" />
<xs:attribute name="TrendLow" type="xs:float" default="0.0"
use="optional" />
<xs:attribute name="ValueDeadBand" type="DeadBand" default="0.1"
use="optional" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:group>
Figure 5-10.
116
<SecurityData>
<Deployment>
<Compound Name=" COMPND_001">
<SecurityGroup Name="Default" DBAction="Add" />
<Parameter Name="UNACK" DBAction="Add" Security="Secured Write" />
<Parameter Name="CINHIB" DBAction="Add" Security="Tune" />
<Parameter Name="GR1DV1" DBAction="Add" Security="Read Only" />
</Compound>
<Block Name="CALCAH_1" Compound=" COMPND_001">
<Parameter Name="BO01" DBAction="Add" Security="Verified Write" />
<Parameter Name="BO02" DBAction="Add" Security="Verified Write" />
<Parameter Name="IO01" DBAction="Add" Security="Verified Write" />
</Block>
</Deployment>
</SecurityData>
Figure 5-11.
The Compound and Block nodes are used to identify the compound or block
for which a non-default Security Classification is to be used. These nodes must
be nested within a <Deployment> node, which must be nested within a
<SecurityData> node as shown in Figure 5-11.
When a Compound node is used, the Compound attribute Name is required.
Each Compound must have one SecurityGroup node. The SecurityGroup
attribute Name is required.
When a Block node is used, the Block attributes Name and Compound are
required.
117
For both Compound and Block, the Parameter node attributes Name and
DBAction are required. The default and valid range for each parameter is
shown in Table 5-5.
Table 5-5.
Security Attributes
Security Attribute
Default Value
Valid Range
Compound Attributes
Name
N/A (required)
1 to 12 characters
Name
N/A (required)
1 to 12 characters
Compound
N/A (required)
1 to 12 characters
Block Attributes
SecurityGroup Attributes
Name
N/A (required)
DBAction
N/A (optional)
Parameter Attributes
Name
N/A (required)
1 to 6 characters
DBAction
N/A (required)
Security
N/A (required)
Configure, FreeAccess,
Operate, ReadOnly,
SecuredWrite, Tune,
VerifiedWrite
118
119
C H A P T E R
Figure 6-1.
Contents
Introduction
Security Information Distribution
Using Write Access Security
Security Database
Enabling Security
120
Introduction
Each I/A Series block parameter and compound parameter has one of the
following ArchestrA Security Classifications:
Table 6-1.
Security
Classifications Description
Free Access
Operate
Operators can write to these attributes during normal dayto-day operations. This the default setting.
Tune
Configure
Secured Write
Verified Write
Read Only
Each parameter is also associated with a Security Group, as defined by the user
in the IDE or by using DirectAccess.
Note I/A Series shared variables are not configured in the FCS Configuration
Tools. Tags of this type always have the Free Access Security Classification
and are members of the Default Security Group.
The I/A Series Security Provider is a Windows server running on every I/A
Series station.
Note While on scan, the Configure Security Classification functions like the
Read Only Security Classification. This means that any tag with the Configure
classification is always read-only when accessed through the I/A Series Device
Integration Object.
121
Security Database
The local security database is a Microsoft SQL Express database containing
custom and default Security Classifications for parameters and compounds.
Additionally, the user can configure system-wide initial security in the default
security parameter XML file and those values for default parameter and default
Group are also stored in the local database. See the Chapter 5, Galaxy Sync
Service for more information on the SecurityParameterDefaults.xml file.
This security database is built during the installation of FCS.
Enabling Security
To use the I/A Series Security Provider, you must first enable Galaxy
Authentication mode in the FCS Configuration Tools.
To enable security:
1.
Select the galaxy node at the top of the Template Toolbox and select
Galaxy > Configure > Security from the main menu to open the
Configure Security dialog box (Figure 6-2).
122
Figure 6-2.
2.
3.
4.
5.
Create one or more users on the Users tab, assigning each user to one or
more of the roles developed in the Roles tab.
Note The passwords for users can be blank.
Select File > Login, and enter the desired user name in the name field, and
click OK.
If no user is logged in, the writing capabilities are limited to those allowed for
the default user. Once galaxy security is enabled, it is necessary to log into the
FCS Configuration Tools, FCS InTouch Application, the I/A Series Browser
Configuration Generator, LiveData, and the Platform Manager portion of the
SMC tool.
A P P E N D I X
ArchestrA uses OPC quality value. The following provides a quick reference
for OPC quality values (consult the OPC documentation for more
information). The low 8 bits of the OPC Quality Word are defined in the form
of three bit fields; Quality, Sub-status and Limit status. The high 8 bits of the
Quality Word are reserved for Vendor Quality. The Quality Word is arranged as
shown in Table A-1, where Q = Quality, S = Status, L = Limits and V =
Vendor.
Table A-1.
OPC Quality W
16
15
14
13
12
11
10
Table A-2.
OPC Quality
Hex
Mask
Bit Values
OPC_LIMIT_OK
0x00
0x03
VVVVVVVV QQSSSS00
OPC_LIMIT_LOW
0x01
0x03
VVVVVVVV QQSSSS01
OPC_LIMIT_HIGH
0x02
0x03
VVVVVVVV QQSSSS10
OPC_LIMIT_CONST
0x03
0x03
VVVVVVVV QQSSSS11
OPC_QUALITY_BAD
0x00
0xC0
VVVVVVVV 00SSSSLL
OPC_QUALITY_CONFIG_ERROR
0x04
0xFC
VVVVVVVV 000001LL
OPC_QUALITY_NOT_CONNECTED
0x08
0xFC
VVVVVVVV 000010LL
OPC_QUALITY_DEVICE_FAILURE
0x0C
0xFC
VVVVVVVV 000011LL
OPC_QUALITY_SENSOR_FAILURE
0x10
0xFC
VVVVVVVV 000100LL
OPC_QUALITY_LAST_KNOWN
0x14
0xFC
VVVVVVVV 000101LL
OPC_QUALITY_COMM_FAILURE
0x18
0xFC
VVVVVVVV 000110LL
OPC_QUALITY_OUT_OF_SERVICE
0x1C
0xFC
VVVVVVVV 000111LL
OPC_QUALITY_WAITING_FOR_INITIAL_ 0x20
DATA
0xFC
VVVVVVVV 001000LL
OPC_QUALITY_UNCERTAIN
0x40
0xC0
VVVVVVVV 01SSSSLL
OPC_QUALITY_LAST_USABLE
0x44
0xFC
VVVVVVVV 010001LL
OPC_QUALITY_SENSOR_CAL
0x50
0xFC
VVVVVVVV 010100LL
124
Table A-2.
OPC Quality
Hex
Mask
Bit Values
OPC_QUALITY_EGU_EXCEEDED
0x54
0xFC
VVVVVVVV 010101LL
OPC_QUALITY_SUB_NORMAL
0x58
0xFC
VVVVVVVV 010110LL
OPC_QUALITY_GOOD
0xC0
0xC0
VVVVVVVV 11SSSSLL
OPC_QUALITY_LOCAL_OVERRIDE
0xD8
0xFC
VVVVVVVV 110110LL
The Vendor Quality is as shown in Table A-3. Invensys Foxboro defines these
values, since Invensys Foxboro is the Vendor of this product.
Table A-3.
Vendor Quality
Hex
Mask
Bit Values
VENDOR_STATUS_NONE
VENDOR_STATUS_ON_SCAN
VENDOR_STATUS_SECURE
Table A-4 shows the mapping between I/A Value Status and OM Connection
Status to OPC and Vendor Quality. Note that although this table appears to
show a direct correlation between I/A Status and Vendor quality, the mapping
is not direct, because OPC Quality (with the exception of Limits) is mutually
exclusive and I/A Status is not. For example, when I/A Value Status is both
Bad and Out Of Service, OPC_QUALITY_OUT_OF_SERVICE will be set.
OPC_LIMIT_OK
OPC_LIMIT_LOW
OPC_LIMIT_HIGH
OPC_LIMIT_CONST
OPC_QUALITY_BAD
X[1]
X[1]
X[3]
X[1] X[1]
Single Connect
Deleted
Disconnected
On Scan
Propagation Error
Downstream Error
Limited Low
Limited High
OM Connection Status
Out Of Service
Init ACK
Secure
Bad
No Response
Table A-4.
OPC_QUALITY_CONFI
G_ERROR
Single Connect
Deleted
Disconnected
On Scan
Propagation Error
Downstream Error
Limited Low
Limited High
OM Connection Status
Out Of Service
Init ACK
Secure
Bad
No Response
Table A-4.
125
OPC_QUALITY_NOT_C
ONNECTED
X[2]
OPC_QUALITY_DEVIC X
E_FAILURE
OPC_QUALITY_SENSO
R_FAILURE
OPC_QUALITY_LAST_
KNOWN
X[4]
OPC_QUALITY_COMM
_FAILURE
X[4]
OPC_QUALITY_OUT_O
F_SERVICE
OPC_QUALITY_WAITI
NG_FOR_INITIAL_DAT
A
X[2]
OPC_QUALITY_UNCER
TAIN
OPC_QUALITY_LAST_
USABLE
OPC_QUALITY_SENSO
R_CAL
OPC_QUALITY_EGU_E
XCEEDED
OPC_QUALITY_SUB_N
ORMAL
OPC_QUALITY_GOOD
OPC_QUALITY_LOCAL
_OVERRIDE
VENDOR_STATUS_NO
NE
VENDOR_STATUS_ON_
SCAN
VENDOR_STATUS_SEC
URE
X
X
126
VENDOR_STATUS_DO
WN_STREAM_ERROR
Single Connect
Deleted
Disconnected
On Scan
Propagation Error
Downstream Error
Limited Low
Limited High
OM Connection Status
Out Of Service
Init ACK
Bad
Secure
No Response
Table A-4.
VENDOR_STATUS_INIT
_ACK
Notes:
1.
2.
When an Item is first requested from the ArchestrA client, its quality will
be set to OPC_QUALITY_WAITING_FOR_INITIAL_DATA. Once the
client accepts the request, the quality will be set to
OPC_QUALITY_NOT_CONNECTED. Once the client has received data
from I/A, the quality will be set according to the mapping. If the Item was
placed on an OM List and the Item is not found, the quality will remain
OPC_QUALITY_NOT_CONNECTED. This may happen if the station
was disconnected when the client made the request, since the OM does not
automatically reconnect OM Lists for disconnected stations (this is an OM
limitation).
3.
4.
OPC Quality and Vendor Quality are shown in the SMC as a single hex value.
Some common values are shown in Table A-5. Note that this table does not
provide all possible combinations of OPC Quality and Vendor Quality, only
some common examples.
Table A-5.
127
Hex
0x0008
OPC_QUALITY_NOT_CONNECTED
0x0014
OPC_QUALITY_LAST_KNOWN
0x0018
OPC_QUALITY_COMM_FAILURE
0x001C
OPC_QUALITY_OUT_OF_SERVICE
0x00C0
OPC_QUALITY_GOOD
0x01C0
VENDOR_STATUS_ON_SCAN,
OPC_QUALITY_GOOD
0x0214
VENDOR_STATUS_SECURE,
OPC_QUALITY_LAST_KNOWN
0x031C
VENDOR_STATUS_ON_SCAN,
VENDOR_STATUS_SECURE,
OPC_QUALITY_OUT_OF_SERVICE
0x03C0
VENDOR_STATUS_SECURE,
VENDOR_STATUS_ON_SCAN,
OPC_QUALITY_GOOD
128
129
Index
A
access extensions 63
accessing I/A Series data 52
Alarm Database Size in the Process Alarm Database tab 95
Alarm Priority Mapping in the Process Alarm Database tab 95
alarms
configuring I/A Series Alarm Provider 93
configuring system alarms in the I/A Series Alarm Provider 95
configuring the process alarm database 93
deploying and undeploying I/A Series Alarm Provider 92
I/A Series Alarm Provider installation 92
Attribute Browser tab in the Galaxy Browser 1
B
BatchSize in the Sync Service configuration file 103
bit data extensions 68
block parameters in I/A Series tags 29, 53
Block Read and Block Write tabs
exporting and importing blocks 42
Block Read tab 43
Block Write tab 44
C
collecting workstation for Wonderware Historian 84
compound parameter in I/A Series tags 29, 53
configuration files for the Galaxy Sync Service 102
Configuration Generator 15
configuring historian connections 84
configuring the I/A Series Device Integration Object 36
configuring the I/A Series History Provider 78
configuring the IADAS 39
Connection heartbeat period 38
D
DAServer tab for the I/A Series Device Integration Object 39
data extensions to I/A Series tags 68
bit 68
deadband 68
mask 69
status 69
type 70
deadband data extensions 68
Detect connection alarm 38
Detect restart alarm 38
Device Integration pane 12
DI & Extensions view 12
DI field in the I/A Series Browser 12
DI Object in an I/A Series tag 28, 53
DIConfiguration.xml 15
Discard Sort Order in the Process Alarm Database tab 95
E
extensions 58
access 63
bit data extensions 68
data 68
deadband data extensions 68
130
Index
frequency 64
mask data extensions 69
packing 71
status data extensions 69
summary of tag extensions rules 60
type data extensions 70
Extensions pane 13
extensions to I/A Series tags
packing 71
F
FCS Configuration Tools 2
FCS InTouch Application 1
Force all Tag Names to Upper Case 38
frequency extensions to I/A Series tags 64
G
Galaxy Browser 1
Galaxy in an I/A Series tag 28, 53
Galaxy Sync Service 99, 101
configuration file parameters 103
configuring the Sync Agent 103
custom configuration 102
default security classification configuration 102
features 100
restarting the service 104
software components 100
General tab for the I/A Series Device Integration Object 37
H
historization. See also I/A Series History Provider and Wonderware Historian 73
HistoryMessageSize in the Sync Service configuration file 103
I
I/A Configuration pane 6
I/A Series Alarm Provider 91
configuration 93
configuring system alarms 95
installation 92
Process Alarm Database tab 93
undeploying and deploying the I/A Series Alarm Provider object 92
I/A Series Browser 1
cache configuration files 15
Configuration Generator 15
DI & Extensions view 12
Extensions pane 13
filtering the Parameter display 10
hiding and showing columns in the Parameter pane 10
hiding and showing strategies 6
opening the browser from FCS Configuration Tools 2
opening the browser from FCS InTouch Application 1
opening the browser from InTouch WindowMaker 2
Parameter pane 8
Search view 7
tab components 4
Value field 14
I/A Series Data Access Server (IADAS) 19
I/A Series Device Integration Object 19
configuring the object 36
DAServer tab 39
General tab 37
Index
131
installation 20
Scan Group tab 26, 41
I/A Series History Provider 73
configuring the application object 78
implementing redundant collection 82
specifying the collecting workstation for a compound 84
I/A Series Security Provider 119
enabling security 121
IAConfiguration.xml 15
IADAS 19
Block Read tab 43
Block Write tab 44
configuration 39
system items for status and diagnostic information 54
IASeries in an I/A Series tag 53
InSQL
selecting an Wonderware Historian Server for bulk storage 78
starting and stopping the server 86
installation of the I/A Series Device Integration Object 20
InTouch WindowMaker 2
introduction vii
Item in an I/A Series tag 29, 53
M
mask data extensions 69
MutexLockEnable in the Sync Service configuration file 103
O
OM Deadband 41
OM List Count Max 40
OM List Count Reserved 40
OM List Open Delay 41
OM List Scan Rate Default 40
OM List Size Max 40
OM Simulation Mode 40
P
packing extensions 71
Parameter pane in the I/A Series Browser 8
filtering the display 10
hiding and showing columns 10
Priority 38
Process Alarm Database tab 93
Alarm Database Size 95
Alarm Priority Mapping 95
Discard Sort Order 95
R
redundant collection for Wonderware Historian 82
Refresh Date in the I/A Series Browser 15
Refresh Security and History Databases 101
refreshing the security and history databases 101
Restart attempts 38
Restart period 38
Restart reset security 38
Run server out-of-proc 38
S
Scan Group in an I/A Series tag 29, 53
Scan Group tab for the I/A Series Device Integration Object 26, 41
132
Index
Scan groups
exporting and importing groups 42
Search view 7
security 119
enabling security 121
parameter based classifications 120
security classification configuration files used by the Galaxy Sync Service 102
SecurityMessageSize in the Sync Service configuration file 103
Server name 38
Server node 38
shared variables in I/A Series tags 29, 53
status data extensions 69
strategies 6
Sync Agent configuration files 103
SyncServerPort in the Sync Service configuration file 103
system alarm areas 95
System Items in IADAS 54
T
tag syntax 52
topic in an I/A Series tag 53
type data extensions 70
U
Use scan group name as access path 38
V
Value field in the I/A Series Browser 14
Verifying 87
W
Wonderware Historian 73
collecting platform and application engine statistics 81
configuring historian connections 84
configuring the I/A Series History Provider 78
implementing redundant collection 82
selecting an Wonderware Historian Server for bulk storage 78
starting and stopping InSQL 86
verifying history storage 87
Wonderware History
collection attributes for block parameters and compound parameters 84
Index
133