Home

Smartio C168H/PCI User`s Manual

image

Contents

1. 1 2 Checklist 1 3 Installation Guide 1 5 Hardware Installatloti i oor rto b maa vede Oe a oe a 2 1 Installing the Smartio C168H PCI Board 2 1 Installing Connection Option Opt8X 2 2 Sottwate Installatiobis nsi ae E Otto CP Mel ee a p eda kd 3 1 Windows NT 3 1 Installing the Driver 3 2 Configuring Board and 3 12 Updating the Driver 3 17 Removing the Driver 3 17 Windows 95 98 3 18 Installing a Driver 3 19 Config
2. 6 1 Windows 6 2 Windows 95 98 6 3 Technical Reference Specifications PCI UART 16 550 DB62 Connector Pinouts 1 Introduction Overview Smartio Smart Multiport Async Solutions Smartio products represent smart multiport serial I O solutions for the modern technological world Smartio C168H PCI is designed for a 32 bit PCI bus with the plug and play feature It offers 8 serial ports for connecting terminals modems printers data acquisition equipment and other serial devices to a PC Smartio C168H PCI is a well designed fine tuned device driver and as such makes full use of the 32 byte Tx Rx FIFO and on chip H W flow control making it possible to transfer data without loss at speeds up to 921 6 Kbps This product offers a reliable and high performance solution for serial multiport communications Board Applications The Smartio C168H PCI board can be used for many applications Here are just a few e Internet Intranet Connection e Remote Access Applications e Multi
3. 5 Check the Auto Enumerating COM Name checkbox to assign consecutive COM numbers for subsequent ports For example if COM 3 is assigned to Port 1 then COM 4 will be automatically assigned to Port 2 Note Skip Steps 6 and 7 if the system does not require special performance tuning 6 Re assign the Rx FIFO Trigger by selecting a number from the pull down list Check the Set the change to all ports checkbox if you would like to apply this setting to all ports The available Rx FIFO trigger levels are 1 4 8 and 14 bytes with the default value set at 14 bytes 7 Re assign the Tx FIFO Size by selecting a number from the pull down list Make sure the Set the change to all ports checkbox is checked if you would like to apply this setting to all ports 3 28 Smartio C168H PCI User s Manual Software Installation Tx FIFO sizes are available from 1 to 16 bytes with the default value set at 16 bytes v Auto Enumerating COM Number Rx FIFO Trigger 14 Set the change to all ports Ix FIFO Size 16 Set the change to all ports a eme 8 Click OK in the Port X dialog box 9 Click OK in the C168 PCI Series Properties dialog box 10 Click OK in the Device Manager tab 11 Restart the system to activate the new configuration Updating the Driver In this section we discuss how to update the Windows 95 98 driver to enhance the function of the board 1
4. Smartio C168H PCI User s Manual 5 3 Type 1 connect Smartio C168H PCI to a DTE device OptsA S Opt8A S DB25 Female RxD TxD CTS RTS DTR DSR GND DCD OptsB C Opt8B C DB25 Male TxD RxD RTS CTS DSR DTR GND DCD 5 4 Smartio C168H PCI User s Manual Va Il SAN 0 tA amp 14 0 tA amp 2 Straight through Cable 2 1 tA amp AU Null Modem Cable b P 22 KAA 3 0 tA amp Q port Serial Printer Terminal or any DTE Device DTE Device DB25 Male TxD RxD RTS CTS DSR DTR GND DCD PC port Serial Printer Terminal or any DTE Device DTE Device DB25 Male TxD RxD RTS CTS DSR DTR GND DCD Connection Option Opt8x and Cable Wiring PC port Serial Printer Terminal or any DTE Device Opt8D DTE Device DB9 Male 25 RxD 2 2 TxD TxD 3 3 RxD CTS 8 4 RTS RTS 7 5 CTS DTR 4 6 DSR DSR 6 20 DIR GND 5 7 GND DCD 1 8 DCD Type 2 To connect Smartio C168H PCI to a DCE device b Null Modem Cable 4 2 Modem l 4 or any DCE Device Opt8A S DCE Device DB25 Female DB25 Female RxD 2 2 RxD TxD i 3 3 TxD CTS i 4 4 CTS RTS 5 a 5 RTS DTR 6 6 DTR DSR 20 20 DSR GND i 7 7 GND DCD 8 8 DCD Smartio C168H PCI User s Manual 5
5. C168 PCI BusNo x DevNo x Port12COMNX interrupt number is invalid pops up refer to the Troubleshooting chapter for help If you want to add more boards after installing the driver simply plug in the additional Smartio C168H PCI boards and they will be automatically detected by Windows 95 98 In this case skip to Port Configuration stage to take care of the port settings At this point the Smartio C168H PCI board driver installation should be complete including configuration of the board and ports Please refer to the next section Configuring Board and Port if you need to make any changes to the configuration You may start developing applications with library See Serial Programming Tools or Microsoft Win32 API as soon as the board and driver have been successfully installed and restarted You can also execute any ready made applications such as the utility Terminal Emulator See Serial Programming 3 26 Smartio C168H PCI User s Manual Software Installation Tools or HyperTerminal to transmit receive data as well as Remote Access Service to provide dial up networking capabilities Configuring Board and Port Follow the procedure listed below to re configure port COM numbers for installed boards and drivers running under Windows 95 98 Instead of following the procedures listed below you may also click on Start gt Program Files gt Moxa Utility gt Moxa Smartio Industio Configuration Pa
6. 88 1 MS Loopback Adapter Big 2 C218Turbo CP 204J Adapter B Smartio Industio Family Adapter Add Remove Properties Update Notes Smartio Industio Family Adapter 4 Click on Close to exit the Network dialog box 5 Restart the system to activate the new configuration Windows 95 98 The Windows 95 98 driver supports up to 128 serial ports from COMI to COM128 To fully utilize Windows advanced multi process and multi thread features Moxa has developed pure 32 bit virtual device port drivers VxD compliant with communication drivers for the Smartio C168H PCI and other Moxa multiport boards of these drivers conform to the Win32 COMM API standard Go directly to the section Installing a Driver for first time driver installation or to add more boards To re configure the ports for boards that are already installed refer to the section Configuring Board and Port To update a driver see the section Updating the Driver To remove a driver go to the section Removing the Driver 3 18 Smartio C168H PCI User s Manual Software Installation Installing the Driver The Plug and Play feature supported by Windows 95 98 allows you to plug the Smartio C168H PCI board into your PC and then get to work almost immediately with very little installation effort Windows 95 98 automatically detects the presence of the new board and prompts you to install
7. Open the Control Panel click on System and then select the Device Manager tab 2 Click on Moxa C168 PCI Series and then click on Properties Smartio C168H PCI User s Manual 3 29 System Properties 3 Select the Driver tab Click on Update Driver C163 PCI Series Properties Click on Have Disk and then type the path of the new driver Insert the source diskette into the floppy drive if there is one Click OK in the Install from Disk dialog box 99 04 Oy A You will be prompted to restart the system Click on Yes to restart No if you would like to wait and reboot the system later 3 30 Smartio C168H PCI User s Manual Software Installation Removing the driver This section explains how to remove the Smartio C168H PCI driver 1 Open the Control Panel double click on Add Remove Programs and then select the Install Uninstall tab 2 Clickon the Moxa Smartio Industio Driver option and then click on Add Remove to start removing the driver Add Remove Programs Properties 2 x Install Urinstall windows Setup Startup Disk To install a new program from a floppy disk or CD ROM 27 drive click Install Ihe following software can be automatically removed by Windows To remove a program or to modify its installed components select it from the list and click Add Remove Smartio Industio Driver PComm Lite Ver 2 1 Add Remove 3 Click on Yes in
8. 125264 1010 o o 126976 1024 126976 1024 o o o 125952 1015 126760 1022 o o oO 125952 1015 126300 1018 o o o 125952 1015 126032 1016 o o o o 128000 125828 126976 125648 12697 1024 125440 1011 o o oO 0 COMS Port Status Tx bytes 1s 4 r Tx History 5 z 2 e o o Rix bytes 1s p Rx History ni Port Name COMS Port Status pen Communication Parameter p Flow Control Baud Rate bps 38400 RTS Flow Control 15 20 05 Data Bits 8 CTS Flow Control N 4 4 Smartio C168H PCI User s Manual Serial Programming Tools Terminal Emulator Terminal Emulator is used to simulate various port connections allowing you to see if signal transmission is functioning correctly It features multiple windows and supports both VT100 and ANSI terminal types allowing you to transfer data interactively send patterns periodically and transfer files using ASCII XMODEM YMODEM ZMODEM and KERMIT protocols To run Terminal Emulator click on Start and then select Program Files Lite and Terminal Emulator g PComm Terminal COM44 38400 None 8 1 Dumb Terminal File Edi Manager Port Window Help 59 Filia B las s xenix386 login root Password Welcome to SCO XENIX System V fom E COM44 38400 None 8 1 Dumb Terminal D123456789abcae toni30123456789
9. 5 Select an Rx FIFO Trigger from the Rx FIFO Trigger pull down list Rx FIFO trigger levels are available at 1 4 8 and 14 bytes with the default value set at 14 bytes 6 Check Set the change to all ports checkbox if you would like to apply this Rx FIFO Trigger to all of your ports 7 Select a Tx FIFO Size from the Tx FIFO Size pull down list 3 24 Smartio C168H PCI User s Manual Software Installation Tx FIFO sizes are available from 1 to 16 bytes with the default value set at 16 bytes 8 Check Set the change to all ports checkbox if you would like to apply this Tx FIFO Size to all of your ports 9 Click OK in the Port X dialog box to confirm the port settings 10 Click OK in the Property dialog box to complete the port settings Smartio C168H PCI User s Manual 3 25 Board and Port Ready Stage There is a slight difference between the Board and Port Ready Stage for Windows 95 and Windows 98 In this stage we complete the driver installation Windows 95 Windows 98 After configuring the ports you can immediately After configuring the ports click on Finish The use the Smartio C168H PCI board COM ports Smartio C168H PCI board COM ports can be without restarting Windows 95 used without restarting Windows 98 Add New Hardware Wizard gt C168 PCI Series Windows has finished installing the software you selected that your new hardware device requires If an error message similar to
10. PnP Ethernet Adapter Close Cancel 18 Windows NT will run through some basic procedures after which you will be prompted to restart the system Click on Yes to restart the computer at this time Network Settings Change You must shut down and restart your computer before the new settings will take effect Do you want to restart your computer now Note The driver configuration will NOT take effect until you restart the PC Once the system restarts you can check the event log issued by the Moxa driver to see if the ports on the board were initialized successfully 1 From the Windows NT desktop click on Start gt Programs gt Administrative Tools Common gt Event Viewer to open the Event Smartio C168H PCI User s Manual 3 9 Viewer window ls gt 2 Locate and then highlight the Mxserp line as shown below and then press Enter Event Viewer System Log on MOXATIM 5 29 50 PM Service Control Mar None 5 29 04 PM NPort None 5 29 04 PM NPort None 5 29 04 PM NPIit None 5 29 04 NPIit None 5 28 51 PM EventLog None 5 29 04 PM D None 5 27 22 PM BROWSER None 5 27 18 PM BROWSER None 5 27 17 PM BROWSER None 5 14 37 PM Service Control Mar None 5 13 40 PM NPort None 5 13 40 PM NPort None 5 13 40 PM NPlit None 5 13 29 PM EventLog 3 10 Smartio C168H PCI User s Manual Software Installation 3 The Event Detail window opens indicating that
11. RTS DTR DSR and DTR DCD testing It can be used to verify that both the software and hardware are functioning correctly To run the Diagnostic program click on Start and then select Program Files Lite and Diagnostic ES PComm Diagnostic File Diagnose Help 2 BS C168 PCI Series Dev 10 Bus 0 0 11 1 0 0800 Communication Parameter 921600 None 8 1 Driver Version 5 1 OS Version Windows 4 10 Build 1998 C168 PCI Series COM Bi devi O Bust 0 1RQ Internal Loopback Te COM3 P1 OK COM4 P2 OK OK 5 P3 OK OK COM6 P4 OK OK COM PS OK OK COM8 P6 OK OK CONI EZ j OK OK COM10 P8 OK OK IRO Test 11 OK Test Time Ready Smartio C168H PCI User s Manual 4 3 Monitor for boards under Windows NT Only This useful port status monitoring program allows you to keep an eye on selected Moxa COM ports It monitors data transmitting receiving throughput and communication line status both of which are updated and displayed on the screen at periodic time intervals By clicking on the specific port being displayed you can see the current communication parameters and status of that port To run the Monitor program click on Start and then select Program Files PComm Lite and Monitor 3 PComm Monitor 8 Port Count Tx Count Rx CPS Rx RTS CTS DTR DSR DCD coms 126976 1024
12. User Applications e Industrial Automation e Office Automation e Telecommunications e PC based vending Machine or Kiosk System e POS Point Of Sale System Smartio C168H PCI User s Manual 1 1 PCI Solution The Smartio C168H PCI board complies with PCI Spec 2 1 and since the hardware configuration for IRQ and memory addresses is done automatically by the PCI BIOS it does not require either switches or jumpers This means that the board must be plugged in first before installing the driver software For more PCI information refer to the Technical Reference appendix Operating System Support Smartio C168H PCI supports Windows NT Windows 95 98 and DOS with user friendly installation configuration and performance Moxa Serial Comm Tool Moxa is an easy to use serial communication library that runs under Windows NT and Windows 95 98 The library comes with sample applications developed with compilers such as Visual Basic Visual C and Borland Delphi It contains the useful diagnostic monitor and terminal emulation utilities making it easy to develop your own applications Furthermore you can debug and monitor communication status terminal emulation and even file transfers Features Compact board size half size Plug and play no switches or jumpers Surge isolation protection option High speed 16C550C Communication Controller with on chip hardware flow control no data loss even at high transmiss
13. about these functions refer to the library on line Help file for Windows NT and Windows 95 98 Smartio C168H PCI User s Manual 4 7 5 Connection Option Opt8x amp Cable Wiring In serial data communications the term DTE stands for Data Terminal Equipment such as a terminal or PC COMI 2 and the term DCE stands for Data Communication Equipment such as a modem The precise pinouts and cable wiring schemes are as follows RS 232 Cable Wiring for Opt8A B C D S The RS 232 8 port connection boxes and octopus cables designed for Smartio C168H PCI are Opt8A 8 port RS 232 DB25 female connection box Opt8B 8 port RS 232 DB25 male connection box Opt8C Octopus cable with 8 male RS 232 DB25 ports Opt8D Octopus cable with 8 male RS 232 DB9 ports Opt8S 8 port RS 232 DB25 surge protected female connection box Smartio C168H PCI User s Manual 5 1 Shown below are the pin assignments for various connection options Opt8A S DCE DB25 Female e 52 2 RxD ES TxD HES spo DSR 20 4 CTS 2241 2222 E d 6 DIR a e NES GND 2 RD 8 DCD 20 DSR OptsB C DTE DB25 Male X 4 RTS 3 RxD 5 CTS 6 DSR 6 DSR 7 GND S 8 DCD 20 DTR Opt8D DTE DB9 Male 1 DCD RIS 7 2 SEE 4 DTR 5 GND 5 2 Smartio C168H PCI User s Manual Connection Option Opt8x and Cable Wiring 4 tA A DCD RxD TxD DTR GND DSR RTS CTS
14. as possible for a shorter product repair time Carefully pack the product in an anti static package and send it pre paid to the dealer The PRA should show on the outside of the package and include a description of the problem along with the return address and telephone number of a technical contact
15. the Moxa C168 PCI series board has been enabled Click on Close to close the window Date 3 14 00 EventID 43 Time 5 29 04 PM Source Mxserp User N A Type Information Computer MOXATIM Category None Description C168 PCI series with first serial port COM3 has been enabled 00 00 03 00 00 31 00 00 00 00 00 00 00 00 00 Brevious Next Note If an error message similar to Cannot find any configured Moxa Smartio Industio series board pops up see the Troubleshooting chapter for solutions You can start developing applications with the library see Serial Programming Tools or Microsoft Win32 API once the board and driver have been installed and the system has restarted successfully You may also execute ready made applications such as the amp Comm utility Terminal Emulator see Serial Programming Tools or HyperTerminal to transmit receive data as well as Remote Access Service to provide dial up networking capabilities Smartio C168H PCI User s Manual 3 1 1 Configuring Board and Port Re Configuring Port Settings If the driver is already installed and you only need to re configure the ports either click on Start gt Program Files Moxa Utility gt Moxa Smartio Industio Configuration Panel gt Property or follow steps 1 5 listed below and then refer to steps 11 18 from the previous subsection 1 From the Windows NT desktop click on Start gt Control Panel to open t
16. the driver software You will need the driver diskette to do this A maximum of 4 Smartio C168H PCI boards can be installed on one system provided the system s I O addresses and IRQ number resources are sufficient and available The following flow chart illustrates the driver installation stages for the Smartio C168H PCI boards Each stage of the procedure will be discussed in more detail later Smartio C168H PCI User s Manual 3 19 Install the Smartio PCI board in the Start Windows 95 98 to detect the board Driver installed before Install the driver from the diskette See First Time Driver Installation Stage section Configure the ports See Port Configuration Stage section The ports of the Smartio C168H PCI board are ready to work See Board and Port Ready Stage section 3 20 Smartio C168H PCI User s Manual Software Installation First Time Driver Installation Stage This stage is relevant if you are adding the first Smartio C168H PCI board to your PC and are installing the driver for the first time The installation of the Smartio C168H PCI board for Windows 95 and Windows 98 is slightly different and will be described in two separate columns The left column is for Windows 95 and the right column for Windows 98 If a Moxa C168H PCI board has previously been installed and you are adding another board the system will prompt you to skip to the Port Configuration Stage discussed in the next sectio
17. 5 IN Straight through Cable 3 Modem Opt8B C d on any DCE Device Opt8B C DCE Device DB25 Male DB25 Female TxD 2 2 RxD RxD i 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 gt 4 DRIED 4 or any DCE Device Opt8D DCE Device DB9 Male DB25 Female RxD 2 2 RxD TxD D 22 20 TxD CTS 8 4 CTS RTS 7 5 RTS DTR 4 6 DTR DSR 6 20 DSR GND 5 7 i GND DCD 1 8 DCD 5 6 Smartio C168H PCI User s Manual Connection Option Opt8x and Cable Wiring Type 3 To connect Smartio C168H PCI to a DTE with 3 pin wiring If the Hardware flow control feature is set to ON you must loop back or short RTS with CTS and DSR with DTR DCD on the Moxa side indicated with dash lines in the following diagrams If the Hardware flow control feature is set to OFF you can just leave RTS CTS DSR DTR DCD open ignoring the connections indicated with dashed lines PC port Serial Printer Opt8A S i Terminal or any DTE Device Opt8A S DTE Device DB25 Female DB25 Male RxD 2 2 TxD TxD 3 3 RxD GND 7 7 GND RTS 5 03 4 RTS CTS 4 o 5 CTS DTR 20 1 S 6 DTR DST 6 SEM 20 DSR DCD p ge em g DCD ommo e Opt8B C DTE Device DB25 Male 1 DB25 Male TxD ne lt Q uc c M TxD RxD 3 3 RxD
18. 54 9 DSR4 31 DTR4 52 RTS4 10 DCD4 32 GND 11 RxD5 33 TxD5 53 CTS5 12 DSR5 34 DTRS 54 RTS5 13 DCD5 55 GND 14 TxD6 35 RxD6 56 CTS6 15 DTR6 36 DSR6 57 RTS6 37 DCD6 58 GND 16 RxD7 38 TxD7 59 CTS7 17 DSR7 39 DTR7 60 RTS7 18 DCD7 40 GND 19 RxD8 41 TxD8 61 CTS8 20 DSR8 42 DTR8 62 RTS8 21 DCD8 Smartio C168H PCI User s Manual A 3 A 4 Smartio C168H PCI User s Manual Problem Report Form Smartio C168H PCI Customer name Company el E mail Moxa Product L1 C168H PCI Serial Number Moxa Driver version Moxa hardware settings PCI Slot number Operating System DOS O Windows 95 98 Windows NT 3 51 L1 Windows NT 4 0 O Others PC Host Make Model CPU Speed MHz Make Model BIOS Make Version PCIIRQ Configuration in BIOS Problem Description Please describe the symptom as clearly as possible including any error messages We may need to follow your description in order to reproduce the symptom Board not found Board found but cannot transfer data Can transfer data but data lost Can transfer data but data is garbled Others Please give a detailed error message description Return Procedure For product repair exchange or refund the customer must Provide evidence of original purchase Obtain a Product Return Agreement PRA from the sales representative or dealer Fill out the Problem Report Form PRF including as much detail
19. GND 7 7 GND RTS i d n pe 4 RTS CTS e eee 5 CTS DSR GOOF X 6 DTR DTR 2 20 DSR DCD a 8 DCD Smartio C168H PCI User s Manual 5 7 E y d PG 2 port Serial Printer UK Terminal or any DTE Device Opt8D DTE Device DB9 Male DB25 Male RxD 2 2 TxD TxD 3 3 RxD GND i 5 7 GND RTS do ERE Fares 4 RTS CTS 8 4 Benes 5 CTS DTR 4 s 6 DTR DSR B 20 DSR DCD poe 000 i 8 DCD 5 8 Smartio C168H PCI User s Manual Connection Option Opt8x and Cable Wiring RS 422 Cable Wiring for Opt8J F Z RS 422 connection boxes designed for Smartio C168H PCI boards are Opt8J Connection box with 8 female RS 422 485 DB25 ports Set the port switch to the OFF position RS 422 for the desired port s 8 Connection box with 8 female RS 422 DB25 ports and a maximum of 500V DC isolation protection helping to prevent damage caused by high potential voltage Opt8Z Connection box with 8 female RS 422 DB25 ports but without isolation protection RS 422 Pinouts for Opt8J F Z pt8J F Z 2 RxD B 3 TxD B H 13 RTS A 14 RxD A Se 16 TxD A 7 GND 7 GND 4 CTS B Hi 5 RTS B CTSHE 13 RTS A Opt8J only HIIS 19 CTS A The RS 422 transmission distance be as much as 4000 ft and consequently the connection box needs an external power adapter to sup
20. IRQ settings first and then select an available IRQ 2 After the system reboots the error message Cannot find any configured Moxa Smartio Industio series board appears in the Event Log Make sure the PCI board is seated firmly in the expansion slot 3 COM number of the Smartio C168H PCI Bus No x Dev No x Port12COMXx with device number xx conflicts with others 6 2 Smartio C168H PCI User s Manual Troubleshooting Different boards have conflicting COM numbers Change the Moxa board s COM number mappings 4 Windows NT system panic blue screen One possible reason is an IRQ or I O address conflict with other ISA Bus adapters such as LAN and SCSI boards or the system BIOS Refer to the corresponding problem in the previous General Troubleshooting section for solutions Windows 95 98 This section is specific for troubleshooting under Windows 95 98 For general problems and solutions see the previous section General Troubleshooting 1 The system cannot find the Smartio C168H PCI board The boards are not properly plugged in The slot being used is defective Try other slots until you find one that works The board might be defective 2 After the system reboots the error message 168 BusNo x DevNo x Port12COMX interrupt number is invalid appears This indicates that the Moxa board has been found but the IRQ that was assigned conflicts with another adapter Make sure the Mox
21. Installation If system restart is successful you may develop or execute desired applications See chapter 4 Serial Programming Tools Smartio C168H PCI User s Manual 1 5 2 Hardware Installation Installing Smartio C168H PCI consists of both hardware and software installation This chapter describes how to install the hardware and in the next chapter we discuss software installation The no switch no jumper Smartio C168H PCI board hardware configuration is straightforward since the IRQ number and I O addresses are automatically assigned by the PCI BIOS This means that the board MUST be plugged in before installing the driver software Installing the Smartio C168H PCI Board Step 1 Turn off the PC and disconnect the power cable Make sure your system is turned off before installing an expansion board If you do not first shut down the computer you risk damaging both the PC and the board Step 2 Remove the PC cover Step 3 Remove the slot cover bracket if there is one Step 4 Plug the Smartio C168H PCI s into the PC s free PCI expansion slot s Step 5 Fasten the holding screw to fix the control board in place Step 6 Replace the system cover Step 7 Connect one of the connection boxes cables and adapter if required detailed in the next section Smartio C168H PCI User s Manual 2 1 Step8 Turn on your PC The BIOS will automatically assign and memory address Note Each board mu
22. Smartio C168H PCI User s Manual 8 Port Serial Board for PCI Bus Fourth Edition June 2008 This manual is also available on CD ROM and at the Moxa web site MOXA 2008 Moxa Inc all rights reserved Reproduction without permission is prohibited Smartio 168 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 that agreement Copyright Notice Copyright 2008 Moxa Inc rights reserved Reproduction without permission is prohibited Trademarks MOXA is a registered trademark of Moxa Inc other trademarks or registered marks in this manual belong to their respective manufacturers Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of Moxa Moxa provides this document is without warranty of any kind either expressed or implied including but not limited to its particular purpose Moxa reserves the right to make improvements and or changes to this manual or to the products and or the programs described in this manual at any time Information provided in this manual is intended to be accurate and reliable However Moxa assumes no responsibility for its use or for any infringements on the rights of third parties that may result from its use This product might include unintentional technical or typographical errors Changes are peri
23. a board s IRQ does not conflict with another adapter s IRQ setting Check the PCI BIOS IRQ settings and select an available IRQ for the Moxa board Smartio C168H PCI User s Manual 6 3 Technical Reference Specifications Bus interface 32 bit PCI PCI Spec 2 1 compliance Number of ports 8 Max No of boards 4 X v fe X S lt IRQ Assigned by PCI BIOS I O address Assigned by PCI BIOS Speed bps 50 921 6 Kbps Data bits 5 6 7 8 Stop bits 1 1 5 2 Parity none even odd space mark 8 X 16C550C or compatible Data signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND RS 422 TxD RxD GND Opt8J RTS CTS RS 485 Data GND Connectors 8 DB25 DB9 male female DTE DCE Operating temp 0 55 C Power requirement 180 mA 5V 110 mA 12 160 mA 12V Dimensions 123 X 100 mm Operating Systems Window NT 95 98 and DOS X v fe ko fe S X v fe v PCI The 32 bit Smartio C168H PCI board complies with PCI specifications 2 1 Hardware configurations for IRQ and I O addresses are automatically assigned by the PCI BIOS Hence you must first plug the board in before installing the driver software Unlike ISA slots different PCI slots in the same PC may have different bus numbers and device numbers with respect to the PCI specifications The same PCI board will have different system configurations if
24. abcdefghij0123456769abcde fghij01234 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 i OTR n123456789abcdefghij0123456789abcdefghij01234567893abcdefghij0123 TERM ansi RTS p123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdefghij0123456789abcdefghij0123 0123456789abcdefghij0123456789abcdef ou have mai Smartio C168H PCI User s Manual 4 5 RS 485 Programming for Opt8J If you intend to use Opt8J for RS 485 communications follow the RS 485 programming guide given below and refer to the chapter Connection Option Opt8x and Cable Wiring for more Opt8J RS 485 operation details The Opt8J option only supports 2 wire half duplex RS 485 communications Data pins are used for both data transmitting and receiving depending on the RTS signal The port switch for each port should be set to the O
25. at the port is set to full duplex i e it is always ready to simultaneously transmit and receive data RS 485 Mode Set the DIP switch to the ON position to use 2 wire RS 485 communication This means that the port is set to half duplex i e it can transmit data only when RTS is asserted and can receive data only when RTS is not asserted Refer to the chapter Connection Option and Cable Wiring for RS 422 485 cable wiring specs and to the chapter Serial Programming Tools for Opt8J RS 485 programming details Smartio C168H PCI User s Manual 2 5 3 Software Installation In this chapter we describe driver installation and configuration and driver update and removal procedures for Windows NT 95 98 You must first complete the hardware installation before proceeding with the software installation If you wish to develop your own applications please refer to the next chapter Serial Programming Tools for a discussion of serial programming issues Windows NT Windows NT can support up to 256 serial ports from COMI to 256 To fully utilize Windows NT s advanced multi process and multi thread features Moxa has developed pure 32 bit device drivers for Smartio C168H PCI and other Moxa multiport boards These drivers all conform to the Win32 COMM API standard Go directly to the section Installing the Driver to install the driver for the first time Refer to the section Configuring Board and Port to learn how t
26. bracket connector and then carefully tighten the attachment screws Pl P2 P3 o Ooo Li C P5 P6 P7 P8 Smartio C168H PCI Opt8C Opt8D Smartio C168H PCI User s Manual 2 3 Opt8J Opt8F Opt8Z Plug one end of the DB62 cable into Smartio C168H PCT s DB62 bracket connector and then carefully tighten the attachment screws After that plug the other end of the cable into the RS 232 connection box s DB62 connector Note that both ends of the cable are identical Don t forget to attach the Opt8J F Z s power adapter Hf oc e o 1 E e E je Opt8F Opt8Z Opt8J Smartio C168H PCI Refer to the chapter Connection Option 8 and Cable Wiring for RS 232 422 485 cable wiring and refer to the chapter Serial Programming Tools for RS 232 422 485 programming details Operating Opt8J Opt8J is an RS 422 485 connection box that is used with Moxa s 8 port boards including Smartio C168H PCI It has 8 female DB25 port connections and 8 DIP switches on the side with each switch used to set the communication mode RS 422 or RS 485 of one port 7 RS 422 485 Port Switch of Opt8J on 2 4 Smartio C168H PCI User s Manual Hardware Installation RS 422 Mode Set the DIP switch to the OFF position to use the RS 422 interface This means th
27. ck on Start gt Program Files gt Moxa Utility gt Moxa Smartio Industio Configuration Panel Property or follow steps 1 5 listed below and then refer to steps 11 18 from the previous section 1 From the Windows NT desktop click on Start gt Control Panel to open the Control Panel Programs Documents J Control Panel ss Printers Taskbar 3 14 Smartio C168H PCI User s Manual Software Installation 2 Click on the Network icon shown highlighted in the figure below Control Panel x File Edit View Help Accessibility Add Remove Console Date Time Devices Options Programs Display Fonts Intemet Keyboard Modems amp Mouse Multimedia PCMCIA Configures network hardware and software 2 3 Select Moxa Smartio Industio Family Adapter from the Network Adapters list and then click on Properties Identification Services Protocols Adapters Bindings Network Adapters EF 1 Accton 1 MPX2 PnP Ethernet Adapter smartio Industio Family Adapter Add Bemove Properties Update Item Notes MOXA Smartio Industio Family Adapter 4 The Moxa Smartio Industio Configuration Panel opens Click on Property to continue Smartio C168H PCI User s Manual 3 15 vector 6 Now refer to steps 10 18 in First Time Installing Driver from the Windows NT section Removi
28. he Control Panel Programs e Documents Settings J Control Panel Printers Taskbar Shut Down Windows NT Workstation 2 Click on the Network icon shown highlighted in the figure below File Edi View Help f m e eS Accessibilty Add Remove Console Date Time Devices Options Programs By Display Internet Keyboard PCMCIA Ranional CCCI Adantars Garver Configures network hardware and software 3 Select Moxa Smartio Industio Family Adapter from the list on the Adapters page and then click on Properties 3 12 Smartio C168H PCI User s Manual Software Installation EF 1 Accton 1 2 PnP Ethernet Adapter 2 tio Industio Famil pter Smartio Industio Family Adapter L UO address 6100 Once the Property window opens follow steps 11 to 18 from the previous section to change the configuration settings Smartio C168H PCI User s Manual 3 13 Property x Board Type er 68 PCI Series Bus Dev 05 Z INT vector Interrupt No 41 Base W O Port Address 6100 Port COM No Rx FIFO Trig Tx FIFO Size Configuring Another C168H PCI Board Read this section if you are installing another Moxa C168H PCI board As long as the Windows NT system has sufficient resources up to four C168H PCI boards can be installed on one system To proceed either cli
29. herefore these two utilities will not work on other brands of serial board Once has been successfully installed click on Start and select Program Smartio C168H PCI User s Manual 4 1 Files and the Lite group to bring up a list of utilities and documents Programming Library The serial communication library assists you in developing serial communication programs for any COM port that complies with Microsoft Win32 API It facilitates the implementation of multi process and multi thread serial communication programs thus reducing program developing time by a remarkable amount This serial communication library provides a complete library of functions and sample programs for Visual C Visual Basic and Delphi To view detailed function descriptions and sample programs click on Start gt Program Files gt Lite gt Lib Help and then Porting Notes or Programming Guide Alternatively you may also refer to the sample programs located in the Comm directory Utility Given below are brief descriptions of each utility For more information please see the on line help located on the diskette 4 2 Smartio C168H PCI User s Manual Serial Programming Tools Diagnostic for Moxa boards only This convenient diagnostic program which ONLY works for Moxa boards and ports provides internal and external testing capabilities including IRQ TxD RxD UART CTS
30. ion speeds Windows NT 95 98 device drivers and serial comm tool Bus interface 32 bit PCI Number of ports 8 I O address assigned by PCI BIOS IRQ assigned by PCI BIOS Data bits 5 6 7 8 Stop bits 1 1 5 2 Parity none even odd space mark UART 8 X 16C550C or compatible Speed 50 921 6 Kbps Connectors 8 X DB25 DB9 male or female Data signals RS 232 TxD RxD RTS CTS DTR DSR DCD GND X S fe fe fe fe fe X 2 e 1 2 Smartio 168 User s Manual Introduction RS 422 TxD B TxD A RxD B RxD A GND Opt8J RTS B RTS A CTS B CTS A RS 485 Data B Data A GND Operating temp 0 55 Power requirement 180 mA max 45V 110 mA max 12V 160 mA max 12V Dimensions 123 X 100 cm Popular OS supported 168 Windows NT Y Windows 95 98 Y Dos R 4 Driver supported by Moxa and shipped with product R Driver supported by Moxa and shipped by request Note You can download the latest driver versions for the above OS from the Moxa FTP service Drivers for other OS may also be available Check the Moxa web site for complete information Checklist Smartio C168H PCI is shipped with the following items Smartio CI68H PCI 8 port serial board Software CD containing e Windows NT and Windows 95 98 device dr
31. iver click Next to continue Location of driver c ANWIND WS S5AMXSIBRD INF Port Configuration Stage After the driver has been installed the C168 PCI Series Installation dialog box will be displayed and the port mapping will be taken care of automatically by the system If one Moxa C168H PCI board was previously installed and you are adding another board to your system you will be prompted to follow the port configuration instructions discussed in this section 1 Click on a specific port 2 Click on Port Setting to open the Port X dialog box Smartio 168 User s Manual 3 23 C168 PCI Series Installation INT Vector 6800 Interrupt No 11 Y Base l O Port Address ym PCI Bus Number is 0 and Device Number is 11 Port COM No Rx FIFO Trig Tx FIFO Size COM 3 1 2 4 14 16 3 COMS 14 16 4 COMB 14 16 5 COM 14 16 6 COM 8 14 16 7 COM9 14 16 8 COMID 14 16 Port Setting OK Cancel 3 Selecta COM number for the port from the Port Number pull down list Note Skip step 4 if you wish to manually assign COM numbers to your ports 4 Click on the Auto Enumerating COM Number checkbox to have subsequent ports mapped to consecutive COM numbers For example if COM 3 is assigned to Port 1 then COM 4 will be automatically assigned to Port 2 Note Skip steps 5 to 8 if your system does not require special performance tuning
32. ivers e Lite This User s Manual One of the following connection options Opt8A Opt8B Opt8S RS 232 connection box with 8 DB25 female male ports surge protection for Opt85 1 5 meter DBG2 to DB62 cable Smartio C168H PCI User s Manual 1 3 Opt8C Opt8D RS 232 octopus cable with 8 male DB25 port connectors for Opt8C DB9 for Opt8D 1 meter long Opt8F Opt8Z RS 422 connection box with 8 female DB25 port connectors isolation protection for Opt8F 1 5 meter DB62 to DB62 cable PS 110V or 220V adapter included Opt8J RS 422 485 connection box with 8 female DB25 port connectors 1 5 meter DB62 to DB62 cable 110V or 220V adapter included 1 4 Smartio C168H PCI User s Manual Introduction Installation Guide This section gives a brief summary of how to install Smartio C168H PCI for each supported operating system Installation is simple and involves the following stages Check PCI BIOS settings Install Smartio C168H PCI board See chapter 2 Hardware and connection option cable box Installation Install software from diskette See the respective OS section and configure driver for board and ports from chapter 3 Software Installation Connect cables to the devices See chapter 5 Connection Option 8 and Cable Wiring for cable wiring specs Restart system See chapter 3 Software Check the driver initialization status
33. le or board could be defective Try other ports cables and boards to verify this or use PComm Diagnostic utility to test the Moxa board and port conditions If Diagnostic reports an error replace the faulty components Software Causes and Solutions C TheSmartio C168H PCI board will check the line status CTS before transmitting data if the RTS CTS flow control feature is set to Enable in either the configuration or application program Refer to the Connection Option Opt8x and Cable Wiring chapter for proper wiring specs and check the line status of the suspected port using the diagnostic LED indicators on the mini tester D The board controlling application might not be written correctly for the corresponding API of the operating system To see if this is the case run another application that you know is good or use utilities provided by Moxa You can either use Terminal emulator or HyperTerminal under Windows NT and Windows 95 98 Windows NT This section is specifically for troubleshooting under Windows NT For general problems and solutions see the previous section General Troubleshooting 1 After the system reboots the error message Another driver in the system which did not report its resources has already claimed the interrupt used by xxx appears in the Event Log This indicates that the Moxa board was found but the IRQ that was assigned conflicts with another adapter s IRQ setting Check the PCI BIOS
34. lots as described in the previous chapter 1 Log onto your NT system as the administrator 2 Fromthe Windows NT desktop click on Start Control Panel to open the Control Panel 3 2 Smartio C168H PCI User s Manual Software Installation Control Panel Printers BR Taskbar Windows NT Workstation 3 Click on the Network icon shown highlighted in the figure below in the Control Panel window J Control Panel Of File Edit View Help B S Accessibility Add Remove Console Date Time Devices Options Programs Internet Keyboard Modems Multimedia PC Card PCMCIA e 5 Rani 1 Adanters Sonar Tm network hardware and software 2 4 Click the Adapters tab and then click the Add button Smartio C168H PCI User s Manual 3 3 Update 5 Click on Have Disk in the Select Network Adapter window Select Network Adapter 3 16 bit Ethernet Adapter EF 3Com Etherlink Il Adapter also 1216 and 1216 TP 9 3Com Etherlink IIl ISA PCMCIA Adapter B 3Com EtherLink Ill PCI Bus Master Adapter 30590 BIB 3Com Etherlink16 EtherLink16 TP Adapter 6 Specify the exact path of the driver disk G Windows nt for the example shown below use a different drive letter A C etc if the disk is located in a different drive and then click OK to continue 3 4 Smartio C168H PCI User s Manual Software Installati
35. m 3 The suggested termination resistor for phone cable is 600 ohm 5 12 Smartio C168H PCI User s Manual 6 Troubleshooting In this chapter we list several problems that could arise when using Smartio C168H PCI and solutions you can follow to fix the problems If you are unable to find a solution to your particular problem in this chapter contact either a dealer or Moxa for help To receive a quicker response from your dealer please use the Problem Report Form at the end of this manual General Troubleshooting 1 While installing the driver the Moxa driver is unable to detect the Moxa PCI board Hardware causes and solutions A board is not installed Please install it B The board is not properly plugged into the system If this is the case re plug the board into a 32 bit PCI slot It may also be the case that the slot you ve chosen could be damaged In this case try other slots until you find one that works C The motherboard does not have an available IRQ for the C168H PCI board In this case enter the BIOS and make sure an IRQ is available in the PCI PnP settings 2 Moxa board and driver are activated but cannot transfer data either transmitting or receiving Hardware Causes and Solutions A Check to see if the cable is wired correctly Refer to the Connection Option Opt8x and Cable Wiring chapter for correct cabling information Smartio C168H PCI User s Manual 6 1 B Either the cab
36. n 1 Upon detecting the first new Smartio C168H PCI board Windows 95 98 will automatically display a New hardware found message box after which the following dialog boxes will pop up Click on Next to continue Windows 95 Windows 98 Update Device Driver Wizard Add New Hardware Wizard Smartio C168H PCI User s Manual 3 21 3 In the Select Other Location window type 3 Select Other Devices then click on Next A Windows 95 in the Location text input box and then click OK This prompts the system to start copying the files from the diskette Add New Hardware Wizard Select Other Location e 4 Click on Finish update Driver Device Wizard 5 Type A Windows 95 and then click OK This prompts the system to start copying the files from the diskette to your harddrive Install From Disk 3 22 Smartio C168H PCI User s Manual Software Installation 6 Click on Next Select the manufacturer and model of your hardware device If you have disk that contains the updated driver click Have Disk To install the updated driver click Finish Models 7 Click on Next CNET ce Add New Hardware Wizard Windows driver file search for the device C168 PCI Series Windows is now ready to install the selected driver for this device Click Back to select a different dr
37. n position The port is used for transmitting data if RTS is asserted and is used for receiving data if RTS is not asserted This RTS scheme is suitable for any system that permits RTS control from within application programs This includes Windows NT Windows 95 98 DOS and UNIX How to transmit and receive data under Windows NT and Windows 95 98 We recommend that you configure Smartio C168H PCI ports as follows to acquire precise timing control when using RS 485 2 wire transmission There are 2 ways to control RS 485 2 wire transmission Solution 1 The following model is commonly used for RS 485 2 wire transmission sio SetWriteTimeouts port 0 Set sio write into block mode sio RTS port 1 Turn on RTS signal The RS 485 port is ready for transmitting data sio write port buff 10 Write 10 byte characters in buff The function blocks until last character transmitted sio RTS port 0 Turn off RTS signal The RS 485 port is ready for receiving data sio read port buff 10 Read 10 bytes 4 6 Smartio C168H PCI User s Manual Serial Programming Tools Solution 2 The library contains a dedicated RS 485 function that integrates the functions given in solution 1 regarding sending data sio putb x port buff tick 1 Turn on RTS ready for transmitting data 2 Send data 3 Wait for tick time 4 Turn off RTS ready for receiving data For more information
38. nel gt Property gt Port Setting Since this is a PCI board the system will automatically add or remove the board s configuration once the board has been added or unplugged This saves you the effort of adding or removing the configuration manually 1 3 4 Open the Control Panel click on the System icon select the Device Manager tab and then choose Moxa Smartio Industio multiport board Click on the desired C168H PCI board entry and then click on Properties General Device Manager Hardware Profiles Performance View devices by type View devices by connection 3 Disk drives H Display adapters Floppy disk controllers Hard disk controllers Monitors Sy Mouse Bg Moxa Smartio Industio multiport board C168 PCI Series 08 89 Network adapters 9 9 Ports COM amp LPT System devices gge t 80 0 F 9 Properties Refresh Remove Print Select the Ports Configuration tab Click on a port and then click on Port Setting to re assign the COM number for the Smartio C168H PCI port mapping Smartio C168H PCI User s Manual 3 27 C168 PCI Series Properties 2 x General Ports Configuration Driver Resources V INT Vector Interrupt No 1 E Base W O Port Address eoo PCI Bus Number is 0 and Device Number is 11 NT Skip Step 5 if you would like to manually assign COM numbers to the ports
39. ng an Existing C168H PCI Board Configuration One option is to simply unplug the C168H PCI board while the computer is shut down After restarting the computer you will find that the configuration has been automatically removed Alternatively you could perform the removal from the Moxa Smartio Industio Configuration Panel dialog box by highlighting the 3 16 Smartio C168H PCI User s Manual Software Installation board to be removed and then clicking on the Remove button Updating the Driver To update the Smartio C168H PCI driver you must first remove the exiting driver and then install the new driver Da Open Control Panel click on the Network icon and then select the Adapters tab Choose Moxa Smartio Industio Family Adapter from the Network Adapters list Click on Remove in the Network dialog box Click on Close in the Network dialog box Restart the system To install a new driver refer to steps 1 to 21 in the subsection First Time Installing Driver from the Windows NT section Removing the Driver To remove the Smartio C168H PCI board driver you should 1 Open Control Panel click on the Network icon and then select the Adapters tab Choose Moxa Smartio Industio Family Adapter from the Network Adapters list Click on Remove in the Network dialog box Smartio C168H PCI User s Manual 3 17 Network 2 Identification Services Protocols Adapters Bindings Network Adapters
40. o re configure a board that is already installed Refer to the section Updating the Driver for information on how to update the driver for a board that is already installed Refer to the section Removing the Driver to see how to delete a driver from your system Smartio C168H PCI User s Manual 3 1 Installing the Driver The key step in installing the Windows NT driver for your Moxa Smartio C168H PCI board is the Moxa Smartio Industio Configuration Panel shown below You will either click on Add Remove or Property depending on whether you are installing the driver for the first time removing the driver or simply updating the configuration Moxa Smartio Industio Configuration Panel x Board Type address INT vector IRQ Bus Dev COM Number Property e If you are installing a board for the first time or you are installing an additional board you will use the Add button If you would like to remove a board you will use the Remove button e To update the configuration properties of a particular board you will use the Property button The following sections contain details of how to add configure and remove a driver First Time Installation In this section we give the procedure you should follow to install the Smartio C168H PCI driver for the first time under Windows NT 3 51 4 0 To begin with make sure that all of the boards have been properly plugged into your system s PCI s
41. odically made to the information herein to correct such errors and these changes are incorporated into new editions of the publication Technical Support Contact Information www moxa com support Moxa Americas Moxa China Shanghai office Toll free 1 888 669 2872 Toll free 800 820 5036 Tel 1 714 528 6777 Tel 86 21 5258 9955 Fax 1 714 528 6778 Fax 86 10 6872 3958 Moxa Europe Moxa Asia Pacific Tel 49 89 3 70 03 99 0 Tel 886 2 8919 1230 Fax 49 89 3 70 0399 99 886 2 8919 1231 Moxa Internet Services Customer satisfaction is one of our number one concerns To ensure that customers receive the full benefit of our products Moxa Internet Services has been set up to provide technical support driver updates product information and user s manual updates The following services are provided E mail for technical support support moxa com tw FTP site for free driver updates ftp ftp moxa com rp ftp ftp moxa com tw user 0 password your email address World Wide Website for product information da di www moxa com or pe me WWW moxa com tw About This Manual This manual comprises six chapters and one appendix and is written for the installer system administrator and software programmer If you are a first time installer and system administrator we recommend that you read the eve
42. on Insert Disk 7 Click on Moxa Smartio Industio Family multiport board from the Select OEM Option window to highlight it and then click OK to begin installing the driver Select OEM Option Intellio Family Multiport Board ti MOXA Smartio Industio Family multiport board 8 The Setup window will appear briefly to indicate that program files are being copied to the specified directory 9 The Moxa Smartio Industio Configuration Panel window appears Click the Add button to open the Property info box to change port settings and advanced FIFO configurations Smartio C168H PCI User s Manual 3 5 Moxa Smartio Industio Configuration Panel Remove 10 Select C168 PCI Series board from the Board Type pull down list Click on a specific port in the Port info box and then click on Port Setting to open the Port X properties window 1 11796210 Note Step 11 is optional if you wish to manually assign COM numbers to ports 11 Select COM number for the port from the Port Number pull down list 3 6 Smartio C168H PCI User s Manual Software Installation Pise Auto Enumerating COM Number Rx FIFO Trigger 14 Set the change to all ports Ix FIFO Size 16 Set the change to all ports ma 12 Check the Auto Enumerating COM Number checkbox to have subsequent ports mapped to con
43. ply 5V DC power Either a 110V or 220V AC power adapter can be used with this product depending on your company s power supply Smartio C168H PCI User s Manual 5 9 Given below are the RS 422 operation modes RS 422 Point to point RS 422 Broadcasting Opt8F Z RS 422 Device Opt8F Z RS 422 Device 3 TxD B RxD B 3 TxD4 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 TxD A 7 GND GND 7 GND GND RS 422 Device N RxD B TxD B RxD A TxD A GND Opt8J RS 422 with Handshaking Opt8J RS 422 Device 3 TxD B RxD B 16 TxD A RxD A 2 RxD B TxD B 14RxD A TxD A 7 GND GND 5 RTS B CTS B 13RTS A A CTS A 4 5 48 A RTS B 19CTS A RTS A 5 10 Smartio C168H PCI User s Manual Connection Option Opt8x and Cable Wiring RS 485 Cable Wiring for Opt8J One of the RS 485 connection boxes designed for Smartio C168H PCI is Opt8J Connection box with 8 female RS 422 485 DB25 ports Set the port switch to the ON position The Opt8J option only supports 2 wire half duplex RS 485 communication Data pins are used for both data transmitting and receiving depending on the RTS signal RS 485 Pinouts for Opt8J HE Opt8J Se es 7 GND es 16 Data A 2 Multidrop RS 485 Half duplex Point to Poin
44. rything except chapter 4 Serial Programming Tools If you are a software programmer refer to chapter 4 Serial Programming Tools If you need cable wiring information see chapter 5 Connection Option Opt8x and Cable Wiring If you encounter installation problems refer to chapter 6 Troubleshooting Chapter 1 Introduction This chapter gives an overview features package check list and overall installation guide for C168H PCI Chapter 2 Hardware Installation Details the hardware installation procedure for C168H PCI and discusses the Opt8x connection option Chapter 3 Software Installation Describes the software installation procedure board and port configuration as well as driver updating and removal for Windows NT 95 98 operating systems Chapter 4 Serial Programming Tools Gives a rough description of the programming tools for various OS platforms including Lite under Windows NT 95 98 The Opt8J RS 485 programming issue is also discussed Chapter 5 Connection Option Opt8x and Cable Wiring This chapter describes RS 232 422 485 cable wiring for each connection option Opt8x Chapter 6 Troubleshooting Discusses problems that could arise when using C168H PCI and solutions to overcome the problems Appendix Technical Reference This chapter describes specifications PCI UART and DB62 pinouts Table of Contents edet du ess au sal 1 1 Ove E 1 1 Features
45. secutive COM numbers For example if 3 is assigned to Port 1 then COMA will be automatically assigned to Port 2 etc Note You may skip steps 13 and 14 if the system does not require special performance tuning 13 Select an Rx FIFO Trigger from the Rx FIFO Trigger pull down list Check the Set the change to all ports checkbox if you want to apply this Rx FIFO Trigger to every port 14 Select a Tx FIFO Size from the Tx FIFO size pull down list Check the Set the change to all ports checkbox if you want to apply this Tx FIFO Size to all ports 15 Click OK in the Port X window to confirm the port settings and return to the Property window Click OK to complete the port settings Smartio C168H PCI User s Manual 3 7 16 The Moxa Smartio Industio Configuration Panel window reopens indicating that the Smartio C168H PCI board has been successfully installed Click OK to continue M Moxa Smartio Industio Configuration Panel 17 The Network window Adapters page opens with the newly installed Moxa board listed Click on Close to close the window 3 8 Smartio C168H PCI User s Manual Software Installation Network Identification Services Protocols Adapters Bindings Network Adapters B3 1 Accton EN166x MPX2 PnP Ethemet Adapter BI 2 Smartio Industio Family Adapter Bemove Bropettes Update Item Notes Accton 166 MPX2
46. st occupy one unique IRQ and one unique memory address assigned automatically by the PCI BIOS You may however use the PC s PCI slot BIOS setup to manually assign a free IRQ number This method however is usually not available to assign the memory address The IRQ numbers that can be used are 2 3 4 5 9 10 11 12 and 15 The I O addresses that can be used range from 0x0000 to OxFFFF Step 9 Proceed with the software installation detailed in the next chapter Software Installation Installing Connection Option Opt8x Use one of the following connection options to set up your Smartio C168H PCI After that connect your modem serial printer PC COMI 2 bar code reader POS device instrument or any other serial device to the board s DB25 DB9 connectors Refer to the chapter Connection Option 8 and Cable Wiring for RS 232 422 485 cable wiring specs 2 2 Smartio C168H PCI User s Manual Hardware Installation Opt8A Opt8B Opt8S Plug one end of the DB62 cable into Smartio C168H PCT s DB62 bracket connector and then carefully tighten the attachment screws After that plug the other end of the cable into the RS 232 connection box s DB62 connector Note that both ends of the cable are identical oo co e Smartio C168H PCI OptSA Opt8B Opt8S Opt8C Opt8D Plug one end of the DB62 cable into Smartio C168H PCI s DB62
47. switched to a different PCI slot This is Smartio 168 User s Manual 1 referred to as slot sensitive slot dependent and may apply to PCI slots in PCs with different motherboards and different device number sets For example some use 17 18 19 and 20 for identifying the respective PCI slots but some use 11 12 13 and 14 Due to slot dependency it is necessary to re configure the driver software once the board is plugged into a different PCI slot Up to 4 Smartio C168H PCI boards can be installed in one system When installing more than one board remember the order of boards to distinguish the installed boards from each other UART 16C550C The UART 16C550C chip is an intelligent asynchronous controller supporting one full duplex channel that simultaneously transfers data at 921 6 Kbps speed To increase the overall data throughput special features such as on chip FIFO and on chip hardware flow control are used to reduce the number of interrupts to the onboard CPU and to prevent loss of valuable data 2 Smartio C168H PCI User s Manual Technical Reference DB62 Connector Pinouts Below we list the pin assignments for the DB62 connector on the bracket Pin No Signal Pin No Signal Pin No Signal 1 TxD1 22 RxD1 43 CTS1 2 DTRI 23 DSRI 44 RTS1 24 DCDI 45 GND 3 RxD2 23 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 RxD4 30 TxD4 51
48. t RS 485 Half duplex Opt8J RS 485 Device 1 Opt8J RS 485 Device Master Slave 3 Data B Data B 3 Data B 16 Data A Data A 16 Data A Data A 7 GND GND 7 GND GND RS 485 Device N lave Data B Data A GND Smartio C168H PCI User s Manual 5 11 See the section 485 Programming in the chapter Serial Programming Tools for more details on Opt8J RS 485 programming RS 422 485 Impedance Matching When using RS 422 485 serial communications an electrical signal travels through two different resistance junctions in a transmission line The impedance mismatch that exists will sometimes cause signal reflection distorting the signal This in turn contributes to communication errors The solution to this problem is to establish the same impedance at the line ends as in the line itself by terminating them with resistors The resistance of the termination resistor should equal the characteristic impedance of the transmission line Resistors should be added near the receiving side Opt8J F Z RS 422 485 Device 3 TxD B RxD B 16 TxD A gt RxD A 2 TxD B 14 RxD A TxD A 5 5 48 CTS B 13 RTS A ES 3 CTS A Opt8J only 4 CTS B RTS B 19 CTS A 7 RTS A Note I represents a termination resistor near the receiving side 2 The suggested termination resistor for AWG 26 cable is 100 oh
49. the following message box to confirm that you really want to remove the driver MOXA Smartio Industio Driver 4 Click OK in the Add Remove Programs Properties dialog box Smartio C168H PCI User s Manual 3 31 4 Serial Programming Tools Moxa supports several easy but powerful serial programming libraries and communication troubleshooting utilities that run under Windows NT and Windows 95 98 Using Moxa Serial Programming Tools can save you a substantial amount of developing time The following sections give details about the installation the library and the utilities for various OS platforms Comm the professional PC serial comm tool is a software package for Windows NT and Windows 95 98 that consists of powerful serial communication library for easy programming in the most popular programming languages The serial communication library is useful for developing data communication applications for remote access data acquisition and industrial control in a Windows NT or Windows 95 98 environment It is also an easier solution compared to the more complex Windows Win32 COMM API Useful utilities such as Diagnostic Monitor and Terminal Emulator e Illustrative sample programs e Comprehensive on line documentation Installation To install run Setup exe from the diskette included with the board Note that the diagnostic and monitor utilities are for Moxa boards only t
50. uring Board and 3 27 Updating the Driver 3 29 Removing the driver 3 31 Serial Programming TOONS reet eevee ete ces 4 1 Installation 4 1 PComm Programming Library 4 2 4 2 RS 485 Programming for Opt8J 4 6 Connection Option Opt8x amp Cable Wiring 5 1 RS 232 Cable Wiring for Opt8A B C D S 5 1 RS 422 Cable Wiring for Opt8J F Z 5 9 RS 485 Cable Wiring for Opt8J 5 11 RS 422 485 Impedance Matching 5 12 Troubleshooting a 6 1 General Troubleshooting

Download Pdf Manuals

image

Related Search

Related Contents

Jean-Louis BAUDOUIN, Rapport de synthèse  HR2510 25 mm  Abrir e baixar - Psiquiatria BH    TL3.6PH-S (PP8S) INSTALLATION / OWNERS MANUAL  METRObility Optical Systems ACPS-17HS User's Manual    BlackHole: Manual de Instalación y Configuración.  MOTO-Harley Motorcycle Diagnostic Scanner User Manual  Manuale Uso WEB_ING - Web Commerce Zazzeri  

Copyright © All rights reserved.
Failed to retrieve file