
BASIC commands
PROGRAMMING MANUAL
22
R
e
vi
si
o
n
1
.0
3.1.7
Program commands
/i
<> (IS NOT EQUAL
TO)
Checks two expressions to see if they are different.
> (IS GREATER THAN)
Checks two expressions to see if the expression on the left is
greater than the expression on the right.
>= (IS GREATER
THAN OR EQUAL TO)
Checks two expressions to see if the expression on the left is
greater than or equal to the expression on the right.
< (IS LESS THAN)
Checks two expressions to see if the expression on the left is
less than the expression on the right.
<= (IS LESS THAN OR
EQUAL TO)
Checks two expressions to see if the expression on the left is
less than or equal to the expression on the right.
ABS
Returns the absolute value of an expression.
ACOS
Returns the arc-cosine of an expression.
AND
Performs an AND operation on corresponding bits of the integer
parts of two expressions.
ASIN
Returns the arc-sine of an expression.
ATAN
Returns the arc-tangent of an expression.
ATAN2
Returns the arc-tangent of the non-zero complex number made
by two expressions.
B_SPLINE
Expands the profile stored in
TABLE
memory using the B-Spline
mathematical function.
COS
Returns the cosine of an expression.
EXP
Returns the exponential value of an expression.
FRAC
Returns the fractional part of an expression.
IEEE_IN
Returns floating point number in IEEE format, represented by 4
bytes.
IEEE_OUT
Returns single byte extracted from the floating point number in
IEEE format.
INT
Returns the integer part of an expression.
LN
Returns the natural logarithm of an expression.
MOD
Returns the modulus of two expressions.
Name
Description
NOT
Performs a NOT operation on corresponding bits of the integer
part of the expression.
OR
Performs an OR operation between corresponding bits of the
integer parts of two expressions.
SGN
Returns the sign of an expression.
SIN
Returns the sine of an expression.
SQR
Returns the square root of an expression.
TAN
Returns the tangent of an expression.
XOR
Performs an XOR function between corresponding bits of the
integer parts of two expressions.
Name
Description
' (COMMENT FIELD)
Enables a line not to be executed.
: (STATEMENT
SEPARATOR)
Enables more statements on one line.
AUTORUN
Starts all the programs that have been set to run at start-up.
COMPILE
Compiles the current program.
COPY
Copies an existing program in the motion controller to a new
program.
DEL
Deletes a program from the motion controller.
DIR
Displays a list of the programs in the motion controller, their size
and their RUNTYPE on the standard output.
LIST
Prints the program on the standard output.
NEW
Deletes all lines of the program in the motion controller.
PROCESS
Returns the running status and task number for each current
task.
RENAME
Changes the name of a program in the motion controller.
Name
Description