ST_CM_RMS_InitPars

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

TYPE ST_CM_RMS_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
    nChannels            : UDINT := 4;                  (* Number of channels. *)
    nSubChannels         : UDINT := 0;                  (* Number of subchannels. *)
    nBufferLength        : UDINT := 2000;               (* Buffer length. *)
    fDecibelThreshold    : LREAL := cCM_MinArgLog10;    (* Minimum argument of decadic logarithm for 64-bit IEEE 754 arithmetic. *)
    bTransformToDecibel  : BOOL := TRUE;                (* Transform to decibel. *)
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