ST_CM_CrestFactor_InitPars

Function block-specific structure with initialization parameters, which are analyzed when the function block is initialized.

TYPE ST_CM_CrestFactor_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
    nChannels          : UDINT := 32;                 (* Number of channels. *)
    nSubChannels       : UDINT := 0;                  (* Number of subchannels. *)
    nBufferLength      : UDINT := 250;                (* Buffer length. *)
    fDecibelThreshold  : LREAL := cCM_MinArgLog10;    (* Minimum argument of decadic logarithm for 64-bit IEEE 754 arithmetic. *)
END_STRUCT
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4022.25

PC or CX (x86, x64)

Tc3_CM_Base