[event]
Settings for the Event Manager
[event] activeRecoveryTimeout
- Type
- unsigned int (seconds)
- Default
- 1800
- Range
- >= 0
Caution: The time must be sufficient so that both Event managers are able to connect to each other. This means
that in this time Redu managers and CTRL managers are started and both Redu managers od the redundant systems
are connected to each other.
[event] alertConditionBit
- Type
- string
- Default
- no check of a status bit
- Range
- identifier of a status bit
[event] alertConditionLogic
- Type
- bool
- Default
- 1
- Range
- 0|1
[event] alertSignOrder
- Type
- string
- Default
- vVwWaA
[event] attributesFromAddValues
- Type
- int
- Default
- 1
- Range
- 0-3
- 0 -> no transfer of additional values (_alert_hdl_add_values) to alarm attributes.
- 1 -> additional value with the index 2 (_alert_hdl.._add_value_2) is written to the
alarm text (_alert_hdl.._text) if defined and shown in the alert screen. The attribute
_alert_hdl.._mapped_text can be used additionally to query the additional value.
Note: Applies only to multiinstance alarms. If _alert_hdl.._add_value_2 is mapped to the _alert_hdl.._text attribute it may only be set in the same command (dpSet() or Message) when the alarm comes or goes (_event : DPATTR_ALERTEVENT_CAME/WENT) and is locked for later changes. If _alert_hdl.._add_value_2 should be freely available, attributesFromAddValues must be set to 0.
- 2 -> additional value with the index 1 (_alert_hdl.._add_value_1) is written to the alarm value (_alert_hdl.._value) if defined.
- 3 -> additional values are written to alarm text an alarm value (combination of 1+2).
Note: The use of this entry only makes sense when the alarm value and text are written to the first both additional values by the driver/manager.
If 'attributesFromAddValue' is set, it's considered as definitely mapping to text and value. After an alarm occured, the alarm value and text mustn't be changed (reason: alarm value and text describe the value and associated text which has triggered the alarm. Therefore, the mapped add_values mustn't be changed). The mapped values are only allowed to be passed at the coming (ALERTEVENT_CAME, ALERTEVENT_CAME_IMPULSE) or going (ALERTEVENT_GONE, ALERTEVENT_GONE_IMPULSE) of an alarm in the same message after an event. During the event ALERTEVENT_GONE_INACTIVE, value and text can't be set, because normally it modifies multiple alarm instances. In this case, as well as if there are no associated values, the value and text are provided by the parameterization or the current value. The config entry only applies to multi instance alerts and is ignored in case of normal alarms.
[event] copyDp
- Type
- string string
- Range
- <Name of source DP element> <Name of target DP element>
config.redu
Changes of the original attributes of the specified source DP element are also made on the
same element of the specified target datapoint by the Event manager.The target datapoint has
to be of the same type as the source datapoint. If the element is a node this applies for
all leaves under the node. In order to duplicate different elements the entry can also be
specified several times. Some specific datapoint elements (alerts from WinCC OA, e.g. HD is
full) can have in redundant systems different values. Therefore for such elements
system-specific datapoints are created. Unfortunately, these datapoints also contain
elements (commands to WinCC OA, e.g. file switch) which actually should not be copied. As
this would be only possible via a change of the datapoint type, the here described
possibility is available. This config entry is for the redundancy, but can also be used in
non-redundant systems. [event] copyDpType
- Type
- string
- Range
- name of the source DP element
config.redu
With the entry copyDpTypes all changes of the original attributes in the specified source
datapoint element are also made to the elements of all datapoints of the specified target
datapoint type, analogous to copyDp. Syntax:
[event]
copyDpTypes = "<datapoint type>.<datapoint element>"
If two datapoints of this type have the names <DPname> and <DPname>_2,
<DPname>.<element> will be copied to <DPname>_2.<element>.
Restriction: <DPname> must not end with _2.
For example: The datapoints Iec_2 and Iec_2_2 will never match for a copyDpType configuration.[event] createUsersAllowed
- Type
- bool
- Default
- 1
- Range
- 0|1
[event] discardOldValues
- Type
- bool
- Default
- 0
- Range
- 0|1
[event] dpFctActivate
- Type
- bool
- Default
- 1
- Range
- 0|1
If this entry is set to 0, a dp_fct or stat_func config cannot be activated via a script.
[event] dpFuncOldNewCompare
- Type
- bool
- Default
- 0
- Range
- 0|1
[event] driverNegativeSourceTimeDiff
- Type
- double
- Default
- actual value of negativeSourceTimeDiff
- Range
- >= 0
[event] eventsFileStateBit
- Type
- unsigned integer
- Default
- 1
- Range
- 0..32
[event] evStatusDP
- Type
- string
- Range
- a bool element of an arbitrary datapoint
[event] forceActiveDP
- Type
- string
- Default
- _ReduManager[_2].ForceActive
- Range
- -
[event] fwdDp
- Type
- string
- Range
- name of the datapoint element
config.redu
Changes of the original attributes of the specified datapoint element are forwarded by the
Event manager to the redundant Event manager (relates to redundancy). If the element is a
node this applies for all leaves under the node. In order to forward different elements the
entry can also be specified several times. Forwarding is used to report changes that can
occur in only one of two systems (e.g. DM HD full) also to the other redundant system. [event] fwdDpType
- Type
- string
- Range
- name of the datapoint element
config.redu
Analog to fwdDp, all changes at this datapoint element are forwarded by the Event manager
to the redundant Event manager. In contrast to fwdDp not the name of a datapoint element of
an existing datapoint is specified, but the element of a datapoint type in the format
'Type.Element' (e.g. 'ExampleDP_Bit.' for the root element of the datapoint type
ExampleDP_Bit). Thus, the corresponding elements of all datapoints of this type are
forwarded, independing of whether they already exist at start of the Event manager or they
not. If the element is a node this applies for all leaves under the node. In order to
forward different elements the entry can also be specified several times. [event] heartbeatTime
- Type
- uint
- Default
- 1
[event] licBACnetObjectsBlocksize
- Type
- unsigned integer
- Default
- 200
- Range
- 10-200
Defines the license block size for the "BACnet Objects" option.
licBACnetObjectsBlocksize = 100
is set, the size of the licenses requested in blocks is 100.This setting applies exclusively to licenses with the license type "countable" and the product name "BACnet Objects".
[event] link0DP
- Type
- string
[event] maxAlertConnectCount
- Type
- uint
- Default
- 1000000
[event] maxAlertRequestCount
- Type
- uint
- Default
- 1000000
NOTE: If you set higher values than the default values for this config entry, this can lead to a significant increase in memory consumption (RAM) by the WinCC OA runtime.
[event] maxInputMsgCount
- Type
- unsigned
- Default
- 100000
- Range
- >= 1000
[event] maxParseTime
- Type
- unsigned integer
- Default
- 20
- Range
- >= 0
[event] maxValueConnectCount
- Type
- uint
- Default
- 1000000
[event] maxValueRequestCount
- Type
- uint
- Default
- 1000000
[event] msgQueueHoldTime
- Type
- int
- Default
- 60
[event] msgQueueLimitTimeout
- Type
- unsigned
- Default
- 60
- Range
- >= 20
[event] negativeSourceTimeDiff
- Type
- unsigned integer
- Default
- 0
- Range
- >= 0
[event] passiveRecoveryTimeout
- Type
- unsigned integer
- Default
- 300
- Range
- >= 0
Caution: The time must be sufficient so that both Event managers are able to connect to each other. This means
that in this time Redu managers and CTRL managers are started and both Redu managers od the redundant systems
are connected to each other.
[event] redConnTryInterval
- Type
- unsigned integer
- Default
- 60
- Range
- >= 0
[event] redOldNewComp
- Type
- bool
- Default
- 1
- Range
- 0|1
[event] refuseCNS
- Type
- bool
- Default
- 1
- Range
- 0|1
Specifies if a manager shall hold CNS data of the identification in memory. CNS data is still tranferred with the identification but the manager discards this data.
[event] updateUsersAllowed
- Type
- bool
- Default
- 1
- Range
- 0|1
[event] useALMTrialLicenseDialog
- Type
- bool
- Default
- 1
- Range
- 0|1
[event] useCRC
- Type
- bool
- Default
- 0
- Range
- 0|1
useCRC is a safety feature of the WinCC OA messaging system. It offers extended failure detection capabilities compared to the Standard messaging system. To ensure data integrity in WinCC OA Messages, these messages are divided into CRC telegrams of appropriate length each containing a 32 bit CRC. On reception of the messages the values are checked and if the values do not match, an error is detected. The error is shown in the log viewer and the connection between the WinCC OA managers is closed.
- The entry "useCRC" can be used in the [event] or in a driver specific section of the config file. It can be used in one of these sections or in both sections.
- The entry is always manager specific. The "stronger" manager wins and decides the type
of connection: EXAMPLE The connection between the driver and the event will use the extended data integrity check. As will all other managers that connect to the event manager.
[event] useCRC = 1 [mod] useCRC = 0
EXAMPLE The connection between the driver and the event will use the extended data integrity check. All other managers that connect to the event manager will not use it (unless specified in their section).[event] useCRC = 0 [mod] useCRC = 1
- The information whether a specific connection uses extended data integrity check or not is written to the connection data point of the manager. In addition a log entry will be written upon startup of the manager reporting its way of communication.
- In a redundant system the entry can be used in one or both system(s) of the redundant system.
- In a DRS system the entry can be used in one or both of the DRS system(s).
- If distributed systems are used and one of the systems is a safety system and the other
system is not, use the entry only for the safety system. The distributed partner of
the safety system will use CRC checks when communicating with the safety system's event.
CRC checks will not be used when communicating with the non-safety system's event manager.
NOTE Default behavior is communication without extended CRC checks.
- In case an invalid value is entered to the config file for the keyword "useCRC", a warning will be output in the log file and the manager will use default behaviour in its communication.
- Log messages are output when CRC is used or when CRC was configured but is not used due to a localhost connection.
- A message is also output when CRC is configured and should be used but is not being used (WARNING).
For a safety project see also the "Basic and operating Conditions" document in the ETM portal.
[event] useSourceTime
- Type
- bool
- Default
- 0
- Range
- 0|1
[event] validTimeDiff
- Type
- unsigned int (minutes)
- Default
- 10
- Range
- >= 0