Exponential Function Block

This function block carries out a potentiation calculation Out = Base (Exponent).

Figure 1: Exponential-Wire Sheet

Figure 2: Exponential-Property Sheet

Figure 3: Exponential-Logic Diagram

Input

Input Name

Description

Base

The Base number states what is being multiplied.

Exponent

(In & Par)

The Exponent states how many times the base number is being multiplied.

Table 1:Inputs of Exponential Function

Output

Output Name

Description

Out

An exponential calculation is the product of multiplying a number by itself.

Out = Base (Exponent).

Table 2:Outputs of Exponential Function

Parameter

Parameter Name

Description

Exponent Par

(In & Par)

If Exponent is "null", Exponent Par is used as parameter.

Operation

There are two operations: BaseAbs and NegInvalid. For correct calculation use NegInvalid. To avoid "null" values in very rare cases, use BaseAbs (recommendation).

Examples

  • BaseAbs: Out is calculated, if both base and exponent are negative, and the exponent is not an integer value.
  • NegInvalid: Out becomes negative, if both base and exponent are negative, and the exponent is not an integer value.

Out Save

Master Sync Enabled: If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart

Out: To enable or disable the Out feature.

Table 3:Parameters of Exponential Function

Example

1.       Operation is BaseAbs [Result = 0.125 (NegInvalid would have the same result)]

Figure 4: Exponential Example with BaseAbs

2.       Value examples depending on Operation

BaseAbs: Out = Base (Exponent). If Base and Exponent are both negative, Out =|Base| Exponent.

Example: 2(3) = 8. -2(3) = -8. -2(-3) = -0.125. -2.5(-3) = -0.064. -2(-3.5) = |2| (-3.5) = 0.088. 0(-3) = "null".

 

NegInvalid: Out = Base (Exponent). If Base and Exponent are both negative and Exponent is a non-integer value, Out = "null".

Example: 2(3) = 8. -2(3) = -8. -2(-3) = -0.125. -2.5(-3) = -0.064. -2(-3.5) = "null". 0(-3) = "null".

Refer to General Description for general information about IRMN4 Function Blocks.