How to do the wiring of XM 300C, XD 312: