ISNAN

PLCopen motion icon

 Function - Checks if the input value is not a number.

  • The IEEE standard for floating point value encoding has specific values for:
    • Infinite - the result of a division by 0 (zero).
    • Not a number - the result of 0 / 0.
  • The DIV operations are interpreted and never result in a division by 0 (zero).
    • An invalid value may come through an IO driver or protocol.

Inputs

Input

Data Type

See Data Types.

Range

Unit

Default

Description

IN

REAL

 

 

 

Floating point value.

Outputs

Output

Data Type

See Data Types.

Range

Unit

Description

Q

BOOL

 

 

TRUE if the input value is not a number.

FBD Language Example

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

Not available.