For the isolated inputs, assuming sourcing limit switches:
Limit switch common = --> +24V that is, the common pin of all limit switches
Limit switch NC pins --> 7I95T inputs (IN8,IN9, IN10,IN11 etc)
All input common pins used for limit switch inputs --> 24V COMMON (INCOM8,9 INCOM10,11)
(I skipped inputs 0,1,2,3,4,5,6,7 in case you want to use them for MPG inputs)