Moxa Technologies C168HS Bedienungsanleitung
- Schauen Sie die Anleitung online durch oderladen Sie diese herunter
- 102 Seiten
- 1.91 mb
Zur Seite of
Ähnliche Gebrauchsanleitungen
-
Computer Hardware
Moxa Technologies C168HS
102 Seiten 1.91 mb -
Computer Hardware
Moxa Technologies 1150I
26 Seiten 1.48 mb -
Computer Hardware
Moxa Technologies CP-132U
87 Seiten 3.67 mb -
Computer Hardware
Moxa Technologies CP-134U
87 Seiten 1.99 mb -
Computer Hardware
Moxa Technologies CP-118U
2 Seiten 0.19 mb -
Computer Hardware
Moxa Technologies W311
104 Seiten 2.16 mb -
Computer Hardware
Moxa Technologies TCC-80I
2 Seiten 0.41 mb -
Computer Hardware
Moxa Technologies C218
93 Seiten 1.29 mb
Richtige Gebrauchsanleitung
Die Vorschriften verpflichten den Verkäufer zur Übertragung der Gebrauchsanleitung Moxa Technologies C168HS an den Erwerber, zusammen mit der Ware. Eine fehlende Anleitung oder falsche Informationen, die dem Verbraucher übertragen werden, bilden eine Grundlage für eine Reklamation aufgrund Unstimmigkeit des Geräts mit dem Vertrag. Rechtsmäßig lässt man das Anfügen einer Gebrauchsanleitung in anderer Form als Papierform zu, was letztens sehr oft genutzt wird, indem man eine grafische oder elektronische Anleitung von Moxa Technologies C168HS, sowie Anleitungsvideos für Nutzer beifügt. Die Bedingung ist, dass ihre Form leserlich und verständlich ist.
Was ist eine Gebrauchsanleitung?
Das Wort kommt vom lateinischen „instructio”, d.h. ordnen. Demnach kann man in der Anleitung Moxa Technologies C168HS die Beschreibung der Etappen der Vorgehensweisen finden. Das Ziel der Anleitung ist die Belehrung, Vereinfachung des Starts, der Nutzung des Geräts oder auch der Ausführung bestimmter Tätigkeiten. Die Anleitung ist eine Sammlung von Informationen über ein Gegenstand/eine Dienstleistung, ein Hinweis.
Leider widmen nicht viele Nutzer ihre Zeit der Gebrauchsanleitung Moxa Technologies C168HS. Eine gute Gebrauchsanleitung erlaubt nicht nur eine Reihe zusätzlicher Funktionen des gekauften Geräts kennenzulernen, sondern hilft dabei viele Fehler zu vermeiden.
Was sollte also eine ideale Gebrauchsanleitung beinhalten?
Die Gebrauchsanleitung Moxa Technologies C168HS sollte vor allem folgendes enthalten:
- Informationen über technische Daten des Geräts Moxa Technologies C168HS
- Den Namen des Produzenten und das Produktionsjahr des Geräts Moxa Technologies C168HS
- Grundsätze der Bedienung, Regulierung und Wartung des Geräts Moxa Technologies C168HS
- Sicherheitszeichen und Zertifikate, die die Übereinstimmung mit entsprechenden Normen bestätigen
Warum lesen wir keine Gebrauchsanleitungen?
Der Grund dafür ist die fehlende Zeit und die Sicherheit, was die bestimmten Funktionen der gekauften Geräte angeht. Leider ist das Anschließen und Starten von Moxa Technologies C168HS zu wenig. Eine Anleitung beinhaltet eine Reihe von Hinweisen bezüglich bestimmter Funktionen, Sicherheitsgrundsätze, Wartungsarten (sogar das, welche Mittel man benutzen sollte), eventueller Fehler von Moxa Technologies C168HS und Lösungsarten für Probleme, die während der Nutzung auftreten könnten. Immerhin kann man in der Gebrauchsanleitung die Kontaktnummer zum Service Moxa Technologies finden, wenn die vorgeschlagenen Lösungen nicht wirksam sind. Aktuell erfreuen sich Anleitungen in Form von interessanten Animationen oder Videoanleitungen an Popularität, die den Nutzer besser ansprechen als eine Broschüre. Diese Art von Anleitung gibt garantiert, dass der Nutzer sich das ganze Video anschaut, ohne die spezifizierten und komplizierten technischen Beschreibungen von Moxa Technologies C168HS zu überspringen, wie es bei der Papierform passiert.
Warum sollte man Gebrauchsanleitungen lesen?
In der Gebrauchsanleitung finden wir vor allem die Antwort über den Bau sowie die Möglichkeiten des Geräts Moxa Technologies C168HS, über die Nutzung bestimmter Accessoires und eine Reihe von Informationen, die erlauben, jegliche Funktionen und Bequemlichkeiten zu nutzen.
Nach dem gelungenen Kauf des Geräts, sollte man einige Zeit für das Kennenlernen jedes Teils der Anleitung von Moxa Technologies C168HS widmen. Aktuell sind sie genau vorbereitet oder übersetzt, damit sie nicht nur verständlich für die Nutzer sind, aber auch ihre grundliegende Hilfs-Informations-Funktion erfüllen.
Inhaltsverzeichnis der Gebrauchsanleitungen
-
Seite 1
Sm ar ti o C168H/HS User ’s Manual Universal 8 Port Serial Board May 1999 (6th 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[...]
-
Seite 2
Sm ar t io C168H/HS 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 re[...]
-
Seite 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[...]
-
Seite 4
About This Manual This manual is composed of six Chapters and one A ppendix. 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 ?[...]
-
Seite 5
Table of Contents Introduction ..................................................................... 1-1 Overview ................................ ................................ ................................ ................ 1-1 Features................................ ................................ ................................ .........[...]
-
Seite 6
Setting MOXA Ports to Terminal ................................ ................................ .................. 3-35 Serial Programming Tools ................................................ 4-1 Windows NT and Windows 95/98 ................................ ................................ .......... 4-1 Installation ............................[...]
-
Seite 7
Smartio C168H/HS User ’s Manual 1-1 1 1 1 In tro duc tion Overview S ma rt i o - The Smart Multiport Async Solutions The term Smartio stands for smart multiport serial I/O solution. The Sm a r ti o C168 Series multiport boards offer 8 serial ports for connecting terminals, modems, printers, data acquisition equipment and any other serial devices [...]
-
Seite 8
1-2 Smartio C168H/HS 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[...]
-
Seite 9
Introduction Smartio C168H/HS User ’s Manual 1-3 Surge Protection To prevent the boards from damage caused by lighting or high potential voltage, surge protection technology is introduced in some model to protect the board. Operating System Support The family is operational under most popular operating systems such as Windows NT, Windows 95/98, S[...]
-
Seite 10
1-4 Smartio C168H/HS User ’s Manual Features The Smartio C168 Series consist of members as follows, C168H 8 port RS-232 or RS-422, high speed 16550C or compatible UART C168HS 8 port RS-232 or RS-422, surge protection, 16550C or compatible UART v Custom-designed ASIC, compact board size (half-size) v No switch no jumper, easily configured by softw[...]
-
Seite 11
Introduction Smartio C168H/HS User ’s Manual 1-5 Check List Upon unpacking the Smartio C168 Series package, you should find the following items in the package, v Smartio C168 Series 8-port high performance async board v Device driver diskettes: l Windows NT and Windows 95/98 ¡Ñ 1 l DOS ¡Ñ 1 l UNIX ¡Ñ 1 v C168H/HS User's Manual (This Ma[...]
-
Seite 12
1-6 Smartio C168H/HS 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 Opt 8C/Opt8D Smar tio C168 Series 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 11[...]
-
Seite 13
Introduction Smartio C168H/HS 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 Smartio C168 Series Opt8J is the RS-422/485 connection box with 8 port female DB25 connectors for MOXA 8 port boards, including the Smartio C168 [...]
-
Seite 14
1-8 Smartio C168H/HS 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 Cabl[...]
-
Seite 15
Smartio C168H/HS User ’s Manual 2-1 2 2 2 Hard war e In s t allat ion The installation of the Smartio C168 Series 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 Smartio C168 Series has t[...]
-
Seite 16
2-2 Smartio C168H/HS 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, o[...]
-
Seite 17
Hardware Installation Smartio C168H/HS User ’s Manual 2-3 software configuration program will automatically update the hardware settings. After this, users already complete the whole installation. 4. Shutdown System (Windows NT/95/98). 5. DO power OFF and then ON (or Reset) the PC. ( Please cold start. ) 6. Restart System (Windows NT/95/98). It i[...]
-
Seite 18
2-4 Smartio C168H/HS User ’s Manual Because the ASIC-designed Smartio C168 Series has no switch and no jumper for configuring manually the I/O address, IRQ, INT vector, etc. of the boards, you must run the software utility, Io-irq.exe , in the driver diskette under DOS system to change the hardware configuration. 1. Choose a PC that has DOS syste[...]
-
Seite 19
Hardware Installation Smartio C168H/HS User ’s Manual 2-5 typed correctly. With the correct CAP address, the utility can find the configuration stored in the on-board EEPROM and display it on the configuration panel. The CAP address is the only channel via which the configuration utility Io-irq.exe can access the board. 1. Run the utility “ Io-[...]
-
Seite 20
2-6 Smartio C168H/HS User ’s Manual 3. Enter the CAP address of the Smartio C168 Series 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 Ent[...]
-
Seite 21
Hardware Installation Smartio C168H/HS User ’s Manual 2-7 Note that, currently, port that uses MOXA Windows NT and 95/98 driver will run at the displayed speed. To be clear, when Smartio C168 Series board is configured as High Speed Spectrum , any port driven by the Moxa-provided Windows NT and 95/98 driver will display the exact working speed. F[...]
-
Seite 22
2-8 Smartio C168H/HS User ’s Manual Normal Speed Spectrum High Speed Spectrum 50 (bps) 400 (bps) 75 600 110 880 134.5 1076 150 1200 300 2400 600 4800 1200 9600 1800 14.4K 2400 19.2K 4800 38.4K 7200 57.6K 9600 76.8K 19.2K 153.6K 38.4K 307.2K 57.6K 460.8K 115.2K 921.6K INT Vector Enter the interrupt vector I/O address for all ports. I/O address for[...]
-
Seite 23
Smartio C168H/HS User ’s Manual 3-1 3 3 3 So ft wa r e I n sta lla ti on 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, UNIX and DOS Before proceeding with the software installation, complete the hardware instal[...]
-
Seite 24
3-2 Smartio C168H/HS User ’s Manual Installing Driver Following is the procedure for installing the Smartio C168 Series 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[...]
-
Seite 25
Software Installation Smartio C168H/HS 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” dia[...]
-
Seite 26
3-4 Smartio C168H/HS 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.[...]
-
Seite 27
Software Installation Smartio C168H/HS 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 b[...]
-
Seite 28
3-6 Smartio C168H/HS 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, [...]
-
Seite 29
Software Installation Smartio C168H/HS User ’s Manual 3-7 Note ! Once the board and the driver are installed and the driver restarts successfully, you can start to develop applications with the PC o m m library (See “Serial Programming Tools” chapter) or the Microsoft Win32 API. You can also execute any ready-made applications, such as P C o [...]
-
Seite 30
3-8 Smartio C168H/HS 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 se[...]
-
Seite 31
Software Installation Smartio C168H/HS User ’s Manual 3-9 Updating Driver To update the driver for the Smartio C168 S er i e s 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 Smartio C168 S er i e s boards, 1. Open t[...]
-
Seite 32
3-10 Smartio C168H/HS User ’s Manual Installing Driver Up to four Smartio C168 Series 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 Smartio C168 Series for the first time under Windows 95/98: 1. Run Setup95.exe in the d[...]
-
Seite 33
Software Installation Smartio C168H/HS 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[...]
-
Seite 34
3-12 Smartio C168H/HS 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 Enumerati[...]
-
Seite 35
Software Installation Smartio C168H/HS 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 “ Smart[...]
-
Seite 36
3-14 Smartio C168H/HS User ’s Manual Configuring Board and Port If you already have installed the driver and want to re-configure the Smartio C168 Series 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 [ MOX[...]
-
Seite 37
Software Installation Smartio C168H/HS 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 Multiport Board” option and then select the “ C168 Series ”. Click on [ Properties ] button and then select [ Driver ] ta[...]
-
Seite 38
3-16 Smartio C168H/HS 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.[...]
-
Seite 39
Software Installation Smartio C168H/HS 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 Lib[...]
-
Seite 40
3-18 Smartio C168H/HS 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 Smartio C168 Series driver. Note that it is not intended to illustrate all the convenient functions of the setup programs when conf[...]
-
Seite 41
Software Installation Smartio C168H/HS 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.[...]
-
Seite 42
3-20 Smartio C168H/HS User ’s Manual 3. Now the configuration of the desired Smartio C168 Series 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 Smartio C168 Series board. You may skip this step and go directly to the next step 5 if you need not change[...]
-
Seite 43
Software Installation Smartio C168H/HS 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 t[...]
-
Seite 44
3-22 Smartio C168H/HS 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.[...]
-
Seite 45
Software Installation Smartio C168H/HS 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 Smartio C168 Series [...]
-
Seite 46
3-24 Smartio C168H/HS User ’s Manual Installing Driver Th e fo ll ow in g de sc rip ti on i s fo r S ma rti o C1 68 S er ie s u nd er S CO U NI X/ Op enS er ve r and UNIX SVR4.2. Step 1. Login the UNIX system as a super user (root). Step 2. Change to root directory. # cd / Step 3. Insert the UNIX driver diskette into the floppy drive A: (or B:). [...]
-
Seite 47
Software Installation Smartio C168H/HS User ’s Manual 3-25 Please select one of the following OSs: 1. SCO UNIX 2. UNIX SVR4.2 Select : Please select one of the devices where the driver diskette/files put: 1. /dev/fd0135ds18 (A: 1.44MB ) 2. /dev/fd096ds15 (A: 1.2 MB ) 3. /dev/fd1135ds18 (B: 1.44MB ) 4. /dev/fd196ds15 (B: 1.2 MB ) 5. Hard Disk /tmp[...]
-
Seite 48
3-26 Smartio C168H/HS User ’s Manual Step 7. Now you may shutdown the system and reboot. If you have trouble in booting the new UNIX kernel, use the backup kernel ( /unix.moxa or /stand/unix.moxa ) to boot your system and the system will work as before. Refer to Chapter “Troubleshooting” for more information. After the system starts up again,[...]
-
Seite 49
Software Installation Smartio C168H/HS User ’s Manual 3-27 MOXA TTY Device Naming Convention If the Smartio C168 Series is successfully configured, there will be two tty devices created for each port at /dev directory: one is non-MODEM tty (e.g. ttye11), and the other is MODEM tty (e.g. ttyE11). The two devices are actually accessing the same phy[...]
-
Seite 50
3-28 Smartio C168H/HS User ’s Manual Baud Rate Settings For Smartio C168 Series set to High Speed Spectrum , the real working speed, is exactly eight times of the speed displayed by “ stty” command. A port, if set to Normal Speed Spectrum with 38.4 Kbps, will work at 38.4 Kbps for sure; while a port, if set to High Speed Spectrum with display[...]
-
Seite 51
Software Installation Smartio C168H/HS User ’s Manual 3-29 Basic Configuration In the [Basic configuration] dialog, users can set base I/O address and interrupt, which should be the same as the hardware configuration of the boards. Kernel rebuilding is required if any setting is changed. In [getty Setting] sub-dialog, there is one noticeable fiel[...]
-
Seite 52
3-30 Smartio C168H/HS User ’s Manual others it may stand for 7-data-bit, even-parity. So, please examine the “getty default” file carefully, and make sure the terminal settings is the same. Otherwise, garbled data will be inevitable. Advanced Configuration In the [Advanced configuration] dialog, users can set baud rate mapping, Rx FIFO trigge[...]
-
Seite 53
Software Installation Smartio C168H/HS User ’s Manual 3-31 Label High/Normal Speed Normal Speed High Speed Low Band High Band High Band B50 50 57600 57600 B75 75 115200 115200 B110 110 110 230400 B134 134 134 460800 B150 150 150 921600 B200 200 200 200 B300 300 300 300 B600 600 600 600 B1200 1200 1200 1200 B1800 1800 1800 1800 B2400 2400 2400 240[...]
-
Seite 54
3-32 Smartio C168H/HS User ’s Manual Tx FIFO Trigger Tx FIFO sizes from 1 to 16 bytes are available, and the default value is 16 bytes. RTS/CTS Hardware Flow Control This feature is for more flexible driver behavior. If set to “ Disable” (default), CTS signal is not needed for tty port to transfer data and RTS/CTS hardware flow control functi[...]
-
Seite 55
Software Installation Smartio C168H/HS User ’s Manual 3-33 Terminal Emulation Th is ut il it y pr ov id es da ta se nd in g an d re ce iv ing ab il it y of a ll tt y po rt s, es pe ci al ly fo r MO XA po rt s. It is qu it e us ef ul fo r tes ti ng si mp le ap pl ic at io n, fo r ex am pl e, se nd in g AT co mm an d to a mo de m co nn ect ed to t [...]
-
Seite 56
3-34 Smartio C168H/HS User ’s Manual 2 Select and enter “Dumb Terminal” to enter terminal emulation. Or select and enter “Advance Transfer Modes” to perform pattern or file transfer with protocols such as ZModem. Driver Removal If you want to remove the Smartio C168 Series device driver and return to your previous system configuration, si[...]
-
Seite 57
Software Installation Smartio C168H/HS User ’s Manual 3-35 Setting MOXA Ports to Terminal Following procedure is how to set the MOXA port to the “Terminal” for login purpose, taking ttya11 as an example, SCO UNIX/OpenServer # enable /dev/ttye11 UNIX SVR4.2 1. Edit (e.g. use vi editor) the file /etc/ inittab. 2. Modify the tty entry from "[...]
-
Seite 58
3-36 Smartio C168H/HS User ’s Manual[...]
-
Seite 59
Smartio C168H/HS User ’s Manual 4-1 4 4 4 Se ria l P r og ra mm ing To o ls Moxa supports easy but powerful serial programming library and communication troubleshooting utilities under Windows NT, Windows 95/98, UNIX and DOS. You will save greatly the developing time, using MOXA Serial Programming Tools. The following sections will details the in[...]
-
Seite 60
4-2 Smartio C168H/HS 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[...]
-
Seite 61
Serial Programming Tools Smartio C168H/HS 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.[...]
-
Seite 62
4-4 Smartio C168H/HS 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 o[...]
-
Seite 63
Serial Programming Tools Smartio C168H/HS 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.[...]
-
Seite 64
4-6 Smartio C168H/HS User ’s Manual UNIX Programming the MOXA Ports The system calls that apply to standard tty port can also be applied to MOXA port since MOXA port conforms to UNIX tty standard. System calls are like open(), ioctl(), read(), write(), close(), etc. Please refer to your UNIX Programmer's Reference manual. However, these syst[...]
-
Seite 65
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-7 Syntax for SCO UNIX/ OpenServer #define MIBUFED 0x401 int count; /* number of bytes queued in the buffer */ ioctl(moxa_fd, MIBUFED, &count); Syntax for UNIX SVR4.2 #include <sys/stropts.h> #include <sys/sysmacros.h> #define MIBUFED 0x401 struct strioctl ioc; int count; /[...]
-
Seite 66
4-8 Smartio C168H/HS User ’s Manual Syntax for UNIX SVR4.2 #include <sys/stropts.h> #include <sys/sysmacros.h> #define MOBUFED 0x402 struct strioctl ioc; int count; /* number of bytes queued in the output buffer */ ioc.ic_cmd = MOBUFED; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&count; ioctl(moxa_fd, I_STR, [...]
-
Seite 67
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-9 setting = TurnON /* or TurnOFF */; ioc.ic_cmd = MTCRTS; ioc.ic_timout = 0; ioc.ic_len = sizeof(int); ioc.ic_dp = (char *)&setting; ioctl(moxa_fd, I_STR, &ioc); 4. MTCDTR This function, only valid when hardware flow control is turned off (see MHWFLOW), is used to drive DTR signal[...]
-
Seite 68
4-10 Smartio C168H/HS User ’s Manual until the output buffer has 'enough space' again. The criteria to tell if the output buffer has 'enough space' is whether the output buffer reached its 'low water' level. That is the output buffer will accept further data only when the 'low water' level is reached. If th[...]
-
Seite 69
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-11 Syntax for SCO UNIX/ OpenServer #define MSTATUS 0x407 int status; /* status = RS-232 line status */ /* bit0 ¡Ð CTS (1:on, 0:off) */ /* bit1 ¡Ð DSR (1:on, 0:off) */ /* bit2 ¡Ð DCD (1:on, 0:off) */ ioctl(moxa_fd, MSTATUS, &status); Syntax for UNIX SVR4.2 #define MSTATUS 0x407 #[...]
-
Seite 70
4-12 Smartio C168H/HS User ’s Manual Syntax for SCO UNIX/ OpenServer #define MHWFLOW 0x40e #define HWFlowControlOff 0x00 #define CTSFlowControlBitOn 0x01 #define RTSFlowControlBitOn 0x02 #define HWFlowControlOn 0x03 ioctl(moxa_fd, MHWFLOW, CTSFlowControlBitOn); ioctl(moxa_fd, MHWFLOW, RTSFlowControlBitOn); ioctl(moxa_fd,MHWFLOW, CTSFlowControlBit[...]
-
Seite 71
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-13 Utilities You can use the administration utility, moxaadm , to monitor port activity and to do terminal emulation , which are details as follows. Port Monitoring This utility gives you a quick view about all the MOXA ports' activities. You can easily learn each port's total r[...]
-
Seite 72
4-14 Smartio C168H/HS User ’s Manual Terminal Emulator Th is ut il it y pr ov id es da ta se nd in g an d re ce iv ing ab il it y of a ll tt y po rt s, es pe ci al ly fo r MO XA po rt s. It is qu it e us ef ul fo r tes ti ng si mp le ap pl ic at io n, fo r ex am pl e, se nd in g AT co mm an d to a mo de m co nn ect ed to t he po rt o r us ed as a[...]
-
Seite 73
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-15 2. Select and enter “Dumb Terminal” to enter terminal emulation. Or select and enter “Advance Transfer Modes” to perform pattern or file transfer with protocols such as ZModem. DOS Installation API-232 Library is the professional serial programming tool for DOS. It is installed[...]
-
Seite 74
4-16 Smartio C168H/HS User ’s Manual Utilities There are two utilities available for DOS: Data Scope and Diagnose, which are detailed below. 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 uti[...]
-
Seite 75
Serial Programming Tools Smartio C168H/HS User ’s Manual 4-17 Pl ea se se e on -li ne he lp a s run ni ng BI N SC OPE .E XE f o r m or e us age a n d c ap ab il ity in fo rm at io n. 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 f[...]
-
Seite 76
4-18 Smartio C168H/HS 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[...]
-
Seite 77
Smartio C168H/HS 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[...]
-
Seite 78
5-2 Smartio C168H/HS 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[...]
-
Seite 79
Connection Option (Opt8x) and Cable Wiring Smartio C168H/HS User ’s Manual 5-3 Type 1: To connect S m a r t i o C168 Series to a DTE device. PC COM2 port, Se rial Printe r, Term inal, or any DTE Dev ice 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[...]
-
Seite 80
5-4 Smartio C168H/HS User ’s Manual PC COM2 p ort, Se rial Printe r, Term inal, or any DTE Dev ice 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 S m a r t i o C168 Series to a DCE device. Modem , or any DCE Device Opt8A/S Null Modem Ca [...]
-
Seite 81
Connection Option (Opt8x) and Cable Wiring Smartio C168H/HS 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[...]
-
Seite 82
5-6 Smartio C168H/HS User ’s Manual Type 3: To connect S m a r t i o C168 Series to a DTE with 3-pin wiring. If the “ Hardware flow control ” feature is set to “ ON ”, you must loop back (or short) the RTS with CTS and DSR with DTR, DCD on MOXA site, indicated in dash-lines of the following diagrams. If the “ Hardware flow control ” f[...]
-
Seite 83
Connection Option (Opt8x) and Cable Wiring Smartio C168H/HS User ’s Manual 5-7 PC COM2 p ort, Se rial Printe r, Term inal, or any DTE Dev ice 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 [...]
-
Seite 84
5-8 Smartio C168H/HS 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 adapte[...]
-
Seite 85
Connection Option (Opt8x) and Cable Wiring Smartio C168H/HS 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) [...]
-
Seite 86
5-10 Smartio C168H/HS User ’s Manual RS-485 Cable Wiring for Opt8J One RS-485 connection box designed for Smartio C16 8 Series 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[...]
-
Seite 87
Connection Option (Opt8x) and Cable Wiring Smartio C168H/HS 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 dist[...]
-
Seite 88
5-12 Smartio C168H/HS User ’s Manual[...]
-
Seite 89
Smartio C168H/HS User ’s Manual 6-1 6 6 6 Tr ou bl esh oo tin g Common Smartio C168 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. Gene[...]
-
Seite 90
6-2 Smartio C168H/HS User ’s Manual Software Causes and Solutions: a. Smartio C168 Series 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 li[...]
-
Seite 91
Troubleshooting Smartio C168H/HS 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[...]
-
Seite 92
6-4 Smartio C168H/HS 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 syste[...]
-
Seite 93
Troubleshooting Smartio C168H/HS 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 Smartio C168 Series board by IO- IRQ.EXE. Then make sure the hardware configuration, including I/O addresses for each port[...]
-
Seite 94
6-6 Smartio C168H/HS User ’s Manual addresses for each port, Interrupt Vector, IRQ, is identical to that of the driver. 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 th[...]
-
Seite 95
Troubleshooting Smartio C168H/HS User ’s Manual 6-7 “Time out table overflow”: NCALL parameter too small. “File table overflow”: NFILE or NINODE parameter too small. “Region table overflow” : NREGION or NPROC parameter too small. 2. Under UNIXs, the newly rebuilt kernel could not boot. Software Causes and Solutions: The C168 driver mi[...]
-
Seite 96
6-8 Smartio C168H/HS User ’s Manual[...]
-
Seite 97
Smartio C168H/HS 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 Re f er en ce 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 ¡Ñ 16550C o[...]
-
Seite 98
A-2 Smartio C168H/HS User ’s Manual Smartio C168 Series Windows NT 3 Windows 95/98 3 DOS 3 SCO UNIX/OpenServer 3 UNIX SVR4.2 3 Linux R SCO XENIX C QNX C FreeBSD C 3 : Driver supported by Moxa and shipped with product C : Driver supported by OS R : Available by request Note: Download the newest drivers from the MOXA FTP service UART 16C550C The UA[...]
-
Seite 99
Troubleshooting Smartio C168H/HS 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 Smartio C168 Series. IO/ Address Device 000-01F DMA controller 1 020-03F interrupt controller 040-05F Timer 060-06F Keyboard 070-07F Real-[...]
-
Seite 100
A-4 Smartio C168H/HS 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 DTR 1 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 DC[...]
-
Seite 101
Problem Report Form Sm ar t i o C168 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product : Smartio C168 Series Model : o C168H o C168HS 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. PO[...]
-
Seite 102
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 pack[...]