Skip to main content

Module: DataLog Channel

The DataLog Channel module is used to define groups for the variable storage. The module can be added below the Datalog Manager node. This is done by the Add Submodule Instance command and the selection of the DataLogChannel module. Up to 64 DataLog channels can be added.

Dialog: Data Logging

In this dialog one or more groups can be defined which are managed by this channel. By default, the instance name of the channel module instance is available in the list.

Groups logged by this channel

New

Definition of a group

The entry is added to the list by use of the Add command.

Use hashed instance paths

standard icon: The entry is not stored with the complete instance path but with the hash value of the string to save memory space. The assignment between hash and instance path is saved in a separate file.

Remove

Removes the selected group from the list

Logged variables

List of variables assigned to the lists

These variables have the {attribute 'ac_datalog' := '<group name>'} attribute.

Refresh

Updates the list of logged variables

Note: The list can only be updated if the DataLog Generator is activated.

Variables can be assigned to the groups by the ac_datalog attribute. The ac_datalog_hysteresis attribute defines the hysteresis that have to be exceeded before a variable is logged.

Example 10. Example
VAR
    {attribute 'ac_datalog' := 'DataLogChannel'}
    {attribute 'ac_datalog_hysteresis' := '0.745'}
    rLogVar : REAL;
END_VAR


Dialog: Parameters

In this dialog, the parameters for the saving the DataLog variables are defined.

Activate

FALSE: Variables stored by this channel are not logged.

Save in first cycle

TRUE: All variables of this channel will be logged in the first cycle.

Save Cyclic

Data type TIME: All variables of this channel will are stored cyclically. The value T#0s deactivates the logging.

Dialog: HMI, Information

For details about these dialogs, see the help page HMI, and Information