background image

 

CA-132/132I User’s Manual 

3-22

3.

 

A message will appear asking you if you really want to remove the driver. Click 

Yes

 to uninstall 

the driver. 

 

 

4.

 

A message will prompt up confirming that the uninstallation of the driver is completed. Click 

OK

 to close the window. 

 

 

DOS 

MOXA DOS API-232 is a software package that assists users to develop and/or debug programs for 
serial communications. This section will show you how to install the package, how to setup up the 
driver, and how to load or unload driver. 

For details of the serial programming (API-232 Library) and utilities, please refer to the next chapter, 
“Serial Programming Tools”. 

Installing Driver 

Run the installation program, DOSINST.EXE, in the DOS folder. Specify the target API-232 directory 
(e.g. C:\MOXA) where software driver will be copied. Press F2 to start the installation. 

 

Summary of Contents for CA-132 series

Page 1: ...Manual Third Edition November 2004 www moxa com product Moxa Technologies Co Ltd Tel 886 2 8919 1230 Fax 886 2 8919 1231 Web www moxa com MOXA Technical Support Worldwide support moxa com tw The Americas support moxa com ...

Page 2: ...on the part of Moxa Moxa provides this document as is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Mo...

Page 3: ......

Page 4: ...Settings 2 3 IRQ Setting 2 5 Initial Inspection 2 5 RS 422 485 Pin Assignments 2 6 Chapter 3 Software Installation 3 1 Windows NT 3 2 Windows 2000 XP 2003 3 6 Windows 95 98 ME 3 16 DOS 3 22 Chapter 4 Serial Programming Tool 4 1 PComm Installation 4 2 PComm Programming Library 4 2 Utilities 4 2 RS 485 Programming 4 4 By RTS Mode For back compatibility 4 4 Appendix A Service Information A 1 MOXA Int...

Page 5: ...lution Both ports of CA 132 132I can be configured by DIP Switch for either the RS 422 or RS 485 interface and with its PC 104 standard the CA 132 132I Series is compatible with any PC 104 CPU module or CPU card that accepts PC 104 expansion modules The following topics are covered in this chapter Overview Package Checklist Product Features Product Specifications ...

Page 6: ...stallation Guide NOTE Notify your sales representative if any of the above items is missing or damaged Product Features CA 132 132I Series products enjoy the following features 2 RS 422 485 ports RS 422 485 communication distance up to 4000 feet 1 2 km High speed data transmission rate up to 230 4 Kbps Switch selectable for I O and INT Vector addresses from Hex 000 to 3FF 64 byte FIFOs IRQ setting...

Page 7: ...Introduction CA 132 132I User s Manual 1 3 Storage temperature 20 to 85 Relative humidity 5 to 95 non condensing Regulatory Approvals FCC Class A CE ...

Page 8: ......

Page 9: ...on about hardware installation of CA 132 132I Series boards The following topics are covered Hardware Installation Block Diagram of CA 132 132I RS 422 485 Interface Settings I O Address Interrupt Vector Settings IRQ Setting Initial Inspection RS 422 485 pin assignments ...

Page 10: ...r Step 1 Configure the RS 422 485 setting I O Base Address Interrupt Vector and IRQ Settings see details below Safety First To avoid damaging your system and boards make sure your PC s power is turned off before installing your CA 132 132I board Step 2 Turn your PC s power off and also shut off the power to any peripheral devices and remove the PC s cover Step 3 Insert the CA 132 132I serial board...

Page 11: ...tches to configure each port for either RS 422 4 wire or RS 485 2 4 wire interface with or without termination resistor I O Base Address Interrupt Vector Settings CA 132 132I Series have two 7 switch DIP switch panels named SW1 and SW2 Panel SW1 is for I O Base Address setting and SW2 is for Interrupt Vector setting Once you configure Port 1 s I O Base Address and Interrupt Vector the settings for...

Page 12: ...ings of panel SW2 should be as follows On On On Off Off Off On 0 1C0 The following diagrams show the DIP switch settings of panel SW1 and panel SW2 when the I O base address is configured to be 180 and the INT Vector is configured to be 1C0 The diagram shown above is SW1 for setting I O Base Address The diagram shown above is SW2 for setting INT Vector A3 A4 A5 A6 A7 A8 A9 Hex On On On On Off Off ...

Page 13: ...On 0 2F8 IRQ Setting CA 132 132I Series has a jumper selectable function for you to configure IRQ settings Before you insert a CA 132 132I board into the PC 104 interface you need to choose an available jumper from 3 4 5 6 7 9 10 11 12 or 15 to configure the IRQ setting Initial Inspection Before we ship CA 132 132I products we first perform a careful mechanical and electrical inspection of these s...

Page 14: ...RS 422 485 Pin Assignments Async Port 4 wire RS 422 4 wire 485 Pin Assignment RJ45 PIN SIGNAL 1 X 2 X 3 TXD 4 TXD 5 RXD 6 RXD 7 GND 8 X Async Port 2 wire RS 485 Pin Assignment RJ45 PIN SIGNAL 1 X 2 X 3 X 4 X 5 DATA 6 DATA 7 GND 8 X ...

Page 15: ...l the software The drivers for CA 132 132I support various operating systems including Window NT Windows 2000 XP 2003 and Windows 95 98 Me This chapter includes information about how to install and remove the CA 132 132I board The following topics are covered in this chapter Windows NT Windows 2000 XP 2003 Windows 95 98 Me DOS ...

Page 16: ...ng the CA 132 132I serial board driver under Windows NT 4 0 1 Use the mouse to position the cursor over your desktop s Network icon and then click the right mouse button Select Properties and then click the left mouse button 2 When the Network window opens click on the Adapters tab and then click on Add ...

Page 17: ... the driver from the floppy disk enclosed with the CA 132 132I serial board 4 The Insert Disk window will open asking you to insert the disk into your computer Type A windows nt to locate the setup file on the disk and then click OK 5 The Setup window will open showing that the computer is copying the setup file to your computer ...

Page 18: ...e Configuration Panel window will open Click Add to continue 7 When the Property window opens select CA132 Series or CA132I Series under Board Type The window will show the COM port number to which the serial ports of CA 132 CA 132I are assigned and the default settings for the ports Click OK to continue ...

Page 19: ... showing the serial board you just added to your computer Click OK to finish the installation Removing a CA 132 132I serial board 1 If you wish to remove a CA 132 132I serial board move your mouse to your desktop s Network icon click the right mouse button and then select Properties ...

Page 20: ...window will open Click Yes if you wish to remove the CA 132 132I serial board Windows 2000 XP 2003 Installing the driver The following procedure explains how to install the CA 132 132I serial board driver under Windows 2000 XP 2003 1 Use your mouse to position the cursor over your desktop s My Computer icon click the right mouse button and then select Properties ...

Page 21: ...132I User s Manual 3 7 2 When the System Properties window opens click on the Hardware tab and then click on Hardware Wizard to start the installation 3 The Add Remove Hardware Wizard window will open next Click on Next to continue ...

Page 22: ...e Choose a Hardware Task window opens select Add Troubleshoot a device and then click on Next to continue 5 The New Hardware Detection window will open showing that the Wizard is searching for the CA 132 CA 132I serial board on your computer ...

Page 23: ...ardware Device window opens select Add a new device and then click Next to continue 7 The Find New Hardware window will open next Select No I want to select the hardware from a list since CA 132 132I is a brand new type of ISA serial board and then click on Next to continue ...

Page 24: ...d then click on Next to continue 9 When the Select a Device Driver window opens click on Have Disk to install the CA 132 132I driver from the floppy disk that came with the CA 132 132I serial board 10 The Install from Disk window that opens will prompt you to insert the installation disk into your computer s floppy disk drive ...

Page 25: ...disk click on Browse to locate the setup file from the disk Click OK to continue 12 When the Select a Device Driver window opens select MOXA CA132 Series or MOXA CA132I Series and then click Next to continue 13 The Start Hardware Installation window will open next Click on Next to continue ...

Page 26: ...nature the CA132 Series driver has already been tested and been shown that it can support Windows OS Click Yes to continue the installation 15 The next window to open states that the installation is completed Click Finish to end the installation 16 After the installation is completed use your mouse to position the cursor over your desktop s My Computer icon click the right mouse button and then se...

Page 27: ...ab and then click on Device Manager 18 The Device Manager window will open next At this point you should be able to find MOXA CA132 Series MOXA CA132I Series under Multi port serial adapters and MOXA communication Port 1 and Port 2 assigned to COM 15 and COM 16 respectively for the example shown here under Ports COM LPT ...

Page 28: ...erties 20 The MOXA CA132 Series MOXA CA132I Series Properties window will open allowing you to view general information Ports Configuration Driver version and Resource Settings Disabling the device 1 Use your mouse to position the cursor over you desktop s My Computer icon click the right mouse button and then select Properties ...

Page 29: ...indow will open Choose Hardware and select Device Manager 3 The Device Manager window will open Select MOXA CA132 Series MOXA CA132I Series under Multi port serial adapters and click on the right mouse button Select Disable and click on the left mouse button to disable the device ...

Page 30: ...stall 3 A Warning window will open Click OK to uninstall the device Windows 95 98 ME Installing the driver The following is for installing the driver of CA 132 132I serial boards under Windows 95 98 ME 1 Insert the installation disk into your computer Click on Run under the Start Menu and then click on Browse to locate the setup file in the disk or directly type in the path 2 A Welcome message wil...

Page 31: ... will open stating the computer is ready to install the driver Click on Next to continue 4 A message will appear showing that the setup file is being installed 5 A window will appear showing that the installation is completed Click on Finish to end the installation ...

Page 32: ... 18 6 The Moxa PC104 Communication Module Configuration Panel window will appear Click on Add to add the CA 132 132I serial board to your computer 7 The Property window will open Select CA132 Series CA132I Series under Board Type ...

Page 33: ...ow the COM port number to which the serial ports of CA 132 132I are assigned and the default settings of the ports Click OK to continue 9 The Moxa PC104 Communication Module Configuration Panel window will show the CA132 CA132I serial board you just added Click OK to close the window ...

Page 34: ...munication Module Configuration Panel window will open allowing you to see the CA132 Series CA132I Series serial board you just added You can click on Property to see and configure the information and settings of the board s COM ports Removing the device 1 If you wish to remove the device follow steps 11 and 12 of Installing the driver Click on Remove when the Moxa PC104 Communication Module Confi...

Page 35: ...ou really want to remove this board Click on Yes to remove the CA 132 132I serial board Uninstalling the driver 1 Click on Start Settings Control Panel 2 Select Add Remove Programs Choose Install Uninstall select MOXA PC104 Communication Module Driver and then click Add Remove to uninstall the driver ...

Page 36: ...ssists users to develop and or debug programs for serial communications This section will show you how to install the package how to setup up the driver and how to load or unload driver For details of the serial programming API 232 Library and utilities please refer to the next chapter Serial Programming Tools Installing Driver Run the installation program DOSINST EXE in the DOS folder Specify the...

Page 37: ...ps for setting up the CA 132 Series CA 132 CA 132I driver Note that it is not intended to illustrate all the convenient functions of the setup programs when configuring the boards Please refer to the F1 on line help instructions as running setup program 1 Run the setup program BIN SETUP EXE 2 Please press Enter to select the proper model name CA 132 Series If you install CA 132I model select CA 13...

Page 38: ...red CA 132 Series board will be shown along with other default settings such as port number buffer size etc Up to now you have completed the setup for CA 132 Series board You may skip this step and go directly to the next step 4 if you need not change any setting or configure any board You may now enter modify each port s configuration These displayed values are the port initial values as driver i...

Page 39: ... 127 as long as no port number overlapping condition or port number undefined condition occurs Generally you should take the convenience of programming into consideration when specifying the port numbers for the board TxD buffer size The transmission output buffer allocated in the system for each port RxD buffer size The receiving input buffer allocated in the system for each port F5 Group Edit Th...

Page 40: ...ule DOS driver Version 1 0 Setup driver CA 132 series OK Device driver setup O K CA 132I PC 104 Communication Module DOS driver Version 1 0 Setup driver CA 132I series OK Device driver setup O K It means the CA 132 Series driver is installed properly At this point you are ready to execute application that supports API 232 functions or start developing applications using API 232 library Unloading D...

Page 41: ...age that runs under Windows NT 2000 XP 2003 and Windows 95 98 Me PComm provides A powerful serial communication library for easy programming in the most popular programming languages The serial communication library is useful for developing applications for data communications remote access data acquisition and industrial control under Windows NT 2000 XP 2003 or Windows 95 98 Me It is a simpler so...

Page 42: ...ommunication library provides a complete function library and sample programs for Visual C Visual Basic and Delphi To view detailed function descriptions and sample programs click on Start Program PComm Lite PComm Lib Help PComm Porting Notes or PComm Programming Guide or refer to the sample programs in the PComm directory Utilities In this section we give brief descriptions of each utility For mo...

Page 43: ...c port to see a graph of the current communication parameters and status of that port To run the Monitor program click on Start Program PComm Lite Monitor Terminal Emulator Terminal Emulator can be used to connect to various ports to see if data transmission is functioning correctly Terminal Emulator features multi windows and supports VT100 and ANSI terminal types You can transfer data interactiv...

Page 44: ...applications How to transmit and receive data for Windows NT 95 98 We recommend you to configure CA 132 132I Series ports as follows in order to acquire precise timing control in RS 485 2 wire transmission There are 2 solutions to control RS 485 2 wire transmission Solution 1 The following model is common in RS 485 2 wire transmission sio_SetWriteTimeouts port 0 Set sio_write into block mode if fo...

Page 45: ...on This appendix shows you how to contact Moxa for information about this and other products and how to report problems In this appendix we cover the following topics MOXA Internet Services Problem Report Form Product Return Procedure ...

Page 46: ...omers receive the full benefit of our products Moxa Internet Services has been set up to provide technical support driver updates product information and user s manual updates The following services are provided E mail for technical support support moxa com tw World Wide Web WWW Site for product information http www moxa com ...

Page 47: ... Email Date 1 Moxa Product CA 132 CA 132I 2 Serial Number _________________ Problem Description Please describe the symptoms of the problem as clearly as possible including any error messages you see A clearly written description of the problem will allow us to reproduce the symptoms and expedite the repair of your product ...

Page 48: ... sales representative or dealer Fill out the Problem Report Form PRF Include as much detail as possible for a shorter product repair time Carefully pack the product in an anti static package and send it pre paid to the dealer The PRA should be visible on the outside of the package and include a description of the problem along with the return address and telephone number of a technical contact ...

Page 49: ...nd June 23 2004 1 Updated the edition of this manual on the title page 2 Changed Moxa s new logo on the title page 3 p 1 2 Changed power consumption Added Regulatory Approvals 4 p 2 2 Changed block diagram 5 p 2 6 Changed Async Port 4 wire RS 422 Pin Assignment RJ45 to Async Port 4 wire RS 422 485 Pin Assignment RJ45 ...

Reviews: