FC_InitLogDataFilter - General Information

Overview

Type:

Function

Available as of:

V1.1.0.0

Support for:

PacDrive pilot template architecture

Task

Function for initialization of an axis that is controlled by function block AXM.FB_AxisModuleTpi.

Description

The AXM.FB_AxisModule POU contains a FB_Logger POU that detects events according to the parameterized logger filters. Using the FC_InitLogDataFilter function, several filters can be set at once.

Up to ten filters can be specified with the inputs i_diLogDataFilter1 to i_diLogDataFilter10 and the enumeration type ET_LogDataFilter can be used to specify what to record.

Interface

Input

Data type

Description

i_diLogDataFilter1

DINT

Specifies the desired filters.

Output

Data type

Description

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> status message

q_etDiag <> GD.ET_Diag.Ok -> diagnostic message

Return Value

Data type

Description

WORD

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Ok

0

Ok

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok