4.1 ASCII Command Set
Command |
R/W |
Description |
Reference Chapter |
ABORT |
W |
Immediately stops all motion for all axes |
|
ABORT[axis] |
W |
Immediately stops motion in [axis] |
|
ABS |
W |
Turns on absolute coordination mode |
|
ACC |
R |
Returns current global acceleration value in ms |
|
ACC=[value] |
W |
Sets global acceleration value in ms |
|
ACC[axis] |
R |
Returns current [axis] acceleration value in ms |
|
ACC[axis]=[value] |
W |
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[C1]:[C2]:[Ɵ]:[Z target] |
W |
X-Y Arc interpolation, centers at [C1], [C2], CCW direction to [Ɵ] with Z linear interpolation to [target] |
|
ARCTP[C1]:[C2]:[Ɵ]:[Z target] |
W |
XY Arc interpolation, centers at [C1], [C2], CW direction to [Ɵ] with Z linear interpolation to [target] |
|
BF |
W |
Disable buffered move |
|
BO |
W |
Enable buffered move |
|
BSTART |
W |
Start processing the buffer (buffer must be enabled) |
|
BSTAT |
R |
Status of the buffer |
|
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]:[Z target] |
W |
X-Y circular interpolation, centers at [C1], [C2], CCW direction with Z linear interpolation to [target] |
|
CIRTP[C1]:[C2]:[Z target] |
W |
X-Y circular interpolation, centers at [C1], [C2], CW direction with Z linear interpolation to [target] |
|
CLR[axis] |
W |
Clears limit, alarm status bit, and StepNLoop errors for [axis] |
|
D[axis] |
R |
Returns StepNLoop value for [axis] |
|
DB |
R |
Returns baud rate |
|
DB=[value] |
W |
Sets baud rate to [value] |
|
DEC |
R |
Returns the current global deceleration value in ms |
|
DEC=[value] |
W |
Sets global deceleration value in ms |
|
DEC[axis] |
R |
Returns current [axis] deceleration value in ms |
|
DEC[axis]=[value] |
W |
Sets [axis] deceleration value in ms |
|
DI |
R |
Returns 4-bits of general-purpose digital inputs |
|
DI[in] |
R |
Returns bit status of general digital input [in] |
|
DIP |
R |
Returns the digital input polarity |
|
DIP=[pol] |
W |
Sets the digital input polarity [pol] |
|
DO |
R |
Returns 4-bits of general-purpose digital outputs. |
|
DO=[value] |
W |
Sets 4-bits of general-purpose digital outputs. |
|
DO[out] |
R |
Returns bit status of general digital output [out] |
|
DO[out]=[value] |
W |
Sets bit of general-purpose digital output [out] |
|
DOBOOT |
R |
Returns the DO boot-up state |
|
DOBOOT=[value] |
W |
Sets the DO boot-up state |
|
DOP |
R |
Returns the digital output polarity |
|
DOP=[pol] |
W |
Sets the digital output polarity [pol] |
|
E[axis] |
R |
Returns the encoder value of [axis] |
|
E[axis]=[value] |
W |
Sets the encoder value of [axis] |
|
EINT |
R |
Returns the interpolation setting |
|
EINT=[value] |
W |
Enables/disables interpolation |
|
EO |
R |
Returns 4-bits of enable output value |
|
EO=[value] |
W |
Sets 4-bits of enable output value |
|
EO[en] |
R |
Returns bit of enable output [en] |
|
EO[en]=[value] |
W |
Sets bit of enable output [en] |
|
EOBOOT |
R |
Returns EO boot-up state |
|
EOBOOT=[value] |
W |
Sets EO boot-up state |
|
EP |
R |
Returns the encoder value for all 4 axes |
|
ERC[axis] |
R |
Returns the enable status of the deflection counter clear output |
|
ERC[axis]=[value] |
W |
Enables/disables the deflection counter clear output |
|
ERCD[axis] |
R |
Returns the pulse delay set value |
|
ERCD[axis]=[value] |
W |
Sets the pulse delay value (2-bits) |
|
ERCP[axis] |
R |
Returns the pulse width set value |
|
ERCP[axis]=[value] |
W |
Sets the pulse width value (3-bits) |
|
ESTOP |
W |
Performs an emergency stop (same as triggering CEMG) |
|
EXST |
R |
Returns the status of the external start feature |
|
EXST=[value] |
W |
Enable/disable the external start feature |
|
GS[sub] |
W |
Call a defined subroutine [sub] (value 0 – 31) |
|
H[axis][+/-][mode] |
W |
Home [axis] in positive or negative direction using homing mode [mode] (see Appendix A for detailed information on homing modes) |
|
HSPD |
R |
Returns the global high speed setting |
|
HSPD[value] |
W |
Sets the global high speed value |
|
HSPD[axis] |
R |
Returns the high speed setting for [axis] |
|
HSPD[axis]=[value] |
W |
Sets the high speed value for [axis] |
|
I[X target]:[Y target]:[Z target]:[speed] |
W |
Writes an XYZ interpolated move to buffer. Sets each axis move target and desired move speed. |
|
ID |
R |
Returns the Commander’s ID |
|
ID=[value] |
W |
Sets the Commander’s ID. Range is 00 to 99. Use STORE command to save. |
|
IERR |
R |
Returns the ignore limit/alarm error status |
|
IERR=[value] |
W |
Sets the ignore limit/alarm status |
|
INC |
W |
Turns on incremental coordinate mode |
|
INP[axis] |
R |
Returns enable/disable status of positioning complete signal for [axis] |
|
INP[axis]=[value] |
W |
Enables/disables the positioning complete signal for [axis] |
|
IO |
R |
Returns the status of all configurable I/O ports (32-bit) |
|
IO=[value] |
W |
Sets the bit status of all configurable outputs |
|
IO[port] |
R |
Returns the status of configurable I/O at [port] |
|
IO[port]={0,1] |
W |
Sets the value of configurable output bit at [port] |
|
IOBOOT |
R |
Returns the status of all general purpose I/O at startup (32-bit) |
|
IOBOOT=[value] |
W |
Sets the value of all configurable outputs at startup |
|
IOCFG |
R |
Returns the current configuration of the configurable I/O ports |
|
IOCFG=[value] |
W |
Sets the configuration of the configurable I/O ports |
|
IOP |
R |
Returns the configurable I/O polarity setting (2-bit logic) |
|
IOP=[0,1] |
W |
Sets the configurable I/O polarity (2-bit logic) |
|
J[axis][+/-] |
W |
Jogs the motor in the [+] or [-] direction |
|
JDEL[axis] |
R |
Returns the maximum allowable speed change with joystick control for [axis] |
|
JDEL[axis]=[value] |
W |
Sets the maximum allowable speed change with joystick control for [axis] |
|
JENA |
R |
Returns status for joystick control |
|
JENA=[value] |
W |
Enables/disables joystick control |
|
JLIM[number] |
R |
Returns the current operating behavior limit setting of joystick operation |
|
JLIM[number]=[value] |
W |
Sets the operating behavior limit value of joystick operation |
|
JMAX[axis] |
R |
Returns the maximum voltage setting of the input terminal for joystick operation of [axis] |
|
JMAX[axis]=[value] |
W |
Sets the maximum terminal voltage of [axis] for joystick operation |
|
JMIN[axis] |
R |
Returns the minimum voltage setting of the input terminal for joystick operation of [axis] |
|
JMIN[axis]=[value] |
W |
Sets the minimum terminal voltage of [axis] for joystick operation |
|
JSPD[axis] |
R |
Returns the maximum speed setting of [axis] for joystick operations |
|
JSPD[axis]=[value] |
W |
Sets the maximum speed of [axis] for joystick operations |
|
JTOL[axis] |
R |
Returns the current dead band around mid-voltage range of [axis] for joystick operation |
|
JTOL[axis]=[value] |
W |
Sets the dead band range around mid-voltage of [axis] for joystick operation |
|
LSPD |
R |
Returns global low speed setting |
|
LSPD=[value] |
W |
Sets global low speed value |
|
LSPD[axis] |
R |
Returns low speed setting for [axis] |
|
LSPD[axis]=[value] |
W |
Sets low speed value for [axis] |
|
LT[axis]=[value] |
W |
Enables/disables latch feature |
|
LTE[axis] |
R |
Returns the previously latched encoder position |
|
LTP[axis] |
R |
Returns the previously latched step position |
|
LTS[axis] |
R |
Returns the current latch status |
|
MM |
R |
Returns the current move mode for moves (absolute or incremental) |
|
MP[axis] |
R |
Returns the current manual pulse generator position |
|
MP[axis]=[values] |
W |
Sets the manual pulse generator position |
|
MPD[axis] |
R |
Returns the divider parameter for manual pulse generator operation |
|
MPD[axis]=[value] |
W |
Sets the divider parameter for manual pulse generator operation |
|
MPE[axis] |
R |
Returns the manual pulse generator enable status |
|
MPE[axis]=[value] |
W |
Enable/disable the manual pulse generator |
|
MPM[axis] |
R |
Returns the multiplier parameter for manual pulse generator operation |
|
MPM[axis]=[value] |
W |
Sets the multiplier parameter for manual pulse generator operation |
|
MST[axis] |
R |
Returns all motor status, buffer move status, and move mode status for [axis] |
|
P[axis] |
R |
Returns the position value for [axis] |
|
P[axis]=[value] |
W |
Sets the position value for [axis] |
|
POL[axis] |
R |
Returns polarity parameter for [axis] (see Table 6.9) |
|
POL[axis]=[pol] |
W |
Sets the polarity parameter for [axis] |
|
PP |
R |
Returns current pulse counter value of all 4 axes |
|
PS[axis] |
R |
Returns the current pulse speed for [axis] |
|
PWM[1-2] |
R |
Returns current PWM duty cycle setting (in %) |
|
PWM[1-2]=[value] |
W |
Set the PWM duty cycle (in %) |
|
SACTRL[prgNo]=[0-3] |
W |
Controls the standalone [prgNo]: stop(0), start(1), pause(2), continue(3) |
|
SAP |
R |
Returns the return jump line (standalone error handling) |
|
SAP[0-1] |
W |
Sets the return jump line (standalone error handling) |
|
SASTAT[0-3] |
R |
Returns status for standalone program |
|
SCV[axis] |
R |
Returns S-curve control status for [axis] |
|
SCV[axis]=[0,1] |
W |
Enable/disable S-curve acceleration for [axis]. Trapezoidal accel/decel used if disabled. |
|
SDC[axis] |
R |
Returns the configuration of the Slow Down decel operation for [axis] |
|
SDC[axis]=[value] |
W |
Sets the configuration for the Slow Down decel (decel only or decel and stop) for [axis] |
|
SDE[axis] |
R |
Status of the Slow Down decel operation for [axis] |
|
SDE[axis]=[value] |
W |
Enable/disable the external deceleration feature for [axis] |
|
SL[axis] |
R |
Returns status of StepNLoop enable for [axis] |
|
SL[axis]=[value] |
W |
Enable/Disable StepNLoop feature for [axis] |
|
SLA[axis] |
R |
Returns maximum attempts to complete StepNLoop operation for [axis] |
|
SLA[axis]=[value] |
W |
Sets maximum attempts to complete StepNLoop operation for [axis] 0 = infinite number of correction tries. |
|
SLE[axis] |
R |
Returns error range of StepNLoop operation for [axis] |
|
SLE[axis]=[value] |
W |
Sets error range of StepNLoop operation for [axis] |
|
SLOAD[prg#] |
R |
Returns the RunOnBoot parameter for [prg#] |
|
SLOAD[prg#]=[value] |
W |
Sets the RunOnBoot parameter for [prg#] |
|
SLR[axis] |
R |
Returns the StepNLoop ratio for [axis] (ppr/cpr) |
|
SLR[axis]=[value] |
W |
Sets the StepNLoop ratio for [axis] (ppr/cpr) |
|
SLS[axis] |
R |
Returns StepNLoop status for [axis] |
|
SLT[axis] |
R |
Returns StepNLoop tolerance for [axis] |
|
SLT[axis]=[value] |
W |
Sets StepNLoop tolerance for [axis] |
|
SPC[prg#] |
R |
Returns program counter for [prg#] |
|
SSPD[axis]=[value] |
W |
Performs on-the-fly speed change for [axis]. Buffer must be disabled |
|
SSPDM[axis] |
R |
Returns the current on-the-fly speed mode |
|
SSPDM[axis]=[value] |
W |
Sets the on-the-fly speed mode |
|
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 |
|
SYNC[axis] |
R |
Returns SYNC condition and source |
|
SYNC[axis]=[value] |
W |
Sets SYNC condition and source [axis] |
|
SYNF[axis] |
W |
Disable synchronization window and synchronization output |
|
SYNMAX[axis] |
R |
Returns the current maximum value of the Sync Pulse Window for [axis] |
|
SYNMAX[axis]=[value] |
W |
Sets the maximum value of the Sync Pulse Window for [axis] |
|
SYNMIN[axis] |
R |
Returns the current minimum value of the Sync Pulse Window for [axis] |
|
SYNMIN[axis]=[value] |
W |
Sets the minimum value of the Sync Pulse Window for [axis] |
|
SYNO[axis] |
W |
Enable synchronization output |
|
SYNP[axis] |
R |
Returns the synchronization position value or distance between pulses for continuous sync |
|
SYNP[axis]=[value] |
W |
Sets the synchronization position value or distance between pulses for continuous sync |
|
SYNS[axis] |
R |
Returns the status of the synchronization feature |
|
SYNWF[axis] |
W |
Disables the synchronization window for [axis] |
|
SYNWO[axis] |
W |
Enables the synchronization window and synchronization output feature for [axis] |
|
T[axis][newtarget] |
W |
Sets the on-the-fly target position change for [axis] |
|
V[var] |
R |
Returns the standalone [var] value |
|
V[var]=[value] |
W |
Sets the standalone [var] value |
|
VER |
R |
Returns the current firmware version |
|
[axis][targetpos] |
W |
Individual move command for [axis] to [targetpos] |
|
X[targetX]Y[targetY]Z[targetZ]U[targetU] |
W |
Interpolation move command (include all axes that will be interpolated). EINT must be enabled (1) |
|
ZCNT[axis] |
R |
Returns the number of Z-index pulses to count for [axis]. Used for relevant moves (ZMOVE and homing routines) |
|
ZCNT[axis]=[value] |
W |
Sets the Z-index count to be used for relevant moves (ZMOVE and homing routines). Range is 1 – 16. |
|
ZMOVE[axis][dir] |
W |
Perform the EZ Count operation for [axis] in [dir] positive (+) or negative (-) direction |
ASCII commands
< Topic Home | Home | Next Chapter >