Omron TJ2-MC64 - PROGRAMMING Programming Manual page 196

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
3.2.273 SQR
/i
Type
Mathematical function
Syntax
SQR(expression)
Description
The SQR function returns the square root of the expression. The expression
must have positive (including 0) value.
Arguments
expression
Any valid BASIC expression.
Example
>> PRINT SQR(4)
2.0000
See also
N/A
3.2.274 SRAMP
/i
Type
Axis parameter
Syntax
SRAMP
Description
The SRAMP parameter contains the S-curve factor. The S-curve factor con-
trols the amount of rounding applied to the trapezoidal profiles. A value of 0
sets no rounding. A value of 10 sets maximum rounding. The default value of
the parameter is 0.
SRAMP is applied to the FORWARD, MOVE, MOVEABS, MOVECIRC,
MHELICAL and REVERSE commands.
Notes:
Using S-curves increases the time required for the movement to com-
plete.
The S-curve factor must not be changed while a move is in progress.
Arguments
N/A
Example
No example.
See also
AXIS.
PROGRAMMING MANUAL
3.2.275 START_DIR_LAST
/i
Type
Axis parameter (read only)
Syntax
START_DIR_LAST
Description
Allows the program to examine the start direction in radians of the last pro-
grammed MOVESP/MOVEABSSP/MOVECIRCSP move of 2 or more axes.
Arguments
N/A
Example
>>MOVESP(10000,10000)
>>? START_DIR_LAST
0.7854
>>MOVESP(0,10000)
>>? START_DIR_LAST
0.0000
See also
MOVESP.
3.2.276 STEP
See
.
FOR..TO..STEP..NEXT
3.2.277 STEP_RATIO
/i
Type
Axis command
Syntax
STEP_RATIO(output_count, dpos_count)
190

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents