ST_CM_MinersRule_InitPars

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

TYPE ST_CM_MinersRule_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
    nBins       : UDINT := 64;   (* Number of bins for the stress levels. *)
    nBinsMean   : UDINT := 64;   (* Number of bins for the mean levels. *)
    fDamage     : LREAL := 0.0;  (* Additional constant damage *)
    nCycles     : ULINT := 0;    (* Initial number of cycles counted *)
    nChannels   : UDINT := 1;    (* Number of channels. *)
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