You would have to configure one as another axis (A, B or C) and command that from within your code.
What some have done is use the knee for setting the tool offsets and the quill for the actual machining, that will likely be your best bet.
I think Ray (Himykabibble) posted the macros he used for this so may be worth a search.
Hood