Instruction Manual
3-4
IM WX1-04E
The interfaces used by GateOPC are as follows:
• OPC Server Object
IOPCCommon
IOPCServer
IOPCItemProperties
IConnectionPointContainer
IOPCBrowseServerAddressSpace
• OPC Group Object
IOPCItemMgt
IOPCGroupStateMgt
IOPCSyncIO
Note
According to OPC DA version 2 conventions IOPCBrowseServerAddressSpace is optional,
so GateOPC can run even if the OPC server does not have this interface. However, the OPC
server item browse function is not available without this interface.
Name of Remote PC
When connecting to the OPC server on a remote PC, you must specify the PC name. Up
to 80 characters can be entered for a PC name. In this case, the local PC must be able
to access the remote PC.
The conditions for connecting with an OPC server on a remote PC are as follows: For
details, see the user’s manual for the OPC server.
•
That the client can use DCOM on the server side computer.
• That the server grants remote access
•
That OPCENUM.EXE is running on the server side computer
Selecting/Setting the ProgID
An OPC server is a type of COM server, so a ProgID is used to identify individual OPC
servers.
GateOPC lists the ProgID of the OPC revision 2 server installed on the local PC or
Remote PC from the registry categories. The user must select one of the ProgIDs from
the list to specify an OPC server. Furthermore, to search the ProgIDs on the remote PC,
opcenum.exe must be running on the remote PC. If unable to search for ProgIDs on the
remote PC, see the OPC server’s user’s manual.
Simultaneous Connections of Up to 16 OPC Servers
With GateOPC, you can connect with up to 16 OPC servers and acquire data. You can
also acquire data even when connecting to a combination of OPC servers residing on
both remote and local PCs.
GateOPC assigns a system number to each OPC server to be connected. When
connecting to GateOPC from DAQLOGGER or Remote Monitor and then acquiring data,
this number is used to identify each OPC server.
Interval at Which Data Is Acquired from the OPC Servers
You can specify the interval at which data GateOPC acquires data from the OPC servers.
The setting range is 0.5–3600 seconds. When connecting to multiple OPC servers, you
can specify different acquisition intervals for each.
Depending on the server performance and quality of connection, the data acquisition
interval may be insufficient, causing a data “Lack.” If this occurs, lengthen the acquisition
interval as needed.
3.2 Detailed Description of Functions