EasyManua.ls Logo

Omron TJ2-MC64 - PROGRAMMING

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 38
Revision 1.0
3.2.30 ATAN
/i
3.2.31 ATAN2
/i
3.2.32 ATYPE
/i
/i
/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
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
Type Axis parameter
Syntax ATYPE = value
Description The ATYPE axis parameter indicates the axis type for the axis. The valid val-
ues depend on TJ1 module the Servo Drive controlling the axis is connected
to. See the table below.
AXIS type ATYPE value Applicable TJ1 unit
Virtual 0 All
MECHATROLINK-II Position 40 TJ1-ML__
(MECHATROLINK-II Master Unit)
MECHATROLINK-II Speed 41 TJ1-ML__
MECHATROLINK-II Torque 42 TJ1-ML__
Flexible axis Stepper Out 43 TJ1-FL02
Flexible axis Servo 44 TJ1-FL02
Flexible axis Encoder Out 45 TJ1-FL02
Flexible axis Absolute Tamagawa 46 TJ1-FL02
Flexible axis Absolute EnDat 47 TJ1-FL02
Flexible axis Absolute SSI 48 TJ1-FL02
MECHATROLINK-II Inverter 49 TJ1-ML__
Flexible axis Stepper In 60 TJ1-FL02
The ATYPE parameters are set by the system at start-up. For axes controlled
by the Servo Drives connected to the system via MECHATROLINK-II bus, the
default ATYPE value is 40 (MECHATROLINK-II Position). For axes controlled
by the Servo Drives connected to the system via the TJ1-FL02, the default
ATYPE value is 44 (Flexible Axis Servo).
Arguments N/A

Related product manuals