That is essentially the same as what I said, just substituting relay contacts for switch contacts.
powersoff,
DickDV is right, my solution, though simple, is not exactly what you wanted, but it is a lot easier to implement for a novice.
But from your subsequent description of the application, I actually see now that you want to be able to TRIM the speed with the pot once a preset speed has been selected. That is subtly different.
I could do it with several other drive mfrs' products so I'm sure it can be done with a Yaskawa drive, but I have to agree with Ozmosis, the Yaskawa manual can be daunting for the uninitiated. Years ago when Magnetek was brand labeling the Yaskawa drives, they completely re-wrote the manual, making it clear and easy to understand. I preferred the Magnetek version solely for that reason. But alas, that situation no longer exists; now everyone is relegated to that horrible manual translated directly from Japanese.
The way I would do it would be to set up the contact closures as separate minimum speeds, but the pot is always the ONLY speed command reference. So for instance, if Speed 1 is 20Hz and you want to trim it to somewhere between 18 and 22 Hz, set up Input 1 to change the Minimum Speed to 18Hz, then let the Pot trim it within that range.
Some drives will give you full access to all I/O and command programming so that you can do this, others may involve setting up 3 completely different parameter sets and using the inputs to switch between them. I don't have that Yaskawa manual to tell if either is possible, but that should give you a direction to head.