Hi,
Vdd pin 17 connects to DI1- pin 9 (Through a relay)
No, that is incorrect. Forget Type1/ Type2 for the moment. The switch contact is more a symbol than actual, no relays here.....relays are for cavemen. Your
'switch' is going to be the phototransistor of the CSMIO. Note that the output cluster of the CSMIO requires a 24V supply and the outputs source current.
Follow the pic attached. 24V supply from the drive (purple highlight) to the output cluster in the CSMIO, output0 of the cluster to the anode of the drive input photodiode,
(orange highlight), and then from the cathode of the photodiode to 0V (pruple highlight).
Don't know what to call it, type1 or type2, better it be Mick's way. If you understand it and it works that's the right way!
Craig