Mitsubishi CRn-500 Series Instruction Manual page 81

Additional axis interface
Hide thumbs Also See for CRn-500 Series:
Table of Contents

Advertisement

(2) Built-in functions that operate without any problem in the user mechanism
Class
Numeric
ABS (<Numeric expression>)
functions
CINT (<Numeric expression>)
DEG (<Numeric expression:radian>)
EXP (<Numeric expression>)
FIX (<Numeric expression>)
INT (<Numeric expression>)
LEN(<Character string expression>)
LN (<Numeric expression>)
LOG (<Numeric expression>)
MAX (<Numeric expression>...)
MIN (<Numeric expression>...)
RAD (<Numeric expression: deg.>)
SGN (<Numeric expression>)
SQR (<Numeric expression>)
STRPOS
(<Character string expression>,
<Character string expression>)
RND (<Numeric expression>)
ASC(<Character string expression>)
CVI(<Character string expression>)
CVS(<Character string expression>)
CVD(<Character string expression>)
VAL(<Character string expression>)
Trigonometric
ATN(<Numeric expression>)
functions
ATN2(<Numeric expression>,
<Numeric expression>)
COS(<Numeric expression>)
SIN(<Numeric expression>)
Function name (format)
8.User Mechanism Settings, Operation, and Commands
Produces the absolute value
Rounds off the decimal value and converts into
an integer.
Converts the angle unit from radian (rad) to
degree (deg).
Calculates the value of the expression's
exponential function
Produces an integer section
Produces the largest integer that does not
exceed the value in the expression.
Produces the length of the character string.
Produces the logarithm.
Produces the common logarithm.
Obtains the maximum value from a random
number of arguments.
Obtains the minimum value from a random
number of arguments.
Converts the angle unit from radian (rad) to
degree (deg).
Checks the sign of the number in the
expression
Calculates the square root
Obtains the 2nd argument character string
position in the 1st argument
character string.
Produces the random numbers.
Provides a character code for the first
character of the character string in the
expression.
Converts a 2-byte character string into
integers.
Converts a 4-byte character string into a
single-precision real number.
Converts an 8-byte character string into a
double-precision real number.
Converts a character string into a numeric
value.
Calculates the arc tangent. Unit: radian
Definition range: Numeric value,
Value range: - π /2 to + π /2
Calculates the arc tangent. Unit: radian
Θ =ATN2( ⊿y , ⊿ x)
Definition range: Numeric value of ⊿y or ⊿ x
that is not 0
Value range: - π to + π
Calculates the cosine Unit: radian
Definition range: Numeric value range,
Value range: -1 to +1
Calculates the sine Unit: radian
Definition range: Numeric value range,
Value range: -1 to +1
Functions
Result
Numeric
value
Numeric
value
67

Advertisement

Table of Contents
loading

Table of Contents