PMAC Product Guide Z Function : Make commanded axis positions zero Scope : Coordinate-system specific Syntax : Z This command causes PMAC to re-label the current commanded axis positions for all axes in the coordinate system as zero. It does not cause any movement; it merely re-names the current position. This command is simply a short way of executing {axis}=0 for all axes in the coordinate system. PSET X0 Y0 (etc.) is the equivalent motion program command. This does not set the motor position registers to zero; it changes motor position bias registers to reflect the new offset between motor zero positions and axis zero positions.
However, the motor reported positions will reflect the new bias, and report positions of zero (+/- the following error). Examples: ; Ask for reported motor positions 2001 5002 3000 0 0 0 0 0 ; PMAC reports positions Z ; Zero axis positions ; Ask for reported motor positions again 1 2 -1 0 0 0 0 0 ; PMAC responds Online Commands 195