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.
Function
Mnemonic
Description
Exponential EXP_REAL
EXP_LREAL
Raises
e
to the value specified in IN (
e
IN
). Calculates the inverse natural
logarithm of the IN operand.
EXPT_REAL
EXPT_LREAL
Calculates IN1 to the IN2 power (IN1
IN2
).
Inverse Trig ACOS_REAL
ACOS_LREAL
Calculates the inverse cosine of the IN operand and expresses the result in
radians.
ASIN_REAL
ASIN_LREAL
Calculates the inverse sine of the IN operand and expresses the result in
radians.
ATAN_REAL
ATAN_LREAL
Calculates the inverse tangent of the IN operand and expresses the result in
radians.
Logarithmic LN_REAL
LN_LREAL
Calculates the natural logarithm of the operand IN.
LOG_REAL
LOG_LREAL
Calculates the base 10 logarithm of the operand IN.
Square Root SQRT_DINT
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.
SQRT_INT
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.
SQRT_REAL
Calculates the square root of the operand IN, a real number, and stores the
real-number result in Q
SQRT_LREAL
Trig
COS_REAL
COS_LREAL
Calculates the cosine of the operand IN, where IN is expressed in radians.
SIN_REAL
SIN_LREAL
Calculates the sine of the operand IN, where IN is expressed in radians.
TAN_REAL
TAN_LREAL
Calculates the tangent of the operand IN, where IN is expressed in radians.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...