Resumen del contenido incluido en la página 1
Smartio C168H/HS User’s Manual
Universal 8 Port Serial Board
May 1999 (6th 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
Resumen del contenido incluido en la página 2
Smartio C168H/HS 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
Resumen del contenido incluido en la página 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
Resumen del contenido incluido en la página 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
Resumen del contenido incluido en la página 5
Table of Contents Introduction..................................................................... 1-1 Overview................................................................................................................ 1-1 Features................................................................................................................. 1-4 Check List.............................................................................................................. 1-5 Installation Guide..
Resumen del contenido incluido en la página 6
Setting MOXA Ports to Terminal................................ ................................ .................. 3-35 Serial Programming Tools ................................................ 4-1 Windows NT and Windows 95/98.......................................................................... 4-1 Installation................................ ................................ ................................ ..................... 4-1 PComm Programming Library ................................
Resumen del contenido incluido en la página 7
1 1 1 Introduction Overview Smartio - The Smart Multiport Async Solutions The term Smartio stands for smart multiport serial I/O solution. The Smartio C168 Series 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. With the well-designed and fine-tuned device driver, the Smartio boards make full use of the 32 byte Tx/Rx FIFO and on-chip H/W flow control, so that they ca
Resumen del contenido incluido en la página 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 read and write the on-board EEPROM for configuration information through the CA
Resumen del contenido incluido en la página 9
Introduction Surge Protection To prevent the boards from damage caused by lighting or high potential voltage, surge protection technology is introduced in some model to protect the board. 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, UNIX SVR4.2, However, MOXA device drivers for Windows NT, Windows 95/98, Linux, SCO UNIX/OpenServer, UNIX SVR4.2 and DOS are provided fo
Resumen del contenido incluido en la página 10
Features The Smartio C168 Series consist of members as follows, C168H 8 port RS-232 or RS-422, high speed 16550C or compatible UART C168HS 8 port RS-232 or RS-422, surge protection, 16550C or compatible UART ϖ 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 ϖ Surge protection for RS-232 (C168HS) ϖ Isolation protection fo
Resumen del contenido incluido en la página 11
Introduction Check List Upon unpacking the Smartio C168 Series package, you should find the following items in the package, ϖ Smartio C168 Series 8-port high performance async board ϖ Device driver diskettes: λ Windows NT and Windows 95/98¡ 1 λ DOS¡ 1 λ UNIX¡ 1 ϖ C168H/HS 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
Resumen del contenido incluido en la página 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 Smartio C168 Series 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. Smartio C168 Series Rx Tx 1 2 3 4 5 6 7 8 Opt8F/Opt8Z 1-6 Smartio C168H/HS User’s Manual
Resumen del contenido incluido en la página 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. Smartio C168 Series Rx 1 Tx 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 Smartio C168 Series. 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
Resumen del contenido incluido en la página 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
Resumen del contenido incluido en la página 15
2 2 2 Hardware Installation The installation of the Smartio C168 Series 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 Smartio C168 Series Default Settings The Smartio C168 Series 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), 0x1B
Resumen del contenido incluido en la página 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 Smartio C168 Series board is allowed to install in a system. υ Windows NT and 95/98 are the only operating systems supported. υ I/O address 0xA700
Resumen del contenido incluido en la página 17
Hardware Installation software configuration program will automatically update the hardware settings. After this, users already complete the whole installation. 4. Shutdown System (Windows NT/95/98). 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 automatic
Resumen del contenido incluido en la página 18
Because the ASIC-designed Smartio C168 Series 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. 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
Resumen del contenido incluido en la página 19
Hardware Installation typed correctly. With the correct CAP address, the utility can find the configuration stored in the on-board EEPROM and display it on the configuration panel. The CAP address is the only channel via which the configuration utility Io-irq.exe can access the board. 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. Smartio C168H/HS User’s Manual
Resumen del contenido incluido en la página 20
3. Enter the CAP address of the Smartio C168 Series 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