发表于:2006-06-20 16:26:00
楼主
[quote]
Accessing Items via the DAServer
The method for accessing items through the DAServer depends on the communications protocol being used.
OPC
In the case of OPC communications, the protocol addresses an element of data in a conversation with six characteristics: node name, program name, group name, device group, link name, and item name.
The node name (required for remote access) and device group are optional.
A fully qualified OPC Item name (ItemID) is composed of the link name and item name.
All other characteristics are specified through separate DAServer means.
To access an OPC item, the OPC client needs to connect to the DAServer (either in-process or out-of-process) and create an OPC group defining the data-acquisition properties for the collection of items to be added. OPC groups can be either public or private. Public OPC groups are shared across multiple clients, whereas private OPC groups are local to a single client. Optionally, a device group, which indicates the access path to the items for read/write, can be specified from the DAServer.
The following briefly describes each characteristic of the OPC protocol:
node name: Computer (host) name identifying a specific node on the network (for Remote Access ONLY).
program name: The registered OPC server name uniquely identifying a specific server (ProgID). For this DAServer, the program name is ArchestrA.DASMBTCP.1.
group name: The OPC group created from the client for organizing a collection of items logically with the same data acquisition properties between the client and the server, such as update rate.
device group: Meaningful names configured in the DAServer under a specific controller for the common custom attributes between the DAServer and the device, such as update interval. If not specified from the client, the default device group using the global configuration attribute values from the DAServer is assumed. Functionally, a device group is equivalent to an access path (optional).
link name: The set of hierarchy node names, representing the specific devices on a communications path link from the hierarchy root to a specific controller as configured for this DAServer under the DAServer Manager, separated by delimiters.
item nam