ZMOVE – Z-move Operation
Perform the EZ count operation for [axis] in the positive [+] or negative [-] direction.
When the ZMOVE command is sent, the selected axis will move in the direction commanded at HSPD until such time as the number of Z-index pulses are detected as set by the ZCNT command.
Access: Write
Category: Motion
Applies to: All Commander Controllers
ASCII/Standalone ZMOVE[axis][+/-]
Syntax
Write
ZMOVE[axis][+/-]
|
[axis] specifies the axis to move X, Y, Z, U [+/-] specifies the move direction (+, -) |
Reply
Command is accepted and executed
Write
OK
Command cannot be processed
An error message is returned. See Error Codes
Example
Write
HSPD=1000 * sets motion target speed to 1000 pps
LSPD=100 * sets motion start speed to 100 pps
ZCNTZ=3 * Sets the Z-index count to stop on the 3rd Z-index pulse detection for the Z-axis
POLZ=8192 * Sets the input modes and logic based on the 17-bit value. bit 13 is 1 setting logic of Z-index to Rising Edge
ZMOVEZ- * move the Z axis in the negative direction until the number of encoder index pulses set in ZCNT (3) are detected
Notes
Operating procedure
If there is no change in the previous set data, the operations 1 and 2 below are not necessary.
- Set the operating speeds (HSPD, LSPD)
- Set the Z-index count numbers (ZCNT) and the Z-index input logic (POL bit 13)
- Issue ZMOVE command
Operating conditions
- Joystick motion must be disabled
- MPG operation must be disabled
- Buffer operation must be disabled
- Operation is stopped
- The error status is clear