Added A-axis direction setting for XYZY operation.