Skip to main content

Attribute: alarm_creation_default

Syntax:

{attribute  'alarm_creation_default' := true}
{attribute  'alarm_creation_default' := false}

Insertion location: Instance or declaration of the function block or structure.

By default, the {attribute 'alarm_creation_default'} attribute pragma defines whether the alarm instance is created (:= true) or not (:= false). This is reflected in the table of alarm instances in the alarm configuration.

Behavior when the pragma is missing

The attribute is optional and not usually used. Without a specified value, the system behaves as if the pragma were true and the alarm instance is created.

For more information, see the following: Alarm Configuration