So most home cnc machines can have something called an A axis or 4th axis.
An A axis to the CAM is the same as an X or Y axis but only as long as the circumference of the cylinder you are machining.
You put the A axis parallel to the X axis and make the machine think the A axis is a short Y axis. The real Y axis is basically not used at that point.
These are the terms defined on hobby machines. Sorry I’m not familiar with a fifth axis but anything that locks in place isn’t really an axis, in my opinion.


Sent from my iPhone using Tapatalk