5.2 Standalone Command Set
Command |
R/W |
Description |
Reference Chapter |
; |
- |
Any text following semicolon in the same line appears as a comment |
|
ABORT |
W |
Immediately stops all motion for all axes |
|
ABORT[axis] |
W |
Immediately stops motion in [axis] |
|
ABS |
W |
Turns on absolute position coordinate mode |
|
ACC |
R/W |
Returns/sets global acceleration value in ms |
|
ACC[axis] |
R/W |
Returns/sets [axis] acceleration value in ms |
|
AI[ch] |
R |
Returns analog input status for [ch] in mV |
|
ARC[A1][A2]N[C1]:[C2]:[Ɵ] |
W |
Arc interpolation with axes [A1], [A2], centers at [C1], [C2], CCW direction to [Ɵ] |
|
ARC[A1][A2]P[C1]:[C2]:[Ɵ] |
W |
Arc interpolation with axes [A1], [A2], centers at [C1], [C2], CW direction to [Ɵ] |
|
ARCTN[Cx]:[Cy]:[θ]:[pos] |
W |
X-Y arc interpolation, centers at [C1], [C2], CCW direction to [Ɵ] with Z linear interpolation to [pos] |
|
ARCTP[Cx]:[Cy]:[θ]:[pos] |
W |
X-Y arc interpolation, centers at [C1], [C2], CW direction to [Ɵ] with Z linear interpolation to [pos] |
|
BUFOFF |
W |
Disable buffered move |
|
BUFON |
W |
Enable buffered move |
|
CIR[A1][A2]N[C1]:[C2] |
W |
Circular interpolation with axes [A1], [A2], centers at [C1], [C2], CCW direction |
|
CIR[A1][A2]P[C1]:[C2] |
W |
Circular interpolation with axes [A1], [A2], centers at [C1], [C2], CW direction |
|
CIRTN[C1]:[C2]:[pos] |
W |
X-Y circular interpolation, centers at [C1], [C2], CCW direction with Z linear interpolation to [pos] |
|
CIRTP[C1]:[C2]:[pos] |
W |
X-Y circular interpolation, centers at [C1], [C2], CW direction with Z linear interpolation to [pos] |
|
DEC |
R/W |
Returns/sets the global deceleration value in ms |
|
DEC[axis] |
R/W |
Returns/sets [axis] deceleration value in ms |
|
DELAY |
W |
Sets delay in ms |
|
DI |
R |
Return status of digital inputs (4-bit) |
|
DI[1-4] |
R |
Get individual bit status of digital inputs. Will return [0,1]. |
|
DO |
R/W |
Returns/sets 4 bits of general-purpose digital outputs |
|
DO[1-4] |
R/W |
Returns/sets bit status of general digital output [1-4] |
|
E[axis] |
R/W |
Returns/sets the encoder value of [axis] |
|
ECLEAR[axis] |
W |
Clear any motor status errors. |
|
EINT |
R/W |
Returns/sets the interpolation Enable/Disable status |
|
EO |
R/W |
Returns/sets 4 bits of enable output value for all axes |
|
EO[1-4] |
R/W |
Returns/sets enable output value for [1-4] |
|
GOSUB[0-31] |
- |
Executes subroutine [0-31] |
|
HOME[axis][+/-][mode] |
W |
Home [axis] in positive or negative [+/-] direction using homing mode [mode] (see Appendix A: Homing Mode Actions) |
|
HSPD |
R/W |
Returns/sets the global high-speed setting |
|
HSPD[axis] |
R/W |
Returns/sets the high-speed setting for [axis] |
|
IF ELSEIF ELSE ENDIF |
- |
Executes the instruction following the IF statement when condition is true. Execute the instruction following the next ELSE or ELSEIF statement when the condition is false. When all conditions are false, continue executing program after ENDIF. The following operands are used in the conditional IF statement: =, >, <, > =, <=, != |
|
INC |
W |
Turns on incremental coordinate mode |
|
IO |
R/W |
Returns/sets the status of all configurable I/O ports (32-bit) |
|
IO[index] |
R/W |
Returns/sets the status of configurable I/O at [index] |
|
ISTART |
W |
Start processing the buffer (buffer must be enabled) |
|
JOG[axis][+/-] |
W |
Jogs the [axis] in the [+] or [-] direction using the HSPD setting |
|
JOYENA |
R/W |
Returns/sets the status for joystick control |
|
JOYHS[axis] |
R/W |
Returns/sets the maximum speed setting of [axis] for joystick operations |
|
LSPD |
R/W |
Returns/sets global low speed setting |
|
LSPD[axis] |
R/W |
Returns/sets low speed setting for [axis] |
|
MST[axis] |
R |
Returns all motor status, buffer move status, and move mode status for [axis] |
|
P[axis] |
R/W |
Returns/sets the position value for [axis] |
|
PRG[0-3] END |
- |
Defines the first and last line of a standalone program [0-3]. |
|
PS[axis] |
R |
Returns the current pulse speed for [axis] |
|
SL[axis] |
R/W |
Returns/sets enable/disable of StepNLoop for [axis] |
|
SLS[axis] |
R |
Returns StepNLoop status for [axis] |
|
SR[0-3] |
W |
Controls standalone program [0-3]. Use command to stop, start, pause, continue. |
|
SSPD[axis] |
W |
Performs on-the-fly speed change for [axis]. Buffer must be disabled. |
|
SSPDM[axis] |
W |
Sets the on-the-fly speed mode for [axis] |
|
STOP |
W |
Performs ramp down to low speed and stop if motor is moving for all axes |
|
STOP[axis] |
W |
Performs ramp down to low speed and stop if motor is moving for [axis] |
|
STORE |
W |
Saves parameters to flash memory |
|
SUB[0-31] ENDSUB |
- |
Used to define the first and last line of a Subroutine [0-31] |
|
SYNCFG[axis] |
R/W |
Returns/sets SYNC condition and source [axis] |
|
SYNOFF[axis] |
W |
Disable synchronization window and output [axis] |
|
SYNON[axis] |
W |
Enable synchronization output [axis] |
|
SYNPOS[axis] |
R/W |
Sets/returns the synchronization position value or distance between pulses for continuous sync [axis] |
|
SYNSTAT[axis] |
W |
Returns the status of the synchronization feature [axis] |
|
V[var] |
R/W |
Returns/sets the variable [var] value. [var] is number 0-99. |
|
WAIT[axis] |
W |
Waits for completion of [axis] motion before next command is executed |
|
WHILE ENDWHILE |
- |
Continues executing the program after the WHILE statement when the conditional statement is true. Repeat until WHILE condition is false, and then execute program after ENDWHILE. Conditional operands available include: =, >, <, >=, <=, != |
|
X[target] |
W |
Individual move command for X axis to [target] |
|
Y[target] |
W |
Individual move command for Y axis to [target] |
|
Z[target] |
W |
Individual move command for Z axis to [target] |
|
U[target] |
W |
Individual move command for U axis to [target] |
|
X[pos]Y[pos]Z[pos]U[pos] |
W |
Interpolation move command (include all axes that will be interpolated). EINT must be enabled (1). |
|
ZMOVE[axis][dir] |
W |
Perform the EZ Count operation. Moves [axis] the number of Z-index pulses specified by ZCNT in [dir] positive (+) or negative (-) before stopping. |
A-Script standalone commands
< Previous Chapter | Topic Home | Home | Next Chapter >