Function for initialization of an axis that is controlled by function block AXM.FB_AxisModuleTpi.
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.
Input |
Data type |
Description |
---|---|---|
i_diLogDataFilter1 |
DINT |
Specifies the desired filters. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General, library-independent statement on the diagnostic. A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = GD.ET_Diag.Ok -> status message q_etDiag <> GD.ET_Diag.Ok -> diagnostic message |