Exponential

The input pins for the function block are x, y, and negInvalid, and the output pin is z. This function raises y to the power of x. x and y are floating point numbers. The application designer is limited to two of these function blocks per device. Unconnected inputs are treated as 0. Invalid inputs result in an invalid output. The negInvalid input determines whether the operation should proceed with a negative base and non-integer exponent, operating on the absolute value of the base, or return invalid. The negInvalid input does not affect an unconnected or invalid input. If both the X and y inputs are disconnected, then the output z, is 1.

TailOperation: The output value is based on one of four specified property values:

 

Analog Inputs

Range
Input Name Low High Input Value Description
x > = - infinity < + infinity base number
unconnected output =1 if y = 0

output = 0 if y is non zero

invalid output set to invalid
y > = - infinity < + infinity exponent
unconnected output = 1
invalid output set to invalid
negInvalid 0 1 Configuration option for the condition of x^y when the exponent (y) is a non-integer and the base number (x) is negative.
enumeration:
0 – use the absolute value of x
1 – output is set to invalid
Default value = 1
unconnected val = 0
invalid val = 0

Output

Output Name Range Description
Z Any floating point value z = x power y