Mini pci express multiport serial board (51 pages)
Summary of Contents for Moxa Technologies C104P
Page 1
C104P User’s Manual Universal 4 Port Serial Board May 1999 (7th Edition) The content of this manual is also available in CD-ROM and at Moxa Web Site. Moxa Technologies Co., Ltd. Tel: +866-2-8665-6373 Fax: +886-2-8665-6372 www.moxa.com support@moxa.com.tw...
Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa. Moxa provides this document “as is”, without warranty of any kind, either expressed or implied, including, but not limited to, the particular purpose. Moxa may make improvements and/or changes in this manual or in the product(s) and/or the program(s) described in this manual at any time.
Page 3
MOXA Internet Services Customer’s satisfaction is always our number one concern. To ensure that customers get the full benefit of our services, Moxa Internet Services have been built for technical support, product inquiry, new driver update, user’s manual update, etc.
If you encounter any problem during installation, please refer to Chapter “Troubleshooting”. Chapter 1 Introduction Overview and features of the C104P board, list of items and overall installation guide. Chapter 2 Hardware Installation Hardware installation for the C104P board and connection cable.
Table of Contents Introduction ..............1-1 Overview........................ 1-1 Features......................... 1-4 Check List ......................1-5 Installation Guide....................1-6 Hardware Installation ............2-1 Default Settings ..................... 2-1 Quick Hardware Installation ................... 2-2 How to Do Quick Hardware Installation................2-2 Hardware Installation with IO-IRQ Utility..............2-3 IO-IRQ Utility and Hardware Configuration........
Page 6
Windows NT and Windows 95/98 ................4-1 Installation........................4-1 PComm Programming Library ..................4-2 Utilities .......................... 4-2 DOS ........................4-6 Installation........................4-6 DOS API-232 Library..................... 4-6 Utilities ........
PC/AT and its compatible systems. The C104P is equipped with custom-designed ASIC chip which replaces lots of conventional ICs and reduces the board to half-size. The whole family supports 16 bit architecture.
I/O address, 0xA700. However, to adopt quick installation (described later), it is a must to keep JP1 always short. Quick Installation To ease the hardware configuration, users who install only one C104P board under Windows NT/95/98 are recommended to adopt quick installation described in Chapter 2.
Introduction Operating System Support The C104P is operational under most popular operating systems such as Windows NT, Windows 95/98, SCO UNIX/XENIX/OpenServer, DOS, Windows 3.x, OS/2, Linux, QNX, FreeBSD, etc. However, MOXA device drivers for Windows NT, Windows 95/98, Linux, DOS and Windows 3.x are provided for easier installation, configuration and better performance.
SCO XENIX FreeBSD OS/2 3: Driver supported by Moxa and shipped with product R : Driver supported by Moxa but sent by request C : Driver supported by OS Note: MOXA FTP site is available for driver download C104P User’s Manual...
Introduction Check List Upon unpacking the C104P package, you should find the following items in the package, C104P 4-port serial async board Device driver diskettes: Windows NT and Windows 95/98 ¡Ñ DOS/Windows 3.x ¡Ñ C104P User's Manual (This Manual) PComm Lite diskette ¡Ñ...
Installation Guide This section gives a brief summary of how to install the C104P under each supported operating system. The installation is simple and involves the following stages: Configure C104P with io-irq.exe. See Chapter “Hardware Install the C104P board Installation”...
Hardware Installation The installation of the C104P consists of hardware and software installation. The hardware installation is detailed in this chapter. The next chapter deals with the software installation for various operating systems. C104P Default Settings The C104P has the following default (factory) settings:...
Quick Hardware Installation To fully utilize the superior feature of flexible hardware configuration design of the C104P, a quick and easy method of installation is designed for users, which absolutely free the users from hardware configuration effort, i.e., installation without running configuration program: Io-irq.exe. Simply always short the jumper JP1.
IRQ : INT Vector : 0x1C0 Because the ASIC-designed C104P has no switch and no jumper for configuring manually the I/O address, IRQ, INT vector, etc. of the boards, you must run the software utility, Io-irq.exe, in the driver diskette under DOS system to change the hardware configuration.
Io-irq program before inserting the next board. This is to prevent conflict between two boards with same default hardware settings. The C104P has the following default (factory) settings, I/O address: 0x180 (Port 1), 0x188 (Port 2), 0x190 (Port 3), 0x198 (Port 4)
Software Installation 1. Run the utility “Io-irq.exe” contained in the driver diskette to set up I/O address, IRQ and INT vector of the board. 2. Select “Smartio/Industio ISA Family” and press ENTER key. C104P User’s Manual...
Page 18
3. Enter the CAP address of the C104P board to be configured. 4. Configure the following parameters as necessary. Port Index Indicate the port index for each port. I/O address Enter the base I/O address for each port, either sequentially or not.
Page 19
If not using interrupt vector, type 0 or leave blank as the interrupt vector. There are two modes for the C104P driver. One is using interrupt vector, the other is not using interrupt vector. Driver employing interrupt vector scheme is supposed to have better performance than employing polling scheme.
Windows NT supports up to 256 serial ports, from COM1 to COM256. To fully integrate the advanced features of Windows NT, multi-process and multi-thread, pure 32-bit Windows NT device drivers are developed for the C104P multiport board. The driver conforms to Win32 COMM API standard.
Installing Driver Following is the procedure for installing the C104P driver for the first time under Windows NT 4.0. Note ! Make sure the board(s) has(have) already been plugged in the system slot(s) if you are doing quick installation. 1. Please log in NT as Administrator.
Page 23
Smartio/Industio Configuration Panel” dialog box to start the installation. 6. In the “Moxa Smartio/Industio Configuration Panel” dialog box, click [Add] to enter “Property” dialog box to add the C104P board. Select the “C104 Series” in the “Board Type” field. If necessary, type the desired interrupt vector address, in the “INT Vector”...
Page 24
7. In the “Property” dialog box, select the desired port in the port list and click [Port Setting] to enter the individual “Port #” setting dialog box to change the port COM number mappings or FIFO settings. C104P User’s Manual...
Page 25
Note ! If you need to install more than one board, click [Add] and repeat steps 6 to 8 to configure another board. Up to four C104P boards can be installed in a system. Click [OK] to finish the configuration.
Page 26
Note ! The latest configuration will not take effect unless the system estarts. 11. Once the system restarts, you may check the event log issued by the MOXA driver to see if the ports of the board are initialized successfully.
If you already have installed the driver and want to re-configure the ports, please follow this procedure. 1. In the [Control Panel], click on the [Network] icon and select the [Adapters] tab. 2. Select “MOXA Smartio/Industio Family Adapter” in “Network Adapters”. C104P User’s Manual...
Page 28
3. Click on the [Property] button to open the “Moxa Smartio/Industio Configuration Panel” dialog box. Please see steps 6-10 in the previous section, “Installing Driver”, for more details. In this configuration panel, you may: Click [Property] to enter “Property” dialog box to configure the selected board with the correct “COM Number”, “INT Vector”, “Interrupt no”...
Software Installation Updating Driver To update the driver for the C104P board, simply remove the driver, as described in the next section, and reinstall it as detailed in the section, “Installing Driver”. Removing Driver To remove the driver for the C104P board, 1.
Installing Driver Up to four C104P boards can be installed together as long as the I/O addresses and IRQ number resources are sufficient and available in a system. The following is the procedure for installing C104P for the first time under Windows 95/98: 1.
Page 31
In the “Property” dialog box, select the desired port in the port list and click [Port Setting] to enter the individual “Port #” setting dialog box to change the port COM number mappings or FIFO settings. 3-11 C104P User’s Manual...
Page 32
Note ! If you need to install more than one board, click [Add] and repeat steps 5 to 7 to configure another board. Up to four C104P boards can be installed in a system. Click [OK] to finish the configuration.
Page 33
(See “Serial Programming Tools” chapter) or the Microsoft Win32 API. You can also execute any ready-made applications, PComm utility such as Terminal emulator (See “Serial Programming Tools” chapter) HyperTerminal transmit/receive data, as well as Remote Access Service to provide dial-up networking capabilities. 3-13 C104P User’s Manual...
Configuring Board and Port If you already have installed the driver and want to re-configure the C104P board and ports, add more boards or delete boards under Windows 95/98, the following is the procedure for you. 1. Click on the Taskbar [Start] button, then select [Programs] menu, then [MOXA Utilities] menu and then [Moxa Smartio/Industio Configuration Panel] icon.
Updating Driver Open [Control Panel] icon, and then [System] icon, and then select [Device Manager] tab. Then select and open the “MOXA Smartio/Industio multiport board” option and then select the “C104 Series”. Click on [Properties] button and then select [Driver] tab and then click on [Update Driver] button.
Removing Driver Open [Control Panel] icon, and then [Add/Remove Programs] icon, and then select [Install/Uninstall] tab. Then select and open the “MOXA Smartio/Industio Driver” option and then enter [OK] to remove the driver. 3-16 C104P User’s Manual...
Software Installation MOXA DOS API-232 is a software package that assists users to develop and/or debug programs for serial communications. This section will show you how to install the package, how to setup up the driver, and how to load or unload driver.
It is strongly recommended to do so. Driver Setup The following are steps for setting up the C104P driver. Note that it is not intended to illustrate all the convenient functions of the setup programs when configuring the boards. Please refer to the F1 on-line help instructions as running setup program.
Page 39
2. Press Enter to pop up the SETUP dialog box. In the SETUP dialog box, Press F8 to specify the CAP Address and press ENTER and then type Y (YES) to load the configuration of the board to be setup. 3-19 C104P User’s Manual...
Page 40
3. Now the configuration of the desired C104P board will be shown along with other default settings, such as port number, buffer size, etc. Note ! Up to now you have completed the setup for C104P board. You may skip this step and go directly to the next step 5 if you need not change any setting or configure any board.
Page 41
(ID). Duplicated port number is not allowed. That is, each MOXA serial port is referred to as port number in terms of serial programming. You may map the port number range to the one you prefer between 0 and 255 as long as no port number overlapping condition or port number undefined condition occurs.
Loading Driver Having completed the setup, you can load the driver, “BIN\SER-DRV.EXE”, at the DOS prompt. The driver will detect the C104P board automatically. If the board(s) is (are) detected, a message similar to below will show: API-232 Version 3.5 Universal 2/4/8 serial ports Communication Driver Setup driver …...
Software Installation It means the C104P driver is installed properly. At this point, you are ready to execute application that supports API-232 functions, or start developing applications using API-232 library. If something went wrong, for instance, the board does not match the configuration or the board is missing, the screen will show a message like: API-232 Version 3.5...
1. Run WININST.EXE in the DOS/Windows 3.x driver diskette, click [OK] in the “Driver Installation” dialog box to install the driver. 2. When installation completed the program group “MOXA Standard COMM Driver” and “Board Configuration” dialog boxes appear. If the default settings are what you desired, click [Save] to save the configuration and exit.
Page 45
“Address” field and select the desired IRQ and COM number. Then click [OK] and [Save] to save the new configuration and exit. 3. When configuration completed, you have to quit and restart Windows so that the changes you made will take effect. 3-25 C104P User’s Manual...
COM4 to COM7, from COM5 to COM8 or from COM6 to COM9, depending on user's need. Normally COM1 is used by mouse and to fully use the 4 MOXA ports, thus COM3 to COM6 is recommended. In this case, the original COM1 and COM2 on PC will be still available.
Software Installation Removing Driver The program, Driver Removal, in the “MOXA Standard COMM Driver” program group is provided to remove the installed driver from the Windows. 3-27 C104P User’s Manual...
To install PComm, please run \Setup.exe in the diskette. Note that PComm diagnostic and monitor utilities are for MOXA boards only. MOXA Windows NT or Windows 95/98 device driver as well as MOXA board are required. The driver are installed separately and detailed in Chapter “Software Installation”.
For complete library function description and example programs for Visual C++, Visual Basic and Delphi, please see help file and example programs in PComm directory for more details. Utilities The followings are short descriptions of each utility. For details, please see on-line help as running utilities. C104P User’s Manual...
Page 51
Diagnostic (for MOXA boards only) A convenient diagnostic program provides internal and external testing, such as IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc., for the MOXA boards and ports to verify correct operation of both the software and hardware. C104P User’s Manual...
Page 52
Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program allows you to watch the selected MOXA COM ports' data transmitting/receiving throughput and communication line status which are updated and displayed on the screen at every time interval. In addition, you may click on one of the specific displayed port in order to see the current communication parameters and status of that port.
Page 53
Serial Programming Tools Terminal Emulator The Terminal Emulator features multi-windows and supports terminal types of VT100 and ANSI. You can transfer data interactively, send pattern periodically or transfer file using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols. C104P User’s Manual...
Installation API-232 Library is the professional serial programming tool for DOS. It is installed automatically along with the MOXA DOS drivers. The installation is detailed in Chapter “Software Installation”. DOS API-232 Library DOS API-232 library supports languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic, Turbo Pascal, Clipper, etc.
Page 55
ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols. 3. The Diagnostic test utility provides port connection test with two MOXA ports connected via a properly wired cable. Please see on-line help as running BIN\SCOPE.EXE for more usage and capability information.
See on-line help for more details. Before executing it, please remove the Moxa driver in advance via executing “Mx- drv/Q” if the Moxa driver is running in the background. Windows 3.x...
Existing Applications Many Windows software packages, such as pcANYWHERE, LabView, FIX, WinFax Pro, Fax Server, PROCOMM PLUS, LapLink, etc. can access the C104P COM ports directly since these applications follow the Microsoft Windows COMM API.
PC COM1/2, serial printer and terminal. The term DCE is for Data Communication Equipment like modem. RS-232 Cable Wiring The followings are pin assignments for various connection options: C104P DB25 Male (Opt4C) 20 DTR C104P DB9 Male (Opt4D) C104P User’s Manual...
Page 60
Type 1: To connect C104P to a DTE device. Null Modem Cable PC COM2 port, Serial Printer, Opt4C Terminal, or any DTE Device C104P DTE Device DB25 Male DB25 Male PC COM2 port, Serial Printer, Opt4D Terminal, or any DTE Device...
Page 61
Connection Cable and Cable Wiring Type 2: To connect C104P to a DCE device. Straight-through Cable Modem, Opt4C or any DCE Device C104P DCE Device DB25 Male DB25 Female Modem Opt4D or any DCE Device C104P DCE Device DB9 Male DB25 Female C104P User’s Manual...
Page 62
Type 3: To connect C104P to a DTE with 3-pin wiring. If the “Hardware flow control” feature is set to “ON”, you must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the “Hardware flow control”...
Troubleshooting Common C104P problems and possible solutions are listed below. If you still have problems, contact your dealer or Moxa for help. Or use the “Problem Report Form” at the end of this manual to report problems to your dealer at once for faster technical support.
Page 64
The CAP of the board conflicts with other add-on boards’ I/O address. Please change other add-on boards’ I/O address to avoid the conflict. c. The C104P board is not plugged in a right or good slot. Please plug the board in a good 16-bit ISA slot.
Page 65
Enter CAP address 0xA700 to access the board. Enter the “Configuration Access Port” in HEX: A700 Step 6. The previous hardware configuration will be shown. Modify them if necessary. Remember the CAP address this time. Step 7. Exit the IO-IRQ. C104P User’s Manual...
Event Log. This indicates that the MOXA board is found, but the IRQ is conflicting with another adapter. Please make sure there is no conflict with other adapter’s IRQ.
This section is specific for troubleshooting under Windows 95/98. For general problems and solutions, please see the previous section, “General Troubleshooting”. 1. The system fails to find the C104P board! After system reboots, error message “Smartio C104 Series (CAP=0x0180, port 1=COM3): Board is not found”...
Make sure you’re using the right driver. b. Check if the board is properly plugged into ISA/EISA bus slot. c. Check if the I/O address and IRQ settings in SETUP program are same as the settings on board. C104P User’s Manual...
T xD, RxD, RTS, CTS, DTR, DSR, DCD, GND Surge protection: max. 2000V (C104HS) 0 ~ 55 ¢J Operating temp: Power requirement: 90mA max. (+5V), 55mA max. (+12V), 75mA, max. (-12V) Dimensions: 157mm¡Ñ 8 3mm Operating Systems: See the driver support list below. C104P User’s Manual...
Page 70
Windows 95/98 Windows 3.x Linux SCO UNIX/OpenServer C SCO XENIX FreeBSD OS/2 Driver supported by Moxa and shipped with product Driver supported by OS Available by request Note: Download the newest drivers from the MOXA FTP service C104P User’s Manual...
Technical Reference PC I/O Port Address Map The following is the list of the I/O port addresses commonly used, which is good for preventing I/O address conflict when configuring C104P. IO/ Address Device 000-01F DMA controller 1 020-03F interrupt controller...
Page 73
C104P Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: C104P Serial Number: ____________ 2. Moxa Driver Version: ________________ 3. Moxa hardware settings: 3.1 Please check the hardware configuration by IO-IRQ.EXE from DOS or Windows 95/98 DOS Prompt. PORT Interrupt Vector: ________ 3.2 Jumper JP1 on the board: o open o short...
Page 74
Return Procedure For product repair, exchange or refund, you must: Provide evidence of original purchase. Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer. Carefully pack the product in anti-static package, and send it, pre-paid, to the dealer.
Need help?
Do you have a question about the C104P and is the answer not in the manual?
Questions and answers