Advertisement

Quick Links

104-422/485-2I
User's Guide
Manual PN: 931-0071-00-A
November 2002
www.kontron.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 104-422-2I and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Kontron 104-422-2I

  • Page 1 104-422/485-2I User’s Guide Manual PN: 931-0071-00-A November 2002 www.kontron.com...
  • Page 2 This user’s guide may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of Kontron, nor the rights of others.
  • Page 3: Table Of Contents

    Contents ä ä ä ä Safety Instructions Before You Begin ..........vii When Working Inside a Computer.
  • Page 4 Chapter 3 Installation Overview ..........3-3 Software Installation .
  • Page 5: Safety Instructions

    Safety Instructions ä ä ä ä Contents Before You Begin ......... . . vii When Working Inside a Computer .
  • Page 6 This page intentionally left blank. 104-422/485-2I User’s Guide...
  • Page 7: Before You Begin

    J Use extreme caution when installing or removing components. Refer to the installation instructions in this user’s guide for precautions and procedures. If you have any questions, please contact Kontron Post-Sales Technical Support. WARNING High voltages are present inside the chassis when the unit’s power cord is plugged into an electrical outlet.
  • Page 8: When Working Inside A Computer

    When Working Inside a Computer ä ä ä ä Before taking covers off a computer, perform the following steps: 1) Turn off the computer and any peripherals. 2) Disconnect the computer and peripherals from their power sources or subsystems to prevent electric shock or system board damage.
  • Page 9: Preventing Electrostatic Discharge

    Static electricity can harm system boards. Perform service at an ESD workstation and follow proper ESD procedure to reduce the risk of damage to components. Kontron strongly encourages you to follow proper ESD procedure, which can include wrist straps and smocks, when servicing equipment.
  • Page 10 This page intentionally left blank. 104-422/485-2I User’s Guide...
  • Page 11: Preface

    Preface ä ä ä ä Contents How to Use This Guide ........xiii Customer Comments.
  • Page 12 This page intentionally left blank. 104-422/485-2I User’s Guide...
  • Page 13: How To Use This Guide

    Note: Additional technical information, BIOS updates, and drivers are available on our web site, www.kontron.com, under Technical Support. The following is a summary of the chapter contents: J Chapter 1, Introduction, provides a brief overview of the 104-422/485-2I board and lists what’s included in the box.
  • Page 14: Customer Comments

    “Contact Us” on our web site (www.kontron.com) under “Technical Support.” Detail any errors you find. We will correct the errors or problems as soon as possible and post the revised user’s guide in our online Support Library.
  • Page 15: Advisory Conventions

    Disclaimer: We have tried to identify all situations that may pose a warning or caution condition in this user’s guide. However, Kontron does not claim to have covered all situations that might require the use of a Caution or Warning.
  • Page 16: Unpacking

    2) Remove all items from the box. If any items listed on the purchase order are missing, notify Kontron customer service immediately. 3) Inspect the product for damage. If there is damage, notify Kontron customer service immediately. Refer to “Guarantee and Warranty Policy” for the return procedure.
  • Page 17: Guarantee And Warranty Policy

    Effective April 1, 1998, all products carry a 2-year limited warranty. Within 2 years of purchase, Kontron will repair or replace, at our option, any defective product. Kontron will service the warranty for all standard catalog products for the first two years from the date of shipment.
  • Page 18: Return Procedure

    Kontron or its authorized agent; or if the failure is caused by accident, acts of God, or other causes beyond the control of Kontron or the manufacturer. Neglect, misuse, and abuse shall include any installation, operation, or maintenance of the product other than in accordance with the user’s guide.
  • Page 19: Limitation Of Liability

    Limitation of Liability ä ä ä ä In no event shall Kontron be liable for any defect in hardware, software, loss, or inadequacy of data of any kind, or for any direct, indirect, incidental, or consequential damages in connection with or arising out of the performance or use of any product furnished hereunder. Kontron’s liability shall in no event exceed the purchase price of the product purchased hereunder.
  • Page 20 This page intentionally left blank. 104-422/485-2I User’s Guide...
  • Page 21: Introduction

    Chapter 1 Introduction ä ä ä ä Contents Overview ..........1-3 Multipoint Opto-isolated Communications.
  • Page 22: Overview

    Overview ä ä ä ä The 104-422/485-2I serial communications card is designed for use in PC/104compatible computers. Two serial data ports are provided on the 104-422/485-2I. Multipoint Opto-isolated ä ä ä ä Communications The 104-422/485-2I allows for multipoint transmission on long communication lines in noisy environments using RS422 or RS485 differential line drivers.
  • Page 23: Communication Modes

    Communication Modes ä ä ä ä Model 104-422/485-2I supports a variety of 2-wire and 4-wire cable connections. 2 wire or Half-Duplex allows traffic to travel in both directions, but only one direction at a time. In 4 wire or Full-Duplex mode data travels in both directions at the same time. Line Bias and Termination ä...
  • Page 24: What's Included

    Figure 1-1. 104-422/485-2I Block Diagram What’s Included ä ä ä ä The 104-422/485-2I is shipped with the following items. If any of these items are missing or damaged, contact Kontron. J 104-422/485-2I adapter J Nylon Mounting Hardware Kit J I/O and Communication Documentation CD-ROM J I/O and Communication Software “A”...
  • Page 25: Board Setup

    Chapter 2 Board Setup ä ä ä ä Contents Overview ..........2-3 Option Selection .
  • Page 26: Overview

    Overview ä ä ä ä This chapter provides details about how to properly select jumper options and interrupt levels and describes address selection to properly configure the 104-422/485-2I for your system. Option Selection ä ä ä ä A5 through A9 ä...
  • Page 27: Terminations And Bias

    Terminations and Bias ä ä ä ä A transmission line should be terminated at the receiving end in its characteristic impedance. Installing a jumper at the location labeled TRMO applies a 120_ load in series with a 0.01µF capacitor across the output (if desired) for RS422 mode and across the transmit/receive output/ input for RS485 operation.
  • Page 28: Full Or Half-Duplex

    Full or Half-Duplex ä ä ä ä Full-Duplex allows simultaneous bi-directional communications. Half-Duplex allows bi-directional transmit and receiver communication but only one at a time, and is required for RS485 communications. Proper selection depends on the wire connections used to connect the two serial ports.
  • Page 29: Jumpers

    485A 485B TRM0 422A TRM1 422B IRQs TRM0 TRM1 Figure 2-3. Option Selection Map Jumpers ä ä ä ä Selects RS485 with automatic-RTS mode. Selects RS422 Full duplex mode. TRMO Load for RS485 mode or output load for RS422 mode. TRMI Input load for RS422 mode.
  • Page 30: Address Selection

    Address Selection ä ä ä ä The 104-422/485-2I base address can be selected anywhere within the I/O bus address range 000-3E0 hex, providing that the address does not overlap with other functions. If in doubt, refer to the table below for a list of standard address assignments. (The primary and secondary binary synchronous communication ports are supported by the Operating System.) The base address locator program FINDBASE provided on CD (or diskettes) will assist you to select a base address that will avoid conflict with other installed computer resources.
  • Page 31 Hex Range Usage 300-31F Prototype Card 360-36F Reserved 378-37F Parallel Printer Port 1 380-38F SDLC or Binary Synchronous Comm’n 2 3A0-3AF Binary Synchronous Comm’n 1 3B0-3BF Monochrome Display/Printer 3C0-3CE Local Area Network 3D0-3DF Color/Graphic Monitor 3F0-3F7 Floppy Diskette Controller 3F8-3FF Asynchronous Comm’n (Primary) Card Address jumpers are marked A5-A9.
  • Page 32 Table 2-3. Address Setup Example Jumper Name Setup Binary Representation Conversion Factors Representation Review the Address Selection Table carefully before selecting the card address. If the addresses of two installed functions overlap you will experience unpredictable computer behavior. Address Selection 104-422/485-2I User’s Guide...
  • Page 33 Chapter 3 Installation ä ä ä ä Contents Overview ..........3-3 Software Installation .
  • Page 34: Overview

    Overview ä ä ä ä This chapter describes how to install the 104-422/485-2I drivers to your system and how to install the 104-422/485-2I board into an expansion connector on a PC/104 compatible card. Software Installation ä ä ä ä Please install the proper software for your adapter. Refer to the supplied software for the correct operating system installation procedure.
  • Page 35: Windows Nt 4.0

    8) Do not restart your computer yet, repeat the above steps to make another Com Port, then restart your computer and continue below. 9) Right Click on My Computer and Select “Properties” from the context menu. 10) In the System Properties dialog box look for and Select the “Device Manager” tab. 11) Scroll down the list till you find the section marked “Ports (COM &...
  • Page 36 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Serial\. The name of the value is PermitShare and the data should be set to 1. 2) You’ll then add COM A and B as COM ports, setting the base addresses and IRQs to match your board’s settings. 3) To change the registry value, run RegEdit from the START|RUN menu option (by typing REGEDIT [ENTER] in the space provided).
  • Page 37 6) Select “Ports (COM & LPT) from the list of device types as shown in the picture to the left, and click Next. 7) Ensure that “(Standard port types)” and “Communications Port” are selected. These are the defaults, so you can usually just click Next. 8) Windows will inform you it could not automatically determine the resources used by the new device, click OK.
  • Page 38: Linux

    6) Select “Add a new hardware device” from the bottom of the list presented and click “Next.” 7) Select “Install the hardware that I manually select from a list” and Click “Next.” 8) Select “Ports (COM & LPT)” and Click “Next”. 9) Select “(Standard Port Types)”...
  • Page 39: Qnx

    ä ä ä ä Please refer to the QNX subdirectory on your supplied software for up-to-date instructions for various QNX installations. Directories Created On The Hard Disk ä ä ä ä The installation process will create several directories on your hard disk. If you accept the installation defaults, the following structure will exist.
  • Page 40 VBACCES and ACCES32. ä ä ä ä This directory contains PCI-bus specific programs and information. If you are not using an Kontron PCI card, this directory will not be installed. SOURCE ä ä ä ä A utility program is provided with source code you can use to determine allocated resources at run-time from your own programs in DOS.
  • Page 41 interface is used. For information about the format of the registry key, consult the card-specific samples provided with the hardware. In Windows NT, NTioPCI.SYS runs each time the computer is booted, thereby refreshing the registry as PCI hardware is added or removed. In Windows 95/ 98/NT PCIFind.EXE places itself in the boot-sequence of the OS to refresh the registry on each power-up.
  • Page 42 RISCTerm.exe ä ä ä ä A dumb-terminal type communication program designed for RS422/485 operation. Used primarily with REMOTE ACCES Data Acquisition Pods and our RS422/485 serial communication product line. Can be used to say hello to an installed modem. RISCTerm stands for Really Incredibly Simple Communications TERMinal.
  • Page 43: System Installation

    System Installation ä ä ä ä Before installing the 104-422/485-2I board, carefully read Chapter 2 of this manual and configure the board according to your requirements. The SETUP program on the I/O and Communication “A” Series Software CD can be used to assist in configuring jumpers and switches on the card.
  • Page 44: Connector Pin Assignments

    Chapter 4 Connector Pin ä ä ä ä Assignments Contents Overview ..........4-3 Connector Pin Assignments .
  • Page 45: Overview

    Overview ä ä ä ä This chapter provides the connector pin assignments for the 9-pin D sub-miniature male connector. Connector Pin Assignments ä ä ä ä The popular 9-pin D subminiature connector (male) is used for interfacing to communication lines. The connectors are equipped with 4-40 threaded standoffs (female screw lock) to provide strain relief.
  • Page 46 Chapter 5 Programming ä ä ä ä Contents Overview ..........5-3 Sample Programs .
  • Page 47: Overview

    Overview ä ä ä ä A total of 32 address locations are allocated to the 104-422/485-2I, 17 of which are used. The UARTs are addressed as follows: Table 5-1. Address Selection I/O Address Read Write Base +0 thru 7 COM A UART COM A UART Base +8 thru F COM B UART...
  • Page 48 See the documentation for your chosen language for details. Under DOS, the process is very different. The remainder of this chapter describes DOS programming. Initialization ä ä ä ä Initializing the chip requires knowledge of the UART's register set. The first step is to set the baud rate divisor.
  • Page 49: Initialization

    Baud Rate Divisor (X1) Notes Max. Diff’l. Cable Length* 9600 4000 ft. 4800 4000 ft. 2400 4000 ft. 1200 4000 ft. *These are theoretical maximums based on typical conditions and good quality cables based on the EIA 485 and EIA 422 standard for balanced differential drivers. In C, the code to set the chip to 9600 baud is: outportb(BASEADDR, 0x0C);...
  • Page 50: Reception

    The third step of the initialization sequence is to set the Modem Control Register at Base Address +4. This register controls functions on some cards. Bit 1 is the Request to Send (RTS) control bit. This bit should be left low until transmission time. (Note: When operating in the automatic RS485 mode, the state of this bit is not significant.) Bits 2 and 3 are user-designated outputs.
  • Page 51: Transmission

    The handler would first read the Interrupt Identification Register at Base Address +2. If the interrupt is for Received Data Available, the handler then reads the data. If no interrupt is pending, control exits the routine. A sample handler, written in C, is as follows: readback = inportb(BASEADDR +2);...
  • Page 52 Chapter 6 Specifications ä ä ä ä Contents Communications Interface ....... . 6-3 Environmental .
  • Page 53 Communications Interface ä ä ä ä Serial Ports ä ä ä ä Two shielded male D-sub 9-pin IBM AT style connectors compatible with RS-422 and RS-485 specifications. Serial communications ACE used is type ST16C550. Transceivers used are type 75176. Serial Data Rates ä...
  • Page 54 Environmental ä ä ä ä Temperature ä ä ä ä Operating: 0 º to 60 ºC (32º to 140º F) Extended Temperature Version:-30 º to 85 ºC (-22 º to 185 ºF) Storage: -50 º to 120 ºC (-58º to 248º F) Humidity ä...

This manual is also suitable for:

104-485-2i

Table of Contents