Professional Documents
Culture Documents
OPC_server.doc 22/02/2005
OPC_server.doc 22/02/2005
® TM
Copyright © 2004 Woodhead Software & Electronics. All rights reserved. applicom , Direct-Link™, SST are registered trademarks
of Woodhead Industries, Inc. Other product names are trademarks of their respective owners.
http://www.woodhead.com
Woodhead
OPC_server.doc 22/02/2005
® TM
Copyright © 2004 Woodhead Software & Electronics. All rights reserved. applicom , Direct-Link™, SST are registered trademarks
of Woodhead Industries, Inc. Other product names are trademarks of their respective owners.
http://www.woodhead.com
Woodhead
Change Record
OPC_server.doc 22/02/2005
® TM
Copyright © 2004 Woodhead Software & Electronics. All rights reserved. applicom , Direct-Link™, SST are registered trademarks
of Woodhead Industries, Inc. Other product names are trademarks of their respective owners.
http://www.woodhead.com
Woodhead
OPC_server.doc 22/02/2005
OPC_server.doc 22/02/2005
® TM
Copyright © 2004 Woodhead Software & Electronics. All rights reserved. applicom , Direct-Link™, SST are registered trademarks
of Woodhead Industries, Inc. Other product names are trademarks of their respective owners.
http://www.woodhead.com
Woodhead
Table of contents
1 Preface............................................................................................3
2 General information.......................................................................6
2.1 Presentation of OPC ..................................................................................6
2.2 Rapid presentation of the "Woodhead profibus" OPC server ....................7
2.3 Limitations ..................................................................................................9
6 Advanced functions.....................................................................27
6.1 Management of groups (OPC Group) ......................................................27
6.2 Deadband.................................................................................................28
7 Diagnostic interface.....................................................................29
8 Annexes........................................................................................35
8.1 Developing an OPC client ........................................................................35
8.2 Use through DCOM..................................................................................39
9 Support .........................................................................................56
9.1 Technical Support ....................................................................................56
10 Index .............................................................................................57
1 Preface
Preface Sections:
• Purpose of this Guide
• Conventions
Conventions
This guide uses stylistic conventions, special terms, and special notation to help enhance your
understanding.
Style
The following stylistic conventions are used throughout this guide:
Bold indicates field names, button names, tab names, and options or selections
Italics indicates keywords (indexed) or instances of new terms and/or specialized words
that need emphasis
CAPS indicates a specific key selection, such as ENTER, TAB, CTRL, ALT, DELETE
Code Font indicates command line entries or text that you’d type into a field
Underlining indicates a hyperlink
“>” delimiter indicates how to navigate through a hierarchy of menu selections/options
“0x” indicates a hexadecimal value
Terminology
The following special terms are used throughout this guide:
OPC Ole for Process Control
Topic represents a data source available through the OPC server.
Warning
Warning messages alert the reader to situations where particular attention is
required. Warnings are accompanied by the symbol shown, and precede the
topic to which they refer.
Caution
Caution messages alert the reader to situations where damage may result.
Cautions are accompanied by the symbol shown, and precede the topic to
which they refer.
Note
A note provides additional information, emphasizes a point, or gives a tip for
easier operation. Notes are accompanied by the symbol shown, and follow the
text to which they refer.
2 General information
The "Woodhead Profibus" package includes high-level software interfaces enabling access to the
data to be made completely transparent for the user. These software interfaces enable "client
applications" to manipulate the data of the field bus without being concerned card access
management and communication.
The OPC server is an application ("PfbOpcServer.exe") playing the role of a server of data
originating from the DP profibus network, with the following characteristics:
General characteristics:
It is in compliance with OPC custom Data Access specifications 2.05a and 3.0
o It can thus be used easily from any application incorporating at base an OPC client
interface (supervision applications, applicom® communication ActiveX, applications
written in C or C++)
It may be used locally (from a client application on the same machine) or remotely through
DCOM (from a client application on another machine through by the network).
It is compatible with the Windows NT4.0 SP6, Windows 2000 SP4 minimum, Windows XP
SP1 minimum and Windows 2003 Server environments.
It may be used as a simple executable file or in the form of a Windows NT service.
Profibus function
The OPC server enables one to work simultaneously with one or more Profibus cards
When a card is used as a Profibus DP master, the OPC server enables you to access the
following data in the Profibus network:
o I/O data (Data exchange/DP class1)
o I/O data (DP class2) in read-only mode of the shared facilities (managed by another
master)
o slot/Index read/write DPV1 data. These accesses can be accomplished
either in DP class 1 or DP class 2 for facilities in which the card plays the role of
principal master
in DP class 2 for shared facilities
o diagnostic data (slave diag) of facilities in which the card plays the role of principal master
When a card is used as a DP slave, the OPC server enables you to access the following profibus
data:
o I/O data of the slave
The master and slave function can be used simultaneously.
Additional functions
The items exposed by the OPC server are declared in the configuration console during the
network configuration phase. Default items are added automatically when equipment or
modules are added to the configuration. It is then possible, if necessary, to modify the
parameter settings of these items, notably:
o to rename them
o to change their type
o to define their limiting values
OPCGroup
IUnknown Required/supported Required/supported
IOPCItemMgt Required/supported Required/supported
IOPCGroupStateMgt Required/supported Required/supported
IOPCGroupStateMgt2 N/A Required/supported
IOPCPublicGroupStateMgt Optional/Not supported N/A
IOPCSyncIO Required/supported Required/supported
IOPCSyncIO2 N/A Required/ supported*(2)
IOPCAsyncIO2 Required/supported Required/supported
IOPCAsyncIO3 N/A Required/supported*(2)
IOPCItemDeadbandMgt N/A Required/supported
IOPCItemSamplingMgt N/A Optional/supported*(1)
IConnectionPointContainer Required/supported Required/supported
IOPCAsyncIO Optional/ Not supported N/A
IDataObject Optional/ Not supported N/A
Note
OPC specification DA 3.0 allows a write of the quality and the timestamp
of items using interfaces IOPCItemIO, IOPCSyncIO2 and
IOPCAsyncIO3. The OPC server does not implement these functions. In
this case, the write will be rejected with an OPC_E_NOTSUPPORTED
error, as defined in the specification.
2.3 Limitations
When in use the OPC server is considered as the single master application of the profibus
network and, as such, prohibits any other application from accessing the card. In addition,
at start-up, the OPC server will re-initialise the profibus interface and the network.
Consequently,
o If another application is connected to the profibus card when the OPC server is
started, the latter will start up "Offline" mode" (no real access)
o However, when the OPC server has already started, it is possible to start another
application in read-only access mode. This notably allows the network diagnostic
tool to be started.
The text type items returned by the OPC server, together with the entire graphical interface
(diagnostic, log file, etc.) are exclusively in English.
The OPC server does not support OPC specification DA 1.0a, which is considered obsolete
3 Access to data
To access the data from an OPC client the specification provides three methods:
Method Comments
Event-related The client subscribes to a group in order to be notified on an event-
related basis of changes having occurred to the values of the items.
Only active points of the group having changed are returned to the
client. The group refreshment period determines the minimum
period between two transmissions of values.
Synchronous The client asks explicitly for an item to be read or written. The client
remains blocked during processing of their request.
Asynchronous The client asks explicitly for an item to be read or written. The call is
non-blocking. The result of the read or write will be returned
subsequently.
When you are the user of an application package which is itself an OPC client, the latter generally
manages the data access method in a completely transparent fashion, which is hidden for the user.
If this is not the case, major elements must however be taken into account:
The event-related mode generates minimum traffic between the server and the client
since only variables which have changed are returned. It is thus the most efficient of the three
modes.
The OPC specification stipulates that the client application should reference a variable using a
string of characters named ItemID. For this OPC server, the OPC ItemID is the concatenation:
of a "topic" name defining the location of the variable
there are various types of topic representing data "sources" of different kinds
o of "Device" topics representing the slave stations configured in the profibus network
(master operation of the profibus card). The names of these topics can be configured in
the configuration console
o a "Slave" topic representing the Profibus card used as a slave DP. The name of this topic
can also be configured in the configuration console
o The "System" topic symbolising the OPC server itself and allowing access to internal
server data (status, general meters),
of a "category" defining the type of variable accessed
This category field is used only for "Devices" topics (representing the slave stations of the
network) and for certain types of data. It enables the nature of the accessed variable to be
distinguished:
o DPV1 for DPV1 data for reading/writing of slots/Indices.
o DIAG for diagnostic data (slave diag) of facilities in which the card plays the role of
principal master
of a "syntax" designating the variable
For "Devices" or "Slave" topics, the syntaxes corresponding to the field bus data can be
configured in the configuration console. Some predefined syntaxes also allow access to the
communication statuses or meters relative to the topic.
Notes
Access to the DPV0 data (data exchange) does not require that an
item category is specified
In the string referencing the item, the field delimiter is point ".".
The OPC specification also allows the possibility for a client to use an
AccessPath. The OPC server requires no user. However, if the latter
is not void, it will be concatenated with the ItemID string supplied by
the client to make the ItemID which is finally used by the server. For
example, if the client supplies as the AccessPath the string "TOPIC"
and as itemID the string "ITEM", the server will use the string
TOPIC.ITEM as ItemID.
"Devices" topics (void) Status Diagnostic and control variables in the item of
(configured for each StatusError equipment
item of equipment in StatusLastError see "predefined items of Devices and Slave topic"
the field bus in the ItemCount
configuration console) ActiveItemCount
ErrorCount
(predefined)
DPV1 Syntaxes DPV1 configured DPV1 data for reading/writing class 1 or class 2
(predefined) (declared in the configuration slots/Indices
console) See "DPV1 items of Devices topics"
"Slave" topic (void) Status Diagnostic and control variables in the local DP
(configured for the StatusError slave
local slave in the StatusLastError see "predefined items of Devices and Slave topic"
configuration console) ItemCount
ActiveItemCount
ErrorCount
(predefined)
ItemCount VT_UI4 Number of items (active and inactive) created by the OPC clients
read-only connected within the OPC server
ActiveItemCount VT_UI4 Number of active items created by the OPC clients connected
read-only within the OPC server
ErrorCount VT_UI4 Number of times when the connection status of an item of
read-only equipment has changed from OK to fault.
StatusError VT_UI1 Bit field specifying the status of the connection with the item of
read-only equipment to which it is attached
The possible values depend on the type of topic ( « Device »,
shared « Device », or « slave ».
Cet item à la valeur 0 si tout est OK.
StatusLastError VT_UI1 This item records the last error returned by the StatusError item
read-only
ItemCount VT_UI4 Number of items (active and inactive) created by the OPC clients
read-only connected within the topic to which the item is attached
ActiveItemCount VT_UI4 Number of active items created by the OPC clients connected
read-only within the topic to which the item is attached
ErrorCount VT_UI4 Number of times when the status of connection with the item of
read-only equipment to which the item is attached has changed from OK to
fault.
Note
The DPV0 item names useable in the OPC server are configured in the
configuration console. For more specific information, please consult the
configuration console manual.
When items of equipment and/or modules are declared, default items are generated automatically
by the configuration console. It is then possible, if necessary, to modify the parameter settings of
these items, notably:
to rename them
o The following characters are not allowed
:. & é "‘ ( - è ç à ) = + } ° ] @ \ ` | [ { ~ ² < > ? / § ! µ * ^ ¤ £ ù % ‘space’ ‘nothing’
o Names must have fewer than 32 characters.
to change their size. The following types may be used, as a simple variable or table:
Note
The DPV1 item names useable in the OPC server are configured in the
configuration console. For more specific information, please consult the
configuration console manual.
When the item of equipment supports DPV1 functions, it is possible to declare one or more items
within the configuration console, corresponding to the various Slot/Index offered by the equipment.
The following properties must or can be entered:
Name of item
o The following characters are not allowed
:. & é "‘ ( - è ç à ) = + } ° ] @ \ ` | [ { ~ ² < > ? / § ! µ * ^ ¤ £ ù % ‘space’ ‘nothing’
o Names must have fewer than 32 characters.
Slot/Index number and size of variable
o A single item must be configured for each slot/Index and the specified size must
match the real size. Consult the documentation of your equipment to find precisely
which Slot/Indices are exposed by the equipment
Access right (read/write, read-only)
limiting values (for non-Boolean items)
o These limiting values will be used for calculating the deadband
o They are also taken into account in the qualities returned when a limits-exceeded
appears
o If no particular value is specified, the default values for the data type are used
to associate a particular property (depends on the data type)
o BCD: enables the item to be processed as being a value in BCD format
o Signed: enables, if necessary, the default canonical type of the item to be
changed, specifying that the data is of the signed type.
o Unsigned: enables, if necessary, the default canonical type of the item to be
changed, specifying that the data is of the unsigned type.
Warning
These items are available only for remote facilities in which the card plays the
role of principal master
The following items are supported. Their meaning is taken directly from the Profibus norm
ext VT_BOOL/ read only Byte 1/ bit 3. Slave has extended diagnostic data
not_supported VT_BOOL/ read only Byte 1/ bit 4. Requested function is not supported in the
slave
master_lock VT_BOOL/ read only Byte 1/ bit 7. Slave is parameterised by a different master
stat_diag VT_BOOL/ read only Byte 2/ bit 1. Static diagnosis (byte Diag bits)
master_address VT_UI1/ read only Byte 4. Master address after parameterisation (FF without
parameterisation)
Note
The addressing space of the OPC server is structured in hierarchical fashion:
topic > category > syntax
With the OPC server, timestamping of a data item indicates the last time the value of the variable
was changed, as detected by the server. If the client makes two successive read operations in
synchronous or asynchronous mode in relation to a given variable the returned timestamping may
be identical if the value has not changed in the mean time.
Quality
De Hexa Bit Meaning
c
0 0x000 0000 0000 The quality of the point is poor. The returned value is not useable.
0
20 0x001 0001 0100 The quality of the point is poor. The returned value matches the last
4 known value of good quality.
24 0x001 0001 1000 The data element was not able to be read or written following a
8 communication problem between the facilities and the server. The value
of the returned data element is not useable.
32 0x002 0010 0000 The data element is waiting for a first event-related return.
The OPC server supports options which can be set in the configuration console (parameters of the
OPC server in the configuration description zone). Additional options appear when the console
is switched to Expert mode.
The topic and item names useable in the OPC server are configured in the configuration console.
Please consult the configuration console manual.
Note
Certain predefined topics and/or items, and item categories (DPV1,
DIAG) cannot be renamed.
When it is started, the OPC server commences a start-up sequence to connect to the hardware
interfaces, reinitialise the network and detect any operational anomaly. After this start-up sequence
the server will then operate:
Either in Online operational mode. The OPC server is then considered to be in normal
operational condition, meaning that access to the Profibus network can operate normally.
Or in Offline operational mode. The OPC server is considered as not being in normal
operational condition.
Each time the OPC server is started up it will make an attempt to initialise the Profibus card. To this
end it uses the configuration files generated by the configuration console.
This initialisation notably requires that no other application is connected to the card when the OPC
server starts. In the contrary case the server will start up in offline mode
Important notes
It is however possible to start up another application requesting to
access the card in read-only following the start-up of the OPC server.
This is, notably, the case of the "Woodhead Profibus" package network
diagnostic
After its start-up sequence, the OPC server is switched automatically into offline mode if the
connection with at least one of the Profibus interfaces cannot be established correctly for one of
the following reasons
During operation in offline mode the OPC server has the following specific behaviour:
OPC clients can connect to the server completely normally
Items can be browsed and added within the client applications
All items corresponding to network data will be returned with poor qualities
Important notes
The OPC client application can determine the operational mode of the
OPC server using items System.State, System.StateStr and
System.StateMsg.
It is possible to install and use the OPC server on a machine where the network configuration
console is not present. However, a configuration console must be able to be used on another
machine in order to allow the network and the names of the useable topics and items to be
configured.
The OPC server relies of configuration files generated by the console to initialise the network and
expose the appropriate items. It is thus essential that these files are present for the OPC server to
be able to operate normally. It is necessary to make a configuration transfer to the station where the
OPC server resides. To do so:
The menu File>Export of the configuration console enables the active configuration of the
configuration station to be copied to another PC or a physical support
It is possible to use the OPC server in the form of a Windows NT service. It is, however,
recommended that your client applications are set correctly in normal mode before switching to
service mode.
By default, after installing the OPC server, service mode is not installed. To install it, start
the OPC server from the menu Start>Execute with the following option:
"PfbOpcServer –service"
To switch back to simple executable mode, start the OPC server from the menu
Start>Execute with the following option:
"PfbOpcServer –regserver"
Warning
To switch the OPC server from simple executable mode to service mode, and
vice versa, you have to verify that the OPC server is stopped before to use the
commands above.
Otherwise, these commands will have no effect.
Note
In service mode it is not possible to activate the diagnostic environment
6 Advanced functions
For the client groups constitute a simple means of organising data they wish to access. This
organisation is left entirely free for the client. Consequently, a group may contain completely varied
variables collected in different facilities.
When you are the user of an application package which is itself an OPC client, the latter generally
manages groups of data in a completely transparent fashion, and one which is hidden for the user.
If this is not the case, important elements must however be taken into account when creating
groups:
It is at group level that the client application has the possibility of setting the refreshment
period.
The application has the possibility of activating or deactivating a group, i.e. of authorising
or prohibiting feedback of event-related data in relation to all the group data.
The deadband can be managed at group level. OPC specification DA 3.0 allows, through
interface IOPCItemDeadbandMgt, the deadband to be positioned for each item. The latter
replaces of cancels any which might have been configured at group level.
Note
Some client applications set the group refreshment period to 0 (return of
data as rapidly as possible). This can undermine general performance of
the system due to the scale of the data flow between the server and the
client. For this reason the OPC server uses a minimum refreshment period
of 25 ms (minimalUpdateRate of the OPC specification)
6.2 Deadband
VT_UI1 0 to 255
VT_I1 -128 to 127
VT_UI2 0 to 65535
VT_I2 -32768 to 32767
VT_UI4 0 to 4294967295
VT_I4 -2147483648 to 2147483647
VT_R4 –3.4e+38 to 3.4e+38
VT_R8 -1.79e+308 to 1.79e+308
7 Diagnostic interface
By default the OPC server has no graphical interface. It is however possible, when the server is
used as a traditional application (simple executable) to activate a complete diagnostic environment
notably enabling the internal behaviour of the OPC server to be analysed.
Note
The diagnostic interface is not available when the OPC server is used in the
form of a Windows NT service. If required, it is thus necessary to change back
to the form of a simple executable. If this proves impossible, consult our
technical support
After it is started (as an executable), the presence of the server is made tangible by an icon
inserted in the taskbar (if allowed by the DCOM security criteria). By default this icon has no
contextual menu. It can however be activated from the box to configure the OPC parameters of the
configuration console, by validating the option Enable Server Diagnostic View. This menu then
allows you, by right-clicking the mouse:
to display the diagnostic environment (Diagnostic menu).
to close the server (Exit menu)
The diagnostic interface is useful only for the adjustment phases of your application. Using it
consumes resources. It must not therefore be activated during operational phases. The diagnostic
interface allows:
files to be generated which can be used automatically by the application
"DumpLogger.exe", containing data concerning the configuration and communications
pending
traces to be displayed with generation of a log file (pfbopcserver.log), thus enabling the
general behaviour of the server to be checked along with communication with the client
applications.
spying more specifically on events occurring in relation to an item, with generation of a
trace file (pfbopcserverspy.log)
Icon Description
When you press this button, the file "dumpOPC.xml" is generated in the current
configuration folder. The application "DumpLogger.exe" becomes activated and
immediately loads this latter file, displaying in the items and groups overview,
managed by the OPC server. This view is static. It is thus necessary to run the
command again to update the data.
Double-clicking one of the objects in the tree displays a box enabling the list of
internal properties of the object to be displayed.
When you press this button, the file "dumpTopic.xml" is generated in the current
configuration folder. The application "DumpLogger.exe" becomes activated and
immediately loads this latter file, displaying in the overview of topics which are
configured, and thus useable within the OPC server
Allows a list of items to be spied on. See section "Spy view of items"
Activates the message zone by using a single display window, where all the
messages are written, of whatever kind. See section "Viewing messages".
Activates the message zone using several display windows, each containing
different message categories. See section "Viewing messages".
Displays information concerning the application.
This view is divided into three parts. At the top left a browser enables the various accessible data
elements to be viewed. The bottom left part shows the list of items to be kept watch of, and the
right-hand part displays the messages of events affecting the items in the list.
To spy on an item
select the item to be kept watch on in the browser
do a "slide – move" of the browser to the list below
if necessary complete the syntax (press F2 to rename) and click on the checkbox to select
the item
Available commands
Icon Description
Create a new list of items to watch. If there is already a list which has not been
saved, a message appears.
Opens a list of items to be watched which was previously saved on the disk. If
there is already a list which has not been saved, a message appears.
Allows the active list of items to be watched to be saved to disk.
Copies the selected text from the message window to the clipboard. It can then
easily be pasted into any other text-type file.
Puts all selected items in the list under watch.
Adds the selected item from the tree into the list.
This view enables information relating to the execution of the application to be displayed. This view
is activated using the following three buttons:
Icon Description
Displays the view by incorporating all the messages in the same window
It is possible to stop tracing of messages in the windows by selecting the command Diagnostic >
Output View > Stop Messages. The command Restart Messages allows traces to be resumed.
Both these commands act on the all the message windows at the same time. On stoppage or
resumption, a message is signalled in each of the tabs. The command Clear Output View allows
all the messages of the visible tab to be deleted. The messages of the other tabs are not affected
by this command.
Warning
All the messages issued by the server between stop (Stop Messages) and
resumption (Restart Messages) are lost.
8 Annexes
Many supervision applications include the OPC client function as standard. However, in the case of
specific requirements, it is possible to develop one's own OPC client oneself, using the
development tool of one's choice. This section is intended solely to supply the basic information
required by developers
The OPC server is identified using its ProgID (program identifier) and its CLSID (class identifier),
recorded in the registers database of the machine during installation.
A group is created by the client using a call to the method AddGroup of the interface IOPCServer
of the object OPCServer. The latter notably contains the following parameters:
Name Description
szName Name of group. If it is not supplied, the server generates a unique one (in the
form New_Group_x , where x is an incremental number).
dwRequestedUpdateRate Refreshment period requested by the client. The period actually accepted by
the server will be returned in the return parameter
dwRequestedUpdateRate.
dwLCID This parameter is not used.
pPourcentDeadBand This parameter allows return of the variable with a strong variation (see
"Group management")
Items are created by the client using a call to the method AddItem of the interface IOPCItemMgt of
the object OPCGroup. Each item symbolises a connection to a physical variable. In fact the client
describes the variable which interests it by means of a OPCITEMDEF structure.
The fields of this structure are as follows:
Name Description
szAccessPath Not actually used by the OPC server. If this field is used its content will be
concatenated to that of the item (szItemID) to form the name of the item
szItemID String of characters referencing the item.
bActive indicates the state of activation of the item at the time of its creation.
hClient Reference handle of point for the client.
dwBlobSize the "blob" mechanism is not used by the OPC server.
pblob the "blob" mechanism is not used by the OPC server.
vtRequestedDataTyp Type of variant requested by the client. The value VT_EMPTY designates the
e default type (decided by the server).
Transparency
For the client, use of a COM object through DCOM or through the COM mechanisms locally is
completely transparent. The operating system, through the COM library, manages the object and
determines where it must be instanced according to the configuration associated with the object.
8.2.2 Installation
When implementing the OPC solution in DCOM, you will be undertake the following operations:
Establishment of a "server station" (under Windows NT4, Windows 2000 or Windows XP)
containing the OPC server and able to be accessed either from a local OPC client (running on
the machine), or from a remote OPC client (running on another machine)
Establishment of a "client station" (under Windows NT4, Windows 2000 or Windows XP)
interrogating a remote station.
The package of the "OPC server" includes a file PfbOpcServer.reg allowing the server to be
registered in the client station in the registers database, thus allowing it to be configured in the utility
dcomcnfg.
To register the OPC server, include the file PfbOpcServer.reg in the register database by
double-clicking the file.
To obtain the box for configuring the general properties, select node ‘My Computer’ in the tree
under \Console Root\Component Services\Computers\, and then choose the option Properties in
the contextual menu or in the menu Action. The properties box is then similar to that of dcomcnfg
under Windows 2000 or NT4 and it contains tabs ‘Default Properties’ and ‘Default COM
Security’. Configuring these parameters is then identical to that described below.
Note
If you reduce the security parameters it will always be necessary to
restart the system before they are taken into account.
Warning
Do not use this tab. The permissions of the OPC server will be set individually
later.
The Default security tab enables the permissions for DCOM operations to be specified. These
parameters certify that only clients with the necessary permissions will be able to use the server.
The following default permissions can be set to use DCOM. These permissions can also be set
individually for each object and these default properties will then be ignored.
Then select the OPC server Woodhead OPCPfbServer and select the option Properties in the
menu Action to start configuring the specific parameters of the OPC server.
The same dialogue box containing the same tabs as under Windows 2000 is then found.
Then undertake the same configuration for OpcEnum.
Select the OPC server Woodhead.OPCPfbServer and click the button Properties… to start
configuring the specific parameters of the OPC server.
Then undertake the same configuration for OpcEnum.
Type Action
The interactive user This choice is the one recommended by default for the OPC server.
The account of the user having opened the current session is used. If,
however, no user is logged on the machine there is no interactive user and
the COM object cannot be created. In this case, select This user.
The launching user The account of the user having initiated the OPC client is used. This user
must then have the required permissions, and thus be included in the
Security tab. This mode generally causes a server instance to be initiated
for each executing user. This option must not be used with the OPC
server.
This user The account of the indicated user is used. This user must then have the
required permissions, and thus be included in the Security tab. The user
must have the default permissions assigned to the Users of the machine
group; in other words, must belong to the Users group. This choice must
be used for servers where no user is logged.
To work with the OPC server, only the access permissions and the execution permissions need to
be configured:
Note
On the server machine and on the client machine, the accounts of both logged
persons must exist.
Example: User Alpha is logged on the machine with the server and user Beta is
logged on the machine with the client.
To use DCOM a Beta account must exist on the server station (with the same
password as on the client machine) and an Alpha account must exist on the
client station (with the same password).
"General" tab
9 Support
Technical support is available during regular business hours by telephone, fax or email from any
Woodhead Software & Electronics office, or from contact.pdf.
10 Index
A I
AccessPath, 11 initialisation, 24
Asynchronous, 10 Interfaces, 8
Item, 11, 37
B ItemID, 11
Items diagnostic, 19
Browsing, 21
Items supported, 12
C N
category, 11 note, definition, 5, 50
caution NT service, 26
definition, 5
CLSID, 35
O
configuration files, 25
Configuration of topics and of items, 23 Objects, 8
conventions Offline mode, 24, 25
special notation, 5 Online mode, 24
special terms, 4 OPC, 6
style, 4 OPC Groups, 27, 37
Custom interface, 35 OPC server, 6
OPC, definition, 4
D
P
DCOM, 39
DCOMCNFG, 39 ProgID, 10, 35
Deadband, 27, 28 purpose, of guide, 4
Diagnostics, 29
DLL automation, 35 Q
DPV0, 15
DPV1, 17 Quality, 21
Quick introduction, 7
E
R
Event-related, 10
Reg file, 39
F
S
firmware
definition, 4 Slave diag, 19
Functions, 7 Start-up of OPC server, 24
T W
technical warning
support, 56 definition, 5