RocketPort Plus 422 Universal PCI Troubleshooting

Review the following information before calling Technical Support because they will request that you perform many of the procedures or verifications before they will be able to help you diagnose a problem.

If you cannot diagnose the problem, you can contact Pepperl+Fuchs Comtrol, Inc. Technical Support .

Troubleshooting Checklist

The following checklist may help you diagnose your problem:

  • Verify that you are using the correct types of cables on the correct connectors and that all cables are connected securely. The RocketPort Plus 422 Universal PCI User Guide contains cabling information.

    [Note]
    Note

    Most customer problems reported to Pepperl+Fuchs Comtrol, Inc. Technical Support are eventually traced to cabling or network problems.

  • Make sure that you have installed and configured the latest driver.

  • Reboot the system with the bootable diagnostics CD to verify that it is not a hardware problem.

  • If you have a spare RocketPort Plus 422 Universal PCI try replacing the adapter.

For additional troubleshooting, you can refer to one of the following:

Microsoft Driver Troubleshooting

If using a device driver for a Microsoft system, you can check the following:

  • If using an in-house application, verify that you are addressing the port correctly. In many applications, device names above COM9 require the prefix \\.\ in order to be recognized. For example, to reference COM20, use \\.\COM20 as the file or port name.

  • Verify that the RocketPort Plus 422 Universal PCI has installed by checking the Device Manager to verify that the RocketPort Plus 422 Universal PCI displays.

  • After driver installation, if a port does not open; open the Device Manager, go to Ports COM&LPT, right-click on the yellow exclamation mark on the port, and click Update Driver.

  • You can open the Device Manager and enable the Verbose Event Log feature under the Options tab and then reboot the system.

  • You can install the Pepperl+Fuchs Comtrol, Inc. Utility, which includes Test Terminal for troubleshooting communications on a port-by-port basis and Port Monitor to check for errors, modem control, status signals, raw byte input and output counts.

    You can use the Test Terminal procedure below or the Port Monitor (PMon2) and Test Terminal (WCom2) User Guide, which provides procedures for using both Test Terminal and Port Monitor to test ports and communications.

  • Remove and reinstall the device driver.

Test Terminal (Pepperl+Fuchs Comtrol, Inc. Utility) Explanation

The Test Terminal Send and Receive Test Data sends data out the transmit line to the loopback plug, which has the transmit and receive pins connected thus sending the data back through the Rx line to Test Terminal, which then displays the received data in the terminal window for that port. This test is only testing the Tx and Rx signal lines and nothing else. A failure in this test will essentially prevent the port from working in any manner.

[Note]
Note

The Loopback Test does not work for RS-422. The Loopback Test tests all of the modem control signals such as RTS, DTR, CTS, DSR, CD, and RI along with the Tx and Rx signals, which are not present in RS-422.

Optionally, you can use the Port Monitor (PMon2) and Test Terminal (WCom2) User Guide, which provides procedures for using both Test Terminal and Port Monitor to test ports and communications.

Using Test Terminal to Test a Port

The following procedure shows how to use Test Terminal to send and receive test data to the serial ports.

  1. Stop all applications that may be accessing the ports such as RAS, RRAS, or any faxing or production software.

    See the appropriate help systems or manuals for instructions on stopping these services or applications. If another application is controlling the port, then Test Terminal will be unable to open the port and an error message will be shown.

  2. From the Start menu, click Programs > Comtrol > Utilities > Test Terminal (WCOM2).

  3. Click File > Open Port and the appropriate port (or ports) from the Open Ports drop list.

  4. Install the loopback plug onto the port (or ports) that you want to test.

  5. Click Port > Send and Receive Test Data.

    You should see the alphabet scrolling across the port. If so, then the port installed properly and is operational.

  6. Click Port > Send and Receive Test Data to stop the scrolling data.

  7. Close Test Terminal

    [Note]
    Note

    Remember to restart the application once testing of the ports has been completed.

If this test successfully completes, then the port is operational as expected.

Linux Installations Troubleshooting

You can use the following subsections to test the serial ports on a Linux system.

lcom(1)

Pepperl+Fuchs Comtrol, Inc. has available lcom(1), which is a multi-port serial I/O test program. You can use lcom in test mode to send test data to any serial port.

[Note]
Note

For assistance using lcom, use the manual page (lcom.1) that accompanies the program.

The following examples use ports ttyR0 and ttyR1. You will need to substitute the port numbers that you will be testing.

Hardware TypePort Nomenclature

RocketPort Plus 422 uPCI

ttyRx
[Note]
Note

Where x is the port number, which begins at 0 (zero) and continues sequentially. Linux is case-sensitive, be sure to use the proper case. tty is lowercase, R is in uppercase.

You can also refer to the procedures below to check the ports:

File Transfer

You can transfer a file using the following information. The default settings are 9600, 8, n, 1, and no parity. To send a file you can redirect output to a device, where x is 0 through 7, for example:

cat /etc/inittab > /dev/ttyR0

Sends the contents of the /etc/inittab file to the ttyR0 device at 9600 baud, 8, n, 1, and no parity.

Changing Serial Port Settings (stty)

Use the following information if you need assistance changing or viewing the baud rate settings.

To change the baud rate, use the following example, which changes the baud rate to 19200, where x is 0 through 7.

stty 19200 </dev/ttyR0

To view the current serial port settings for ttyR0, enter:

stty -a </dev/ttyR0
[Note]
Note

Settings changes via stty are only valid during current log in session. For permanent setting changes, use the /etc/inittab file.

Setting Up Terminals and Modems (mgetty, agetty)

Add the appropriate line or lines to the /etc/inittab file then restart.

Some distributions use the agetty command and other distributions use getty. Check the documentation for your Linux distribution if you are unsure.

Terminal Example:

T0:23:respawn:/sbin/agetty -L ttyR0 57600 vt100

Modem Example:

T1:23:respawn:+/sbin/mgetty -m ‘"" AT&F OK’ -D -x9 -s 115200 ttyR0

If necessary, see the manual pages for more information on mgetty.

Testing with minicom

You can also use minicom to test the serial ports, which is shipped with most Linux operating systems. A Pepperl+Fuchs Comtrol, Inc. document is available for using minicom.


nice color