Function Description

Use the SYST_READ_FLOAT_STATUS function to read %SW17 and return the status of a detected error on a floating operation.

The function has no input parameter.

EN and ENO can be configured as additional parameters.

Representation in FBD

Representation

Parameter Description

The SYST_READ_FLOAT_STATUS function consists of the following output parameter:

  • OUTP

The SYST_READ_FLOAT_STATUS function includes no input parameter.

Output Parameters

Parameter

Data Type

Meaning

OUTP

WORD

Status word:

  • bit 0 = 1 Invalid operation / result is not a number.

  • bit 1 = 1 Denormalized operand / result is acceptable

  • bit 2 = 1 Division by 0 / result is infinity.

  • bit 3 = 1 Overflow / result is infinity.

  • bit 4 = 1 Underflow / result is0.

  • bit 5 to bit 15 not used