You need to connect the other leg of the pot to the negative of the power supply. To protect the analog input channel from overvoltage, put 7 Kohms of resistance between the plus terminal of the power supply and the pot. You should then see 0 - 10 volts on the wiper. Then connect the wiper to the PLC analog input. Also connect the negative of the power supply to the appropriate terminal on the PLC's analog input module.