Moxa Technologies C168P 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Moxa Technologies C168P. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoMoxa Technologies C168P vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Moxa Technologies C168P você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Moxa Technologies C168P, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Moxa Technologies C168P deve conte:
- dados técnicos do dispositivo Moxa Technologies C168P
- nome do fabricante e ano de fabricação do dispositivo Moxa Technologies C168P
- instruções de utilização, regulação e manutenção do dispositivo Moxa Technologies C168P
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Moxa Technologies C168P não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Moxa Technologies C168P e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Moxa Technologies na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Moxa Technologies C168P, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Moxa Technologies C168P, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Moxa Technologies C168P. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    C168P User’s Manual Universal 8 Port Serial Board May 1999 (7th Edition) The content of this manual is also available in CD-ROM and at Moxa Web Site. Moxa Technologies Co., Ltd. Tel: +866-2-8665-6373 Fax: +886-2-8665-6372 www.moxa.com support@moxa.com.tw[...]

  • Página 2

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

  • Página 3

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

  • Página 4

    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 Chapter 4 “[...]

  • Página 5

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

  • Página 6

    Utilities ................................ ................................ ................................ .......................... 4-2 DOS ................................ ................................ ................................ ....................... 4-6 Installation ................................ ................................ [...]

  • Página 7

    C168P User ’s Manual 1-1 1 1 1 In tr od uc tio n Overview The Standard Multiport Async Solutions The standard C168P multiport boards offer 8 serial ports for connecting terminals, modems, printers, data acquisition equipment and any other serial devices to the PC/AT and its compatible systems. The Smartio C168P is equipped with custom-designed AS[...]

  • Página 8

    1-2 C168P User ’s Manual Hardware Configuration Method S m a rt io F a mil y J P 1 T r a d it io n a l M u lt i p o o r t B o a rd J u m p e r ON 1 2 3 4 S w it c h .. . .. .. . . .. . .. .. . . New : set I/O address Traditional : set switch and and IRQ via software and jumper manually for Utility. I/O address and IRQ. Instead of using traditiona[...]

  • Página 9

    Introduction C168P User ’s Manual 1-3 Operating System Support The family is operational under most popular operating systems such as Windows NT, Windows 95/98, SCO UNIX/XENIX/ OpenServer, DOS, Linux, QNX, FreeBSD, etc. However, MOXA device drivers for Windows NT, Windows 95/98, Linux and DOS are provided for easier installation, configuration an[...]

  • Página 10

    1-4 C168P User ’s Manual Features v Custom-designed ASIC, compact board size (half-size) v No switch no jumper, easily configured by software v Independent I/O address, IRQ setting for each of 8 serial ports v 16 bit AT bus architecture, more IRQs supported v Isolation protection for RS-422 (optional connection box Opt8F) v PC o m m serial commun[...]

  • Página 11

    Introduction C168P User ’s Manual 1-5 Check List Upon unpacking the C168P package, you should find the following items in the package, v C168P 8-port serial async board v Device driver diskettes: l Windows NT and Windows 95/98 ¡Ñ 1 l DOS ¡Ñ 1 v C168P User's Manual (This Manual) v PComm Lite diskette ¡Ñ 1 You need also one of the follow[...]

  • Página 12

    1-6 C168P User ’s Manual Opt8C/Opt8D v RS-232 octopus cable with 8 port male connectors, DB25 for Opt8C and DB9 for Opt8D (1 meter long). P1 P2 P3 P4 P6 P5 P7 P8 Opt8C/ Opt8D C168P Opt8F/Opt8Z v RS-422 connection box with 8 port female DB25 connectors (isolation protection for Opt8F). v 1.5 meter DB62 to DB62 cable. v 110V or 220V adapter. 1 2 3 [...]

  • Página 13

    Introduction C168P User ’s Manual 1-7 Opt8J v RS-422/485 connection box with 8 port female DB25 connectors. v 1.5 meter DB62 to DB62 cable. v 110V or 220V adapter. 1 2 3 4 5 6 7 8 Tx Rx Opt8J C168 P Opt8J is the RS-422/485 connection box with 8 port female DB25 connectors for MOXA 8 port boards, including the C168P. There are 8-DIP switches on th[...]

  • Página 14

    1-8 C168P User ’s Manual RS-485 Mode The Opt8J supports only 2-wire RS-485 communication. Set the respective switch to ON position to use RS-485 interface. This means the port can transmit data only when RTS is asserted, and receive data only when RTS is not asserted (half-duplex). Refer to Chapter “Connection Option (Opt8x) and Cable Wiring”[...]

  • Página 15

    C168P User ’s Manual 2-1 2 2 2 Hard wa re In sta llat ion The installation of the C168P consists of hardware and software installation. The hardware installation is detailed in this chapter. The next chapter deals with the software installation for various operating systems. Default Settings The C168P has the following default (factory) settings:[...]

  • Página 16

    2-2 C168P User ’s Manual Now you should do either the normal hardware installation (detailed in the later section, “Hardware Installation with IO-IRQ Utility”) or the quick hardware installation (detailed right in the next section, “Quick Hardware Installation”). The latter is provided to facilitate the hardware installation, only under t[...]

  • Página 17

    Hardware Installation C168P User ’s Manual 2-3 5. DO power OFF and then ON (or Reset) the PC. ( Please cold start. ) 6. Restart System (Windows NT/95/98). It is very important to keep the JP1 always short in this case. Without running the hardware configuration program, Io-irq.exe under DOS prompt, the software configuration program will automati[...]

  • Página 18

    2-4 C168P User ’s Manual 1. Choose a PC that has DOS system inside. 2. Power off the PC. 3. Make sure no hardware conflict and plug the board in a free 16-bit slot of the PC, one board at a time with JP1 open . + If you are installing multiple boards, insert one board at a time and configure it using the Io-irq program before inserting the next b[...]

  • Página 19

    Hardware Installation C168P User ’s Manual 2-5 1. Run the utility “ Io-irq.exe ” contained in the driver diskette to set up I/O address, IRQ and INT vector of the board. 2. Select “Smartio/Industio ISA Family” and press ENTER key.[...]

  • Página 20

    2-6 C168P User ’s Manual 3. Enter the CAP address of the C168P board to be configured. 4. Configure the following parameters as necessary. Port Index Indicate the port index for each port. I/O address Enter the base I/O address for each port, either sequentially or not. Avoid to conflicting with any other devices. IRQ Enter the IRQ, 2, 3, 4, 5, 7[...]

  • Página 21

    Hardware Installation C168P User ’s Manual 2-7 INT Vector Enter the interrupt vector I/O address for all ports. I/O address for interrupt vector is from 00000H to 0FFFFH. Interrupt vector is one byte of I/O address, in which each bit is used to indicate the occurrence of interrupt for corresponding port. To use interrupt vector, type in the hardw[...]

  • Página 22

    2-8 C168P User ’s Manual[...]

  • Página 23

    C168P User ’s Manual 3-1 3 3 3 So ft war e In stal lat ion 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[...]

  • Página 24

    3-2 C168P User ’s Manual Installing Driver Following is the procedure for installing the C168P driver for the first time under Windows NT 4.0. Note ! Make sure the board(s) has(have) already been plugged in the system slot(s) if you are doing quick installation. 1. Please log in NT as Administrator . 2. Open the [ Control Panel ], click on the [ [...]

  • Página 25

    Software Installation C168P User ’s Manual 3-3 5. Select “ MOXA Smartio/Industio Family multiport board ” in the “Select OEM Option” dialog box, and then click [ OK ] to enter the “ Moxa Smartio/Industio Configuration Panel ” dialog box to start the installation. 6. In the “Moxa Smartio/ Industio Configuration Panel” dialog box, c[...]

  • Página 26

    3-4 C168P User ’s Manual Note ! You may go directly to the step 8 if you need not change any setting. 7. In the “ Property ” 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 COM number mappings or FIFO settings.[...]

  • Página 27

    Software Installation C168P User ’s Manual 3-5 l 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. 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[...]

  • Página 28

    3-6 C168P User ’s Manual 9. When configuration is done, click on [ OK ] button in the “Network Settings” dialog box. 10. Restart Windows NT system. The latest configuration will not take effect unless the system restarts. Note ! The latest configuration will not take effect unless the system restarts. 11. Once the system restarts, you may che[...]

  • Página 29

    Software Installation C168P User ’s Manual 3-7 l If an error message similar to “Cannot find any configured MOXA Smartio C168 Series board!” appears, refer to the “Troubleshooting” chapter for solutions. Note ! Once the board and the driver are installed and the driver restarts successfully, you can start to develop applications with the [...]

  • Página 30

    3-8 C168P User ’s Manual 3. Click on the [ Property ] button to open the “Moxa Smartio/Industio Configuration Panel” dialog box. Please see steps 6-10 in the previous section, “Installing Driver”, for more details. In this configuration panel, you may: l Click [ Property ] to enter “Property” dialog box to configure the selected board[...]

  • Página 31

    Software Installation C168P User ’s Manual 3-9 Updating Driver To update the driver for the C168P boards, simply remove the driver, as described in the next section, and reinstall it as detailed in section, “Installing Driver” . Removing Driver To remove the driver for the C168P boards, 1. Open the [ Control Panel ], click on the [ Network ] [...]

  • Página 32

    3-10 C168P User ’s Manual Installing Driver Up to four C168P boards can be installed together as long as the I/O addresses and IRQ number resources are sufficient and available in a system. The following is the procedure for installing C168P for the first time under Windows 95/98: 1. Run Setup95.exe in the driver diskette. 2. Click on [ Next> [...]

  • Página 33

    Software Installation C168P User ’s Manual 3-11 Note ! Go directly to the step 7 if you need not change any setting. 6. In the “ Property ” 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 COM number mappings or FIFO settings.[...]

  • Página 34

    3-12 C168P User ’s Manual l 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. 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 numb[...]

  • Página 35

    Software Installation C168P User ’s Manual 3-13 8. Restart Windows 95/98 system . Note ! The latest configuration will not take effect unless the system restarts. 9. When system restarts, all the error conditions of the board will be popped up onto the screen if any. Otherwise, everything should be fine. If error message like “ Smartio C168 Ser[...]

  • Página 36

    3-14 C168P User ’s Manual Configuring Board and Port If you already have installed the driver and want to re-configure the C168P board and ports, add more boards or delete boards 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 th[...]

  • Página 37

    Software Installation C168P User ’s Manual 3-15 Updating Driver Open [ Control Panel ] icon, and then [ System ] icon, and then select [ Device Manager ] tab. Then select and open the “Moxa Smartio/Industio muliport board” option and then select the “ C168 Series ”. Click on [ Properties ] button and then select [ Driver ] tab and then cl[...]

  • Página 38

    3-16 C168P User ’s Manual Removing Driver Open [ Control Panel ] icon, and then [ Add/Remove Programs ] icon, and then select [ Install/Uninstall ] tab. Then select and open the “MOXA Smartio/Industio Driver” option and then enter [ OK ] to remove the driver.[...]

  • Página 39

    Software Installation C168P User ’s Manual 3-17 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. For details of the serial programming (API-232 Library) and u[...]

  • Página 40

    3-18 C168P User ’s Manual 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 C168P driver. Note that it is not intended to illustrate all the convenient functions of the setup programs when configuring the boards. Pleas[...]

  • Página 41

    Software Installation C168P User ’s Manual 3-19 2. Press Enter to pop up the SETUP dialog box. In the SETUP dialog box, Press F8 to specify the CAP Address and press ENTER and then type Y ( YES ) to load the configuration of the board to be setup.[...]

  • Página 42

    3-20 C168P User ’s Manual 3. Now the configuration of the desired C168P board will be shown along with other default settings, such as port number, buffer size, etc. Note ! Up to now you have completed the setup for C168P 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.[...]

  • Página 43

    Software Installation C168P User ’s Manual 3-21 You may now enter/modify each port’s configuration. These displayed values are the port initial values as driver is loaded. Legend : Some noticeable fields and functions are explained below. Port number: This is actually the port ID of each port. The application software will refer to the port by [...]

  • Página 44

    3-22 C168P User ’s Manual F6: INT vector: This is to set interrupt vector for each port. You can set this feature to “ Yes ” (default) and gain best performance for the board. 4. Press F10 to save the latest configuration and exit the SETUP program. Loading Driver Having completed the setup, you can load the driver, “BINSER-DRV.EXE” , at[...]

  • Página 45

    Software Installation C168P User ’s Manual 3-23 If something went wrong, for instance, the board does not match the configuration or the board is missing, the screen will show a message like: API-232 Version 3.5 Universal 2/4/8 serial ports Communication Driver Setup driver … None serial port found!! It means the C168P driver is not installed p[...]

  • Página 46

    3-24 C168P User ’s Manual[...]

  • Página 47

    C168P User ’s Manual 4-1 4 4 4 Se ria l Pr og ra mmin g T ool s Moxa supports easy but powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98 and DOS. You will save greatly the developing time, using MOXA Serial Programming Tools. The following sections will details the installation, the li[...]

  • Página 48

    4-2 C168P User ’s Manual PCom m Programming Library The serial communication library is to assist users to develop programs for serial communications for any COM port complying with Microsoft Win32 API. It can ease the implementation of multi-process and multi-thread serial communication programs and hence greatly reduce the developing time. For [...]

  • Página 49

    Serial Programming Tools C168P User ’s Manual 4-3 Diagnostic (for MOXA boards only) A convenient diagnostic program 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 operation of both the software and hardware.[...]

  • Página 50

    4-4 C168P User ’s Manual Monitor (for MOXA boards under Windows NT Only) A useful port status monitoring program 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 every time interval. In addition, you may click on one of the s[...]

  • Página 51

    Serial Programming Tools C168P User ’s Manual 4-5 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.[...]

  • Página 52

    4-6 C168P User ’s Manual DOS Installation 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, Qui[...]

  • Página 53

    Serial Programming Tools C168P User ’s Manual 4-7 There are three major functions in Data Scope utility: 1. Th e D at a S co pe ut ili ty of fe rs tr an spa re nt mo n it ori ng o f se ri al co mm un ic at io n lines and allows data to be streamed to disk storage for later analysis. 2. The TTY terminal emulation utility allows user to view the si[...]

  • Página 54

    4-8 C168P User ’s Manual Diagnose The Diagnose, BINDIAGNOSE.EXE , is a utility that can help users to diagnose the hardware condition of each port of the selected board. See on-line help for more details. Before executing it, please remove the Moxa driver in advance via executing “SER- DRV.EXE/Q” if the Moxa driver is running in the backgrou[...]

  • Página 55

    Serial Programming Tools C168P User ’s Manual 4-9 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 [...]

  • Página 56

    4-10 C168P User ’s Manual .[...]

  • Página 57

    C168P User ’s Manual 5-1 5 5 5 Connection Option (Opt8x) 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. RS-232 Cable Wiring for Opt8A/B/C/D/S RS-232 8-port connection boxes/octopus cable designed f[...]

  • Página 58

    5-2 C168P User ’s Manual The followings are pin assignments for various connection options: Opt8A/S (DCE, DB25 Female) 2 RxD 3 TxD 4 CTS 5 RTS 6 DTR 7 GND 8 DCD 20 DSR Opt8B/C (DTE, DB25 Male) 2 TxD 3 RxD 4 RTS 5 CTS 6 DSR 7 GND 8 DCD 20 DTR Opt8D (DTE, DB9 Male) 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS[...]

  • Página 59

    Connection Option (Opt8x) and Cable Wiring C168P User ’s Manual 5-3 Type 1: To connect C168P to a DTE device. PC COM2 port, Se ria l Printer, Term inal, or any DTE Device Opt8A/S Straight-through Cable Opt8A/S DTE Device DB25 Female DB25 Male RxD 2 2 TxD TxD 3 3 RxD CTS 4 4 RTS RTS 5 5 CTS DTR 6 6 DSR DSR 20 20 DTR GND 7 7 GND DCD 8 8 DCD PC COM2[...]

  • Página 60

    5-4 C168P User ’s Manual PC COM2 port, Se ria l Printer, Term inal, or any DTE Device Opt8D Opt8D 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 Type 2: To connect C168 P to a DCE device. Modem , or any DCE Device Opt8A/S Null Modem Ca ble Opt8A/S DCE Device DB25 Fema[...]

  • Página 61

    Connection Option (Opt8x) and Cable Wiring C168P User ’s Manual 5-5 Modem , or any DCE D evice Opt8B/C Straight-through Cable Opt8B/C DCE Device DB25 Male DB25 Female TxD 2 2 RxD RxD 3 3 TxD RTS 4 4 CTS CTS 5 5 RTS DSR 6 6 DTR DTR 20 20 DSR GND 7 7 GND DCD 8 8 DCD Modem or any DCE D evice Opt8D Opt8D DCE Device DB9 Male DB25 Female RxD 2 2 RxD Tx[...]

  • Página 62

    5-6 C168P User ’s Manual Type 3: To connect C168P 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 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 ”, y[...]

  • Página 63

    Connection Option (Opt8x) and Cable Wiring C168P User ’s Manual 5-7 PC COM2 port, Se ria l Printer, Term inal, or any DTE Device Opt8D Opt8D DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD GND 5 7 GND RTS 7 4 RTS CTS 8 5 CTS DTR 4 6 DTR DSR 6 20 DSR DCD 1 8 DCD RS-422 Cable Wiring for Opt8J/F/Z RS-422 connection boxes designed for C168P are[...]

  • Página 64

    5-8 C168P User ’s Manual RS-422 Pinouts for Opt8J/F/Z: Opt8J/F/Z 2 RxD+(B) 3 TxD+(B) 14 RxD-(A) 16 TxD-(A) 7 GND 4 CTS+(B) 5 RTS+(B) 13 RTS-(A) Opt8J only 19 CTS-(A) The RS-422 transmission distance can reach as long as 4000ft. The connection box needs an external power adapter to supply 5V DC power. Either 110V or 220V AC power adapter is select[...]

  • Página 65

    Connection Option (Opt8x) and Cable Wiring C168P User ’s Manual 5-9 The followings are operation modes for RS-422: RS-422 Point-to-point RS-422 Broadcasting Opt8J/F/Z RS-422 Device Opt8J/F/Z RS-422 Device 1 3 TxD+(B) RxD+(B) 3 TxD+(B) RxD+(B) 16 TxD-(A) RxD-(A) 2 RxD+(B) TxD+(B) 2 RxD+(B) TxD+(B) 16 TxD-(A) RxD-(A) 14 RxD -(A) TxD-(A) 14 RxD-(A) [...]

  • Página 66

    5-10 C168P User ’s Manual RS-485 Cable Wiring for Opt8J One RS-485 connection box designed for C168P is: Opt8J: Connection box with 8 female RS-422/485 DB25 ports. Set the port switch to ON position (RS-485) for the desired port(s). The Opt8J supports only 2-wire half-duplex RS-485 communication . Data+/- pins are served for both data transmittin[...]

  • Página 67

    Connection Option (Opt8x) and Cable Wiring C168P User ’s Manual 5-11 RS-422/485 Impedance Matching 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, whi[...]

  • Página 68

    5-12 C168P User ’s Manual[...]

  • Página 69

    C168P User ’s Manual 6-1 6 6 6 Tr ou ble shoo tin g Common C168P 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. The[...]

  • Página 70

    6-2 C168P User ’s Manual Software Causes and Solutions: a. C168P checks the line status (CTS) before it sends data out if the RTS/CTS flow control feature is set to “Enable” in the configuration or application program. Please refer to the “Connection Cable and Cable Wiring” chapter for proper wiring. Check the line status of the suspected[...]

  • Página 71

    Troubleshooting C168P User ’s Manual 6-3 To configure the board, you need to know the board’s Configuration Access Port (CAP) address. Because the CAP address is the only channel, via which the Io- irq.exe can access to the board. The following procedure instructs user to recover once the CAP is unknown. Step 1. Power off the PC. OFF Step 2. In[...]

  • Página 72

    6-4 C168P User ’s Manual Step 8. Power off the PC. OFF Step 9. Remove the jumper on position JP1. jumper JP1 Remove Step 10. Power on the PC. ON Windows NT This section is specific for troubleshooting under Windows NT. For general problems and solutions, please see the previous section, “General Troubleshooting”. 1. After the system reboots, [...]

  • Página 73

    Troubleshooting C168P User ’s Manual 6-5 a. Some partial decoded network board may interfere with our board. Please avoid from using 0x300 as I/O address for those network boards. b. Check hardware configuration of C168P board by IO-IRQ.EXE. Then make sure the hardware configuration, including I/O addresses for each port, Interrupt Vector, IRQ, i[...]

  • Página 74

    6-6 C168P User ’s Manual c. The I/O addresses may conflict with other devices, please change another set of I/O address such as I/O:0x280, Interrupt Vector:0x2C0. d. The board(s) is not plugged properly. Please make sure the board is seated firmly in the expansion slot. e. The slot for plugging the board is defective. In this case, please try oth[...]

  • Página 75

    C168P User ’s Manual A-1 A A p p p p e e n n d d i i x x A Tech nic al R ef er enc e Specifications v Bus interface: ISA (EISA compatible) v Number of ports: 8 v I/O address: 0x0000 ~ 0xFFFF v IRQ: 2, 3, 4, 5, 7, 10, 11, 12, 15 v Data bits: 5, 6, 7, 8 v Stop bits: 1, 1.5, 2 v Parity: none, even, odd, space, mark v UART: 8 ¡Ñ 16550 or compatible[...]

  • Página 76

    A-2 C168P User ’s Manual C168P Windows NT 3 Windows 95/98 3 DOS 3 Linux R SCO UNIX/OpenServer C SCO XENIX C QNX C FreeBSD C 3 : Driver supported by Moxa and shipped with product C : Driver supported by OS R : Available by r equest Note: Download the newest drivers from the MOXA FTP service[...]

  • Página 77

    Technical Reference C168P User ’s Manual A-3 PC I/O Port Address Map The following is the list of the I/O port addresses commonly used, which is good for preventing I/O address conflict when configuring C168P. IO/ Address Device 000-01F DMA controller 1 020-03F interrupt controller 040-05F Timer 060-06F Keyboard 070-07F Real-time clock 080-09F DM[...]

  • Página 78

    A-4 C168P User ’s Manual DB62 Connector Pinouts The following lists the pin assignments of the DB62 connector on the bracket. Pin no. Signal Pin no. Signal Pin no. Signal 1 TxD1 22 RxD1 43 CTS1 2 DTR1 23 DSR1 44 RTS1 24 DCD1 45 GND 3 RxD2 25 TxD2 46 CTS2 4 DSR2 26 DTR2 47 RTS2 5 DCD2 6 TxD3 27 RxD3 48 CTS3 7 DTR3 28 DSR3 49 RTS3 29 DCD3 50 GND 8 [...]

  • Página 79

    Problem Report Form C168P Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product : C168P Serial Number : ____________ 2. Moxa Driver Version : ________________ 3. Moxa hardware settings : 3.1 Please check the hardware configuration by IO-IRQ.EXE from DOS or Windows 95/98 DOS Prompt. PORT 1 2 3 4 5 6 7 8 I/O IRQ Interrupt Vector: ________ 3.[...]

  • Página 80

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