Configuration section for opcae_servername
[opcae_servername] pollCount
- Type
- unsigned integer
- Default
- 32
- Range
- >0
Defines the number of data points that can be polled at once. If several polling requests
are queued they will be processed in the next driver cycle.
[opcae_servername] prefix
- Type
- string
- Default
- AE_
Defines the prefix which is used in all automatically generated datapoint elements. If
the same items exist in two or more servers, the prefix has to be different for each of the
servers.
[opcae_servername] simpleEventDp
- Type
- string
- Default
- DP prefix+SimpleEventNotifications
[opcae_servername] twoStateConditionsOnly
- Type
- bool
- Default
- 0
- Range
- 0|1
Use this config entry to inform the client that the server only provides boolean alarms.
If the server only provides boolean alarms, you cannot create master datapoints using the
panels or assign server items to client items. You have to create the configuration manually
in the PARA or import it by using the ASCII manager. The OPC A&E client automatically
creates a master datapoint with two alert ranges (0=inactive, 1=active) at run time.
[opcae_servername] watchdog
- Type
- string string int
- Range
- <wdMsg> <wdTargetDp> <wsTimeout>
The monitoring of the OPC AE connection works in the following way:
- The OPC AE server sends a SimpleEvent of a special format (watchdog event) to the
client periodically.
- The arrival of a watchdog event at the client resets a timer.
- If the timer expires before a new watchdog event is risen by the server a binary DPE
is set (1). This signal can then be used for further processing (redundancy switch,
raising an alarm, archiving).
Only changes in the state of the watchdog will be sent to the system to minimize traffic
Note: As many watchdogs as desired can be introduced for one server by just adding
the appropriate number of config entries (see example). The config entry must be specified
like this: watchdog = <wdMsg> <wdTargetDp> <wsTimeout> wdMsg = string that
identifies the watchdog message within the SimpleEvent. It can either be the entire message
or part thereof; no wildcards are allowed. wdTargetDp = DP name of the binary DPE that is
set to TRUE in case of absence of the watchdog signal. wdTimeOut = timeout in ms
Example watchdog = "WATCHDOG_PLC1" "wdDpPlc1" 10000 watchdog = "WATCHDOG_PLC2"
"wdDpPlc2" 20000 watchdog = "WATCHDOG_PLC3" "wdDpPlc3" 30000 Redundancy In order for
this mechanism to work in a redundant system, the following steps must be taken:
- The target DP must exist twice (for "targetDP" there must be "targetDP_2"). The AE
client will automatically set the correct DP.
- To set the data points also on the passive system, there is an entry necessary in the
config.redu file. The watchdog DPs must be declared as "forward DPs" (see fwdDp and
fwdDpType).