ISINFL

PLCopen motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Checks if the input value is infinite.

Inputs

Input

Data Type

Range

Unit

Default

Description

IN

LREAL

 

 

 

Floating point value.

Outputs

Output

Data Type

Range

Unit

Description

Q

BOOL

 

 

TRUE if the input value is infinite.

Remarks

  • 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.

FBD Language