F_CM_CalculateWoehlerCurve
Diese Funktion berechnet aus Materialparametern als Input eine Wöhler-Kurve.
FUNCTION F_CM_CalculateWoehlerCurve : HRESULT
VAR_INPUT
fSRI : LREAL; (* Stress Range Intercept. *)
fUTS : LREAL; (* Ultimate Tensile Strength OF the material. *)
bUseUTSCorrection : BOOL; (* Apply UTS correction. *)
fK1 : LREAL; (* Gradient of Woehler Curve for region N = 1 to nNC1. *)
fK2 : LREAL; (* Gradient of Woehler Curve starting from nNC2. *)
nNC1 : ULINT; (* Transition Point for UTS correction. *)
nNC2 : ULINT; (* Fatigue Transition Point between fK1 and fK2. *)
fRRatio : LREAL; (* R-Ratio of the material test. *)
fStepsize : LREAL; (* Width of stress bins. *)
nCurveLength : UDINT; (* Length of curve. *)
pCurve : POINTER TO POINTER TO LREAL; (* Pointer to array data. *)
END_VAR
Voraussetzungen
Entwicklungsumgebung | Zielplattform | Einzubindende SPS-Bibliotheken |
---|---|---|
TwinCAT v3.1.4022.25 | PC or CX (x86, x64) | Tc3_CM_Base |