Moxa Technologies Industio C114HI User Manual
Moxa Technologies Industio C114HI User Manual

Moxa Technologies Industio C114HI User Manual

Industrial 3 in 1 rs-232/422/485 serial board
Hide thumbs Also See for Industio C114HI:

Advertisement

Quick Links

Industio C114HI User's Manual
Industrial 3 in 1 RS-232/422/485 Serial Board
The content of this manual is also available in CD-ROM and at Moxa Web Site.
Apr. 1999 (3rd Edition)
Moxa Technologies Co., Ltd.
Tel:
Fax:
www.moxa.com
support@moxa.com.tw
+866-2-8665-6373
+886-2-8665-6372

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Industio C114HI and is the answer not in the manual?

Questions and answers

Summary of Contents for Moxa Technologies Industio C114HI

  • Page 1 Industio C114HI User’s Manual Industrial 3 in 1 RS-232/422/485 Serial Board Apr. 1999 (3rd 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 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 If you need cable wiring information, please see Appendix A, “Pinouts and Cable Wiring”. If you encounter any problem during installation, please refer to Appendix C, “Troubleshooting”. Chapter 1 Introduction Overview and features for the Industio C114HI are described. Also check list and overall installation guide. Chapter 2 Hardware Installation and IO-IRQ Hardware installation for the Industio C114HI is detailed.
  • Page 5 Chapter 8 For Windows 3.X Users Software installation, configuration, driver loading/unloading, driver update and removal configuration, driver loading/unloading, driver update and removal for Windows 3.x. Chapter 9 RS-232/422/485 Programming Roughly describing the RS-232/422/485 Programming. Appendix Pinouts and cable wiring , High Speed Operations, Troubleshooting and I/O port Address Map.
  • Page 6: Table Of Contents

    Table Of Contents Introduction ....................1-1 Features......................1-2 Specifications.....................1-2 Check List ......................1-3 Installation Guide ....................1-3 Hardware Installation and IO-IRQ ...........2-1 IO-IRQ Configuration Utility................2-1 Jumper Settings for Interface ................2-3 C114HI Board Installation ..................2-5 Software Installation................3-1 Windows NT/95/98, DOS/Windows 3.x ............. 3-1 SCO UNIX/XENIX ....................3-1 OS/2........................3-3 For Windows NT Users .................4-1 Driver Installation ....................
  • Page 7 Programming Library..................6-1 Utilities .......................6-2 For DOS Users ..................7-1 Driver Installation, Setup, Loading and Unloading ..........7-1 MOXA Serial Port Naming Convention .............. 7-4 Baud Rate Settings .................... 7-4 DOS API-232 Library and Programming ............7-4 Data Scope ......................7-5 For Windows 3.x Users .................8-1 Installation......................8-1 Configuration .....................8-1 Driver Removal ....................8-2...
  • Page 9: Introduction

    MOXA Serial Comm Tool For easy application development, MOXA provides an easy-use serial communication library under Windows NT/95/98 (PComm) and Windows 3.x/DOS Industio C114HI User's Manual...
  • Page 10: Features

    4¡Ñ 1 6C550C or Compatible Speed: 50 ~ 921.6K bps Connectors: 4¡Ñ D B-9 male (DTE) Data signals: RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND RS-422: TxD+/-, RxD+/-, RTS+/-, CTS+/-, DCD, GND RS-485: TxD+/-, RxD+/-, GND Industio C114HI User's Manual...
  • Page 11: Check List

    4. 30 cm cable ( DB-37 to 4¡Ñ D B-9 male connectors ) Installation Guide To install C114HI in a system, follow the instructions of Chapter "Hardware Installation and IO-IRQ" and then O.S. specific instruction of Chapter "Software Installation". Industio C114HI User's Manual...
  • Page 12 Industio C114HI User's Manual...
  • Page 13: Hardware Installation And Io-Irq

    Then choose the entry of "SCO UNIX 1 (Arnet Compatible...) " which will designate the C114HI's I/O base address to 0x280, IRQ to 4 and interrupt vector to 0x2C2. Be careful not to conflict the I/O address and IRQ of the C114HI board with the existing board's. Industio C114HI User's Manual...
  • Page 14 C114HI’s Layout Industio C114HI User's Manual...
  • Page 15: Jumper Settings For Interface

    Put the jumpers in the positions as depicted. Do not care Tx (JP6) and Rx (JP7). RTS ON AUTO RTS OFF AUTO Jumper Settings for RS-232 Port Put the jumpers in the positions exactly as depicted. Industio C114HI User's Manual...
  • Page 16 "REG" and "AUTO" for the receiver (jumpers for Rx) Please decide which you need and put the jumpers in positions as depicted. Full Duplex Operation Mode RTS ON RTS ON AUTO AUTO RTS OFF RTS OFF AUTO AUTO Tx: RTS ON Tx: REG Rx: RTS OFF Rx: REG Industio C114HI User's Manual...
  • Page 17: C114Hi Board Installation

    The C114HI has the following default (factory) settings, I/O address: 0x180 (1st port), 0x188 (2nd port) 0x190 (3rd port), 0x198 (4th port) IRQ: 10 (shared by four ports) Interrupt vector : 0x1C0 Configuration Access Port (CAP): 0x180 Industio C114HI User's Manual...
  • Page 18 C114HI. Step 7. Proceed software installation described in Chapter 3. After completing both the hardware and software configurations, the board is ready for use. Remember to connect the DB-37 to 4¡Ñ D B-9 cable. Industio C114HI User's Manual...
  • Page 19: Software Installation

    I/O base address = 0x280 (Arnet compatible) Vector = 0x2C2 (0x280 + offset 0x42) For second 4 port board, the C114HI can be configured as: IRQ = 3 (i.e. COM2) I/O base address = 0x300 (Arnet compatible) Industio C114HI User's Manual...
  • Page 20 (upper-case) will be added to the system. tty1a tty1b tty1c tty1d (first C114HI) tty2a tty2b tty2c tty2d (second C114HI) Be sure to activate the device by using SCO command: # enable ttyxx Industio C114HI User's Manual...
  • Page 21 FIFO : if this is a FIFO port or not (t or f) Example: DEVICE= C:\COM.SYS (1, 3F8, 4, d, t) (2, 2F8, 3, d, t) (3, 2C0, 5, d, t) (4, 2C8, 7, d, t) Industio C114HI User's Manual...
  • Page 22 Industio C114HI User's Manual...
  • Page 23: For Windows Nt Users

    5. Select "MOXA Smartio/Industio Family multiport board" in "Select OEM Option" dialog. Click [OK] to start installation. 6. When Moxa Configuration Panel is popped up, to configure the board(s) and ports, please refer to the Section "Board and Port Configuration " for more details. Industio C114HI User's Manual...
  • Page 24: Board And Port Configuration

    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. Driver employing INT vector scheme is supposed to have better performance than employing polling scheme. Industio C114HI User's Manual...
  • Page 25: Board Initialization Status Checking

    Event Log] to check for message like "MOXA C114HI, with first serial port COM3, has been enabled " for each configured board. If error message like "Cannot find any configured MOXA C114HI board!" appears, refer to Section "Troubleshooting" for solutions. Industio C114HI User's Manual...
  • Page 26: Updating/Removing Driver

    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 and find out the defective one. Industio C114HI User's Manual...
  • Page 27 [Moxa Configuration Panel] for each board installed, then shut down the system and run Io-irq.exe to check the board settings of the hardware configuration. Make sure both are same. The board might be defective. Industio C114HI User's Manual...
  • Page 28 Industio C114HI User's Manual...
  • Page 29: For Windows 95/98 Users

    5. In the “MOXA Configuration Panel ” dialog box, click [Add] to enter “Property” dialog box to add the Industio C114HI Series board. Select the “C114HI Series” in the “Board Type” field. If necessary, type the desired interrupt vector address, in the “INT Vector”...
  • Page 30 Note ! If you need to install more than one board, click [Add] and repeat steps 5 to 7 to configure another board. Up to four Industio C114HI Series boards can be installed in a system. Click [OK] to finish the configuration.
  • Page 31: Board And Port Configuration

    All the error conditions, during the initialization of Windows 95/98, will be popped up onto the screen. Otherwise, everything should be fine. If error message like "C114HI Series (CAP=0x0180, port 1=COM3): Board is not found" appears, refer to Section "Troubleshooting" for solutions. Industio C114HI User's Manual...
  • Page 32: Updating/Removing Driver

    MOXA Serial Comm Tool: PComm PComm is a software package consisting of MOXA serial communication library and utilities for diagnostic and monitor as well as example programs under Windows NT/95/98. Please see Chapter "PComm" for details. Industio C114HI User's Manual...
  • Page 33: Troubleshooting

    [Moxa Configuration Panel] icon for each board installed, then shut down the system and run Io-irq.exe to check the board settings of the hardware configuration. Make sure both are same. - The board might be defective. Industio C114HI User's Manual...
  • Page 34 Industio C114HI User's Manual...
  • Page 35: Pcomm

    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. Industio C114HI User's Manual...
  • Page 36: Utilities

    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. Industio C114HI User's Manual...
  • Page 37: For Dos Users

    DOS. Driver Installation Run the installation program, DOSINST.EXE, in the DOS/Windows 3.x software diskette. Specify the target directory (e.g. C:\MOXA) where software driver and library will be copied to. Press F2 to start the installation. Industio C114HI User's Manual...
  • Page 38 F3: Toggle one/two INT vector. Press F8: "Load config" to load the hardware configuration set by Io-irq.exe. This is the most convenient way of configuration, comparing to add port one by one with function F3. Industio C114HI User's Manual...
  • Page 39 Universal 2/4/8 serial ports Communication Driver Setup driver … None serial port found!! Please refer to Appendix "Troubleshooting" for possible reasons and solutions. Driver Unloading To unload the driver from memory, type SER-DRV/Q at the DOS prompt. Industio C114HI User's Manual...
  • Page 40: Moxa Serial Port Naming Convention

    For DOS programming, API-232 includes powerful libraries supporting languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic, Turbo Pascal, Clipper, etc. Sample programs for each supported language are included, and placed in the sub- directory ..\EXAMPLE\language of the API-232 directory. Industio C114HI User's Manual...
  • Page 41: Data Scope

    ASCII, XMODEM, YMODEM, 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. Industio C114HI User's Manual...
  • Page 42 Industio C114HI User's Manual...
  • Page 43: For Windows 3.X Users

    COM3 to COM6 is recommended. In this case, the original COM1 and COM2 on PC will be still available. For example, if 4 ports are configured and starting from COM3, then the mapping of serial port numbers will be as depicted. Industio C114HI User's Manual...
  • Page 44: Driver Removal

    Driver” is provided to remove the installed driver from the Windows. Baud Rate Settings For those Industio C114HI boards configured as High Speed Spectrum, the real working speed is equal to 8 times of the displayed speed. For example, a port, if set to Normal Speed Spectrum with 38.4 Kbps, will work at 38.4 Kbps for sure;...
  • Page 45: Utility

    Existing Applications Many Windows software packages, such as pcANYWHERE, LabView, FIX, WinFax Pro, Fax Server, PROCOMM PLUS, LapLink, etc. can access MOXA C114HI COM ports directly since these applications follow the Microsoft Windows COMM API. Industio C114HI User's Manual...
  • Page 46 Industio C114HI User's Manual...
  • Page 47: Rs-232/422/485 Programming

    Depending on the jumper settings described in the section “Jumper settings for Interface” of Chapter 2, there are three ways for controlling transmitter and receiver of the port. Industio C114HI User's Manual...
  • Page 48 "0" will turn the transmitter/receiver off to high impedance status and the 16x50 UART chip will not transmit/receive any signal. In Turbo C language, a statement as following will turn on the transmitter : outportb(BASE + 7, 1); Industio C114HI User's Manual...
  • Page 49 This feature means RS-485 acts just like RS- 232 in half duplex operation mode. Applications written for half-duplex RS-232 can be used without modification. Please refer to the sample program rs485.c in the \DOS\EXAMPLE\C directory for more programming details. Industio C114HI User's Manual...
  • Page 50 Industio C114HI User's Manual...
  • Page 51: Appendix A Pinouts And Cable Wiring

    Mode of operation No. of Drv. No. of Rcv. Max. length ( FT ) Max. Rate ( bps ) RS-232 single ended RS-422 differential 4000 differential 4000 RS-485 RS-232 The following lists pinouts of the RS-232 port. C114HI DB-25 Male Connector Industio C114HI User's Manual...
  • Page 52 C114HI DB-9 Male Connector C114HI Pin-head Connector RS-232 cable wiring is as follows: Type 1: To connect C114HI to a DTE. C114HI C114HI DB-9 Male DB-25 Male DB-9 Male DB-9 Male Industio C114HI User's Manual...
  • Page 53 DB-9 Male DB-25 Male DB-9 Male DB-9 Male If [Hardware flow control] feature is set to "OFF", users could just leave RTS, CTS, DSR, DTR, DCD open. C114HI C114HI DB-9 Male DB-25 Male DB-9 Male DB-9 Male Industio C114HI User's Manual...
  • Page 54 C114HI DB-9 Male Connector C114HI Pin-head Connector TxD-(A) TxD-(A) RxD+(B) RTS-(A) TxD+(B) RxD+(B) RxD-(A) RTS+(B) TxD+(B) RTS-(A) CTS+(B) RTS+(B) RxD-(A) CTS+(B) CTS-(A) CTS-(A) CTS-(A) RxD-(A) CTS-(A) RxD-(A) CTS+(B) TxD+(B) CTS+(B) TxD+(B) RTS+(B) RTS+(B) RxD+(B) RxD+(B) RTS-(A) TxD-(A) RTS-(A) TxD-(A) Industio C114HI User's Manual...
  • Page 55 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. C114HI DB-25 Female Connector Data+(B) Data-(A) C114HI DB-9 Male Connector C114HI Pin-head Connector Data-(A) Data-(A) Data+(B) Data+(B) Data+(B) Data+(B) Data-(A) Data-(A) Industio C114HI User's Manual...
  • Page 56: Impedance Matching And Termination Resistors

    It is normally sufficient when the value of the termination resistor equals the characteristic impedance of the transmission line. The resistors should be added near the receiving side. See below RS-422 example. Industio C114HI User's Manual...
  • Page 57 RT4 is for RxD+/- of C114HI port 2. RT5 is for CTS+/- of C114HI port 3. RT6 is for RxD+/- of C114HI port 3. RT7 is for CTS+/- of C114HI port 4. RT8 is for RxD+/- of C114HI port 4. Industio C114HI User's Manual...
  • Page 58: Pinouts Of Db-37 Connector

    RXD2+(B)/RXD2 TXD2/TXD2+(B) CTS3-(A)/RI3 DCD3/TXD3-(A) RXD3-(A)/DTR3 GND3 RTS3-(A)/DSR3 CTS3/CTS3+(B) RTS3+(B)/RTS3 RXD3/RXD3+(B) TXD3+(B)/TXD3 RI1/CTS1-(A) TXD1-(A)/DCD1 DTR1/RXD1-(A) GND1 DSR1/RTS1-(A) CTS1+(B)/CTS1 RTS1/RTS1+(B) RXD1+(B)/RXD1 TXD1/TXD1+(B) CTS0-(A)/RI0 DCD0/TXD0-(A) RXD0-(A)/DTR0 GND0 RTS0-(A)/DSR0 CTS0/CTS0+(B) RTS0+(B)/RTS0 RXD0/RXD0+(B) TXD0+(B)/TXD0 Note: make shield grounded to the connector. Industio C114HI User's Manual...
  • Page 59: Appendix B High Speed Operations

    400 bps, then choose High Speed Spectrum by running IO-IRQ. For UNIX Users For the C114HI board configured as High Speed Spectrum, the real working speed is equal to 8 times of the displayed speed (with "stty" command). Industio C114HI Series User's Manual...
  • Page 60 Industio C114HI User's Manual...
  • Page 61: Appendix C Troubleshooting

    ú Power on the PC. Now the CAP address of the board is forced to 0xA700. ú Execute IO-IRQ under DOS. ú Enter CAP address 0xA700 to access the board and configure it. ú Keep in mind the CAP. ú Exit IO-IRQ and power off PC. Industio C114HI Series User's Manual...
  • Page 62 ú Remove the jumper cap on the position JP1. ú Power on PC. Industio C114HI User's Manual...
  • Page 63: Appendix D 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: ) Industio C114HI Series User's Manual...
  • Page 64 Problem Report Form Industio C114HI Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product : C114HI Serial Number : ____________ 2. Moxa Driver Version : ________________ 3. Moxa hardware settings : 3.1 Please check the hardware configuration for I/O, IRQ, and speed, via running IO-IRQ.EXE from DOS or Windows 95/98 DOS Prompt.
  • Page 65 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.

Table of Contents