background image

For Windows NT Users

l

l

 Chapter 4

18

To upgrade driver, remove the installed driver first and install the new one.

To remove driver,

1. Enter 

[Control Panel] 

group, then select 

[Network] 

icon, and then 

[Adapters]

folder. (Enter 

[Control Panel]

 folder, then select

 [Network]

 icon for NT 3.51.)

2. Select  "

MOXA  C102/C104/C168  Adapter

"  in  adapter  list,  then 

[Remove]

button to start removing the MOXA board.

4.5  Baud Rate Settings

When  the  board  is  configured  as 

High  Speed  Spectrum

,  any  port  driven  by  the

Moxa-provided  driver

will  display  the  exact  working  speed.  For  example,  the

displayed speed 38.4 Kbps is equal to the working speed 38.4 Kbps.

However,  if  the  port  is  driven  by 

non  Moxa-provided  driver

,  such  as 

standard

serial driver

, 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 set to High Speed Spectrum with displayed speed 38.4
Kbps, will actually work at 307.2 Kbps (38.4 Kbps

¡Ñ

8).

4.6  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. Please see Chapter "

PComm

" for details.

4.7  Troubleshooting

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.

1. Can not find the configured C114HI (CAP=0xXXXX)!

To  avoid  this,  please  double  check  the  board  settings  from  the  driver
configuration  for  each  board  installed,  then  shut  down  the  system  before

Summary of Contents for Industio C114HI

Page 1: ...C114HI 3 in 1 RS 232 422 485 Industrial Serial Board Apr 1998 2nd Edition All Rights Reserved...

Page 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...

Page 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...

Page 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...

Page 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...

Page 6: ......

Page 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...

Page 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...

Page 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...

Page 10: ...Introduction l l Chapter 1 4...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 20: ...Software Installation l l Chapter 3 14...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 26: ...For Windows NT Users l l Chapter 4 20...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 38: ...For DOS Users l l Chapter 7 32...

Page 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...

Page 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...

Page 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...

Page 42: ...For Windows 3 x Users l l Chapter 8 36...

Page 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...

Page 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...

Page 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...

Page 46: ...Chapter 9 l l RS 232 RS 422 RS 482 Programming 40...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: