linuxcnc will do rigid tapping/threading with a vfd and encoder... Mesa hardware is very good - linuxcnc is stable.

On the linuxcnc forum - there are a few that have setup machines that switch between rotoray axis and spindle.

sam