Chapter 4. Ladder Diagram (LD) Programming
62 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
4.1 Advanced Math Functions
The Advanced Math functions perform logarithmic, exponential, square root, trigonometric, and
inverse trigonometric operations.
Raises e to the value specified in IN (e
IN
). Calculates the inverse natural
logarithm of the IN operand.
Calculates IN1 to the IN2 power (IN1
IN2
).
Calculates the inverse cosine of the IN operand and expresses the result in
radians.
Calculates the inverse sine of the IN operand and expresses the result in
radians.
Calculates the inverse tangent of the IN operand and expresses the result in
radians.
Calculates the natural logarithm of the operand IN.
Calculates the base 10 logarithm of the operand IN.
Calculates the square root of the operand IN, a double-precision integer, and
stores in Q the double-precision integer portion of the square root of the
input IN.
Calculates the square root of the operand IN, a single-precision integer, and
stores in Q the single-precision integer portion of the square root of the input
IN.
Calculates the square root of the operand IN, a real number, and stores the
real-number result in Q
Calculates the cosine of the operand IN, where IN is expressed in radians.
Calculates the sine of the operand IN, where IN is expressed in radians.
Calculates the tangent of the operand IN, where IN is expressed in radians.