Summary of the content on the page No. 1
C168P User’s Manual
Universal 8 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
Summary of the content on the page No. 2
C168P User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of the agreements. Copyright Notice Copyright 1999 Moxa Technologies Co., Ltd. All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. All other trademarks or registered marks in this manual belong to their respective manufacturers. Disclaimer Informati
Summary of the content on the page No. 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. The followings are the services we provide. E-mail for technical support address: support@moxa.com.tw FTP site for free driver update address: ftp.moxa.com or ftp.moxa.com.tw user ID: ftp password: your_email_address World Wide Web
Summary of the content on the page No. 4
About This Manual This manual is composed of six Chapters and one Appendix. This manual is written for installer, system administrator and software programmer. If you are a first-time installer and system administrator, we recommend you to go through the whole manual except Chapter 4. If you are a software programmer, you may refer to Chapter 4 “Serial Programming Tools”. If you need cable wiring information, please see Chapter “Connection Option (Opt8x) and Cable Wiring”. If you encounter any p
Summary of the content on the page No. 5
Table of Contents Introduction..................................................................... 1-1 Overview................................................................................................................ 1-1 Features................................................................................................................. 1-4 Check List.............................................................................................................. 1-5 Installation Guide..
Summary of the content on the page No. 6
Utilities ................................ ................................ ................................ .......................... 4-2 DOS....................................................................................................................... 4-6 Installation................................ ................................ ................................ ..................... 4-6 DOS API-232 Library................................ ................................ ...........
Summary of the content on the page No. 7
1 1 1 Introduction Overview The Standard Multiport Async Solutions The standard C168P multiport boards offer 8 serial ports for connecting terminals, modems, printers, data acquisition equipment and any other serial devices to the PC/AT and its compatible systems. The Smartio C168P 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. Full range of I/O addresses and IRQs are available
Summary of the content on the page No. 8
Hardware Configuration Method JP1 Switch ON Jumper 1 2 3 4 ......... ......... Smartio Family Traditional Multipoort Board New : set I/O address Traditional : set switch and and IRQ via software and jumper manually for Utility. I/O address and IRQ. Instead of using traditional jumper or switch for IRQ and I/O address settings, hardware configuration of each port is easily set by DOS utility, Io-irq.exe, which reads and writes the on-board EEPROM for configuration information through the
Summary of the content on the page No. 9
Introduction Operating System Support The family is operational under most popular operating systems such as Windows NT, Windows 95/98, SCO UNIX/XENIX/OpenServer, DOS, Linux, QNX, FreeBSD, etc. However, MOXA device drivers for Windows NT, Windows 95/98, Linux and DOS are provided for easier installation, configuration and better performance. In this manual, chapters for MOXA Windows NT, Windows 95/98 and DOS device drivers are included. For other compatible systems not mentioned, please refer to
Summary of the content on the page No. 10
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 ϖ 16 bit AT bus architecture, more IRQs supported ϖ Isolation protection for RS-422 (optional connection box Opt8F) ϖ PComm serial communication tool ϖ Support popular OS¡— Windows NT, Windows 95/98, DOS, Linux ϖ Compatible with many other OS¡— QNX, SCO UNIX/OpenServer, SCO XENIX, Free BSD C168H/HS Windows NT 3
Summary of the content on the page No. 11
Introduction Check List Upon unpacking the C168P package, you should find the following items in the package, ϖ C168P 8-port serial async board ϖ Device driver diskettes: λ Windows NT and Windows 95/98¡ 1 λ DOS¡ 1 ϖ C168P User's Manual (This Manual) ϖ PComm Lite diskette¡ 1 You need also one of the following connection options: Opt8A/Opt8B/Opt8S ϖ RS-232 connection box with 8 DB25 female/male/female ports, respectively (surge protection for Opt8S). ϖ 1.5 meter DB62 to DB62 cable. C168P Rx 1 T
Summary of the content on the page No. 12
Opt8C/Opt8D ϖ RS-232 octopus cable with 8 port male connectors, DB25 for Opt8C and DB9 for Opt8D (1 meter long). P1P2 P3 P4 C168P P5 P6 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. ϖ 110V or 220V adapter. C168 P Rx Tx 1 2 3 4 5 6 7 8 Opt8F/Opt8Z 1-6 C168P User’s Manual
Summary of the content on the page No. 13
Introduction Opt8J ϖ RS-422/485 connection box with 8 port female DB25 connectors. ϖ 1.5 meter DB62 to DB62 cable. ϖ 110V or 220V adapter. C168 P Rx Tx 1 2 3 4 5 6 7 8 Opt8J Opt8J is the RS-422/485 connection box with 8 port female DB25 connectors for MOXA 8 port boards, including the C168P. There are 8-DIP switches on the side of the Opt8J. Each switch controls the communication mode (RS-422 or RS-485) of each port, respectively. 1 2 3 4 5 6 7 8 DIP ON RS-422/485 Port Switch of Opt8J 1 2 3
Summary of the content on the page No. 14
RS-485 Mode The Opt8J supports only 2-wire RS-485 communication. Set the respective switch to ON position to use RS-485 interface. This means the port can transmit data only when RTS is asserted, and receive data only when RTS is not asserted (half-duplex). Refer to Chapter “Connection Option (Opt8x) and Cable Wiring” for RS-422/RS- 485 cable wiring. And also to Chapter “Serial Programming Tools” for Opt8J RS- 485 programming details. Installation Guide This section gives a brief summary of
Summary of the content on the page No. 15
2 2 2 Hardware Installation The installation of the C168P 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. JP1 C168P Default Settings The C168P has the following default (factory) settings: I/O address: 0x180 (Port 1), 0x188 (Port 2), 0x190 (Port 3), 0x198 (Port 4) 0x1A0 (Port 5), 0x1A8 (Port 6), 0x1B0 (Port 7), 0x1B8 (Port 8) IRQ: 10 INT Vector: 0x1C0 CAP J
Summary of the content on the page No. 16
Now you should do either the normal hardware installation (detailed in the later section, “Hardware Installation with IO-IRQ Utility”) or the quick hardware installation (detailed right in the next section, “Quick Hardware Installation”). The latter is provided to facilitate the hardware installation, only under the circumstances that: υ Only one C168P board is allowed to install in a system. υ Windows NT and 95/98 are the only operating systems supported. υ I/O address 0xA700 must be free Q
Summary of the content on the page No. 17
Hardware Installation 5. DO power OFF and then ON (or Reset) the PC. (Please cold start.) 6. Restart System (Windows NT/95/98). 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. This saves the trouble doing hardware configuration. However, remember to cold start the syst
Summary of the content on the page No. 18
1. Choose a PC that has DOS system inside. 2. Power off the PC. 3. Make sure no hardware conflict and plug the board in a free 16-bit slot of the PC, one board at a time with JP1 open. + If you are installing multiple boards, insert one board at a time and configure it using the Io-irq program before inserting the next board. This is to prevent conflict between two boards with same default hardware settings. The C168P has the following default (factory) settings, I/O address: 0x180 (Port 1),
Summary of the content on the page No. 19
Hardware 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. C168P User’s Manual 2-5
Summary of the content on the page No. 20
3. Enter the CAP address of the C168P 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. Avoid to conflicting with any other devices. IRQ Enter the IRQ, 2, 3, 4, 5, 7, 10, 11, 12 or 15, for each port, independently or not. Speed This field specifies the use of normal or high speed capability. Normal speed ranges from 50 bps to 115.2 Kbps