Categories
Information
How to make a RS232 to RS485 Port Check
To check if your RS232 to RS485 converter (or USB to RS485 converter) is working properly you can make a loop-back test using a terminal program such as AccessPort. This way you can determine if the converter can send and receive characters properly. If you have a RS485 converter without an 'Echo On' option, you will need a second RS485 port or converter to receive the signal transmitted by the first converter OR to transmit a signal to be received by the first converter. This is because a 2-wire RS485 port is half duplex; it either transmits or receives, but not both at the same time. While transmitting, receive is disabled, while receiving, transmit is disabled. The Data A(-) line from one converter is connected to Data A(-) on the other, and the Data B(+) from the first is connected to Data B(+) on the second. First connect the converters. Following is a schematic of how a RS232 to RS485 converter test can be setup. If your computer does not have 2 serial ports you can use a USB to RS485 converter for COM2 instead; or even two USB to RS485 converters instead. Following is the same loop-back test using USB to RS485 converters
Please refer to the datasheet for your particular converter in regards to correct pin configuration. After you have made the loop-back connections on the converter you can now open two instances of AccessPort, one for each converter. AccessPort is a terminal software which allows you to send and receive characters to and from the converter. The software can be downloaded here. Within AccessPort you can now open the COM ports to where you have connected the converters (check the COM port number in Device Manger if you use a USB to RS485 converter).
If data is received and transmitted in both directions, the ports/converters are most likely working properly. |