You need to find out EXACTLY what it requires, you've been saying RS232 all through the thread, then suddenly you mention it's connected to a PS2 port, which provides 5V power for a keyboard.
Does it work if you connect it directly to a proper RS232 port?, often these scanners emulate a keyboard, which is why it connects there.
You need to find out EXACTLY what it requires, you've been saying RS232 all through the thread, then suddenly you mention it's connected to a PS2 port, which provides 5V power for a keyboard.
Does it work if you connect it directly to a proper RS232 port?, often these scanners emulate a keyboard, which is why it connects there.
According to the instruction posted earlier, you have to configure it for the mode of use you want - it's obviously configured currently as a 'PS2 keyboard wedge'.
However, the instructions show it been powered with 5V by either pin 25 of a DB25 or pin 9 of a DB9 serial port, and none of the serial port pins provide 5V according to RS232 specs.
It's a syncronous bi-directional protocol, you need to implement that - as already suggested, google for it, there are plenty of PS2 PIC examples on the net.