CA-132/132I User’s Manual Third Edition, November 2004 www.moxa.com/product Moxa Technologies Co., Ltd. Tel: Fax: Web: +886-2-8919-1230 +886-2-8919-1231 www.moxa.com MOXA Technical Support Worldwide: support@moxa.com.tw The Americas support@moxa.
CA-132/132I User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright 2004 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ......................................................................................1-1 Chapter 2 Hardware Installation.......................................................................2-1 Chapter 3 Software Installation ........................................................................3-1 Chapter 4 Serial Programming Tool ................................................................4-1 Appendix A Service Information .........................
1 Chapter 1 Introduction Welcome to MOXA CA-132/132I Series of advanced 2-port RS-422/485 PC/104 communication modules, a new industrial multiport serial board solution. 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.
Overview CA-132/132I is a PC/104 module that supports the RS-422/485 serial interfaces, and can be used with PC/104 CPU modules or CPU cards that accept PC/104 expansion modules. CA-132/132I has two independent serial interfaces, which are accessed through RJ45 connectors. You can configure both ports for the RS-422 or RS-485 interfaces by DIP switch. The module’s industry-standard MOXA UART (16C550 compatible) is fully programmable.
Introduction ! Storage temperature: -20 to 85℃ ! Relative humidity: 5 to 95%, non-condensing ! Regulatory Approvals: FCC Class A, CE CA-132/132I User’s Manual 1-3
2 Chapter 2 Hardware Installation This chapter includes information about hardware installation of CA-132/132I Series boards.
Hardware Installation The hardware installation of CA-132/132I serial boards is easy to carry out. Before you insert CA-132/132I into the PC/104 interface, you must first configure the RS-422/485 setting, I/O Base Address & Interrupt Vector, and IRQ Settings. Follow the detailed steps given below to install the CA-132/132I serial board in your computer. Step 1: Configure the RS-422/485 setting, I/O Base Address & Interrupt Vector, and IRQ Settings (see details below).
Hardware Installation RS-422/485 Interface Settings You can use DIP switches SW3 and SW4 to configure each port individually for either RS-422 (4-wire) or RS-485 (2/4-wire) interface with termination resistor (TR) on/off (120 ohm). SW3 configures Port 1, and SW4 configures Port 2, as shown in the switch setting diagrams below.
When you wish to configure your Port 1’s I/O base address to 180, the DIP switch settings of panel SW1 should be as follows: A3 A4 A5 A6 A7 A8 A9 Hex On On On On Off Off On 0 × 180 When you wish to configure your Port 1’s INT Vector to 1C0, the DIP switch settings of panel SW2 should be as follows: A3 A4 A5 A6 A7 A8 A9 Hex 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 b
Hardware Installation At this point, the start of I/O addresses of Port 2 will be automatically configured at 188.
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) 2-6 PIN SIGNAL 1 X 2 X 3 X 4 X 5 DATA- 6 DATA+ 7 GND 8 X CA-132/132I User’s Manual
3 Chapter 3 Software Installation After installing the CA-132/132I serial boards in your computer, the next step is to install 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.
Windows NT Installing the driver The following procedure is for installing the CA-132/132I serial board driver under Windows NT 4.0. 3-2 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.
Software Installation 3. When the Select Network Adapter window opens, click on Have Disk to install 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.
3-4 6. After the setup file has been copied, the Moxa PC104 Communication Module 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.
Software Installation 8. The Network window will open, 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.
2. When the Network window opens, choose Adapters, select MOXA PC104 Communication Module Adapter, and then click on Remove. 3. A Warning 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.
Software Installation 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.
3-8 4. When the 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.
Software Installation 6. When the Choose a Hardware 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.
8. When the Hardware Type window opens, select Multi-port serial adapters under Hardware types, and 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.
Software Installation 11. After inserting the installation 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.
14. A Digital Signature Not Found window will open. Although this message states that MOXA CA132 Series (or CA132I Series if you choose it) driver does not contain a Microsoft digital signature, 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.
Software Installation 17. When the System Properties window opens, click on the Hardware tab, 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).
19. Select MOXA CA132 Series/MOXA CA132I Series, click the right mouse button, and then select Properties. 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.
Software Installation 2. The System Properties window 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.
Uninstalling the device 1. 2. 3. Follow steps 1 and 2 of Disabling the device. Select MOXA CA132 Series/MOXA CA132I Series under Multi-port serial adapters, click the right mouse button, and then select Uninstall. 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.
Software Installation 3. A window 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.
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.
Software Installation 8. The Property window will show 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.
10. To open the Moxa PC104 Communication Module Configuration Panel window , click on Start " Programs " Moxa Untilities " MOXA PC104 Communication Module Configuration Panel. 11. The Moxa PC104 Communication 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.
Software Installation 2. A warning message will appear asking you if you really want to remove this board. Click on Yes to remove the CA-132/132I serial board. Uninstalling the driver 1. 2. Click on Start " Settings " Control Panel. Select Add/Remove Programs. Choose Install/Uninstall, select MOXA PC104 Communication Module Driver, and then click Add/Remove to uninstall the driver.
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.
Software Installation After installation is complete, you will be prompted to proceed running setup program. It is strongly recommended to do so. Driver Setup The following are steps 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. 2. Run the setup program, BIN\SETUP.EXE.
3. You have to configure the Port No., I/O Address, IRQ and INT Vector properly. These settings MUST match up the hardware configuration of CA-132 or CA-132I. 4. You may press PgDn key to have advanced “Port setup”. Now the configuration of the desired 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.
Software Installation Port number: This is actually the port ID of each port. The application software will refer to the port by its port number (ID). Duplicated port number is not allowed. That is, each MOXA serial port is referred to as port number in terms of serial programming. You may map the port number range to the one you prefer between 0 and 127 as long as no port number overlapping condition or port number undefined condition occurs.
Loading Driver Having completed the setup, you can load the driver, “BIN\DPC-DRV.EXE”, at the DOS prompt. The driver will detect the CA-132 Series board automatically. If the board(s) is(are) detected, a message similar to below will show: (CA-132) PC/104 Communication Module 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.
4 Chapter 4 Serial Programming Tool Moxa supports a class of easy to use, yet powerful serial programming libraries and communication troubleshooting utilities under Windows NT/2000/XP/2003 and Windows 95/98/Me. Use these MOXA Serial Programming Tools to decrease your software development time. In the following sections, we describe the installation of the library, and the utilities supported for various programming platforms.
PComm Installation To install PComm, run \Setup.exe from the diskette enclosed in the package. Please note that the PComm diagnostic and monitor utilities are for MOXA boards only; these two utilities will not work with other manufacturer’s serial boards. PComm Programming Library The serial communication library assists you in developing serial communications programs for any COM port that complies with Microsoft Win32 API.
Serial Programming Tool Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program allows you to monitor data transmission of selected MOXA COM ports. It monitors data transmission/receiving throughput, and communication line status, with data updated and displayed on the screen at regular time intervals. Click on a specific port to see a graph of the current communication parameters and status of that port.
RS-485 Programming If you intend to do RS-485 communication with CA-132/132I Series boards, please follow the RS-485 programming guide below and also refer to the chapter, “Connection Cable and Cable Wiring”, for more RS-485 operation details. The CA-132/132I Series supports only 2-wire half-duplex RS-485 communication. Data+/- pins are used for both data transmitting and receiving, depending on the mode selected: either Automatic Data Direction Control or By RTS.
A Appendix A Service Information 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 Customer satisfaction is our number one concern, and to ensure that customers 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.
Service Information Problem Report Form MOXA CA-132/132I Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: $ CA-132 2. Serial Number: $ CA-132I _________________ 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.
Product 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). 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.
Service Information Revision History Document Edition 2nd Revision Date June 23, 2004 1. Revision Details 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).