Summary of Contents for Moxa Technologies Industio CP-114 Series CP-114 Series
Page 1
Industio CP-114 Series User 3 in 1 RS-232/422/485 Industrial Serial Board for PCI Bus Fourth 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: The Americas s Manual ’ support@moxa.com.tw support@moxa.com...
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 of rights of the fourth parties which may result from its use.
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 ...
This manual is composed of six chapters and one appendix. This manual is written for installer, system administrator and software programmer. If you are a first-time installer and system administrator, we recommend you to go through the whole manual except Chapter 4.
Overview Industio - Industrial Multiport Async Solutions for PCI The term Industio stands for smart multiport serial I/O solution for industrial applications. The Industio CP-114 Series boards, including CP-114, CP-114I, CP-114S and CP-114IS, are RS-232/RS-422/RS-485 4-port serial communication interface boards for 32-bit PCI bus with “Plug and Play”...
Operating System Support Support for Windows NT, Windows 95/98 and DOS with user-friendly installation, configuration and performance. MOXA Serial Comm Tools For application development, MOXA provides an easy-to-use serial communication library under Windows NT, Windows 95/98 (PComm) and 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.
Check List Upon unpacking the Industio CP-114 Series, you should find items in the package: Industio CP-114 Series 4 ports serial board×1 " MOXA Software CD-ROM×1, which includes: " Drivers for MOXA Multiport Async Products PComm Lite programming library and utilities for Windows NT/95/98 API-232 programming library and utility for DOS User’s Manual (PDF) Industio CP-114 Series User’s Manual (This manual)
The installation of the Industio CP-114 Series consists of hardware and software installation. The respective sections of the operating systems in the next chapter deal with the software installation. The hardware installation is detailed in this chapter. First Thing to Do: Interface Settings Before installing the board into the slot, you should set all the jumpers to what you want.
S2 Data Mode Selection Switch for Port 1/2/3/4: (Valid if JP5/6 is Left and S1 is ON) JP1/2/3/4 Termination Resistor Port 1/2/3/4: (Valid if JP5/6 is Left and S1 is ON) Open * Short Installing the Industio CP-114 Series Board The BIOS automatically assigns the IRQ number and I/O addresses for the Industio CP-114 Series board.
Software Installation In this chapter, the software driver installation, configuration and driver update/removal procedures are described for various operating systems, including Windows NT, Windows 95/98 and DOS. Before proceeding with the software installation, complete the hardware installation detailed in previous chapter. However, if it is necessary for you to develop your own applications, please refer to the next chapter, “Serial Programming Tools”, for serial programming issues.
Page 14
5. Select “MOXA Smartio/Industio Family multiport board” in the “Select OEM Option” dialog box, and click [OK] to enter the “Moxa Smartio/Industio Configuration Panel” dialog box to start the installation. Industio CP-114 User's Manual...
6. In the “Moxa Smartio/Industio Configuration Panel” dialog box, click [Add] to enter “Property” dialog box to add the Industio CP-114 Series board. Select the “CP-114 Series” in the “Board Type” field. In the “Property” dialog box, the COM number field of the newly installed board is set to default COM No.
Page 16
Rx FIFO trigger levels, at 1, 4, 8 or 14 bytes, are available, and the default value is 14 bytes. Tx FIFO Size Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes. 8.
Note ! Once the board and the driver are installed and the driver restarts successfully, you can start to develop applications with the PComm library (See “Serial Programming Tools”) or the Microsoft Win32 API. You can also execute any ready-made applications, such as PComm utility Terminal emulator (See “Serial Programming Tools”) or HyperTerminal to transmit/receive data, as well as Remote Access Service to provide dial-up networking capabilities.
Removing Driver To remove the driver for the Industio CP-114 board, 1. Open the [Control Panel], click on the [Network] icon, and select the [Adapters] tab. 2. Select “MOXA Smartio/Industio Family Adapter” in the adapter list, then click on the [Remove] button and the [OK] button to remove the driver.
The following flow chart illustrates the driver installation stages of the Industio CP-114 Series boards. Each stage is detailed later. Install the Industio PCI board in the system Start Windows 95/98 to detect the board Driver installed before? Install the driver with the diskette See “First Time Driver Installation Stage”...
Page 21
Windows 95 Click on the [Other Locations] button. 3. Type “A:\Windows.95” in the Location field, and click [OK] button. The system will start reading the files from the diskette. 4. Clink on the [Finish] button. Software Installation Windows 98 Select “Display a list...” and click [Next>]. 3.
Port Configuration Stage This stage displays the “CP-114 Series Installation” dialog box for the port configuration. Here you can map the MOXA ports to the system COM numbers. In the “CP-114 Series Installation” dialog box, the COM number field of the newly installed board is set to default COM No.
Page 23
In the “CP-114 Series Installation” dialog box, select the desired port in the port list and click [Port Setting] to enter the individual “Port #” setting dialog box to change the port number mappings or FIFO settings. Port Number You have to set up all the ports of the board with the desired “COM number”, which should not conflict with other COM number in use.
Board and Port Ready Stage Click [OK] for all the dialog boxes to finish the configuration and exit the “CP-114 Series Installation” dialog box. In this last stage, you will complete the driver installation. Windows 95 After the port installation, you can immediately use the COM ports of the Industio CP-114 Series board without restarting Windows 95 system.
Configuring Board and Port If you already have installed the driver and want to re-configure the COM number for the ports under Windows 95/98, follow this procedure. 1. Open the [Control Panel], click on the [System] icon, select the [Device Manager] tab, and then [MOXA Smartio/Industio multiport board].
Updating Driver This section explains how to update the driver. 1. In the [Control Panel], click on the [System] icon, select the [Device Manager] tab and select [MOXA Smartio/Industio multiport board]. 2. Select the “CP-114 Series” option. Click on the [Properties] button and then select the [Driver] tab.
Removing Driver This section explains how to remove the Industio CP-114 Series board driver. 1. Open [Control Panel] icon, double click [Add/Remove Programs] icon, and then select [Install/Uninstall] tab. 2. Click on MOXA Smartio/Industio Driver option and then click [Add/Remove] button to start the driver removal.
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”.
Driver Setup The following are steps for setting up the Industio CP-114 Series driver. Note that it is not intended to illustrate all the convenient functions of the setup programs when configuring the boards. 1. Run the setup program, BIN\SETUP.EXE, in the API-232 directory. 2.
Page 30
Note ! Up to now you have completed the setup for Industio CP-114 Series board. You may skip this step and go directly to the next step 5 if you need not change any setting or configure any board. 3. You may now enter/modify each port’s configuration. These displayed values are the port initial values as driver is loaded.
Page 31
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 255 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\DP-DRV.EXE", at the DOS prompt. The driver will detect the Industio CP-114 Series board automatically. If the board(s) is(are) detected, a message similar to below will show: Smartio/Industio Family DOS driver Version 1.1 Setup driver….
Moxa supports some easy but powerful serial programming libraries and communication troubleshooting utilities under Windows NT and Windows 95/98. You will save a lot of developing time with the MOXA Serial Programming Tools. The following sections will detail the installation, the library and the utilities for various platforms. PComm, the professional serial comm tool for PC, is a software package for Windows NT and Windows 95/98.
Utilities Following are short descriptions of each utility. For details, please see the on-line help on the diskette. Diagnostic (for MOXA boards only) A convenient diagnostic program that provides internal and external testing, such as IRQ, TxD/RxD, UART, CTS/RTS, DTR/DSR, DTR/DCD testing, etc., for the MOXA boards and ports to verify correct operations of both the software and hardware.
Serial Programming Tools Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program that allows you to watch the selected MOXA COM ports’ data transmitting/receiving throughput and communication line status which are updated and displayed on the screen at time intervals. You can also click on one of the specific displayed port in order to visualize the current communication parameters and status of that port.
Terminal Emulator The Terminal Emulator features multi-windows and supports terminal types of VT100 and ANSI. You can transfer data interactively, send pattern periodically or transfer file using ASCII, XMODEM, YMODEM, ZMODEM and KERMIT protocols. Click [Start] and select [Program Files] and [PComm Lite] and [Terminal Emulator]. Industio CP-114 User's Manual...
Installing API-232 API-232 Library is the professional serial programming tool for DOS. It is installed automatically along with the MOXA DOS drivers. The installation is detailed in Chapter "Software Installation". DOS API-232 Library DOS API-232 library supports languages like Microsoft C, Turbo C, Macro Assembly, QuickBasic, Turbo Pascal, Clipper, etc.
Data Scope The Data Scope, BIN\SCOPE.EXE, is a suite of utility programs that can help users with system troubleshooting and serial communication debugging. There are three major functions in Data Scope utility: 1. The Data Scope utility offers transparent monitoring of serial communication lines and allows data to be streamed to disk storage for later analysis.
RS-485 Programming If you intend to do RS-485 communication with Industio CP-114 Series, 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 Industio CP-114 Series supports only 2-wire half-duplex RS-485 communication. Data+/- pins are served for both data transmitting and receiving, depending on the mode selected: either Automatic Data Direction Control (ADDC) or By RTS mode.
Page 40
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); sio_RTS(port, 1); sio_write(port, buff, 10); sio_RTS(port, 0); sio_read(port, buff, 10); Solution 2 There is a dedicated RS-485 function in PComm or API-232 library. It integrates the above functions of solution 1 regarding sending data as one.
Connection Cable and Cable Wiring In serial data communications, the term DTE is for Data Terminal Equipment, like PC COM1/2, serial printers and terminals. The term DCE is for Data Communication Equipment, like modems. RS-232 Cable Wiring The followings are pin assignments for the DB9 RS-232 connector for Port 1 and Port 2 of Industio CP-114 Series.
Page 42
Type 1: To connect the Industio CP-114 Series to a DTE device. CP-114 CP-114 DB9 Male CP-114 CP-114 DB9 Male Industio CP-114 User's Manual PC COM2 port, Serial Printer, Terminal, or any DTE Device DTE Device DB25 Male PC COM2 port, Serial Printer, Terminal, or any DTE device DTE Device DB9 Male...
Page 43
Type 2: To connect Industio CP-114 Series to a DCE device. CP-114 CP-114 DB9 Male Type 3: To connect Industio CP-114 Series to a DTE with 3-pin wiring. If the [Hardware flow control] feature is set to “ON”, you must loop back (or short) the RTS with CTS and the DSR with DTR, DCD on the MOXA site.
RS-422 Cable Wiring The RS-422 standard uses a balanced voltage digital interface to allow 9600 bps communication over cables of up to 400 ft (1.2 km) in length. Ten receivers can be connected to any one driver for broadcasting systems. RS-422 pin outs for Industio CP-114 Series: CP-114 TxD-(A)
RS-485 Cable Wiring The RS-485 standard is an enhanced version of the RS-422 balanced line standard. It allows multiple drivers and receivers in a multidrop systems. As many as 32 drivers and 32 receivers can be put on any multidrop system. The Industio CP-114 Series supports only 2-wire half-duplex RS-485 communication.
Impedance Matching and Termination Resistors For RS-422/485 serial communications, when an electrical signal travels through two different resistance junctions in a transmission line, the impedance mismatch will sometimes cause signal reflection. Signal reflection causes signal distortion, which in turn will contribute communication errors.
DB37 Connector The following lists the pin assignments of the Industio CP-114 Series DB37 connector on the bracket. With this information, you may fabricate any type of fan-out cables, such as DB37 to DB9 x 4 or DB37 to DB25 x 4. For RS-232 Mode Pin no.
Common Industio CP-114 Series problems and possible solutions are listed below. If you still have problems, contact your dealer or Moxa for help. Or use the “Problem Report Form” at the end of this manual to report problems to your dealer at once for faster technical support. General Troubleshooting 1.
This indicates that the MOXA board is found, but the IRQ is conflicting with another adapter. Please make sure there is no conflict with other adapter’s IRQ. Check the PCI BIOS IRQ settings first. Make sure that an IRQ is available. 2.
Specification Bus interface: " Number of ports: " I/O address: " IRQ: " Data bits: " Stop bits: " Parity: " UART: " Speed (bps): " Connectors: " Data signals: " Isolation protection: " Surge protection: " Operating temp: " Regulation Approval: CE, FCC Class A "...
Page 52
The UART chip, 16C550C, is an intelligent asynchronous controller capable of supporting one full duplex channel that simultaneously transfers data at 921.6 Kbps. To increase the overall data throughput, special features such as on-chip FIFO and on-chip hardware flow control are used to reduce the number of interrupts to the onboard CPU and to prevent any loss of valuable data.
For product repair, exchange or refund, you must: Provide evidence of original purchase. " Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. " Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer. "...
Revision History Document Edition Revision Date January 27, 2004 November 8, 2004 Revision Details Update the edition of this manual on the title page. p. 5-5: Changed RS-422 Broadcasting figure. Updated Moxa logo. Corrected errors in Chap. 5.
Need help?
Do you have a question about the Industio CP-114 Series CP-114 Series and is the answer not in the manual?
Questions and answers