Benutzeranleitung / Produktwartung C168P des Produzenten Moxa Technologies
Zur Seite of 80
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.
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.
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.
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.
Table of Contents Introduction ..................................................................... 1-1 Overview ................................ ................................ ................................ ................ 1-1 Features.........
Utilities ................................ ................................ ................................ .......................... 4-2 DOS ................................ ................................ ................................ ........
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.
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.
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.
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 ser.
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 .
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).
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.
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).
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.
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”).
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.
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 .
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-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.
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.
2-8 C168P User ’s Manual.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ”.
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.
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.
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.
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.
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.
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.
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.
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.
3-24 C168P User ’s Manual.
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.
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.
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.
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.
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.
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.
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.
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.
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.
4-10 C168P User ’s Manual ..
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.
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.
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 Ca.
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.
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.
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.
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-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.
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 .
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 .
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.
5-12 C168P User ’s Manual.
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.
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.
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.
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”.
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.
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.
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.
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.
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.
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.
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.
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 .
Ein wichtiger Punkt beim Kauf des Geräts Moxa Technologies C168P (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Moxa Technologies C168P noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Moxa Technologies C168P - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Moxa Technologies C168P reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Moxa Technologies C168P erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Moxa Technologies C168P besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Moxa Technologies C168P verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Moxa Technologies C168P. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Moxa Technologies C168P gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.