Write-only command, where 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.


Applies to: CMD-4CR, CMD-4EX-SA


ASCII/Standalone                ZMOVE[axis][dir]

Syntax:                        

Write:

ZMOVE[axis][dir]                 

Where:        [axis]   specifies the axis to move  X, Y, Z, U

[dir]          specifies the move direction (+, -)
                       + moves in the direction where the command pulse counter counts up
                       - moves in the direction where the command pulse counter counts down

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.

    1. Set the operating speeds (HSPD, LSPD)
    2. Set the Z-index count numbers (ZCNT)  and the Z-index input logic (POL bit 13)
    3. 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

See also:

Homing Settings

H, ZCNT

Commander Manual

2.1.1.1 Identification Number