Just make sure the cables are db25 extension cables and not specifically related to a printer or modem or something else, this will ensure it has 25. I didn't have any spare ones at home so I went to the local pc store and bought the second hand ones they had and every one of them has colour coded wires. Just by looking the cables all have the same coloured wires. Printer or modem extensions will only have the required number of wire for them, might still have a db25 connector but some of the inputs won't actually have any wires coming from them.
Other alternatives, DB15, DB9 cables, hard drive flat cables, some have used 50 pin flat cables. Short extension cables are cheap, first controller needs a DB25 to cover the inputs plus a ground (don't forget that one). Cut in half (male or female end is wired to the panel, the other to the ipac (if that's what you've got). Then cut another cable in half and wire it to the 2 panel (10 or 11 inputs) - use the coloured wires going to the encoder as a guide for which wires you will use on the panel. Easy as that.
Hope that explaination makes some sense
Cheers
-cdbrown