ST_CM_MeanStressCorrection_InitPars

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

TYPE ST_CM_MeanStressCorrection_InitPars EXTENDS ST_CM_Object_InitPars :
STRUCT
    eMeanStressCorrection : E_CM_MeanStressCorrection
                            := E_CM_MeanStressCorrection.eCM_Goodman;  (* Mean stress correction type, e.g. Goodman or Gerber correction. *)
    nBins                 : UDINT := 1;                                (* Number of bins for the stress levels. *)
    fBinWidth             : LREAL := 1.0;                              (* Width of the stress bins. *)
    nBinsMean             : UDINT := 1;                                (* Number of bins for the mean levels. *)
    fBinWidthMean         : LREAL := 1.0;                              (* Width of the mean stress bins. *)
    fUTS                  : LREAL := 700.0;                            (* Ultimate tensile strength of material. *)
    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