Chapter 5. Function Block Diagram (FBD)
GFK-2950C
February 2018
237
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:
▪
IN1 < 0, for EXPT
▪
IN1 or IN2 is a NaN (Not a Number)
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
Allowed Types Allowed Operands Optional
Solve Order Calculated by the FBD editor.
NA
NA
No
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.
REAL, LREAL
All except variables
located in %S
—
%SC
No
IN2 (EXPT) The REAL exponent for EXPT.
REAL, LREAL
All except variables
located in %S
—
%SC
No
Q
Contains the REAL logarithmic/exponential
value of IN or of IN1 and IN2.
REAL, LREAL
All except constants
and variables
located in %S
—
%SC
No
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...