Moxa Technologies Industio CP-114 Series CP-114 Series manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Moxa Technologies Industio CP-114 Series CP-114 Series, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Moxa Technologies Industio CP-114 Series CP-114 Series one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Moxa Technologies Industio CP-114 Series CP-114 Series. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Moxa Technologies Industio CP-114 Series CP-114 Series should contain:
- informations concerning technical data of Moxa Technologies Industio CP-114 Series CP-114 Series
- name of the manufacturer and a year of construction of the Moxa Technologies Industio CP-114 Series CP-114 Series item
- rules of operation, control and maintenance of the Moxa Technologies Industio CP-114 Series CP-114 Series item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Moxa Technologies Industio CP-114 Series CP-114 Series alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Moxa Technologies Industio CP-114 Series CP-114 Series, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Moxa Technologies service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Moxa Technologies Industio CP-114 Series CP-114 Series.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Moxa Technologies Industio CP-114 Series CP-114 Series item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Industio CP-114 Series User ’ s Manual 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: support@moxa.com.tw The Americas support@moxa.com[...]

  • Page 2

    Industio CP-114 Series 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  2004, Moxa Technologies Co., Ltd. All rights reserved. Reproduction in any form without permission is prohibited. Trademarks MOXA is a [...]

  • Page 3

    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 .......[...]

  • Page 4

    About This Manual This manual is composed of six chapters and one appendix. Th is manual is written for installer, system administrator and software programmer. If you are a first-time installer and system administrato r, we recommend you to go through the whole manual except Chapter 4. If you are a software programmer, you may refer to chapter 4, [...]

  • Page 5

    Table of Contents Chapter 1 Introduction ............................................................................................. 1-1 Overview ................................................................................................ 1-1 Features ............................................................................................[...]

  • Page 6

    [...]

  • Page 7

    Industio CP-114 User's Manual 1-1 1 1 1 Introduction 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 communica[...]

  • Page 8

    1-2 Industio CP-114 User's Manual 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 ). Use[...]

  • Page 9

    Introduction Industio CP-114 User's Manual 1-3 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 Windo[...]

  • Page 10

    1-4 Industio CP-114 User's Manual[...]

  • Page 11

    Industio CP-114 User's Manual 2-1 2 2 2 Hardware Installation 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: Interfac[...]

  • Page 12

    2-2 Industio CP-114 User's Manual ! S2 Data Mode Selection Switch for Port 1/2/3/4: (Valid if JP5/6 is Left and S1 is ON) ON* Set the RS-485 port to Automatic Data Direction Control Mode. OFF Set the RS-485 port to By RTS Mode. ! JP1/2/3/4 Termination Resistor Port 1/2/3/4: (Valid if JP5/6 is Left and S1 is ON) Open * Not using Termination Res[...]

  • Page 13

    Industio CP-114 User's Manual 3-1 3 3 3 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 detail[...]

  • Page 14

    3-2 Industio CP-114 User's Manual 5. Select “MOXA Smartio/Industio Family multiport board” in the “Select OEM Option” dialog box, and click [OK] to enter the “Moxa Sm artio/Industio Configuration Panel” dialog box to start the installation.[...]

  • Page 15

    Software Installation Industio CP-114 User's Manual 3-3 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 t[...]

  • Page 16

    3-4 Industio CP-114 User's Manual 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. Click [ OK ] in the “Port #” and the “Property” dialog boxes to go back to the “Moxa Smartio/Industio [...]

  • Page 17

    Software Installation Industio CP-114 User's Manual 3-5 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 Te[...]

  • Page 18

    3-6 Industio CP-114 User's Manual 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 dr[...]

  • Page 19

    Software Installation Industio CP-114 User's Manual 3-7 The following flow chart illustrates the driver installation stages of the Industio CP-114 Series boards. Each stage is detailed later. See chapter “Hardware Installation” Yes Driver installed before? No First Time Driver Installation Stage This stage presents the steps for installing[...]

  • Page 20

    Industio CP-114 User's Manual 3-8[...]

  • Page 21

    Software Installation Industio CP-114 User's Manual 3-9 Windows 95 Windows 98 2. Click on the [Other Locations] button. 2. Select “Display a list...” and click [Next>]. 3. Type “ A:Windows.95 ” in the Location field, and click [OK] button. The system will start reading the files from the diskette. 3. Select “Other Devices” and [...]

  • Page 22

    3-10 Industio CP-114 User's Manual 5. Type “A:Windows.95” and click [ OK ] button. The system will start reading the files from the diskette. 6. Click [Next>] button. 7. Click [Next>] button. Port Configuration Stage This stage displays the “CP-114 Series Installation” dialog box for the port configuration. Here you can map the [...]

  • Page 23

    Software Installation Industio CP-114 User's Manual 3-11 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 b[...]

  • Page 24

    3-12 Industio CP-114 User's Manual 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 Windows 98 After the port installation, you can immediately use the COM ports of th[...]

  • Page 25

    Software Installation Industio CP-114 User's Manual 3-13 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/In[...]

  • Page 26

    3-14 Industio CP-114 User's Manual 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 [ [...]

  • Page 27

    Software Installation Industio CP-114 User's Manual 3-15 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 [...]

  • Page 28

    Industio CP-114 User's Manual 3-16 DOS MOXA DOS API-232 is a software package that assi sts 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 Librar y) and utilities[...]

  • Page 29

    Software Installation Industio CP-114 User's Manual 3-17 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, BINSETUP.EXE , in the API-232 directory. 2. Press E[...]

  • Page 30

    3-18 Industio CP-114 User's Manual 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. 3. You may now enter/modify each port’s configurati on. These displayed values are the port initial values a[...]

  • Page 31

    Software Installation Industio CP-114 User's Manual 3-19 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 c[...]

  • Page 32

    3-20 Industio CP-114 User's Manual Loading Driver Having completed the setup, you can load the driver, "BINDP-DRV.EXE" , at the DOS prompt. The driver will detect the Industio CP-114 Seri es board automatically. If the board(s) is(are) detected, a message similar to below will show: Smartio/Industio Family DOS driver Version 1.1 Set[...]

  • Page 33

    Industio CP-114 User's Manual 4-1 4 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, th[...]

  • Page 34

    4-2 Industio CP-114 User's Manual 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, et c., for the MOXA[...]

  • Page 35

    Serial Programming Tools Industio CP-114 User's Manual 4-3 Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program that a llows 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[...]

  • Page 36

    4-4 Industio CP-114 User's Manual 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 ][...]

  • Page 37

    Serial Programming Tools Industio CP-114 User's Manual 4-5 DOS 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 languag[...]

  • Page 38

    4-6 Industio CP-114 User's Manual Data Scope The Data Scope, BINSCOPE.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 li ne s a nd a llo[...]

  • Page 39

    Serial Programming Tools Industio CP-114 User's Manual 4-7 RS-485 Programming If you intend to do RS-485 communication with Indus tio 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 on[...]

  • Page 40

    4-8 Industio CP-114 User's Manual 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 for Windows NT and Windows 95/98 */ sio_RTS(port, 1); /* Turn on RTS signal. The RS-485 port is ready for tra[...]

  • Page 41

    Industio CP-114 User's Manual 5-1 5 5 5 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 f[...]

  • Page 42

    5-2 Industio CP-114 User's Manual Type 1: To connect the Industio CP-114 Series to a DTE device. PC CO M2 po rt, Ser ial Pr inter , Terminal, or any DT E Device CP-114 CP-114 DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD CTS 8 4 RTS RTS 7 5 CTS DTR 4 6 DSR DSR 6 20 DTR GND 5 7 GND DCD 1 8 DCD PC COM2 port, Seri al Printer, Terminal, or[...]

  • Page 43

    Connection Cable and Cable Wiring Industio CP-114 User's Manual 5-3 Type 2: To connect Industio CP-114 Series to a DCE device. Modem or any DCE Device CP-114 CP-114 DCE Device DB9 Male DB25 Female RxD 2 2 RxD TxD 3 3 TxD CTS 8 4 CTS RTS 7 5 RTS DTR 4 6 DTR DSR 6 20 DSR GND 5 7 GND DCD 1 8 DCD Type 3: To connect Industio CP-114 Series to a DTE [...]

  • Page 44

    5-4 Industio CP-114 User's Manual 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 1 TxD-(A) 2 TxD+(B) 3 R[...]

  • Page 45

    Connection Cable and Cable Wiring Industio CP-114 User's Manual 5-5 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 [...]

  • Page 46

    5-6 Industio CP-114 User's Manual 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 c[...]

  • Page 47

    Connection Cable and Cable Wiring Industio CP-114 User's Manual 5-7 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 a ny type of fan-out cables, such as DB37 to DB9 x 4 or DB37 to DB25 x 4. For RS-232 Mode Pin no. Signal Pin no. Signal [...]

  • Page 48

    [...]

  • Page 49

    Industio CP-114 User's Manual 6-1 6 6 6 Troubleshooting 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 [...]

  • Page 50

    6-2 Industio CP-114 User's Manual 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. After the system reboots, the error me ssage “Cannot find any configure[...]

  • Page 51

    Industio CP-114 User's Manual A-1 A A A Technical Reference Specification " Bus interface: 32-bit PCI (Spec 2.1) " Number of ports: 2 (RS-232 or RS-422/485), 2 (RS-422/485) " I/O address: Assigned by BIOS " IRQ: Assigned by BIOS " Data bits: 5, 6, 7, 8 " Stop bits: 1, 1.5, 2 " Parity: None, even, odd, space, [...]

  • Page 52

    A-2 Industio CP-114 User's Manual 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 i[...]

  • Page 53

    Problem Report Form Industio CP-114 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product : CP-114 Series Model : $ CP-114 $ CP-114I $ CP-114S $ CP-114IS Serial Number : ________________ 2. Moxa Driver Version : ________________ 3. Moxa Hardware Settings : PCI slot number ________________________ 4. Operating System : $ Windows 95 $[...]

  • Page 54

    Return Procedure 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. " Carefully pack the produ[...]

  • Page 55

    Revision History Document Edition Revision Date Revision Details 3 rd January 27, 2004 1. Update the edition of this manual on the title page. 2. p. 5-5: Changed RS-422 Broadcasting figure. 4 th November 8, 2004 1. Updated Moxa logo. 2. Corrected errors in Chap. 5.[...]