Omron trajexia CJ1W-MCH72 Operation Manual page 108

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-28 ASIN
4-2-29 ATAN
4-2-30 ATAN2
/i
Type
Mathematical function
Syntax
ASIN(expression)
Description
The ASIN function returns the arc-sine of the argument. The argument
must have a value between -1 and 1. The result in radians is between -
PI/2 and PI/2. Input values outside this range return 0.
Arguments
expression
Any valid BASIC expression.
Example
>> PRINT ASIN(-1)
-1.5708
See also
N/A
/i
Type
Mathematical function
Syntax
ATAN(expression)
Description
The ATAN function returns the arc-tangent of the argument.
expression can have any value. The result is in radians and is between
-PI/2 and PI/2.
Arguments
expression
Any valid BASIC expression.
Example
>> PRINT ATAN(1)
0.7854
See also
N/A
/i
Type
Mathematical function
Syntax
ATAN2(expression1, expression2)
Description
The ATAN2 function returns the arc-tangent of the non-zero complex
number (expression1, expression2), which is equivalent to the angle
between a point with coordinate (expression1, expression2) and the
x-axis. If expression2 >= 0, the result is equal to the value of
ATAN(expression1 / expression2). The result in radians will be
between -PI and PI.
Arguments
expression1
Any valid BASIC expression.
expression2
Any valid BASIC expression.
Example
>> PRINT ATAN2(0,1)
0.0000
See also
N/A
Section 4-2
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents