EasyManua.ls Logo

Omron TJ2-MC64 - PROGRAMMING - Page 201

Omron TJ2-MC64 - PROGRAMMING
362 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC commands
PROGRAMMING MANUAL 195
Revision 1.0
3.2.285 TABLEVALUES
/i
3.2.286 TAN
/i
3.2.287 TANG_DIRECTION
/i
/i
/i
3.2.288 THEN
See IF..THEN..ELSE..ENDIF.
See also CAM, TABLE
Type System command
Syntax TABLEVALUES(address, number_of_points, format)
Description Returns a list of TABLE points starting at the number specified. There is only
one format supported at the moment, and that is comma delimited text.
Note: TABLEVALUES is provided mainly for Trajexia Studio to allow for fast
access to banks of TABLE values.
Arguments address
Number of the first point to be returned
number_of_points
Total number of points to be returned
format
Format for the list (0 = comma delimited text)
Example No example.
See also N/A
Type Mathematical function
Syntax TAN(expression)
Description The TAN function returns the tangent of the expression. The expression is
assumed to be in radians.
Arguments expression
Any valid BASIC expression.
Example >> print TAN(PI/4)
1.0000
See also N/A
Type Axis parameter
Syntax TANG_DIRECTION
Description When used with a 2 axis X-Y system, this parameter returns the
angle in radians that represents the vector direction of the
interpolated axes. The value returned is between –PI and +PI and
is determined by the directions of the interpolated axes as follows:
XY Value
01 0
1 0 PI/2
0 -1 PI (+PI or –PI)
-1 0 -PI/2
Arguments N/A
Example ‘ Note scale_factor_x MUST be the same as scale_factor_y
UNITS AXIS(4)=scale_factor_x
UNITS AXIS(5)=scale_factor_y
BASE(4,5)
MOVE(100,50)
angle = TANG_DIRECTION
See also MOVETANG

Related product manuals