support both C and Y axis configurations