FC_IsLrealValid - General Information
Type: |
Function |
Available as of: |
V1.0.3.0 |
Versions: |
Current version |
Verify if i_lrValue is a valid LREAL value.
An invalid LREAL value occurs during the execution of non-permissible mathematical operations such as e.g. 1.0 / 0.0, SQRT(-1.0) or ASIN(1.1).
Input |
Data type |
Description |
---|---|---|
i_lrValue |
LREAL |
The LREAL value to be checked |
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 |
Data type |
Description |
---|---|
BOOL |
TRUE -> i_lrValue is a valid LREAL value FALSE -> i_lrValue is not a valid LREAL value (“Not A Number”). |
q_etDiag |
q_etDiagExt |
Enumeration value |
Description |
---|---|---|---|
OK |
0 |
Ok |
Enumeration name: |
Ok |
Enumeration value: |
0 |
Description: |
Ok |
The verification of the LREAL number has been performed.