Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 45

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Converting TIME to INT/DINT
Function symbol
Processing details
TIME_TO_INT
Converts a value from TIME data type to INT data type.
TIME_TO_DINT
Converts a value from TIME data type to DINT data type.
Single variable functions
■Calculating the absolute value
Function symbol
Processing details
ABS
Outputs the absolute value of an input value.
■Calculating the square root
Function symbol
Processing details
SQRT
Calculates the square root of an input value.
■Calculating the natural logarithm
Function symbol
Processing details
LN
Outputs the natural logarithm (logarithm with base e) of an input value.
■Calculating the common logarithm
Function symbol
Processing details
LOG
Outputs the common logarithm (logarithm with base 10) of an input value.
■Calculating the exponent
Function symbol
Processing details
EXP
Outputs the exponent of an input value.
■Calculating the sine/cosine/tangent
Function symbol
Processing details
SIN
Outputs the sine of an input value.
COS
Outputs the cosine of an input value.
TAN
Outputs the tangent of an input value.
■Calculating the arc sine/arc cosine/arc tangent
Function symbol
Processing details
ASIN
Outputs the arc sine (SIN
ACOS
Outputs the arc cosine (COS
ATAN
Outputs the arc tangent (TAN
Arithmetic operation functions
■Addition
Function symbol
Processing details
ADD
Outputs the sum of input values ((s1)+(s2)+⋅⋅⋅+(s28)).
■Multiplication
Function symbol
Processing details
MUL
Outputs the product of input values ((s1)×(s2)×⋅⋅⋅×(s28)).
■Subtraction
Function symbol
Processing details
SUB
Outputs the difference between input values ((s1)-(s2)).
-1
) of an input value.
-1
) of an input value.
-1
) of an input value.
4 STANDARD FUNCTIONS/FUNCTION BLOCKS
Reference
Page 164
TIME_TO_INT
Page 165
TIME_TO_DINT
Reference
Page 166 ABS
Reference
Page 167 SQRT
Reference
Page 168 LN
Reference
Page 169 LOG
Reference
Page 170 EXP
Reference
Page 171 SIN
Page 172 COS
Page 173 TAN
Reference
Page 174 ASIN
Page 175 ACOS
Page 176 ATAN
Reference
Page 177 ADD
Reference
Page 179 MUL
Reference
Page 181 SUB
43
4.1 Standard Functions
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents