Intellio CP-204J User’s Manual High Performance 4 Port Intelligent RS-232 Board for PCI Bus Apr. 1999 (1st Edition) The content of this manual is also available at Moxa Web Site. Moxa Technologies Co., Ltd. Tel: +866-2-8665-6373 Fax: +886-2-8665-6372 www.moxa.com support@moxa.com.
Intellio CP-204J User’s Manual The product described in this manual is furnished under a license agreement and may be used only in accordance with the terms of the agreements. Copyright Notice Copyright 1999 Moxa Technologies Co., Ltd. All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. All other trademarks or registered marks in this manual belong to their respective manufacturers.
MOXA Internet Services Customer’s satisfaction is always our number one concern. To ensure that customers get the full benefit of our services, Moxa Internet Services have been built for technical support, product inquiry, new driver update, user’s manual update, etc. The followings are the services we provide. E-mail for technical support address: support@moxa.com.tw FTP site for free driver update address: ftp.moxa.com or ftp.moxa.com.
About This Manual 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. If you are a software programmer, you may refer to the “Serial Programming Tools” chapter. If you need cable wiring information, please see the “Connection Cable and Cable Wiring” chapter.
Table of Contents Introduction............................................................................... 1-1 Overview ............................................................................................................1-1 Features.............................................................................................................1-3 Check List ..........................................................................................................1-3 Installation Guide ................
1 1 Introduction Overview Intellio - The Intelligent Multiport Serial I/O Solutions The Intellio CP-204J is a 4 port high performance intelligent serial interface board designed for 32-bit PCI bus with “Plug and Play” feature. It is suitable for remote access, industrial control and office automation, where PC needs to communicate with multiple modems, data acquisition equipment, serial printers and any other serial devices through RS-232 interface. One Intellio CP-204J board provides 4 serial ports.
Intellio CP-204J ASIC Design, Compact Size The Intellio CP-204J is equipped with MOXA customer-designed ASIC chip, which replaces lots of conventional IC and hence reduces the board to half-size, increase the operation performance, and lowers the failure rate of the board. Build-in RJ-45 Connector Saves Cabling Space The Intellio CP-204J provides 4 RJ-45 sockets for connection, which save a lot of cabling space.
Introduction Features The following is a summary of all the outstanding features of Intellio CP-204J: v v v v v v v v v v v v Easy Installation¡Ð 32-bit PCI bus with Plug and Play capability High speed serial communication channel¡Ð max. 921.
Optional connection cable (you may purchase these additionally): v CN20030: 150cm RJ45 to female DB25 RS-232 (DCE) Cable. v CN20040: 150cm RJ45 to male DB25 RS-232 (DTE) Cable. Installation Guide This section gives a brief summary of how to install the Intellio CP-204J under each supported operating system.
2 2 Hardware Installation The installation of Intellio CP-204J consists of hardware installation and software installation. For software installation, please refer to the respective section of operating systems in the next chapter. Hardware installation is stated in this chapter. The no-switch-no-jumper Intellio CP-204J board’s hardware configuration for IRQ and memory addresses is automatically assigned by PCI BIOS. Hence, it is a must to have the board plugged first before installing software driver.
Step 3: Remove the slot cover bracket if present. Step 4: Plug the Intellio CP-204J firmly into any free 32-bit PCI slot. Step 5: Fasten the holding screw to make the Control Board fixed. Step 6: Replace the system cover. Step 7: Connect the Intellio CP-204J and the devices with properly wired cables, e.g., CN20030 or CN20040. The cable wiring is detailed in the chapter, “Connection Cable and Cable Wiring”. Step 8: Power on PC and BIOS will automatically set the IRQ and memory address.
3 3 Software Installation In this chapter, software driver installation, configuration and driver update/removal procedures are described for various operating systems, including Windows NT and Windows 95/98. Before proceeding with software installation, hardware installation detailed in previous chapter should be completed in advance. 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.
Installing Driver The following is the procedure for installing the Intellio CP-204J driver for the first time under Windows NT 4.0. 1. Please Login NT as Administrator. 2. From [Control Panel], open [Network] icon and then select [Adapters] tab. 3. Click on [Add] button, then [Have Disk...] button for “Select Network Adapter”. 4. Specify the exact path for the driver diskette, A:\WINDOWS.NT. Then click on [OK] button.
Software Installation 5. Select “MOXA Intellio C218Turbo/CP-204J Series Multiport Board” in “Select OEM Option” dialog and then click [OK] to enter the “MOXA Configuration Panel” dialog box to start the installation. 6. In the “MOXA Configuration Panel” dialog box, click [Add] to enter “Property” dialog box to add the Intellio CP-204J board. Select the “CP-204J” in the “Board Type” field.
7. In the “Property” dialog box, click [Port Setting] to enter the “Individual Port Setting” dialog box to change the port COM number mappings. 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. In this “Individual Port Setting” dialog box, you may have two ways to map the physical ports to COM numbers depending on the check box “Auto Enumerating COM number”.
Software Installation Note ! You may skip the following settings and go directly to the next step 8 if you do not require any particular performance tuning for the driver. In the “Advanced Settings” dialog box, you may customize the driver with the following two features: l UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board.
which accelerates the reaction of data writing behavior by utilizing buffering technology. It lets your communication software reach maximum data throughput in large data transmission. Classical Mode: It lets MOXA ports behave like generic COM ports. Transmission for small data packets would be more precisely and reliable. 8. Click [OK] in the “Individual Port Setting” and the “Property” dialog boxes to go back to the “MOXA Configuration Panel” dialog box. Click [OK] to finish the configuration.
Software Installation 11. After system restarted, you may check the event log issued by MOXA driver to see if the ports of the board are initialized successfully. l l Enter [Administrative] group, then open [Event Viewer] icon and then select [Application Event Log] item to check for successful message like “MOXA CP-204J Multiport Board #1: addr(xxxxxxxx) O.K.” for each configured board.
1. Open [Control Panel], click [Network] icon and select [Adapters] tab. 2. Select “MOXA C218Turbo/CP-204J Adapter” item for “Installed Adapter Cards:”. 3. Click on [Properties] button to start the “MOXA Configuration Panel” dialog. Please see steps 6-10 in the previous section “Installing Driver” for more details.
Software Installation In this configuration panel, you may: l Click [Property] to enter “Property” dialog box to configure the selected board with the correct “COM Number”. Please see steps 6 to 8 in the previous section, “Installing Driver”, for more details, except that the “Board Type” field is not supposed to be changed. l Click [Add] to add one more board that is not yet configured in the system.
Windows 95/98 Windows 95/98 supports up to 128 serial ports, from COM1 to COM128. To fully integrate the advanced features of Windows 95/98, multi-process and multi-thread, pure 32-bit Windows 95/98 virtual device port drivers (VxD) compliant with communication driver (VCOMM) are developed for Intellio CP-204J and other MOXA multiport boards. The drivers conform to Win32 COMM API standard.
Software Installation The following flow chart illustrates the Intellio CP-204J board driver installation stages. Install the Intellio PCI board in the system See Chapter “Hardware Installation” Start Windows 95/98 and the board found Yes Driver installed before? No Install driver with driver diskette See “First Time Driver Installation Stage” Process port configuration See “Port Configuration Stage” Ports of Intellio Intellio CP-204J board are ready to work.
First Time Driver Installation Stage The following are steps for driver installation of the very first time with the very first Intellio CP-204J board. The installation of Intellio CP-204J board for Windows 95 and Windows 98 differ slightly and will be described in left and right column fashion. Follow steps in left or right column for Windows 95 or 98, respectively. 1.
Software Installation 3. Input location “A:\Windows.95” and click on [OK] button. System will start reading the files from the diskette. 4. Clink on [Finish]. 3. Select “Other devices” and click on [Next>] button. 4. Click on [Next>]. 5. Input location “A:\Windows.95” and click on [OK] button. System will start reading the files from the diskette.
6. Click on [Next>] button 7. Click on [Next>] button.
Software Installation Port Configuration Stage Next, Windows 95/98 will show “CP-204J Installation” dialog box to enter port configuration stage. The most important thing to do in this stage is to map MOXA ports to system COM numbers. In the “MOXA Ports Installation” dialog, you may have two ways to map the physical ports to COM numbers depending on the check box “Auto Enumerating COM number”.
In the “CP-204J Installation” dialog box, you may click on [Advanced Settings] button to tune the advanced features, “UART FIFO” and “Transmission Mode”, for each port for particular performance requirements. Note ! 3-16 You may skip the following settings and go directly to the next stage “Board and Port Ready Stage” if you do not require any particular performance tuning for the driver.
Software Installation In the “Advanced Settings” dialog, you may customize the driver with the following two features: l UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board. Disable: You can set this feature to “Disable” to avoid from data loss when communicating with serial devices using S/W flow control.
Board and Port Ready Stage Click on [OK] buttons for all the dialogs boxes to finish the configuration and exit the “CP-204J Installation” dialog box. In this last stage, you will complete the driver installation. Windows 95 Windows 98 After port installation, you can use immediately those COM ports of the CP-204J board without restarting the Windows 95 system. After port installation, please click on [Finish] button.
Software Installation Once the installation is finished, error conditions of the board, if any, will then be popped up onto the screen. Otherwise, everything should be fine. If error message like “MOXA CP-204J (BusNo=x, DevNo=x) at base memory [xxxxxxxx] interrupt failure!” shows, refer to Chapter “Troubleshooting” for solutions. Note ! Up to now, the driver installation of Intellio CP-204J is complete and successful including the board and port configuration.
Configuring Board and Port If you already have installed the driver and want to re-configure the Intellio CP-204J board under Windows 95/98, the following is the procedure for you. 1. Click on the Taskbar [Start] button, then select [Programs] menu, then [MOXA Utilities] menu and then [MOXA Configuration Panel] icon. The configuration panel will be popped up as below. l Click [OK] button to confirm the configuration changes you made.
Software Installation In the “Property” dialog box, you may click on [Port Setting] button to pop up the following “Individual Port Setting” dialog box to change the port COM number mappings or do the advanced settings.
In the “Individual Port Setting” dialog box, you may have two ways to map the physical ports to COM numbers depending on the check box “Auto Enumerating COM number”. l Sequential Port Mapping: (Enable “Auto Enumerating COM number”) Specify the COM number of the first port and subsequent ports are mapped to continuous COM numbers. For instance, if first port is mapped to COM10, then second port is mapped to COM11 sequentially.
Software Installation In the “Advanced Settings” dialog box, you may customize the driver with the following two features: l UART FIFO Enable: You can set this feature to “Enable” (default) and gain best performance for the board. Disable: You can set this feature to "Disable" to avoid from data loss when communicating with serial devices using S/W flow control.
Updating Driver Click on [Control Panel] and then [System], and then select [Device Manager] tab. Then select and open the option “Moxa Intellio Multiport Board” and then select the “CP-204J”. Click on [Properties] button and then select [Driver] tab and then click on [Update Driver…] button. Removing Driver If you unplug all the configured Intellio CP-204J boards from the system, the Intellio CP-204J driver is actually still in the system, i.e. not removed. To remove the Intellio CP-204J driver, 1.
4 4 Serial Programming Tools 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.
PComm Programming Library The serial communication library helps you to develop programs for serial communications for any COM port complying with Microsoft Win32 API. It facilitates the implementation of multi-process and multi-thread serial communication programs and hence greatly reduces developing time.
Serial Programming Tools 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. Click [Start] and select [Programs] and [PComm Lite] and [Diagnostic].
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. Click [Start] and select [Programs] and [PComm Lite] and [Monitor].
Serial Programming Tools 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 [Programs] and [PComm Lite] and [Terminal Emulator].
4-6 Intellio CP-204J User’s Manual
5 5 Connection Cable and Cable Wiring In serial data communications, the term DTE is for Data Terminal Equipment like PC COM1/2, serial printer and terminal. The term DCE is for Data Communication Equipment like modem.
Type 1: Connecting Intellio CP-204J to a DTE device. CN20030 PC COM2 port, Serial Printer, Terminal, or any DTE Device device CP-204J RJ45 Plug Pin 1 CP-204J RJ45 Jack Connector DCD DSR RTS GND TxD RxD CTS DTR DTE Device Cable Wiring 1 2 3 4/7 5 6 8 9 8 20 5 7 3 2 4 6 DB25 Male Connector DCD DTR CTS GND RxD TxD RTS DSR ² This RJ45 to female DB25 RS-232 cable (CN20030) is available from Moxa. ² 4/7 means either line 4 or line 7 can be used for GND.
Connection Cable and Cable Wiring Type 2: Connecting Intellio CP-204J to a DCE device. Cable CN20040 Modem, or any DCE Device CP-204J RJ45 Plug Pin 1 CP-204J RJ45 Jack Connector DCD DSR RTS GND TxD RxD CTS DTR DCE Device Cable Wiring 1 2 3 4/7 5 6 8 9 8 6 4 7 2 3 5 20 DB25 Female Connector DCD DTR CTS GND RxD TxD RTS DSR ² This RJ45 to male DB25 RS-232 cable (CN20040) is available from Moxa. ² 4/7 means either line 4 or line 7 can be used for GND.
Type 3: Connecting Intellio CP-204J to a DTE device 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 DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the “Hardware flow control” feature is set to “OFF”, you could just leave RTS, CTS, DSR, DTR, DCD open, ignoring the connection indicated in dash-lines.
6 6 Troubleshooting Common Intellio CP-204J problems and possible solutions are listed below, in addition to those operating systems specific ones. If you still have problems, contact your dealer or Moxa for help. Or report it using “Problem Report Form” at the end of this manual to your dealer at once for faster technical support. General Troubleshooting 1. MOXA PCI board can not be detected by system while installing driver or system rebooting. Hardware causes and solutions: a.
Software Causes and Solutions: a. Intellio CP-204J will check line status (CTS) before it sends data out if RTS/CTS flow control feature is set to “Enable” in configuration or application program. Please see Chapter “Connection Cable and Cable Wiring” for proper wiring. Check the line status of the suspected port using the diagnostic LED indicators on the mini tester. b. Perhaps the application controlling the board is not correctly written according to the corresponding API of the operating system.
Troubleshooting This indicates that MOXA board is found but the IRQ is conflicting with other adapter. Make sure there is no conflict with other adapter’s IRQ. Check the PCI BIOS IRQ setting and make sure the IRQ is available. 2. Error Message: Cp204jnt.cod file not found! Error Message: Cp204jnt.cod file length is wrong! Error Message: Cp204jnt.cod file data content error! It means something is wrong with driver installation or the file has been deleted accidentally or corrupted somehow.
6-4 Intellio CP-204J User’s Manual
A A Technical Reference Specifications v v v v v v v v v v v v v v v v v v Bus interface: Number of ports: Max. boards: Base memory addr.: IRQ: RISC processor: On-board buffer: Comm. controller: Speed (bps): Data bits : Stop bits: Parity: Data signals: Connectors: Operating temp: Power requirement: Dimensions: Operating Systems: 32-bit PCI (PCI Spec. 2.
PCI The 32-bit Intellio CP-204J board complies with PCI Spec. 2.1. Hardware configuration for IRQ and Memory addresses is automatically assigned by PCI BIOS. Hence, it is a must to have the board plugged first before installing software driver. Unlike ISA slots, different PCI slots in the same PC may have different bus numbers and device numbers with respect to PCI specifications.
Technical Reference UART 16C550C The UART chip, 16C550C, is an intelligent asynchronous controller capable of supporting one full duplex channel that transfers data at 921.6 Kbps simultaneously. 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 on board CPU and to prevent any loss of valuable data.
Problem Report Form Intellio CP-204J Customer name: Company: Tel: Email: Fax: Date: 1. Moxa Product: CP-204J Serial Number: ________________ 2. Moxa Driver version: ________________ 3. Moxa hardware settings: PCI Slot number ________________________ 4. Operating System: o Windows 95 o Windows 98 o Windows NT 3.51 o Others 5. PC Host: Make _________ Model _________ 6. CPU: Speed _____MHz Make ______ Model ______ 7. BIOS: Make __________________ Version _______ 8. PCI IRQ Configuration in BIOS : Slot no.
Return Procedure For product repair, exchange or refund, you must: v Provide evidence of original purchase v Fill out the Problem Report Form (PRF) as detailed as possible for shorter product repair time. v Obtain a Return Merchandise Authorization (RMA) number from the sales representative or dealer v Carefully pack the product in anti-static package, and send it, pre-paid, to the dealer.