142
4
4 Instructions4.4.5 Exponent Operations
An error is returned in the following conditions. The error ag M8067 is set to ON to identify this error and
the error code is stored in D8067.
• Error 6706 is returned when the x coordinates of table data are not sorted in ascending order.
• However, the SCL2 instruction is still executed properly for coordinate output within the x-coordinate
ascending sorting range.
• Error 6706 is returned when the value in [S1] exceeds the range of the table data.
◆
Application
4.4.5 Exponent Operations
Exponent operations
EXP Binary oating-point exponent operation
LOGE Binary oating-point natural logarithm operation
LOG Binary oating-point logarithm operation with a base of 10
ESQR Binary oating-point square root operation
SQR Binary number square root operation
POW Floating-point weight instruction
EXP: Binary oating-point exponent operation
◆
Overview
The EXP instruction performs exponentiation of the mathematical constant
e
(approximately equal to
2.71828) with the exponent being a binary oating-point number.
EXP S D
Binary floating-point
exponent operation
Applicable model:
H3U
S
Data
source
Binary oating-point variable used as the exponent
32-bit instruction
(9 steps)
DEXP:
Continuous
execution
DEXPP: Pulse
execution
D
Operation
result
Unit that stores the result of exponentiation