Expt Function - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

5.2.1

EXPT Function

The Power of X (EXPT) function raises the value of input IN1 to the power
specified by the value IN2 and places the result in Q. The EXPT function
operates on REAL or LREAL input value(s) and place the result in output Q. The
instruction is not carried out if one of the following invalid conditions occurs:
Invalid operations (error cases) may yield results that are different from those
in the LD implementation of this function.
Operands of the EXPT Function
Parameter Description
Solve Order Calculated by the FBD editor.
IN or IN1
For EXP, LOG, and LN, IN contains the REAL
value to be operated on.
The EXPT function has two inputs, IN1 and IN2.
For EXPT, IN1 is the base value and IN2 is the
exponent.
IN2 (EXPT)
The REAL exponent for EXPT.
Q
Contains the REAL logarithmic/exponential
value of IN or of IN1 and IN2.
GFK-2950C
IN1 < 0, for EXPT
IN1 or IN2 is a NaN (Not a Number)
February 2018
Chapter 5. Function Block Diagram (FBD)
Allowed Types Allowed Operands Optional
NA
NA
REAL, LREAL
All except variables
located in %S—%SC
REAL, LREAL
All except variables
located in %S—%SC
REAL, LREAL
All except constants
and variables
located in %S—%SC
No
No
No
No
237

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents