Moxa Technologies CA-132, CA-132I User Manual

CA-132/132I User’s 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
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.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment 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, Moxa Technologies assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Table of Contents
Chapter 1 Introduction ......................................................................................1-1
Overview ............................................................................................... 1-2
Package Checklist................................................................................. 1-2
Product Features................................................................................... 1-2
Product Specifications........................................................................... 1-2
Chapter 2 Hardware Installation.......................................................................2-1
Hardware Installation ............................................................................ 2-2
Block Diagram of CA-132/132I.............................................................. 2-2
RS-422/485 Interface Settings .............................................................. 2-3
I/O Base Address & Interrupt Vector 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 Internet Services........................................................................ A-2
Problem Report Form............................................................................ A-3
Product Return Procedure.....................................................................A-4
Revision History .................................................................................... A-5
1
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.
The following topics are covered in this chapter:
! Overview
! Package Checklist
! Product Features
! Product Specifications

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. Moxa has implemented its patented ADDC™ technology for RS-485 automatic direction control, so there is no need to change jumpers to switch the module between driver and receiver. The built-in 16 KV ESD surge protection protects other devices connected to the RS-485 network.

Package Checklist

MOXA CA-132/132I products are shipped with the following items:
! 1 MOXA CA-132/132I 2-port serial board ! CA-132/132I Document & Software CD ! CA-132/132I Quick Installation 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 settings are selectable by jumper ! Built-in 16 KV ESD surge protection for TX and RX lines ! 4 LED indicators onboard (red for TX, and green for RX) ! Support 4-wire RS-422 and 2/4-wire RS-485 ! ADDC™ for RS-485 transmission ! CA-132I has 2 KV isolation protection

Product Specifications

CA-132/132I Series boards have the following specifications:
! Dimensions: 9.6 cm × 9.0 cm
! Bus: PC/104 ! Baud rate: 50 to 230.4 Kbps ! Character length: 5, 6, 7, or 8 bits ! Parity: even, odd, none, mark, and space ! Stop bit: 1, 1.5 or 2 ! I/O connectors: dual 8-pin RJ-45 connectors ! Interrupt levels: IRQ 3, 4, 5, 6, 7, 9, 10, 11, 12 or 15 ! Clock input: 14.745 MHz ! Power consumption (+5 V): CA-132/210 mA, CA-132I/455 mA ! MTBF: 100,000 hrs @ 25 environment
! Operating temperature: 0 to 55
CA-132/132I User’s Manual
1-2
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

Chapter 2 Hardware Installation

This chapter includes information 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
2
2
! IRQ Setting
! Initial Inspection
! RS-422/485 pin assignments

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).
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 into the PC/104 interface slot.
Step 4: Fasten the holding screw to fix the serial board in place.
Safety First!
Step 5: Replace the PC’s cover.
Step 6: Power on the PC.

Block Diagram of CA-132/132I

CA-132/132I User’s Manual
2-2

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.
SW3 (P1) SW4 (P2)
The following diagram shows how to use the DIP switches to configure each port for either RS-422 (4-wire) or RS-485 (2/4-wire) interface with or without termination resistor.
Hardware Installation

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 the other ports will be configured automatically as well. You can choose base addresses from hex 000 to 3FF. The default settings are CH#1 (Hex 180) for I/O Base Address and 1C0 for Interrupt Vector settings.
Example:
CA-132/132I User’s Manual
2-3
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
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
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.
0 × 180
0 × 1C0
CA-132/132I User’s Manual
2-4
Hardware Installation
At this point, the start of I/O addresses of Port 2 will be automatically configured at 188.
A3 A4 A5 A6 A7 A8 A9
8 1 2 4 8 1 2 Hex
On On On On On On On
On On On On On On Off
On On On On On Off Off
On On On On Off Off Off
On On On Off Off Off Off
On On Off Off Off Off Off
On Off Off Off Off Off On
Off Off Off Off Off Off Off
Off On On On On On On
Off Off On On On On On
Off Off Off On On On On
Off Off Off Off On On On
Off Off Off Off Off On On
Off
Off Off Off Off
Off On
0×000
0×200
0×300
0×380
0×3C0
0×3E0
0×3F0
0×3F8
0×008
0×018
0×038
0×078
0×0F8
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 serial boards. Products should be free of any marks or scratches and in perfect electrical order when customers receive them. Handle these boards only by their edges, since the static charge from your body may damage the integrated circuits. Always keep the boards in their anti-static package whenever they are not installed. You can also use this package to return the board should it need to be repaired.
CA-132/132I User’s Manual
2-5

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
CA-132/132I User’s Manual
2-6
3
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.
The following topics are covered in this chapter:
! Windows NT
! Windows 2000/XP/2003
! Windows 95/98/Me
! DOS
Loading...
+ 34 hidden pages