if the 3 speeds are hard values (don't know the Yaskawa drive's inputs), why not use real resistors (reflecting the actual fixed speeds) in series with, and switched by a relay/digital output, and switch to pot when you need it, you can switch the 4 values, 3 of them fixed value, and the 4th...