Skip to main content

Definition of Logging Variables

Variables are flagged for the data logging by attributes.

  • ac_datalog [:= group name]: This attribute assigns the variable to a logging group. If the variable is a structured variable, all members which can be logged and which are not excluded will be logged. If no group name is set, each instance of the structured variable must be marked separately.

  • ac_datalog_set_default_group: Sets the group of all members of an instance of a structured type which are not explicitly assigned to a group.

  • ac_datalog_exclude: This attribute excludes a variable of a structured data type from data logging.

  • ac_datalog_union_representant: This attribute defines a representative within an UNION, which is used for data logging.

  • ac_datalog_hysteresis := ‘value‘: This attribute sets the hysteresis. The value must be exceeded to log a variable. This attribute is only respected for numeric data types. If it is used for non-numeric data types, a warning will be displayed and the value will be ignored.

You find an additional description and examples on the help page of the Persistence Manager attributes.