No problem, the K40 is an open spec design and our rotary switch fits them all. The Y stepper cable plugs into the marked connector on the switch harness. Your rotary plugs into the remaining switch harness connector.
eBay