F323_PWR

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: EXPT

The real number data specified by s1 is raised to the power specified by the real number data of s2, and the result is stored in d.

Parameters

Input

s1 (REAL)

Real number data for the base

s2 (REAL)

Real number data for the exponent

Output

d (REAL)

32-bit area for result (destination).

Remarks

NOTE
  • F323_PWR cannot be programmed in the interrupt program.

  • Instead of using F323_PWR, you can use variables of the type REAL with the more flexible instruction EXPT.

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if data other than real number data is specified in s.

  • if s is not greater than zero.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if data other than real number data is specified in s.

  • if s is not greater than zero.

sys_bIsEqual (turns to TRUE and remains TRUE)

if the result of processing is recognized as "0".

sys_bIsCarry (turns to TRUE for one scan)

if the result is overflowed.

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline