ISNAN
Checks if the input value is not a number.
Inputs
Input |
Data type |
Description |
IN |
REAL |
Floating point value. |
Hint: The IEEE standard for floating point value encoding has specific values for:
- “infinite” e.g. the result of a division by 0
- “not a number” e.g. the result of 0 / 0
Note that the DIV operations are interpreted and never result in a division by 0. However, such an invalid value may come through an IO driver or protocol.
Outputs
Output |
Data type |
Description |
Q |
BOOL |
TRUE if the input value is not a number. |
FBD Language
ISNAN |
IEC 61131-3 Automation platform > Programming - Reference guide > Mathematic operations > ISNAN |
Created with the Personal Edition of HelpNDoc: Easily Add Encryption and Password Protection to Your PDFs