Moxa RS-232/422/485 Loopback Test

by Brent Raynor www.manuauto.com

Windows XP Setup

  • Change the properties of the Local Area Connection.
  • Go to Start, Settings, and then Network Connections.
  • Select Local Area Connection and then Properties.
  • Scroll down the list and select Internet Protocol (TCP/IP).
  • Select Use the following IP address and enter an IP address that is similar to the Moxa NPort 5150, except for the last two digits.

Moxa Configuration Software

Hardware

  • Connect an Ethernet crossover cable from the PC to the Moxa NPort 5150.
  • Apply power to the Moxa NPort 5150.

Moxa NPort Administration Suite

  • Select the Configuration tab, under the Function heading.
  • Select the Search tab and the configuration information will appear. The factory default IP address is 192.168.127.254
  • Select COM Mapping tab, under the Function heading.
  • Select the Add tab and the information for the Moxa NPort 5150 will appear.
  • Select From List, click on the box next to the information and select OK.
  • The Com Port can be changed by double clicking on the information tab. Choose Com 4 for this example.
  • Click the Apply tab and a window will appear Do you want to apply the changes. Select Yes.

Test for RS-232 communication

  • Jumper pins 2 to 3 on the Moxa NPort 5150 DB9 com port using a paperclip.
  • Pin 2 -> TXD Pin 3 -> RXD
  • Attach a DB9 f/f gender changer for testing purposes only. This is for the paperclip.
  • Double click the information line, which is shown below the Configuration in the center of the screen.

  • Click on the Serial tab, check the Modify box. Select the settings information and the Settings tab to modify. Change the Flow Control to None and the Interface tab to RS-232 .

HyperTerminal Loopback Test

  • In Windows XP, go to start, programs, accessories, communications, and select HyperTerminal.
  • Type a name for this project.

  • Select the com port that was assigned in Real Com Installer.

  • Com port settings are 115200, 8, N, 1, None. Click OK.

  • Type a message and it will appear on the HyperTerminal screen. This confirms the RS-232 communication port works accordingly. Test this procedure by removing the jumper. As you type, the characters will not appear on the HyperTerminal screen.

Test for RS-422/485 communication

  • Jumper pins 2 to 3 and 1 to 4 on the Moxa NPort 5150 DB9 com port, using two paperclips.
  • Pin 2 -> TXD+(B) Pin 3 -> RXD+(B).
  • Pin 1 -> TXD-(A) Pin 4 -> RXD-(A)
  • Attach a DB9 f/f gender changer for testing purposes only.
  • Check the serial settings in the Moxa NPort Administrator.
  • Double click on the configuration information and the configuration window will open.
  • Click on the Serial tab, check the Modify box. Highlight the settings information and click on the Settings tab. Change the Flow Control to None and the Interface tab to RS-485 4 Wire.
  • Open Windows XP HyperTerminal (go to programs, accessories, then communications).
  • Type a name for reference.
  • Select the com port that was assigned in Real Com Installer.
  • Com port settings are 115200, 8, N, 1, None. Click OK.
  • Type a message and it will on the HyperTerminal screen.

At Manufacturers Automation Inc., we are dedicated to customer service and want to make your experience with Moxa a pleasant one.

© Copyright 2009, Manufacturers Automation Inc., www.manuauto.com

Manufacturers Automation Inc.
1600 King Street North
P.O. Box 602
St. Jacobs, ON N0B 2NO
800-387-6268 Tel. 519-664-3300 Tel.
sales@manuauto.com