Mini pci express multiport serial board (51 pages)
Summary of Contents for Moxa Technologies C104P
Page 1
C104P and C168P Universal 4/8 Port Serial Boards Standard multiport serial boards family with state-of-the-art ASIC technology Feb. 1998 (6th edition) All Rights Reserved...
However, Moxa Technologies assumes no responsibility for its use, nor for any infringements of rights of the fourth parties which may result from its use. MOXA is a registered trademark of Moxa Technologies Co. Ltd. The other trademarks in this manual belong to their manufacturers individually. Moxa Technologies Co., Ltd.
Page 3
Moxa Internet Services Customer’s satisfaction is always our number one concern. To ensure customers get the full benefit of our services, Moxa Internet Services (MIS) have been built for technical support, product inquiry, new driver upgrade, etc. The followings are the services we provide. E-mail for technical support address: support@moxa.com.tw Ftp site for free driver upgrade...
Table of Contents Chapter 1 Introduction................1 Overview ....................1 C104P .......................3 C168P .......................5 Chapter 2 Quick Installation ..............11 Chapter 3 Installation ................13 Hardware Configuration - Io-irq.exe ............13 Chapter 4 For Windows NT Users ............17 Software Installation ................17 Board and Port Configuration..............18...
Page 5
Chapter 8 For Windows 3.x Users ............37 Appendix A Troubleshooting ..............41 Appendix B C104P Pinouts and Cable Wiring..........45 RS-232 Cable Wiring ................45 B. 2 DB62 Connector Pinouts................47 Appendix C C168P Pinouts and Cable Wiring..........49 RS-232 Cable Wiring ................
Introduction 1.1 Overview The Standard Multiport Async Solutions The standard C104P/C168P multiport boards offer 4/8 serial ports for connecting terminals, modems, printers, data acquisition equipment and any other serial devices to the PC/AT/Pentium and its compatible systems. The C104P/C168P is equipped with custom-designed ASIC chip which replaces lots of conventional ICs and reduces the board to half-size.
Page 8
JP1 always short. Quick Installation To ease the hardware configuration, users who install only one C104P/C168P board under Windows NT/95 are recommended to adopt quick installation described in Chapter 2. Other users please see Chapter 3 for installation details.
Basic, Visual C++, Borland Delphi, etc. Utilities, such as diagnostic and monitor, are included for diagnosing the board/port or monitoring the communication status. 1.2 C104P Features Custom-designed ASIC, compact board size (half-size) No switch no jumper, easily configured by software...
Page 10
Introductio Chapter 1 Check List Upon unpacking the C104P, you should find the following items in the package, C104P 4 port serial board This User's Manual ¡Ñ Windows NT/95 driver diskette 1, DOS/Windows 3.x (API-232) 1, PComm diskette ¡Ñ ¡Ñ...
Chapter 1 Introduction 3: Driver supported by Moxa and shipped with product R : Driver supported by Moxa but shipped by request C : Driver supported by OS Note: MOXA FTP site is available for driver download 1.3 C168P Features Custom-designed ASIC, compact board size (half-size) No switch no jumper, easily configured by software Independent I/O address, IRQ setting for each of 8 serial ports...
Page 12
Introductio Chapter 1 Check List Upon unpacking the C168P, you should find the following items in the package, C168P 8 port serial board This User Manual ¡Ñ ¡Ñ Windows NT/ 95 driver diskette 1, DOS (API-232) driver diskette and PComm diskette ¡Ñ...
Page 13
Chapter 1 Introduction Opt8C/Opt8D: RS-232 octopus cable with 8 port male DB25 (or DB9 for Opt8D) connectors (1 meter long). P1 P2 P3 P4 C168P P7 P8 Opt8C/Opt8D Opt8F/Opt8Z: RS-422 connection box with 8 port female DB25 connectors (isolation protection for Opt8F). 1.5 meter DB62 to DB62 cable and 110V or 220V adapter included.
Page 14
Introductio Chapter 1 C168P Opt8J ↓ ↓ 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 RS-422/485 Port Switch of Opt8J Port Port Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx Tx Rx ON: Tx by RTS: If RTS is high, the port is in output state.
Page 15
Chapter 1 Introduction System Support The C168P is compatible with various operating systems such as SCO UNIX/XENIX, QNX and Linux. However, Moxa supports proprietary drivers for better performance. See the driver list below. C168P Windows NT Windows 95 SCO UNIX/OpenServer UNIX SVR4.2 Linux SCO XENIX...
Quick Installation To fully utilize the superior feature of flexible hardware configuration design of the C104P/C168P, 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.
Page 18
Chapter 2 Quick Installation 4. Shutdown System (Windows NT/95). 5. DO power OFF and then ON (or Reset) the PC. (Please cold start.) 6. Restart System (Windows NT/95). It is very important to keep the JP1 always short in this case. Without running the hardware configuration program, Io-irq.exe under DOS prompt, the software configuration program will automatically update the hardware settings of the board while updating the software settings.
After this, users already complete the whole installation. 3.1 Hardware Configuration - Io-irq.exe Because the ASIC-designed C104P/C168P has no switch no jumper, users must configure the I/O address, IRQ, INT Vector, etc. of the boards via utility, Io- irq.exe, before proceed to install. To set up the hardware configuration for...
Page 20
Io-irq program before inserting the next board. This is to prevent conflict between two boards with same default hardware settings. The C104P/C168P has the following default (factory) settings, I/O address: 0x180 (1st port), 0x188 (2nd port)
Page 21
Speed: This field specify the use of normal or high speed capability. Normal speed ranges from 50 to 115.2K bps. High speed ranges from 50 to 921.6K bps. C104P/C168P support only normal speed spectrum. In other word, it is not available for speed faster than 115.2K bps.
Page 22
Interrupt vector I/O address. If not using Interrupt vector, type 0 or leave blank as the Interrupt vector. There are two modes for the C104P/C168P 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/95. Finally, Windows NT-specific troubleshooting is included. 4.1 Software Installation The following is the procedure for installing the C104P/C168P device driver under Windows NT 4.0 (or NT 3.51): 1. Login NT as Administrator. 2. Enter [Control Panel] group, then select [Network] icon, and then [Adapters] folder.
INT vector, type 0 or leave blank as the INT vector. There are two modes for the C104P/C168P driver. One is using INT vector, the other is not using INT vector. INT vector is one byte of I/O address, in which each bit is used to indicate the occurrence of interrupt for corresponding port.
For 16550-compatible type of UART, receive FIFO trigger level is 1, 4, 8 or 14 bytes. At most 4 boards of C104P/C168P can be installed together as long as the IRQ and I/O address resources are sufficient and available in a system.
Chapter 4 For Windows NT Users refer to Section "Troubleshooting" for solutions. 4.4 Driver Upgrade/Removal To upgrade driver, remove the installed driver first and install the new one. To remove driver, 1. Enter [Control Panel] group, then select [Network] icon, and then [Adapters] folder.
Page 27
For Windows NT Users Chapter 4 - Plug in the board(s) properly. - Inspect carefully on the settings of I/O address for each board installed. - Sometimes slot for plugging board is malfunctional. In this case, please try other slots until good one is found. - The board might be defective.
Chapter 5 For Windows 95 Users In this chapter, software driver installation, configuration and removal procedure are described. PComm software package is stated, which includes MOXA serial communication library for easy programming and utilities for diagnostic and monitor under Windows NT/95. Finally, Windows 95-specific troubleshooting is included.
Page 30
0 or leave blank as the INT vector. There are two modes for the C104P/C168P driver. One is using INT vector, the other is not using INT vector. INT vector is one byte of I/O address, in which each bit is used to indicate the occurrence of interrupt for corresponding port.
Chapter 5 trigger level is 1, 4, 8 or 14 bytes. At most 4 boards of C104P/C168P can be installed together as long as the IRQ and I/O port resources are sufficient and available in a system. Unless the system restarted, the latest configuration will not take effect.
Page 32
Chapter 5 For Windows 95 Users The error messages and solutions are stated as clearly as possible. If all the possible solutions fail, the board or connection box might be defective. Please check the board or connection box ONE AT A TIME in the system and find out the defective one.
Chapter 6 PComm PComm, the professional serial comm tool for PC, is a software package under Windows NT/95, which consists of powerful serial communication library for easy programming in most popular languages, useful utilities such as diagnostic and monitor, illustrative example programs and comprehensive on-line documents.
Page 35
For Windows 95 Users Chapter 5 The followings are short descriptions of each utility. For details, please see on- line help in the diskette. Diagnostic 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.
Chapter 7 For DOS Users The C104P/C168P is useful for office automation and industrial control as well as data acquisition and communication. Because many users need to implement an industrial control system or data acquisition system in the DOS environment, but DOS did not have any better communication API, thus Moxa has developed device drivers and library functions under DOS.
Page 37
SELECTION" dialog and then enter or modify each port's configuration which are the port initial value when driver is loaded. 3. Use F8 function to load the on-board configuration for C104P/C168P. Use other functions to modify settings if necessary. Finally remember to use F10 function to save the configuration.
Page 38
Chapter 5 For DOS Users comparing to add port one by one with function F3. : This is actually the port ID of each port. The application Port number software will refer to the port by its port number (ID). Duplicated port number is not allowed.
For DOS Users Chapter 5 options for SER-DRV are provided. Type SER-DRV/? to see the available options. Driver Unloading To unload the driver from memory, type SER-DRV/Q at the DOS prompt. 7.2 MOXA Serial Port Naming Convention Each MOXA serial port are referenced as port number in terms of programming. The port numbers are automatically assigned once the starting port number is decided by user when configuring the ports of the board.
Chapter 5 For DOS Users In addition, for DOS C language only, there are also Modem Control and File Transfer library available, supporting Hayes compatible modem control as well as ASCII, KERMIT, XMODEM, YMODEM and ZMODEM file transfer protocol functions. For complete and last-minute API function description, see file API-232.TXT in the API-232 directory for more details.
Chapter 8 For Windows 3.x Users This chapter is for C104P only. C168P does not support Windows 3.x. MOXA API-232 is a software package that assists users to develop and/or debug programs for serial communications under Windows 3.x (and also DOS).
Page 43
COM4 COM5 COM6 C104P Due to the limitations of Windows 3.x operating system itself, only up to 9 COM ports are supported, i.e., COM1 to COM9. Hence, C104 with 4 ports or other 4 port non-intelligent boards, maximum 6 ports is supported if the existing standard COM ports (COM1 and COM2) are included.
Page 44
Existing Applications Many Windows software packages, such as pcANYWHERE, LabView, FIX, WinFax Pro, Fax Server, PROCOMM PLUS, LapLink, etc. can access MOXA C104P COM ports directly since these applications follow the Microsoft Windows COMM API.
Appendix A Troubleshooting Common C104P/C168P problems and possible solutions are listed below. If you still have problems, contact your dealer or Moxa for help. Or report it using "Problem Report Form" at the end of this manual to your dealer at once for faster technical support.
Page 47
Appendix A Software Causes and Solutions : a. C104P/C168P will check line status (CTS) before it sends data out if RTS/CTS flow control feature is set to ON in configuration or application program. Please see Appendix C for proper wiring.
Page 48
Appendix A Troubleshooting To configure the board, you need to know the board’s Configuration Access Port (CAP) address. Because the CAP address is the only channel via which the Io-irq.exe can access to the board. The following procedure instructs user to recover once the CAP is unknown. Step 1.
Page 49
Troubleshooting Appendix A Step 7. Exit the IO-IRQ. Step 8. Power off the PC. Step 9. Remove the jumper on position JP1. Remove jumper Step 10. Power on the PC.
Please check the precise pinouts, the following pinouts are typical examples. B.1 RS-232 Cable Wiring The following lists pin assignments of each of four DB25 RS-232 ports Pin no. Signal Type 1: To connect C104P to a DTE. C104P C104P DB25 DB25 Male DB25...
Page 51
DB25 Female 20 DSR Type 3: To connect C104P to a DTE with 3-pin wiring. If [Hardware flow control] feature is set to "ON", user must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site.
Appendix B C104P Pinouts and Cable Wiring B. 2 DB62 Connector Pinouts The following lists pin assignment of the C104P DB37 connector on the bracket. Pin no. Signal Pin no. Signal DCD3 DTR3 DSR3 CTS3 RTS3 RXD3 TXD3 DCD4 DTR4...
Page 53
C104P Pinouts and Cable Wiring Appendix B...
Appendix C C168P Pinouts and Cable Wiring In data communications, the term DTE is Data Terminal Equipment like terminal or PC COM1/2. The term DCE is Data Communication Equipment like modem. Please check the precise pinouts, the following pinouts are typical examples.
Page 55
C168P Pinouts and Cable Wiring Appendix C Type 1: To connect C168P to a DTE. C168P C168P DB25 DB25 Male DB25 DB9 Male 20 DTR Type 2: To connect C168P to a DCE. C168P DB25 DB25 Female 20 DSR Type 3: To connect C168P to a DTE with 3-pin wiring.
Appendix C C168P Pinouts and Cable Wiring If [Hardware flow control] feature is set to "OFF", users could just leave RTS, CTS, DSR, DTR, DCD open. C168P C168P DB25 DB25 Male DB25 DB9 Male C.2 RS-422 Cable Wiring Two RS-422 connection boxes have been designed for C168P, which are: 8 female RS-422/485 DB25 ports.
C168P Pinouts and Cable Wiring Appendix C The followings are operation modes for RS-422: RS-422 Point-to-point RS-422 Broadcasting Opt8F/Z Remote Site Opt8J/F/Z Remote Site 1 TxD+(B) RxD+(B) TxD+(B) RxD+(B) 16 TxD-(A) RxD-(A) RxD+(B) TxD+(B) RxD+(B) TxD+(B) 16 TxD-(A) RxD-(A) 14 RxD-(A) TxD-(A) 14 RxD-(A) TxD-(A)
Page 58
Appendix C C168P Pinouts and Cable Wiring box needs an external power adapter to supply 5V DC power. Either 110V or 220V AC power adapter is selectable. The RS-485 standard is an enhanced version of the RS-422A balanced line standard. It allows multiple drivers and receivers in a multidrop systems. As many as 32 drivers and 32 receivers can be put on any multidrop system.
Page 59
C168P Pinouts and Cable Wiring Appendix C 2. Point-to-point half-duplex operation For echo mode, set [Tx, Rx] port switch to [On, Off]. For non-echo mode, set [Tx, Rx] port switch to [On, On]. Multidrop Multidrop communication means that more than two devices can be linked together to communicate with one another via RS-485 interface.
Appendix C C168P Pinouts and Cable Wiring 1. Multidrop full-duplex operation Set [Tx, Rx] port switch of the master to [Off, Off]. Set [Tx, Rx] port switch of the slaves to [On, Off]. 2. Multidrop half-duplex operation For echo mode, set [Tx, Rx] port switch of the master and slaves to [On, Off]. For non-echo mode, set [Tx, Rx] port switch to [On, On].
Page 61
C168P Pinouts and Cable Wiring Appendix C Pin no. Signal Pin no. Signal Pin no. Signal TxD1 RxD1 CTS1 DTR1 DSR1 RTS1 DCD1 RxD2 TxD2 CTS2 DSR2 DTR2 RTS2 DCD2 TxD3 RxD3 CTS3 DTR3 DSR3 RTS3 DCD3 RxD4 TxD4 CTS4 DSR4 DTR4 RTS4...
Appendix D RS-485 Programming If you are using RS-485 communication, such as Opt8J or A50/A51, please follow the RS-485 programming guide below and also refer to Appendix C.3 for more RS-485 operation details. For RS-485 ports, each has one receiver (Rx) and one driver (Tx). Both driver and receiver can be either enabled or disabled in order to achieve either point- to-point half/full-duplex communication or multidrop half/full-duplex communication.
Page 63
RS-485 Programming Appendix D On" and "By /RTS" for the receiver to be chosen. Always On If the Tx and Rx port switch is set to Off position ("Always On"), the driver/receiver is always enabled and ready for transmitting/receiving data. Tx By RTS or Rx By /RTS The Tx or Rx port switch of each port can be set to On position ("By RTS"...
Appendix E PC I/O Port Address Map The following is the list of the I/O port addresses commonly used, which is for preventing I/O address conflict when configuring C104P/C168P. IO/ Address Device 000-01F DMA controller 1 020-03F interrupt controller 040-05F...
Page 65
Problem Report Form C104/C168 Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: oC104 oC168 Model : oP oH oHS 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 DOS Prompt.
Page 66
RETURN PROCEDURE For product repair, exchange or refund, the customer must: Provide evidence of original purchase Obtain a Product Return Agreement (PRA) from the sales representative or dealer Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time.
Need help?
Do you have a question about the C104P and is the answer not in the manual?
Questions and answers