content.gif menu.gif basics.gif

Possible Config Entries and Debug Flags for the OPC UA Client

This chapter describes the possible config entries and debug flags for the WinCC OA OPC UA client. The entries are set in the [opcua] section.

Entries in the config file in the [opcua] section

Entry

Type

Default

Range

Description

alertCounterAddValue

uint

0

0 - 32

This config entry enables an alert counter which is incremented for equal time alerts. The given value specifies on which additional value the counter can be stored. Therefore, the user can use this additional value as sorting option in the Alert and Event panel for alerts with the same time.

Default = 0 -> no writing of alert count to additional value

For further information see Alarms and Conditions.

autoGQ

uint

0

0 - 3

Specifies whether the client is executed an automatic general query (GQ).

 

0 -> no automatic GQ

1 -> automatic GQ during connection establishment

2 -> automatic GQ during redundancy switchover

3 -> automatic GQ during connection establishment and redundancy switchover

 

Note:

If the config entry driverNegativeSourceTimeDiff (see Event Manager) is used, and Subscriptions are used with a time stamp from the server or from the source, its not allowed to perform a redundancy switchover during the GQ, otherwise the time stamps are taken from different servers / sources. Thus autoGQ must be 0 or 1.

certificateStore

string

""

-

Path to the directory, where the public key infrastructure directory is stored. By default the PKI directory for the WinCC OA OPC UA client is located in <WinCC_OA_version_dir>/data/opcua/client -> certificateStore = ““ or config entry is not set in the config file.

maxRequestQueueSize

uint

1000

-

Defines the size of the request queue for an OPC UA server. If this is overrunning because of, for example, of too fast writing, data loss is the consequent. Thus, this queue size has to be adjusted to the expected load.

setInvalidForConnLoss

uint

0

0 - 2

Using this config entry, the values sent by the driver can be set invalid when a connection loss occurs. Optional the timestamp can be set to the time of the connection loss.

Following options are available:

  • 0 => Invalid bit will not be set

  • 1 => Invalid bit will be set (and the timestamp will be changed)

  • 2 => Invalid bit will be set (without changing the timestamp)

server

string

""

-

Specifies the name of the internal connection data point that is used for the server (see step 1 in chapter Setup of the OPC UA Communication). For each server the communication is established such a config entry has to exist - obligatory config entry. Thereby a project restart is necessary after a new server has been added.

Debug Flags

There are several command line debug flags for the OPC UA client driver. These flags are used to find errors during the driver operation. Information on further options can be queried with -helpdbg (see also manager options).

Debug flag

Description

-dbg 10

Writing values

-dbg 11

Connection handling

-dbg 12

Diverse

-dbg 25

Alarm handling

-dbg 26

Address configurations

-dbg 27

Reading values

 

 

 

 

page_top.gif

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved