Da Server Manager
Da Server Manager
Contents
Contents
Before You Begin.................................................... 5
About This Book............................................................................................ 5
Index ...................................................................... 31
Contents
Table of Contents
Index
You can view this document online or you can print it, in part or whole, by using the
Adobe Acrobat Readers print facility.
DAServer Manager
C H A P T E R
DAServer Manager
Contents
Overview
Common Components
Activation/Deactivation/Service Component
Configuration Component
Diagnostics Component
Overview
The DAServer Manager is a part of the System Management Console (SMC)
suite of utilities. It enables the configuration, diagnosis and activation/
deactivation of a local DAServer (located on the same platform as the
DAServer Manager) or a remote DAServer (located on a different platform as
the DAServer Manager).
Important! Multiple instances of the DAServer Manager can be opened at
the same time. Only the first instance can be used to create device hierarchies
and configure DAServers. In all other instances of the DAServer Manager,
hierarchy and configuration settings are set to read-only.
Servers developed with the Data Access Server Toolkit can be used as
standalones or with ArchestrA-based products. Either way, they are viewed
and configured in the DAServer Manager.
This document describes the DAServer Manager utility. This description is
divided into four major sections: Common Components, the Activation/
Deactivation/Service Component, the Configuration Component, and the
Diagnostics Component. Each section contains descriptions of its user
interface elements.
Chapter 1
Note Aspects of the DAServer Manager user interface may look different
when installed on different versions of Microsoft Windows. Also, the
version of MMC installed on your computer may affect the content and
behavior of the user interface.
Common Components
This section presents the basics of the MMC user interface, which are common
to all three aspects of the DAServer Manager. MMC is a Windows Explorerlike user interface that consists of two panes (the Tree pane on the left and the
Details pane on the right) and standard menu and toolbar features. See the
examples in Figures 1 and 2. For more information about the MMC in general,
refer to the MMCs help file (MMC.CHM, typically located in the
\\WINNT\Help folder).
Tree Pane
The Tree pane is a hierarchical structure that displays the items available in a
snap-in. On the top end of the hierarchy is the snap-in root, the DAServer
Manager, which is a container to which items are added.
Immediately under the DAServer Manager, the hierarchy contains two items,
Default Group and Remote Network. Default Group can be expanded to list all
PC nodes on the local domain, beginning with Local Node (the PC on which
the DAServer Manager snap-in is running). Remote Network similarly can be
expanded to list all PC nodes under the various available network protocols
shared on a remote network (for example, Microsoft Windows Network). Each
PC node is itself a container if one or more DAServers are running on that
node.
Throughout this document, Local Node is used for example purposes. All of
the snap-in functionality described here, though, is the same no matter whether
the DAServer Manager and any DAServers are located on local or remote
nodes and no matter whether they are both located on the same node.
On the other end of the Tree hierarchy are leafs. These items are not containers.
Details Pane
When you select a container item in the Tree pane, the Details pane displays
the hierarchy contained by that item. When you select a leaf, the Details pane
displays information about and functions pertaining to that leaf. As you click
different leafs in the Tree pane, the information in the Details pane changes.
The Details pane can display many types of information including HTML
pages, ActiveX faceplate components, tables, and columns.
Standard Features
Each MMC snap-in has its own menu and toolbar, separate from those of the
main MMC window. The DAServer Manager adds the following three
commands to the user interface:
DAServer Manager
The Time Zone command on the View menu. This command allows you
to change the time zone reference for the DAServer. See Time Zone
Format for more information about this function.
The DAServer Manager components added to the MMC user interface help
you perform configuration, diagnostic, and activation tasks. Also, rightclicking on any container or leaf item typically displays a context menu with
similar tasks. Each DAServer may display different features, these depending
on the DAServer design implemented by the DAServer developer.
Examples
The image in Figure 1 shows the DAServer ArchestrA.ServerName.1 installed
on a PC node (in this case the local PC). The icon displayed next to the
DAServer name indicates that the DAServer is inactive. As indicated, inactive
DAServers contain only Configuration branch items.
10
Chapter 1
Activation/Deactivation/Service Component
A DAServer can be in four basic states: Activated, Deactivated, Running as a
Service, and Running Not as a Service. These are indicated by the following
icons associated with any DAServer shown under the DAServer Manager:
To activate a DAServer, first select it in the node tree and then click Activate
Server on the Action menu. To deactivate it, select it and then click Deactivate
Server on the Action menu. The same action can be performed with the
Activate Server
DAServer Manager
11
Configuration Component
Each DAServer has a unique set of configuration parameters. For descriptions
of those parameters, see your DAServer-specific documentation. The
DAServer Manager also displays a set of common or global configuration
parameters for each DAServer. Click Configuration in the Tree hierarchy just
below the DAServer name to display the dialog box shown in Figure 3 in the
Details pane.
12
Chapter 1
DAServer Manager
13
Slow Poll Interval. This parameter controls the interval that the DAServer
polls the field device after it goes into slow poll mode. This occurs when
certain connectivity problems occur, such as an unplugged PLC. When the
DAServer again achieves connectivity with the field device, it returns to
normal operation and is governed by configured device group update
intervals. The slow poll interval value is an integer representing the
interval between polls in milliseconds per transaction item. Default is
10000.
14
Chapter 1
Poke Mode. This parameter controls how the DAServer treats pokes
within a transaction with respect to optimization and folding. Choose
between three modes: Control Mode, Transition Mode and
Optimization Mode. Default mode displayed is DAServer dependent.
Optimization Mode does not preserve the poke order and has
maximum folding by only poking the last value of an item. Typically
used by HMI applications.
Case Sensitive. This parameter controls how the DAServer scans item
(fully qualified item IDs) and device group names with respect to
upper/lower case. Default is unchecked (case insensitive), which is
recommended for working with legacy applications. Case sensitivity
applies to item names (fully qualified item ID including hierarchy names)
and devie group names.
Device Group Cache. This parameter is for future use only, and should
not be selected. Some DAServers, in fact, may disable this option. In the
future, this parameter will control whether the VTQ cache for items with
the same ItemID is shared across device groups.
System Items. This parameter controls whether the system items appear
in the browse interface and if they are recognized as valid ItemIDs by the
DAServer's data acquisition interfaces. Default is selected (checkbox
checked), for system items enabled. Unchecking this option means that no
system items exist in the DAServers namespace.
DAServer Manager
15
16
Chapter 1
Use a text editor like Notepad or an application that supports .csv format
files like Microsoft Excel to create a new file.
Export items from another DAServer configuration set to a .csv file. For
information about exporting, browse down three paragraphs.
Each row in the resulting .csv file represents an item and each row contains
two elements. The first element must be the item name; the second element
must be the item reference string. The item name can be the same as the
reference string or it can be an alias. If either the item name or reference string
element contains a comma, use quotation marks around the element to avoid
collision with the comma delimiters.
To import the .csv file, right-click in the Device Items configuration dialog and
click Import. Browse to the desired .csv file. The items contained in the .csv
file now populate the Device Items configuration dialog.
You can also export a set of device items to a .csv file. To do so, right-click in
the Device Items configuration dialog and click Export. Provide a path and
filename for the new file.
Caution! Item names are not case sensitive. Therefore, two items with the
same name except for capitalization are now allowed. This restriction does not
apply to item reference strings.
Archive Configuration Set. This command allows you to save the current
configuration to a different configuration file. The new configuration set
can be used at a later time or shared with another user on a different
machine. This command is available for both active and inactive
DAServers.
Important! COM1 through COM9 are not valid Archive Configuration
Set names. These names are reserved for system functions, and using them
for Archive Configuration Set names either fails to create an archived set
or causes error conditions.
DAServer Manager
17
Add. This command allows you to add a new device group to the Device
Group List. It is automatically provided with the Update Interval set for
Device Groups in the Global Parameters dialog box (Configuration item in
the Tree view hierarchy).
Delete. This command allows you to delete a device group from the
Device Group List. You are prompted for confirmation before the device
group is deleted.
Hot Configuration
Hot configuration depends on the DAServer-specific code and the type of
configuration parameter. In most cases only a selected number of parameters
can be configured while the DAServer is running, depending on the state of the
object the parameter belongs to. In some cases, a significant amount of
DAServer-specific code is required to handle a changed configuration (for
example, changing the baud rate of an open COM port requires closing the port
and reopening it with the new baud rate). If this functionality was not written
into the code, it is not supported. Some parameter values simply need a new
assignment to go into effect immediately (for example, if the response timeout
for a port is changed it is compared in the next timeout checking cycle).
18
Chapter 1
Diagnostics Component
All DAServers display at least six diagnostic roots: Client Groups, Structure,
Transactions, Statistics, Messages, and Device Groups. Each diagnostic root is
described below. See Figure 5 for an example of the diagnostic hierarchy. Your
DAServer may have additional diagnostic roots and additional data displayed
for the common diagnostic roots described below. See your DAServer
documentation for descriptions of those features.
Clock: Indicates that the data displayed on that line was not updated
during the last update interval and the data item has just been scrolled
into view. It is displayed until the next update interval, at which time it
changes to one of the icons below.
White: Initializing (no VTQ available yet, no timeout yet)
Red: Error active
Yellow: Warning active
DAServer Manager
19
Icon
State
Client Group
Normal
Warning
The OPC quality is uncertain or bad for at least one item in this group and the OPC
quality is good for at least one item.
Error
Data for an individual client group includes data quality icon, Name of item,
Client Value, Time, Client Quality, Subscription Message (Subscr. Msg), State,
Location, and Device Group. Double-click on any item name in the Details
pane, and a Diagnostic Info dialog box similiar to the one shown in Figure 6 is
displayed.
20
Chapter 1
Icon
State
Normal
Warning
Error
DAServer Manager
Icon
State
21
Hierarchical Element
Normal
The status error code is greater than or equal to zero (not negative) and the OPC quality
is good for all items on this level.
Warning
The status error code is greater than or equal to zero (not negative) and the OPC quality
is uncertain or bad for at least one item on this level.
Error
Hierarchical items (leaves) are marked as active if at least one group item
referencing it is active. It is marked as inactive if all group items referencing it
are inactive. The Normal/Warning/Error color of the icons is set as follows:
Icon
State
Item
Normal
Warning
Error
Transaction is in process.
Normal
Transaction has completed successfully, and the OPC quality is good for all items or
write completed with success.
Warning
Transaction has completed successfully, and the OPC quality is uncertain or bad for at
least one item or write completed with error in at least one item.
Error
Transaction has completed with error, the OPC quality is uncertain or bad for all items or
write completed with error.
22
Chapter 1
Note Items below the root level in this hierarchy are subject to customization
by the code and configuration of individual DAServers.
Individual transactions that are pending are marked with a white icon (the state
is undefined/pending). A transaction item element is always marked as active
(viewing completed transactions is viewing a snapshot). Data for an individual
transaction item include data quality icon, Name of item, R/W Status, Value,
Time, Quality/Result, message ID (MsgID), and Location. The Quality/Result
column displays the write complete code for Demand Write transactions and
data quality for all other transactions. The R/W Status column displays R for
read/refresh/property transactions or W for write transactions. (See R/W Items
in Diagnostics for further details.) Location is the path of the hierarchical item
name.
Important! For a Demand Write transaction, the data shown in the
Quality/Results column indicates the success or failure of the item in the
transaction. All zeroes (00000000) means the item was successful. A positive
number means the item was successful but indicates a condition that should be
noted. Double-click the item to open the Diagnostic Info dialog box, and note
the Write Status data for additional information about the item. A negative
number in the Quality/Results column of the Details pane of the Transactions
root means the item in the transaction was not successful.
The Normal/Warning/Error color of the icons is set as follows:
Icon
State
Transaction Item
Normal
Warning
Error
Icon
State
Statistic
Normal
The value is 0.
DAServer Manager
Icon
State
Statistic
Warning
The value is not zero and not equal to the corresponding total number of items.
Error
The number of items with errors is equal to the corresponding total number of items.
23
Icon
State
Message
Normal
Warning
The OPC quality is uncertain or bad for at least one item in this message, and the OPC
quality is good for at least one item.
Error
The OPC quality is uncertain or bad for all items in this message.
Note Items below the root level in this hierarchy are subject to customization
by the code and configuration of individual DAServers.
Both messages and message items are always marked as active. Data for an
individual message item include data quality icon, Name of item, R/W Status,
Value, Time, Quality, message ID (MsgID), and Location. The R/W Status
column displays R for read/refresh/property messages, W for write messages,
or R/W for both read/refresh/property and write messages. (See R/W Items in
Diagnostics for further details.) Location is the path of the hierarchical item
name. The Normal/Warning/Error color of the icons for message items is set as
follows:
Icon
State
Message Item
Normal
Warning
Error
24
Chapter 1
Note Only Client Groups and Device Groups display system items.
The Normal/Warning/Error color of the icons for the Device Groups items is
set as follows:
Icon
State
Device Group
Normal
The OPC quality is good for all items in this device group.
Warning
The OPC quality is uncertain or bad for at least one item in this device group, and the
OPC quality is good for at least one item.
Error
The OPC quality is uncertain or bad for all items in this device group.
Device group items are marked as active if at least one active group item (from
any active group) is referencing it. They are marked as inactive if no active
item in any active group is referencing it. Referencing means having the same
fully qualified ItemID/hierarchical name and the same OPC access path/device
group.
Note Items below the root level in this hierarchy are subject to customization
by the code and configuration of individual DAServers.
Data for an individual device group item include data quality icon, Name of
item, R/W Status, Value, Time, Quality, message ID (MsgID), and Location.
The R/W Status column displays R for read/refresh/property device group
items, W for write device group items, or R/W for both read/refresh/property
and write device group items. (See R/W Items in Diagnostics for further
details.) Location is the path of the hierarchical item name.
The Normal/Warning/Error color of the icons for device group items is set as
follows:
Icon
State
Normal
Warning
Error
Any item that has been updated with VTQ (good or bad) is marked R.
Before being updated with VTQ, it is marked with a hyphen (-) for readuninitialized.
DAServer Manager
25
Any item that has no pending writes (either has completed all write
activities or was never poked) is marked W. If writes are pending on an
item, it is marked with a hyphen W (-W).
The normal state of an item is R/W. All other cases reflect temporary or special
states such as item in initialization state, item is processing a write, or error
accessing item data.
Some variations in R/W Status meaning exist between the four diagnostic
dialogs that contain it. The following describes these variations:
1.
A VTQ for any client group item pointing to this item is available if
reading from cache and if the item is active.
2.
3.
In the Message dialog, an R means item VTQ was acquired for this item
and a W means item poke is completed.
4.
In the Device Groups dialog, an R means item VTQ was acquired for this
item. W is always set because there are no transaction items and poke is
always complete.
26
Chapter 1
Client Time Zone: The date/time displayed is in the clients time zone (that
is, DAServer UTC + client time zone).
Server Time Zone: The date/time displayed is in the DAServers time zone
(that is, DAServer UTC + DAServer time zone).
The Time Zone menu is displayed when you select DAServer Manager or any
branch below it in the hierarchy.
Another characteristic of time data you may see associated with diagnostic
data is related to how long-lived the data is. This characteristic is determined
by the DAServer engine and is manifested in three formats as well:
Short-lived data: Used for timestamping of data points of end devices (for
example, PLCs, RTUs, and control processors). This format shows hours,
minutes, and seconds.
Medium-lived data: Used for transaction start and end times, this format
shows month, day, year, hours, minutes, and seconds.
Long-lived data: Used in the Statistics diagnostic root for DAServer start
time and current time, this format shows the day of the week, month, day,
year, hours, minutes, and seconds.
Note The context menu commands for DAServer diagnostic items in the
DAServer Manager are all standard for Windows or the Microsoft
Management Console (MMC). See MMC help (MMC.CHM) for more
information.
DAServer Manager
27
Together, the three descriptions provide a complete explanation for the quality
code displayed in your OPC client. For example, hex quality code 0x001B (1,
10, 20 cross-reference numbers) is described as follows:
Hexadecimal Quality
Flag
Description Cross-Reference
0x0000
1, 4, 17
0x0001
1, 4, 18
0x0002
1, 4, 19
0x0003
1, 4, 20
0x0004
1, 5, 17
0x0005
1, 5, 18
0x0006
1, 5, 19
0x0007
1, 5, 20
0x0008
1, 6, 17
0x0009
1, 6, 18
0x000A
1, 6, 19
0x000B
1, 6, 20
0x000C
1, 7, 17
0x000D
1, 7, 18
0x000E
1, 7, 19
0x000F
1, 7, 20
0x0010
1, 8, 17
0x0011
1, 8, 18
0x0012
1, 8, 19
0x0013
1, 8, 20
0x0014
1, 9, 17
0x0015
1, 9, 18
0x0016
1, 9, 19
0x0017
1, 9, 20
0x0018
1, 10, 17
28
Chapter 1
Hexadecimal Quality
Flag
Description Cross-Reference
0x0019
1, 10, 18
0x001A
1, 10, 19
0x001B
1, 10, 20
0x001C
1, 11, 17
0x001D
1, 11, 18
0x001E
1, 11, 19
0x001F
1, 11, 20
0x0040
2, 4, 17
0x0041
2, 4, 18
0x0042
2, 4, 19
0x0043
2, 4, 20
0x0044
2, 12, 17
0x0045
2, 12, 18
0x0046
2, 12, 19
0x0047
2, 12, 20
0x0050
2, 13, 17
0x0051
2, 13, 18
0x0052
2, 13, 19
0x0053
2, 13, 20
0x0054
2, 14, 17
0x0055
2, 14, 18
0x0056
2, 14, 19
0x0057
2, 14, 20
0x0058
2, 15, 17
0x0059
2, 15, 18
0x005A
2, 15, 19
0x005B
2, 15, 20
0x00C0
3, 4, 17
0x00C1
3, 4, 18
0x00C2
3, 4, 19
0x00C3
3, 4, 20
0x00D8
3, 16, 17
0x00D9
3, 16, 18
0x00DA
3, 16, 19
0x00DB
3, 16, 20
DAServer Manager
29
Description Table
Description
CrossReference
Number
Textual Quality
Words
Description
Bad
Uncertain
Good
Non-specific
Not connected
Device failure
Sensor failure
10
Comm failure
11
Out of service
30
Chapter 1
Description
CrossReference
Number
Textual Quality
Words
12
13
14
Engineering units
exceeded
15
Sub-normal
16
Local override
17
Not limited
18
Low limited
19
High limited
20
Constant
Description
Whatever device was writing this
value has stopped doing so. The
returned value should be regarded as
"stale." Note that this differs from
Bad quality (No. 1 above) with Last
Known Value (No. 9). That status is
associated specifically with a
detectable communications error on a
"fetched" value. This status is
associated with the failure of some
external source to "put" something
into the value within an acceptable
period of time. Note that the "age" of
the value can be determined from the
TIMESTAMP in OPCITEMSTATE.
Index
Index
A
activate DAServer 10
Add 17
Archive Configuration Set 16
B
before you begin 5
C
Case Sensitive 14
Clear Configuration Set 16
Client Groups diagnostics 19
common components 8
common device groups 15
Config Default Update Interval 17
configuration 11
configuration context menus 16
Control Mode 14
D
deactivate DAServer 10
Delete 17
Delete Configuration Set 16
Details Pane 8
device group cache 14
Device Group Update Interval 12
Device Groups diagnostics 23
Device Groups dialog 15
Diagnostic Info dialog box 20
diagnostic roots 18
diagnostics 18
E
Edit 17
examples of active/inactive DAServers 9
G
Global Parameters 12
H
hot configuration 17
M
Messages diagnostics 23
O
Optimization Mode 14
overview 7
P
Poke Mode 14
R
R/W items in diagnostics 24
running DAServer as a service 10
S
Server Protocol Timer 13
Simulation Mode 14
Slow Poll Interval 13
standard features 8
Statistics diagnostics 22
Structure diagnostics 20
System Items 14
T
time zone format 26
Transaction Message Timeout 13
Transaction Timeout 13
Transaction to Subscription Ratio 13
Transactions diagnostics 21
Transition Mode 14
Tree pane 8
U
Unique Device Groups 15
Use Another Configuration Set 16
31
32
Index