The 4WSD9TB and 4WSD9R Universal Converter provides RS-232 to RS-422/RS-485 conversion using either port-power or an external power supply. The 4WSD9TB has a Terminal Block RS-485 connector, and the 4WSD9R has a DB9 Female connector.
Data is converted in both directions, RS-232 Transmit data is converted to balance RS-422 or RS-485 Transmit, and Received RS-422/485 signals are converted to RS-232. Unlike converters which require programing hardware handshaking signals to control RS-485 or RS-422 operation, the 4WSD9TB and 4WSD9R provides automatic Send Data Control. In RS-485 mode, the RS-485 driver is enabled by circuitry which senses the RS-232 TD input. In half duplex RS-485 mode, the receiver is enabled when not transmitting. For full duplex operation, the receiver is set always enabled. In RS-422 mode, the transmitter and receiver are always enabled. The operating mode is set with 4 switches (Table 1). The converters are powered by the RS-232 signal lines whether they are set high or low. If not enough power is available from the port, or no handshaking lines are available, a DC Jack is provided to connect a 12VDC supply. The DB9 female connector for RS-232 is wired as DCE (like a modem).
No external power is required if two RS-232 output handshake lines are available and the cable run is short. If the handshake lines are raised and no termination is used, the power efficiency is greatly increased. Less than 3mA is required to operate the 4WSD9R plus the load current. For applications that do not have handshake lines or require a large load current, power may be externally supplied with a +12VDC power supply with a 2.5mm plug (tip positive).
The RS-232 port has a female DB9 connector with pins 2 (RD), 3 (TD), and 5 (Signal Ground) supported. Pins 7 (RTS) and 8 (CTS) are tied together, and pins 6 (DSR), 1 (DCD), and 4 (DTR) are also tied together. Any incoming data lines in either the high or low state are used to port power the 4WSD9R. The more handshake lines available, the more likely the unit can be port powered. Table 2 shows the RS-232 pinout.
Although handshake lines can be used to power the converter, no handshaking is required to control the RS-422/RS-485 driver. With switch 1 set to RS-422, the driver is always enabled. When switch 1 is in the RS-485 position, the RS-485 driver is automatically enabled during each spacing state on the RS-232 side. During the marking or idle state, the RS- 485 driver is disabled and the data lines are held in the marking state by the 4.7K Ohm pull-up and pull-down resistors. The value of these resistors may need to be changed to a different value when termination is used in order to maintain the proper DC bias during the idle state.