152
4 STANDARD FUNCTIONS/FUNCTION BLOCKS
4.1 Standard Functions
■Getting the start data
Single variable functions
■Calculating the absolute value
■Calculating the square root
■Calculating the natural logarithm
■Calculating the common logarithm
■Calculating the exponent
■Calculating the sine/cosine/tangent
■Calculating the arc sine/arc cosine/arc tangent
Function symbol Processing details Reference
GET_BOOL_ADDR Outputs the top data of the specified data as the BOOL, INT, or WORD type data. Page 1892
GET_BOOL_ADDR,
GET_INT_ADDR,
GET_WORD_ADDR
GET_INT_ADDR
GET_WORD_ADDR
Function symbol Processing details Reference
ABS Outputs the absolute value of an input value. Page 1893 ABS(_E)
ABS_E
Function symbol Processing details Reference
SQRT Calculates the square root of an input value. Page 1895 SQRT(_E)
SQRT_E
Function symbol Processing details Reference
LN Outputs the natural logarithm (logarithm with base e) of an input value. Page 1896 LN(_E)
LN_E
Function symbol Processing details Reference
LOG Outputs the common logarithm (logarithm with base 10) of an input value. Page 1897 LOG(_E)
LOG_E
Function symbol Processing details Reference
EXP Outputs the exponent of an input value. Page 1899 EXP(_E)
EXP_E
Function symbol Processing details Reference
SIN Outputs the sine of an input value. Page 1900 SIN(_E)
SIN_E
COS Outputs the cosine of an input value. Page 1901 COS(_E)
COS_E
TAN Outputs the tangent of an input value. Page 1902 TAN(_E)
TAN_E
Function symbol Processing details Reference
ASIN Outputs the arc sine (SIN
-1
) of an input value. Page 1903 ASIN(_E)
ASIN_E
ACOS Outputs the arc cosine (COS
-1
) of an input value. Page 1904 ACOS(_E)
ACOS_E
ATAN Outputs the arc tangent (TAN
-1
) of an input value. Page 1905 ATAN(_E)
ATAN_E