FC_Poly5AbsExtremeValuesDerivatives
FC_Poly5AbsExtremeValuesDerivatives - General Information
Type: |
Function |
Available as of: |
V1.0.3.0 |
Versions: |
Current version |
Calculation of the extreme values of a 5th order equation and their first two derivatives.
Calculates the absolute extreme of the grade 5 polynomial and its 1st and 2nd derivation to the interval [i_lrX0, i_lrX1] given by the coefficients array i_stCoefficients ("curve tracing").
If the absolute extreme values of a polynomial, which meets specific boundary conditions, are to be calculated, the coefficient array of the polynomial can first be calculated by means of the function FC_Poly5Coefficients.
Input |
Data type |
Description |
---|---|---|
i_lrX0 |
LREAL |
Lower limit of the considered X interval. |
i_lrX1 |
LREAL |
Upper limit of the considered X interval. |
i_alrCoefficients |
ARRAY[0..5] OF LREAL |
Coefficient array of the polynomial whose absolute extreme values are to be calculated, with the element 5 being the coefficient of the highest order and the element 0 being the coefficient of the lowest order. |
Output |
Data type |
Description |
---|---|---|
q_etDiag |
General library-independent statement on the diagnostic. A value not equal to ET_Diag.Ok corresponds to an diagnostic message. |
|
q_etDiagExt |
POU-specific output on the diagnostic. q_etDiag = ET_Diag.Ok -> Status message q_etDiag <> ET_Diag.Ok -> Diagnostic message |
|
q_lrXAbsMin |
LREAL |
X-value of the absolute minimum of the polynomial for the considered interval. |
q_lrYAbsMin |
LREAL |
Y value of the absolute minimum of the polynomial for the considered interval. |
q_lrXAbsMax |
LREAL |
X value of the absolute maximum of the polynomial for the considered interval. |
q_lrYAbsMax |
LREAL |
Y-value of the absolute maximum of the polynomial for the considered interval. |
q_lrDeriv1XAbsMin |
LREAL |
X-value of the absolute minimum of the 1. derivation of the polynomial |
q_lrDeriv1YAbsMin |
LREAL |
Y-value of the absolute minimum of the 1nd derivation of the polynomial |
q_lrDeriv1XAbsMax |
LREAL |
X-value of the absolute maximum of the 1nd derivation of the polynomial |
q_lrDeriv1YAbsMax |
LREAL |
Y-value of the absolute maximum of the 1nd derivation of the polynomial |
q_lrDeriv2XAbsMin |
LREAL |
X-value of the absolute minimum of the 2. derivation of the polynomial |
q_lrDeriv2YAbsMin |
LREAL |
Y-value of the absolute minimum of the 2nd derivation of the polynomial |
q_lrDeriv2XAbsMax |
LREAL |
X-value of the absolute maximum of the 2nd derivation of the polynomial |
q_lrDeriv2YAbsMax |
LREAL |
Y-value of the absolute maximum of the 2nd derivation of the polynomial |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
|
InputParameterInvalid |
97 |
The definition of the X interval is invalid. |
|
UnexpectedProgramBehavior |
1 |
An unintended detected error occurred during execution. |
Enumeration name: |
DefinitionXInterval |
Enumeration value: |
97 |
Description: |
The definition of the X interval is invalid. |
Issue |
Cause |
Solution |
---|---|---|
- |
The definition of the X interval via i_lrX1 and i_lrX0 is invalid. |
The following must hold: i_lrX1> i_lrX0 |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The extreme values have been calculated successfully.
Enumeration name: |
UnexpectedFeedback |
Enumeration value: |
1 |
Description: |
An unintended detected error occurred during execution. |
Issue |
Cause |
Solution |
---|---|---|
- |
An error occurred in the internal execution. |
Please inform the support team about this error. |