Installation guide
Programming Commands 67
7.3 Programming Command Summary (alphabetical list)
Page
& Returns the bitwise AND of the expression. 78
| Returns the bitwise inclusive OR of the expression. 78
^ Returns the bitwise exclusive OR of the expression. 78
>> Returns the bitwise shift right of the argument. 79
<< Returns the bitwise shift left of the argument. 79
A
ABS Returns the absolute value of an expression. 79
ABSPOS Sets or returns the commanded absolute position of an axis. 80
ACCEL Sets or returns the acceleration value of the motor. 81
ACTSPD Returns the current commanded velocity of an axis in Units/seconds. 81
ANALOG Sets or returns a numeric value representation on the analog port. 82
AND The logical AND operator is used in Boolean expressions. 83
ARC Initiates a coordinated motion to move in an arc. 84
ASC Returns the ASCII code for the first character in a string. 84
ATN Returns the angle (in radians) whose tangent is x. 85
ATN2 Returns the angle (in radians) whose tangent is y/x. 85
B
BCD Returns the BCD switches value connected to an Expansion I/O port. 86
BOOST Enables or Disables the Boost current feature or returns the boost enable
status of an axis. 86
BUSY Returns the motion status of an axis. 86
C
CAPPOS Returns the last captured absolute position of an axis from a MOVEHOME,
MOVEREG or CAPTURE cycle. 87
CAPTURE Sets the position capture trigger condition or returns the position capture
status. 88
CHR$ Returns a one character string whose ASCII code is the argument. 89
COMMON Allows variables to be shared by other tasks. 89
COS Returns the cosine of the angle x, where x is in radians. 89
D
DATA Stores the numeric constants used by the READ statement. 90
DECEL Sets or returns the deceleration value of an axis. 90
#DEFINE Defines a symbolic name to be a particular string of characters. 91
DELTACAPPOS Returns the difference between the current captured position and the
previously captured position. 92
DIM Declares an array variable and allocated storage space. 93
DIST Returns the distance moved from the start of the last motion. 93
DO ... LOOP Repeats a block of statements while a condition is true or until a condition
becomes true. 94
DONE Returns the motion status of an axis. 95
DRVREADY Enables or disables the checking of the drive (READY) signal on the axis
card. 96










