For npn MJE13007 transistor, I connect the collector to the 24V relay, the other end of the relay to 24V positive, the emitter to negative, and the base to the 1K resistor to the optocoupler output....