I have a device that has about six wires sprouting from its back. The device manual says that it can be connected to an RS485 serial port. I am trying to figure out how to map these six wires with the nine pins on a serial port.

On hunting around I learnt I would need some adapter to go in between the two components, the adapter goes by the name Max232.

What I need is some kind of a circuit diagram or electrical wiring diagram that will tell me how to connect which wire from the device to which of the RS232/485 connector pins.

FYI the device wires contain one wire labelled TX/RX- and another wire labelled TX/RX+.

.