Moxa Technologies Moxa Smartio C168H User Manual

Moxa Technologies Moxa Smartio C168H User Manual

Smartio 8 ports serial board for pci bus
Hide thumbs Also See for Moxa Smartio C168H:

Advertisement

Quick Links

S S m m a a r r t t i i o o C168H/PCI User's Manual
Smartio 8 Ports Serial Board for PCI Bus
Jul. 1999 (2nd 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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Moxa Technologies Moxa Smartio C168H

  • Page 1 S S m m a a r r t t i i o o C168H/PCI User’s Manual Smartio 8 Ports Serial Board for PCI Bus Jul. 1999 (2nd 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...
  • 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

    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 “Serial Programming Tools”.
  • Page 5: Table Of Contents

    Table of Contents Introduction ... 1-1 Overview----------------------------------------------------------------------------------------------------------1-1 Features ----------------------------------------------------------------------------------------------------------1-2 Check List --------------------------------------------------------------------------------------------------------1-3 Installation Guide -----------------------------------------------------------------------------------------------1-5 Hardware Installation ... 2-1 Installing the Smartio C168H/PCI Board -----------------------------------------------------------------2-1 Installing Connection Option Opt8x ------------------------------------------------------------------------2-2 Software Installation... 3-1 Windows NT -----------------------------------------------------------------------------------------------------3-1 Installing Driver----------------------------------------------------------------------------------------------3-2 Configuring Board and Port ------------------------------------------------------------------------------3-8 Updating Driver-------------------------------------------------------------------------------------------- 3-11 Removing Driver ------------------------------------------------------------------------------------------ 3-12 Windows 95/98------------------------------------------------------------------------------------------------ 3-13...
  • Page 6 Technical Reference... A-1 Specification ---------------------------------------------------------------------------------------------------- A-1 PCI ---------------------------------------------------------------------------------------------------------------- A-1 UART 16C550C------------------------------------------------------------------------------------------------ A-2 DB62 Connector Pinouts ------------------------------------------------------------------------------------ A-3...
  • Page 7: Introduction

    Overview S S m m a a r r t t i i o o - The Smart Multiport Async Solutions The term S S m m a a r r t t i i o o represents smart multiport serial I/O solution. S S m m a a r r t t i i o o C168H/PCI is designed for 32-bit PCI bus with Plug and Play feature.
  • Page 8: Operating System Support

    Point-of-Sale (POS) System PCI Solution The board complies with PCI Spec. 2.1 needing neither switch nor jumper. The hardware configuration for the IRQ and Memory addresses is automatically assigned by the PCI BIOS. Hence, the board MUST be plugged first before installing the software driver.
  • Page 9: Check List

    Speed (bps): 50 ~ 921.6K Connectors: 8¡ÑDB25/DB9, male or female Data signals: RS232¡ÐTxD, RxD, RTS, CTS, DTR, DSR, DCD, GND RS422¡ÐTxD+(B), TxD-(A), RxD+(B), RxD-(A), GND RS485¡ÐData+(B), Data-(A), GND Operating temp: 0 ~ 55 ¢J Power requirement: 180mA max. (+5V), 110mA max. (+12V), 160mA max. (-12V) Dimensions: 123 cm¡Ñ100 cm Popular O.S.
  • Page 10 Opt8C/Opt8D RS-232 octopus cable with 8 port male connectors, DB25 for Opt8C or DB9 for Opt8D (1 meter long). 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 included. Opt8J RS-422/485 connection box with 8 port female DB25 connectors.
  • Page 11: Serial Programming Tools

    Installation Guide This section gives a brief summary of how to install the Smartio C168H/PCI under each supported operating system. Installation is simple and involves the following stages: Check PCI BIOS settings Install Smartio C168H/PCI board and connection option (cable/box) Install software from diskette and configure driver for board and ports Connect devices with cable...
  • Page 12 Smartio C168H/PCI User’s Manual...
  • Page 13: Hardware Installation

    The installation of the Smartio C168H/PCI consists of hardware and software installation. The respective sections of the operating systems in the next chapter will discuss more about the software installation. The hardware installation is described in this chapter. The no-switch-no-jumper Smartio C168H/PCI board hardware configuration for IRQ number and I/O addresses is automatically assigned by the PCI BIOS.
  • Page 14: Installing Connection Option Opt8X

    Step 7: Connect one of the connection box/cable (also adapter if required) detailed in the next section. Step 8: Power on PC and BIOS will automatically set the IRQ and memory address. Note ! Step 9: Proceed with software installation detailed in the next Chapter “Software Installation”.
  • Page 15 Opt8A/Opt8B/Opt8S Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Smartio C168H/PCI. Carefully screw it until it is tight. Then plug the other end of the cable to the RS-232 connection box's DB62 connector. Both ends of the cable are identical.
  • Page 16: Operating Opt8J

    Opt8J/Opt8F/Opt8Z Hold one end of the DB62 cable and plug it into the DB62 connector on the bracket of the Smartio C168H/PCI. Carefully screw it until it is tight. Then plug the other end of the cable to the RS-422/RS-485 connection box's DB62 connector. Both ends of the cable are identical.
  • Page 17 Hardware Installation 1 2 3 4 5 6 7 8 RS-422/485 Port Switch of Opt8J 1 2 3 4 5 6 7 8 RS-422 Mode Set the respective switch to OFF position to use RS-422 interface. This means the port is always ready to transmit and receive data simultaneously (full-duplex). RS-485 Mode The Opt8J supports only 2-wire RS-485 communication.
  • Page 18 Smartio C168H/PCI User’s Manual...
  • Page 19: Software Installation

    Software Installation In this chapter, the software driver installation, configuration and driver update/removal procedures are described for various operating systems, including Windows NT, and Windows 95/98. Before proceeding with the software installation, complete the hardware installation first. If it is required to develop your own applications, please refer to the next chapter, “Serial Programming Tools”...
  • Page 20: Installing Driver

    Installing Driver First Time Installing Driver Following is the procedures for installing the Smartio C168H/PCI driver for the first time under Windows NT 3.51/4.0. Make sure the board (s) has (have) already been plugged in the system PCI slot (s). Please log in NT as Administrator.
  • Page 21 Select MOXA Smartio/Industio Family multiport board in Select OEM Option dialog box, and click [OK] to start driver installation. Moxa Smartio/Industio Configuration Panel dialog box appears. Click [Add] button to open Property dialog box to change port setting and advanced FIFO configuration done automatically by the system. Select the newly plugged C168H/PCI board from the Board Type pull-down list.
  • Page 22 10. Select a COM number for the specific port from Port Number pull-down list. Note! 11. Check Auto Enumerating COM Number check-box then the subsequent ports are mapped to continuous COM numbers. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. Note! 12.
  • Page 23 13. Check Set the change to all ports check-box then if desire to apply Rx FIFO Trigger just defined to all ports. 14. Select a Tx FIFO Size from Tx FIFO Size pull-down list. Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.
  • Page 24 18. Click [OK] button in Moxa Smartio/Industio Configuration Panel to return to Network dialog box. 19. Click [OK] button in to exit Network dialog box. 20. Restart the PC. Note! Note! 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.
  • Page 25: Troubleshooting

    Note! If an error message similar to “Cannot find any configured MOXA Smartio/Industio series board!” pops up, refer to the Troubleshooting chapter for solutions. Once the board and the driver are installed and the driver restarts successfully, you can start to develop applications with the P P C C o o m m m m library (See “Serial Programming Tools”) or the Microsoft Win32 API.
  • Page 26: Configuring Board And Port

    Configuring Board and Port Re-configure Port Setting If the driver is installed and only desire to re-configure the ports, please refer to the following procedures. Except procedures listed below, it is also allowed to do so by clicking [Start] è [Program Files] è [MOXA Utility] è [Moxa Smartio/Industio Configuration Panel] è...
  • Page 27 Click [Property] button in Moxa Smartio/Industio Configuration Panel dialog box to open Property dialog box. Then please refer to Step 6 to 21 in “First Time Installing Driver” of “Windows NT” section. Software Installation Smartio C168H/PCI User’s Manual...
  • Page 28 Add Another C168H/PCI Board Configuration If another MOXA C168H/PCI board is plugged and needed to be configured, please see this section for details. Up to four C168H/PCI board can be installed in ONE system under Windows NT as long as the system sources is sufficient. Except procedures listed below, it is also allowed to do so by clicking [Start] è...
  • Page 29: Updating Driver

    Then please refer to Step 6 to 21 in “First Time Installing Driver” of “Windows NT” section. Remove Existing C168H/PCI Board Configuration By unplugging C168H/PCI board, the system will automatically remove the configuration. Therefore, there is no need to do removal action from Moxa Smartio/Industio Configuration Panel dialog box.
  • Page 30: Removing Driver

    Please refer to Step 1 to 21 in “First Time Installing Driver” of “Windows NT” section to install the new driver. Removing Driver To remove the driver for the Smartio C168H/PCI board, Open [Control Panel], click [Network] icon, and select [Adapters] tab. Click on MOXA Smartio/Industio Family Adapter in the Network Adapter list.
  • Page 31: Windows 95/98

    Software Installation Windows 95/98 Windows 95/98 driver supports up to 128 serial ports, from COM1 to COM128. To fully utilize the advanced features of Windows 95/98, multi-process, multi-thread and pure 32-bit Windows 95/98 virtual device port drivers (VxD) compliant with communication drivers (VCOMM) are developed for the Smartio C168H/PCI and other MOXA multiport boards.
  • Page 32 Install the Smartio PCI board in the system Start Windows 95/98 to detect the board Driver installed before? Install the driver with the diskette See Section “First Time Driver Installation Stage” Configure the port See Section “Port Configuration Stage” The ports of the Smartio C168H/PCI Board are ready to work.
  • Page 33: First Time Driver Installation Stage

    First Time Driver Installation Stage This stage presents the steps for installing the driver for the first time of the first Smartio C168H/PCI board. The installation of the Smartio C168H/PCI board for Windows 95 and Windows 98 are slightly different and will be described in two columns.
  • Page 34 3. Type A:\Windows.95 in the Location field, and click [OK] button in Select Other Location dialog box. The system will start reading the files from the diskette. 4. Click [Finish] button. Smartio C168H/PCI User’s Manual 3-16 3. Select Other Devices and click [Next] button. 4.
  • Page 35: Port Configuration Stage

    Port Configuration Stage After the driver is installed, C168 PCI Series Installation dialog box will be displayed automatically and the port mapping is automatically done by the system. If one MOXA C168H/PCI board had installed previously and another MOXA C168H/PCI board was plugged, the system will prompt you to do port configuration directly discussed in this section.
  • Page 36 Select a COM number for the specific port from Port Number pull-down list. Note! Check Auto Enumerating COM Number check-box then the subsequent ports are mapped to continuous COM numbers. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2. Note! Select an Rx FIFO Trigger from Rx FIFO Trigger pull-down list.
  • Page 37 Check Set the change to all ports check-box then if desire to apply Rx FIFO Trigger just defined to all ports. Select a Tx FIFO Size from Tx FIFO Size pull-down list. Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes.
  • Page 38: Board And Port Ready Stage

    Board and Port Ready Stage Board and Port Ready Stage for Windows 95 and Windows 98 is a slight different. In this last stage, you will complete the driver installation. Windows 95 After the port configuration, you can immediately use the COM ports of the Smartio C168H/PCI board without restarting Windows 95.
  • Page 39: Configuring Board And Port

    Service to provide dial-up networking capabilities. Configuring Board and Port If desire to re-configure the COM number for the ports of installed boards and drivers under Windows 95/98, please follow procedures listed below. Instead of following procedures listed below, it is also allowed to do so by clicking [Start] è...
  • Page 40 Click on the specific port and click [Port Setting] button to re-assign the desired COM number for the Smartio C168H/PCI port mapping. Note! Check Auto Enumerating COM Name check-box to assign continuous COM numbers for subsequent ports. For example, if COM 3 is assigned to Port 1, then COM 4 will be automatically assigned to Port 2.
  • Page 41: Updating Driver

    all ports. Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes. Click [OK] button in Port X dialog box. Click [OK] button in C168 PCI Series Properties dialog box. 10. Click [OK] button in Device Manager tab. 11.
  • Page 42 Select [Driver] tab. Click [Update Driver...] button. Click [Have Disk...] button and type the path of the new driver. Insert the source diskette in the floppy drive if there is any. Smartio C168H/PCI User’s Manual 3-24...
  • Page 43: Removing Driver

    Click [OK] button in Install from Disk dialog box. The system will automatically prompt you to restart the system, click [Yes] button to restart the system. Or [No] button if you want to reboot the system later. Removing driver This section explains how to remove the Smartio C168H/PCI board driver. Open [Control Panel] icon, double click [Add/Remove Programs] icon, and then select [Install/Uninstall] tab.
  • Page 44 Click [OK] button in Add/Remove Programs Properties dialog box. Smartio C168H/PCI User’s Manual 3-26...
  • Page 45: Serial Programming Tools

    Moxa supports some easy but powerful serial programming libraries and communication troubleshooting utilities under Windows NT and Windows 95/98. It will save your developing time with the MOXA Serial Programming Tools. The following sections will detail the installation, the library and the utilities for various platforms.
  • Page 46: Utility

    P P C C o o m m m m Programming Library The serial communication library helps you to develop programs for serial communications for any COM port complying with Microsoft Win32 API. It facilitates communication programs and hence remarkably reduces developing time. This serial communication library provides a complete library function and sample programs for Visual C++, Visual Basic and Delphi.
  • Page 47: Diagnostic (For Moxa Boards Only)

    Serial Programming Tools Diagnostic (for MOXA boards only) A convenient diagnostic program ONLY for MOXA boards and ports provides internal and external testing including IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc. It will verify if both the software and hardware function correctly.
  • Page 48 Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program allows you to watch over the selected MOXA COM ports. It monitors data transmitting/receiving throughput and communication line status that are updated and displayed on the screen at time intervals.
  • Page 49: Terminal Emulator

    Serial Programming Tools Terminal Emulator The Terminal Emulator obviously serves as an emulator to “connect” various ports to see if the transmission functions correctly. It features multi-windows and supports terminal types of VT100 and ANSI. It allows you to transfer data interactively, send pattern periodically or transfer file using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols.
  • Page 50: Rs-485 Programming For Opt8J

    RS-485 Programming for Opt8J If you intend to do RS-485 communication with Opt8J, please follow the RS-485 programming guide below and also refer to Chapter “Connection Option (Opt8x) and Cable Wiring” for more Opt8J RS-485 operation details. The Opt8J supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the RTS signal.
  • Page 51 Solution 2 There's a dedicated RS-485 function in PComm library. It integrates the above functions of solution 1 regarding sending data as one. sio_putb_x(port, buff, tick ); /* For more information on these functions, please refer to PComm library on-line Help file for Windows NT and Windows 95/98.
  • Page 52 Smartio C168H/PCI User’s Manual...
  • Page 53: Connection Option (Opt8X) & Cable Wiring

    Connection Option (Opt8x) & Cable Wiring In serial data communications, the term DTE is for Data Terminal Equipment like terminal or PC COM1/2. The term DCE is for Data Communication Equipment like modem. Their precise pinouts and cable wiring are as follows. RS-232 Cable Wiring for Opt8A/B/C/D/S RS-232 8-port connection boxes/octopus cable designed for Smartio C168H/PCI are:...
  • Page 54 The followings are pin assignments for various connection options: Smartio C168H/PCI User’s Manual Opt8A/S (DCE, DB25 Female) Opt8B/C (DTE, DB25 Male) Opt8D (DTE, DB9 Male)
  • Page 55 Type 1: To connect S S m m a a r r t t i i o o C168H/PCI to a DTE device. Straight-through Cable Opt8A/S Opt8A/S DB25 Female Null Modem Cable Opt8B/C Opt8B/C DB25 Male Connection Option (Opt8x) and Cable Wiring PC COM2 port, Serial Printer, Terminal, or any DTE Device DTE Device...
  • Page 56 Opt8D Opt8D DB9 Male Type 2: To connect S S m m a a r r t t i i o o C168H/PCI to a DCE device. Opt8A/S Opt8A/S DB25 Female Smartio C168H/PCI User’s Manual Null Modem Cable PC COM2 port, Serial Printer, Terminal, or any DTE Device DTE Device DB25 Male...
  • Page 57 Straight-through Cable Opt8B/C Opt8B/C DB25 Male Opt8D Opt8D DB9 Male Connection Option (Opt8x) and Cable Wiring Modem, or any DCE Device DCE Device DB25 Female Modem or any DCE Device DCE Device DB25 Female Smartio C168H/PCI User’s Manual...
  • Page 58 Type 3: To connect S S m m a a r r t t i i o o C168H/PCI 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.
  • Page 59 Opt8D Opt8D DB9 Male Connection Option (Opt8x) and Cable Wiring PC COM2 port, Serial Printer, Terminal, or any DTE Device DTE Device DB25 Male Smartio C168H/PCI User’s Manual...
  • Page 60: Rs-422 Cable Wiring For Opt8J/F

    RS-422 Cable Wiring for Opt8J/F/Z RS-422 connection boxes designed for Smartio C168H/PCI boards are: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to OFF position (RS-422) for the desired port(s). Opt8F: Connection box with 8 female RS-422 DB25 ports and Max. 500V DC isolation protection which prevents damage caused by high potential voltage.
  • Page 61 The followings are operation modes for RS-422: RS-422 Point-to-point Opt8F/Z RS-422 Device 3 TxD+(B) RxD+(B) 16 TxD–(A) RxD–(A) 2 RxD+(B) TxD+(B) 14 RxD–(A) TxD–(A) 7 GND Opt8J RS-422 with Handshaking Opt8J RS-422 Device 3 TxD+(B) RxD+(B) 16 TxD–(A) RxD–(A) 2 RxD+(B) TxD+(B) 14 RxD–(A) TxD–(A)
  • Page 62: Rs-485 Cable Wiring For Opt8J

    RS-485 Cable Wiring for Opt8J One RS-485 connection box designed for Smartio C168H/PCI is: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to ON position. The Opt8J supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the RTS signal.
  • Page 63: Rs-422/485 Impedance Matching

    See Section “RS-485 Programming” of Chapter “Serial Programming Tools” for more Opt8J RS-485 programming details. RS-422/485 Impedance Matching For RS-422/485 serial communications, when an electrical signal travels through two different resistance junctions in a transmission line, the impedance mismatch will sometimes cause signal reflection. Signal reflection causes signal distortion, which in turn will contribute communication errors.
  • Page 64 Smartio C168H/PCI User’s Manual 5-12...
  • Page 65: Troubleshooting

    Common Smartio C168H/PCI errors and possible corresponding solutions are listed below. If the problem still cannot be solved by following solutions given, contact dealers 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. General Troubleshooting The MOXA PCI board cannot be detected by the MOXA driver while installing the driver.
  • Page 66 The cable or the board are probably defective. Please try other ports, cables or boards to verify it. Or use P P C C o o m m m m Diagnostic utility testing MOXA boards and port conditions. If Diagnostic reports error, replace the malfunctioned faulty components.
  • Page 67: Windows

    The COM numbers for different boards are conflicting. Change the COM number mappings for MOXA boards. Windows NT system panic (blue screen). The possible reason is an IRQ or I/O address conflict with other ISA Bus adapters, like LAN and SCSI boards, or the system BIOS. Please refer to the corresponding problem in the previous section “General Troubleshooting”...
  • Page 68 Smartio C168H/PCI User’s Manual...
  • Page 69: Technical Reference

    Specification Bus interface: Number of ports: Max. boards: IRQ: I/O address: Speed (bps): Data bits: Stop bits: Parity: UART: Data signals: Connectors: Operating temp: Power requirement: 180mA (+5V), 110mA (+12V), 160mA (-12V) Dimensions: Operating Systems: Window NT/95/98 and DOS The 32-bit Smartio C168H/PCI board complies with the PCI specifications 2.1. Hardware configuration for IRQ and I/O addresses is automatically assigned by the PCI BIOS.
  • Page 70: Uart 16C550C

    which may be called slot-sensitive or slot-dependent. This may also apply to PCI slots in PC with different motherboard, which may use different device number sets. For example, some use 17, 18, 19, and 20 for identifying the respective PCI slots but some use 11, 12, 13 and 14.
  • Page 71: Db62 Connector Pinouts

    DB62 Connector Pinouts The following lists the pin assignments of the DB62 connector on the bracket. Pin No. Signal TxD1 DTR1 RxD2 DSR2 DCD2 TxD3 DTR3 RxD4 DSR4 DCD4 RxD5 DSR5 DCD5 TxD6 DTR6 RxD7 DSR7 DCD7 RxD8 DSR8 DCD8 Pin No.
  • Page 72 Smartio C168H/PCI User’s Manual...
  • Page 73: Problem Report Form

    Problem Report Form Customer name: Company: Tel: Email: 1. Moxa Product: o C168H/PCI 2. Moxa Driver version: ________________ 3. Moxa hardware settings: PCI Slot number ________________________ 4. Operating System: o DOS o Windows NT 3.51 o Windows NT 4.0 o Others 5.
  • Page 74: Return Procedure

    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. Carefully pack the product in anti-static package, and send it, pre-paid, to the dealer.

This manual is also suitable for:

Smartio c168h/pci

Table of Contents