You need put a conection in the pin 1, for a power source to complete the circuit.
If you ar using a 24vcd power supply, put in the pin 1 the 0V (negative), to get the input by a positive 24vcd.
If you want the input has a negative input, put a +V to the pin 1.