in Esprit, go to machine setup, assembly and add the axis you want (a, b or c) depending on whether you pick a b or c it'll give you a default vector of x y or z...
in your post, add a formattable code called AAXIS (look in post help for the full detail)
in your EX_RAPID or any place that you want the index to occur (EX_STARTPOINT, EX_CYCLESTART, etc.) Place your axis command for that axis (A, B or C). Don't be confused with AAXIS only being for an A axis - AAXIS is the call up for the primary axis, BAXIS is the secondary.
If you need any help,
philtimpson@aol.com