background image

1

Chapter 1 

Introduction

The Smart 3 in 1 Multiport Async Solutions

The C114HI is a RS-232/RS-422/RS-458 4-port serial communication interface board.
Each port can be configured to RS-232, RS-422 or RS-458 individually. It is designed
for  the  system  manufacturers,  integrators  or  VARs  that  want  to  provide  all  high
performance, reliability and quality multiple port data communication system.

The  C114HI  provides  a  low  cost,  high  performance  solution  for  connecting  up  to  4
devices such as terminals, modems and printers to PC-based host computer. It belongs
to the C104 family and features high speed and isolation protection.

The  C114HI  is  so  flexible  in  configuration  that  they  are  compatible  with  virtually  all
kinds of other manufacturer's 4 port non-intelligent boards using 16550 UART.

Operating System Support

The family is operational under most popular operating systems such as Windows NT,
Windows 95, SCO UNIX/XENIX/OpenServer, DOS, Windows 3.x, OS/2, Linux, QNX,
FreeBSD,  MUMPS,  PICK  OS,  IMS  Multiuser  DOS,  etc.  However, 

MOXA  device

drivers

 for Windows NT, Windows 95, DOS, Windows 3.x and Linux are provided for

better installation, configuration and performance. In this manual, chapters for MOXA

Windows NT

,

Windows 95

,

DOS

and

Windows 3.x

device drivers are included. For

other  compatible  systems  not  mentioned,  please  refer  to  the  respective  operating
system’s manual for how to install and configure the standard driver.

MOXA Serial C

omm Tool

For easy application development, MOXA provides an easy-use serial communication
library under Windows NT/95 (

PComm

) and Windows 3.x/DOS (

API-232

). Users can use

this library to  develop  your  own  applications  using  Microsoft  C,  Turbo  C,  Assembly,
QuickBASIC,  Turbo  Pascal,  Clipper,  Visual  Basic,  Visual  C++,  Borland  Delphi,  etc.

Utilities

, such as diagnostic and monitor, are included for diagnosing the board/port or

monitoring the communication status.

Содержание Industio C114HI

Страница 1: ...C114HI 3 in 1 RS 232 422 485 Industrial Serial Board Apr 1998 2nd Edition All Rights Reserved...

Страница 2: ...intended to be accurate and reliable However Moxa Technologies assumes no responsibility for its use nor for any infringements of rights of the fourth parties which may result from its use MOXA is a r...

Страница 3: ...ave been built for technical support product inquiry new driver upgrade etc The followings are the services we provide E mail for technical support address support moxa com tw Ftp site for free driver...

Страница 4: ...on 15 4 2 Board and Port Configuration 16 4 3 Board Initialization Status Checking 17 4 4 Driver Upgrade Removal 17 4 5 Baud Rate Settings 18 4 6 MOXA Serial Comm Tool PComm 18 4 7 Troubleshooting 18...

Страница 5: ...RS 232 422 485 Programming 37 9 1 RS 232 Programming 37 9 2 RS 422 Programming 37 9 3 RS 485 Programming 37 Appendix A Pinouts and Cable Wiring 41 A 1 RS 232 41 A 2 RS 422 44 A 3 RS 485 45 A 4 Impedan...

Страница 6: ......

Страница 7: ...nal under most popular operating systems such as Windows NT Windows 95 SCO UNIX XENIX OpenServer DOS Windows 3 x OS 2 Linux QNX FreeBSD MUMPS PICK OS IMS Multiuser DOS etc However MOXA device drivers...

Страница 8: ...auto data direction switching feature u Supports Windows NT 95 DOS and Windows 3 x device drivers u Compatible with most popular Operating Systems 1 2 Specifications u Bus interface ISA EISA compatibl...

Страница 9: ...FTP site is available for driver download 1 3 Check List Upon unpacking the C114HI package you should find the following items included 1 C114HI 4 port RS 232 RS 422 RS 485 board 2 This User s Manual...

Страница 10: ...Introduction l l Chapter 1 4...

Страница 11: ...determine in which operating system e g Windows or OS 2 or SCO UNIX the C114HI board will be used In order to ease the configuration the commonly used I O address and IRQ combinations supported by mos...

Страница 12: ...T5 RT3 JP4 PORT 3 JP5 PORT 4 PORT 2 JP3 PORT 1 JP2 RTS ON REG AUTO ON RTS OFF REG AUTO ON 232 422 485 JP7 485 422 232 RTS ON REG AUTO ON RTS OFF REG AUTO ON JP11 RTS ON REG AUTO ON RTS OFF REG AUTO ON...

Страница 13: ...AA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AA...

Страница 14: ...A AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAA...

Страница 15: ...AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA...

Страница 16: ...address to 0xA700 b Change or disable the existing board s I O address ATTENTION For safety and to prevent C114HI from damage please don t attempt to install or remove the jumper cap of JP1 until the...

Страница 17: ...NT Users or For Windows 95 Users For DOS Users or For Windows 3 x Users for more details 3 2 SCO UNIX XENIX Because the SCO UNIX XENIX has bundled a 4 port board driver additional driver is not neces...

Страница 18: ...base address 0xbbb 3 Hostess base address 0xccc 4 For first C114HI 4 port board select Arnet base address 0x280 for second Arnet base address 0x300 Follow the on line instruction to complete the rest...

Страница 19: ...ce Kit for OS 2 The COM SYS device driver can support up to 4 COM ports with user defined I O port addresses and interrupt levels To enable it a line describing C114HI s configuration same as configur...

Страница 20: ...Software Installation l l Chapter 3 14...

Страница 21: ...dministrator 2 Enter Control Panel group then select Network icon and then Adapters folder Enter Control Panel folder then select Network icon for NT 3 51 3 Click Add button then Have Disk button for...

Страница 22: ...he possible parameters are as follows Board Type C104 C168 Family IRQ No 2 3 4 5 7 10 11 12 15 INT Vector I O address for interrupt vector from 00000H to 0FFFFH To use INT vector type in the hardware...

Страница 23: ...ytes The default is 14 bytes At most 4 boards of C114HI can be installed together as long as the IRQ and I O address resources are sufficient and available in a system 3 Unless the system restarted th...

Страница 24: ...ual 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 while a port if set to High Speed Spectrum with displayed speed...

Страница 25: ...tially decoded device is using I O address 0x300 This will cause conflict with 0xA700 a fully decoded I O address In this case either find out the other device causing conflict and change its I O addr...

Страница 26: ...For Windows NT Users l l Chapter 4 20...

Страница 27: ...install the driver 3 When MOXA C102_C104_C168 Configuration Panel is popped up to configure the board s and ports please refer to the Section Board and Port Configuration for more details After this...

Страница 28: ...ontinuous I O addresses by the offset of 8 bytes For instance if the first port is set to 0x180 then the second port is set to 0x188 sequentially For COM number specify the COM number of the first por...

Страница 29: ...xistence in Windows 95 Registry 5 5 Baud Rate Settings When Smartio board is configured as High Speed Spectrum any port driven by the Moxa provided driver will display the exact working speed For exam...

Страница 30: ...The board might be defective For quick installation users make sure the jumper JP1 is always short and the additional I O address 0xA700 is not occupied by other devices If some other device use 0xA70...

Страница 31: ...Win32 COMM API 6 1 Installation To install PComm please run Setup exe in the diskette Note that the MOXA Windows NT 95 device driver is required as using PComm diagnostic and monitor utilities 6 2 Pro...

Страница 32: ...rrect operation of both the software and hardware Monitor A useful port status monitoring program allows users to watch the selected MOXA COM ports data transmitting receiving throughput and communica...

Страница 33: ...also stated Moxa device driver is a port based one and supports maximum of 8 serial ports Settings of each port can be set independently 7 1 Driver Installation Setup Loading and Unloading MOXA provid...

Страница 34: ...oup edit to set the selected ports as a group to the same settings Press F6 INT vector to specify the interrupt vector I O address and set the status for each port Interrupt driven scheme is applied f...

Страница 35: ...ard and the driver have been successfully installed At this point user is ready to execute application that supports API functions or start developing applications If there is no matched port the scre...

Страница 36: ...ed driver and utility such as Setup and Data Scope and also any non Moxa provided driver and utility such as Telix 7 4 DOS API 232 Library and Programming For DOS programming API 232 includes powerful...

Страница 37: ...of serial communication lines and allows data to be streamed to disk storage for later analysis 2 The TTY terminal emulation utility allows user to view the signal status and transfer data interactiv...

Страница 38: ...For DOS Users l l Chapter 7 32...

Страница 39: ...OS Windows 3 x driver API 232 diskette select COMM Driver and C104 and then do configuration as prompted Configuration The Windows based configuration program CONFIG has the easiest way to configure t...

Страница 40: ...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 while a port if...

Страница 41: ...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 comm...

Страница 42: ...For Windows 3 x Users l l Chapter 8 36...

Страница 43: ...om RS 232 in programming except that the jumper settings must be Tx ON and Rx ON 9 3 RS 485 Programming The C114HI has four independent ports and each port has one receiver and one transmitter Both of...

Страница 44: ...ual for more details 2 REG The transmitter or receiver is controlled by the control register BASE 7 bit 1 or bit 0 where BASE is the base I O address of the port When the corresponding bit is set to 1...

Страница 45: ...the transmitter is disabled and the receiver is enabled No handshaking signals such as RTS are necessary Users can build a RS 485 network with just two wires The RS 485 control is completely transpare...

Страница 46: ...Chapter 9 l l RS 232 RS 422 RS 482 Programming 40...

Страница 47: ...s Data Communication Equipment like modem Their precise pinouts and cable wiring are as follows The following comparison table is for EIA Standards RS 232 RS 422 and RS 485 Mode of operation No of Drv...

Страница 48: ...7 RTS 5 CTS 7 RTS 8 CTS 8 CTS 4 RTS 8 CTS 7 RTS 6 DSR 20 DTR 6 DSR 4 DTR 4 DTR 6 DSR 4 DTR 6 DSR 5 GND 7 GND 5 GND 5 GND 1 DCD 8 DCD 1 DCD 1 DCD Type 2 To connect C114HI to a DCE C114HI DCE DB 9 Male...

Страница 49: ...DB 25 Male DB 9 Male DB 9 Male 3 TxD 3 RxD 3 TxD 2 RxD 2 RxD 2 TxD 2 RxD 3 TxD 5 GND 7 GND 5 GND 5 GND 7 RTS 7 RTS 8 CTS 8 CTS 6 DSR 6 DSR 4 DTR 4 DTR 1 DCD 1 DCD If Hardware flow control feature is s...

Страница 50: ...xD B 3 TxD B 3 TxD B 4 RxD A 4 RxD A 5 GND 5 GND 6 RTS A 6 RTS A 7 RTS B 7 RTS B 8 CTS B 8 CTS B 9 CTS A 9 CTS A 10 NC RS 422 cable wiring is as follows C114HI site Remote site 1 TxD RxD 2 RxD TxD 3 T...

Страница 51: ...ote that when jumper set to half duplex TxD with RxD and TxD with RxD are shorted internally on board Only TxD and TxD are good for connection 1 Point to Point Point to Point configuration means two d...

Страница 52: ...nal travels through two different resistance junctions in a transmission line the mismatched impedance between cable and receiver will sometimes cause signal reflection Signal reflection causes signal...

Страница 53: ...0 ohm For C114HI RT1 to RT8 reserved on the board are to be used to install termination resistors for impedance matching These resistors are not installed at the factory Users should install the resis...

Страница 54: ...RXD2 RXD2 CTS3 RI3 RXD3 DTR3 RTS3 DSR3 RTS3 RTS3 TXD3 TXD3 TXD3 DCD1 GND1 CTS2 CTS1 RXD2 RXD1 CTS0 RI0 RXD0 DTR0 RTS0 DSR0 RTS0 RTS0 TXD0 TXD0 RI2 CTS2 DTR2 RXD2 DSR2 RTS2 RTS2 RTS2 TXD2 TXD2 DCD3 TX...

Страница 55: ...ight times the speed in Normal Speed Spectrum A port if set to Normal Speed Spectrum with 38 4K bps will work at 38 4K bps for sure while a port if set to High Speed Spectrum with 38 4K bps will actua...

Страница 56: ...Appendix B l l High Speed Operations 50 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...

Страница 57: ...e There are several reasons that may lead to this trouble a The user forgot or does not know the Configuration Access Port CAP of the board Refer to the next question and answer b The CAP of the board...

Страница 58: ...Appendix C l l Troubleshooting 52 Enter CAP address 0xA700 to access the board and configure it Keep in mind the CAP Exit IO IRQ and power off PC Remove the jumper cap on the position JP1 Power on PC...

Страница 59: ...yboard 070 07F Real time clock 080 09F DMA page register 0A0 0BF Interrupt controller 2 0C0 0DF DMA controller 0F0 0FF Math coprocessor 100 1EF not usable 1F0 1F8 Fixed disk 200 207 Game I O 278 27F P...

Страница 60: ...presentative or dealer v Fill out the Problem Report Form PRF as detailed as possible for shorter product repair time v Carefully pack the product in anti static package and send it pre paid to the de...

Отзывы: