AlarmParams (PARAMS)ΒΆ

Attributes:
qualified_only
InOut:

Scope

Name

Type

Initial

Comment

Constant

PLACEHOLDER_VALUE_LENGTH

INT

(ANY_TO_INT(60) * ANY_TO_INT(2))

The length of the STRING representing the placeholder value used for the placeholder replacement in the functions ReplaceAlarmPlaceholders4 and ReplaceAlarmPlaceholders3. If WSTRING is used this parameter represents the number of bytes. Example: If the maximum length of a WSTRING to format is 90, this parameter must be set to 2 * (90 + 1) = 182

COUNT_ROWS_TO_CHECK_FOR_OLDEST_ALARMS

INT

50

This parameter contains the number of alarms near the oldest modified alarm, where we assume to find the oldest alarms.

EFFECTIVE_USED_PLACEHOLDERS

BYTE

10

This parameter defines the maximum effective number of placeholders that can be processed within a message. A value of 10 means that up to ten placeholders will be evaluated. The value should be set as high as necessary to cover all expected placeholders, because limiting it too much may prevent correct message processing. At the same time, it should be kept as low as possible, since unnecessarily large values can negatively impact performance and memory usage. The current limit of placeholders is 24.

STORAGE_QUEUE_SIZE_FACTOR

UDINT

5

The maximum size of the alarm storage queue is derived from the number of configured alarms to be able to reliably store all alarms despite having an upper bound. The number of configured alarms will be multiplied by this factor. The value can be used to adjust the resulting maximum size if necessary.

STORAGE_QUEUE_MINIMUM_MAX_SIZE

UDINT

2000

The alarm storage queue grows dynamically. The maximum size of entries in that queue will be calculated from the number of configured alarms but it will be at least this value.