Moxa Technologies Smartio C104H User Manual

Moxa Technologies Smartio C104H User Manual

Universal 4 port serial board

Advertisement

Quick Links

Smartio C104H/HS User's Manual
The content of this manual is also available in CD-ROM and at Moxa Web Site.
Universal 4 Port Serial Board
May 1999 (6th Edition)
Moxa Technologies Co., Ltd.
Tel:
+866-2-8665-6373
Fax:
+886-2-8665-6372
www.moxa.com
support@moxa.com.tw

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Smartio C104H and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Moxa Technologies Smartio C104H

  • Page 1 Smartio C104H/HS User’s Manual Universal 4 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...
  • Page 2: Copyright Notice

    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 Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa.
  • 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. The followings are the services we provide.
  • Page 4: About This Manual

    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.
  • Page 5: Table Of Contents

    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 Serial Programming Tools ..........4-1 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 ........
  • Page 7: Introduction

    The Smartio Series is also available in PCI bus. Please contact MOXA dealer/distributor or MOXA Web site for more details. Smartio C104H/HS User’s Manual...
  • Page 8: Quick Installation

    Series board under Windows NT/95/98 are recommended to adopt quick installation described in Chapter 2. Because the series is so flexible in hardware configuration that they are compatible virtually with all kinds of other manufacturer's multiport boards using 16450 or 16550 UART. Smartio C104H/HS User’s Manual...
  • Page 9: Operating System Support

    Wide Applications The Smartio C104 Series are suitable for many applications. Here are a few: Internet/Intranet Connection Remote Access Application Multi-user Application Industrial Automation Office Automation Telecommunication PC-based (vending) Machine or Kiosk System Point-of-Sale (POS) System Smartio C104H/HS User’s Manual...
  • Page 10: Features

    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 Smartio C104H/HS User’s Manual...
  • Page 11: Check List

    Windows NT and Windows 95/98 ¡Ñ DOS/Windows 3.x ¡Ñ C104H/HS User's Manual (This Manual) PComm Lite diskette ¡Ñ Opt 4C: DB37 to 4¡Ñ D B25 male connectors or Opt 4D: DB37 to 4¡Ñ D B9 male connectors Smartio C104 Series Smartio C104H/HS User’s Manual...
  • Page 12: Installation Guide

    Cable and Cable Wiring” Restart the system See Chapter “Software Check the driver initialization status Installation” If the system restart successfully, you may develop your applications or See Chapter “Serial execute the desired applications Programming Tools” Smartio C104H/HS User’s Manual...
  • Page 13: Hardware Installation

    If the default settings above are what you desire and good for the system without conflicts, you may simply install the board in the system and go directly to the next chapter, “Software Installation”. Otherwise, follow the instructions below. Smartio C104H/HS User’s Manual...
  • Page 14: Quick Hardware Installation

    3. Process software installation, detailed in the next chapter. This is to specify the desired I/O address, IRQ and INT Vector in the software configuration panel, no matter what hardware settings are on the board. The software Smartio C104H/HS User’s Manual...
  • Page 15: Hardware Installation With Io-Irq Utility

    I/O address : 0x180 (Port 1), 0x188 (Port 2), 0x190 (Port 3), 0x198 (Port 4) IRQ : INT Vector : 0x1C0 Because the ASIC-designed Smartio C104 Series has no switch and no jumper for configuring manually the I/O address, IRQ, INT vector, etc. of the boards, you must Smartio C104H/HS User’s Manual...
  • Page 16: Io-Irq Utility And Hardware Configuration

    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. Smartio C104H/HS User’s Manual...
  • Page 17 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. Smartio C104H/HS User’s Manual...
  • Page 18 This field specifies the use of normal or high speed capability. Normal speed ranges from 50 bps to 115.2 Kbps. High speed ranges from 50 bps to 921.6 Kbps. Smartio C104 Series support both normal and high speed spectra. Smartio C104H/HS User’s Manual...
  • Page 19 Kbps for sure; while a port, if set to High Speed Spectrum with displayed speed 38.4 Kbps, will actually work at 307.2 Kbps (38.4 Kbps¡Ñ 8 ). The following is the 8 times speed mapping list for quick reference purpose, particularly for DOS driver. Smartio C104H/HS User’s Manual...
  • Page 20 Driver employing interrupt vector scheme is supposed to have better performance than employing polling scheme. 5. Press F10 to save the configuration and exit the utility. Smartio C104H/HS User’s Manual...
  • Page 21: Software Installation

    If you already have installed the driver and want to re-configure the board and port, add more boards or delete boards, please refer to the section, “Configuring Board and Port”. To update or remove the driver, please go to the section, “Updating Driver” or “Removing Driver”. Smartio C104H/HS User’s Manual...
  • Page 22: Installing Driver

    2. Open the [Control Panel], click on the [Network] icon and select the [Adapters] tab. 3. Click on the [Add] button, then the [Have Disk...] button in “Select Network Adapter”. 4. Specify the exact path of the driver diskette, A:\WINDOWS.NT. Then click [OK]. Smartio C104H/HS User’s Manual...
  • Page 23 “Interrupt No.” field. Type the desired base I/O address, in the “Base I/O Port Address” field. All the settings should match settings that are physically set on the board and conflict with no other devices. Smartio C104H/HS User’s Manual...
  • 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. Smartio C104H/HS User’s Manual...
  • Page 25 If you need to install more than one board, click [Add] and repeat steps 6 to 8 to configure another board. Up to four Smartio C104 Series boards can be installed in a system. Click [OK] to finish the configuration. Smartio C104H/HS User’s Manual...
  • Page 26 Smartio C104 Series, with first serial port COM3, has been enabled” for each configured board. If an error message similar to “Cannot find any configured MOXA Smartio C104 Series board!” appears, refer to the “Troubleshooting” chapter for solutions. Smartio C104H/HS User’s Manual...
  • Page 27: Configuring Board And Port

    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”. Smartio C104H/HS User’s Manual...
  • Page 28 Please see steps 6 to 8 in the previous section, “Installing Driver”, for more details. Click [Remove] to remove the board currently selected from the configured board list. Click [OK] to confirm the configuration changes you made. Click [Cancel] to leave the dialog with the configuration unchanged. Smartio C104H/HS User’s Manual...
  • Page 29: Updating Driver

    If you already have installed the driver and want to re-configure the board and port, add more boards or delete boards, please refer to the section, “Configuring Board and Port”. To update or remove driver, please go to the sections, “Updating Driver” and “Removing Driver”. Smartio C104H/HS User’s Manual...
  • Page 30: Installing Driver

    “Interrupt No.” field. Type the desired base I/O address, in the “Base I/O Port Address” field. All the settings should match settings that are physically set on the board and conflict with no other devices. Smartio C104H/HS User’s Manual 3-10...
  • 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. Smartio C104H/HS User’s Manual 3-11...
  • Page 32 If you need to install more than one board, click [Add] and repeat steps 5 to 7 to configure another board. Up to four Smartio C104 Series boards can be installed in a system. Click [OK] to finish the configuration. Smartio C104H/HS User’s Manual 3-12...
  • 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. Smartio C104H/HS User’s Manual 3-13...
  • Page 34: Configuring Board And Port

    Please see steps 5 to 7 in the previous section, “Installing Driver”, for more details. Click [Remove] to remove the board currently selected from the configured board list. Click [OK] to confirm the configuration changes you made. Click [Cancel] to leave the dialog with the configuration unchanged. Smartio C104H/HS User’s Manual 3-14...
  • Page 35: 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. Smartio C104H/HS User’s Manual 3-15...
  • Page 36: Removing Driver

    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. Smartio C104H/HS User’s Manual 3-16...
  • Page 37: Dos

    “Serial Programming Tools”. Installing Driver Run the installation program, DOSINST.EXE, in the DOS/Windows 3.x driver diskette. Specify the target API-232 directory (e.g. C:\MOXA) where software driver will be copied. Press F2 to start the installation. Smartio C104H/HS User’s Manual 3-17...
  • Page 38: Driver Setup

    Please refer to the F1 on-line help instructions as running setup program. 1. Run the setup program, BIN\SETUP.EXE, in the API-232 directory. Select “Smartio/Industio ISA Family” in the “Driver Selection” dialog box. Smartio C104H/HS User’s Manual 3-18...
  • 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. Smartio C104H/HS User’s Manual 3-19...
  • Page 40 Up to now you have completed the setup for Smartio C104 Series 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. Smartio C104H/HS User’s Manual 3-20...
  • Page 41 RxD buf size: The receiving (input) buffer allocated in the system for each port. F5: Group Edit: This is a convenient function that helps you edit the configuration of several ports at one time as a group. Smartio C104H/HS User’s Manual 3-21...
  • Page 42: Loading Driver

    DOS prompt. The driver will detect the Smartio C104 Series 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 … Device driver setup O.K. Smartio C104H/HS User’s Manual 3-22...
  • Page 43: Unloading Driver

    In this chapter, driver installation, configuration and removing procedure is described. Utility, TTY, is explained in chapter, “Serial Programming Tools”, which is good for terminal emulation. Related issues such as driver removal, baud rate settings, programming and existing applications are also stated. Smartio C104H/HS User’s Manual 3-23...
  • Page 44: Installing Driver

    “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. Smartio C104H/HS User’s Manual 3-24...
  • 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. Smartio C104H/HS User’s Manual 3-25...
  • Page 46: Configuring Driver

    COM1 to COM9. Hence, Smartio C104 Series 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. Smartio C104H/HS User’s Manual 3-26...
  • Page 47: Removing Driver

    High Speed Spectrum with shown speed 38.4 Kbps, will actually work at 307.2 Kbps (38.4 Kbps¡Ñ 8 ). This is applicable to Moxa-provided utility, such as CONFIG and TTY, existing applications and programming, which are described in later chapter. Smartio C104H/HS User’s Manual 3-27...
  • Page 48 Smartio C104H/HS User’s Manual 3-28...
  • Page 49: Serial Programming Tools

    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”. Smartio C104H/HS User’s Manual...
  • Page 50: Pcomm Programming Library

    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. Smartio C104H/HS 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. Smartio C104H/HS User’s Manual...
  • Page 52 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. Smartio C104H/HS User’s Manual...
  • 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. Smartio C104H/HS User’s Manual...
  • Page 54: Dos

    There are two utilities available for DOS: Data Scope and Diagnose, which are detailed below. Data Scope The Data Scope, BIN\SCOPE.EXE, is a suite of utility programs that can help users with system troubleshooting and serial communication debugging. Smartio C104H/HS User’s Manual...
  • Page 55 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. Smartio C104H/HS User’s Manual...
  • Page 56: Windows 3.X

    Windows COMM API like Microsoft C, Borland C, Visual C, Visual Basic, Delphi, etc. Sample programs for only Microsoft C, Borland C and Visual Basic are supported. For other languages’ sample programs, please refer to the language-provided communication example programs. Smartio C104H/HS User’s Manual...
  • Page 57: Utility

    Existing Applications Many Windows software packages, such as pcANYWHERE, LabView, FIX, WinFax Pro, Fax Server, PROCOMM PLUS, LapLink, etc. can access the Smartio C104 COM ports directly since these applications follow the Microsoft Windows COMM API. Smartio C104H/HS User’s Manual...
  • Page 58 Smartio C104H/HS User’s Manual 4-10...
  • Page 59: Connection Cable And Cable Wiring

    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: Smartio C104 Series DB25 Male (Opt 4C) 20 DTR Smartio C104 Series DB9 Male (Opt 4D) Smartio C104H/HS User’s Manual...
  • Page 60 PC COM2 port, Serial Printer, Opt 4C Terminal, or any DTE Device Smartio C104 DTE Device DB25 Male DB25 Male PC COM2 port, Serial Printer, Opt 4D Terminal, or any DTE Device Smartio C104 DTE Device DB9 Male DB25 Male Smartio C104H/HS User’s Manual...
  • Page 61 Type 2: To connect Smartio C104 Series to a DCE device. Straight-through Cable Modem, Opt 4C or any DCE Device Smartio C104 DCE Device DB25 Male DB25 Female Modem Opt 4D or any DCE Device Smatio C104 DCE Device DB9 Male DB25 Female Smartio C104H/HS User’s Manual...
  • Page 62 PC COM2 port, Serial Printer, Opt 4C Terminal, or any DTE Device Smartio C104 DTE Device DB25 Male DB25 Male PC COM2 port, Serial Printer, Opt 4D Terminal, or any DTE Device Smartio C104 DTE Device DB9 Male DB25 Male Smartio C104H/HS User’s Manual...
  • Page 63: Troubleshooting

    The cable or the board is defective. You may use other ports, cables or boards to verify. In addition, the PComm “Diagnostic” utility for Windows NT and Windows 95/98 is good for testing MOXA boards and port conditions. If Diagnostic reports error, replace the faulty components. Smartio C104H/HS User’s Manual...
  • Page 64 4. What to do if user forgets or does not know the Configuration Access Port (CAP) address of Smartio C104 Series? The Smartio C104 Series multiport boards are designed without jumper or switch, so the configuration is completed only by DOS utility Io-irq.exe. Smartio C104H/HS User’s Manual...
  • 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. Smartio C104H/HS User’s Manual...
  • Page 66: Windows Nt

    Please make sure there is no conflict with other adapter’s IRQ. Check the BIOS IRQ settings first. Make sure that an IRQ is available. 2. After the system reboots, the error message “Cannot find any configured MOXA Smartio/Industio Series board!” appears in the Event Log. Smartio C104H/HS User’s Manual...
  • Page 67: Windows 95/98

    “Smartio C104 Series (CAP=0x0180, port 1=COM3): Board is not found” appears. a. Some partial decoded network board may interfere with our board. Please avoid from using 0x300 as I/O address for those network boards. Smartio C104H/HS User’s Manual...
  • Page 68: Dos

    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. Smartio C104H/HS User’s Manual...
  • Page 69: Technical Reference

    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. Smartio C104H/HS User’s Manual...
  • Page 70: Uart 16C550C

    To increase the overall data throughput, special features such as on-chip FIFO and on-chip hardware flow control are used to reduce the number of interrupts to the onboard CPU and to prevent any loss of valuable data. Smartio C104H/HS User’s Manual...
  • Page 71: Pc I/O Port Address Map

    Serial Port 2 ( COM2: ) 300-31F Prototype card 360-36F Reserved 378-37F Parallel printer port 1 ( LP1: ) 3B0-3BF Monochrome display 3C0-3CF Reserved 3D0-3DF Color graphics display 3F0-3F7 Diskette controller 3F8-3FF Serial port 1 ( COM 1: ) Smartio C104H/HS User’s Manual...
  • Page 72: Db37 Connector Pinouts

    Pin no. Signal DCD3 DTR3 DSR3 CTS3 RTS3 RxD3 TxD3 DCD4 DTR4 DSR4 CTS4 RTS4 RxD4 TxD4 DCD2 DTR2 DSR2 CTS2 RTS2 RxD2 TxD2 DCD1 DTR1 DSR1 CTS1 RTS1 RxD1 TxD1 Note: make shield grounded to connector. Smartio C104H/HS User’s Manual...
  • Page 73 Problem Report Form Smartio C104 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: Smartio C104 Series Model : oC104H oC104HS 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.
  • 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.

This manual is also suitable for:

Smartio c104hs

Table of Contents