hit counter script

Acces ICOM-2S User Manual

Serial interface card

Advertisement

Quick Links

ACCES I/O PRODUCTS INC
10623 Roselle Street, San Diego, CA 92121
TEL (858)550-9559
FAX (858)550-7322
MODEL ICOM-2S

USER MANUAL

FILE: MICOM-2S.Eb

Advertisement

Table of Contents
loading

Summary of Contents for Acces ICOM-2S

  • Page 1: User Manual

    ACCES I/O PRODUCTS INC 10623 Roselle Street, San Diego, CA 92121 TEL (858)550-9559 FAX (858)550-7322 MODEL ICOM-2S USER MANUAL FILE: MICOM-2S.Eb...
  • Page 3 Notice The information in this document is provided for reference only. ACCES does not assume any liability arising out of the application or use of the information or products described herein. This document may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ACCES, nor the rights of others.
  • Page 4 Warranty Prior to shipment, ACCES equipment is thoroughly inspected and tested to applicable specifications. However, should equipment failure occur, ACCES assures its customers that prompt service and support will be available. All equipment originally manufactured by ACCES which is found to be defective will be repaired or replaced subject to the following considerations.
  • Page 5: Table Of Contents

    Table of Contents Chapter 1: Introduction ..........Multipoint Opto-isolated Communications .
  • Page 6 Figure 3-2: ICOM-2S Option Selection Map ........
  • Page 7: Chapter 1: Introduction

    100% compatibility with the original IBM serial port. ICOM-2S card is not restricted to the standard DOS addresses of COM1 - COM4. You can select a base address anywhere within the I/O address range 000 to 3F8 hex and the FINDBASE program will scan your computer for available addresses.
  • Page 8: Auto And Manual Transceiver Control

    RS485 communications requires the transmitter driver to be enabled and disabled as needed, to allow all cards to share the communications line. The ICOM-2S card has two methods to control the driver: automatic (Auto) and request to send (RTS) control.
  • Page 9: Specifications

    Specifications Communications Interface • Serial Ports: Two shielded male D-sub 9-pin IBM AT style connectors compatible with RS422 and RS485 specifications. Serial communications ACE used is type NS16550. Transceivers used are type 75176. • Serial Data Rates: 50 to 38,400 baud.(Optionally up to 230,400 baud with change in clock and opto isolators), Asynchronous, Type 16550 buffered UART.
  • Page 10: Figure 1-1: Icom-2S Block Diagram

    ICOM-2S Manual Figure 1-1: ICOM-2S Block Diagram (Only one serial channel shown) Manual MICOM-2S.Eb...
  • Page 11: Chapter 2: Installation

    Chapter 2: Installation The software provided with this card is contained on either one CD or multiple diskettes and must be installed onto your hard disk prior to use. To do this, perform the following steps as appropriate for your software format and operating system. Substitute the appropriate drive letter for your CD-ROM or disk drive where you see d: or a: respectively in the examples below.
  • Page 12: Directories Created On The Hard Disk

    ICOM-2S Manual To copy the files on the master diskette to your hard disk, perform the following steps. Place the master diskette into a floppy drive. Change the active drive to the drive that has the diskette installed. For example, if the diskette is in drive A, type ??? .
  • Page 13 SAMPLES Samples for using ACCES32.DLL are provided in this directory. Using this DLL not only makes the hardware programming easier (MUCH easier), but also one source file can be used for both Windows 95/98 and WindowsNT. One executable can run under both operating systems and still have full access to the hardware registers.
  • Page 14: Installing The Card

    FINDBASE program provided on the CD that came with your card. Finally, our setup program will lead you through the process of setting the options on the ICOM-2S. The setup program does not set the options on the card, these must be set by jumpers on the card.
  • Page 15 To Install the Card Turn off computer power. Remove the computer cover. Remove the blank I/O backplate. Install jumpers for selected options from either the Option Selection of this manual or the suggestions of our ICOM2SET setup software program. Select the base address on the card for either the Address Selection of this manual or the suggestions of our FINDBASE setup software program.
  • Page 16: Chapter 3: Option Selection

    Figure 3-2, Option Selection Map for the locations of these jumpers on the card. The CTS bit is used to indicate that the device connected to the ICOM-2S is ready to accept data from the ICOM-2S. Status can be tested by reading bit 4 of the MSR(modem status register) from the UART.
  • Page 17: Communication Modes And Cabling Options

    IRQ10 through IRQ15 (Except for IRQ13). Select the desired level by installing a jumper in one of these locations. If the ICOM-2S is installed in a short eight-bit slot, the higher interrupts IRQ10 through IRQ15 will be unavailable to the card.
  • Page 18: Figure 3-2: Icom-2S Option Selection Map

    AUTOA, AUTOB=Auto RTS option BIAS=RS485 Bias Voltage CTS=Forced CTS signal LD,LDGND=Transmission Load Jumpers (See the Option Selection chapter of the manual setup software explanations of the above option jumpers) Connectors J1=COM-B J2=COM-A Figure 3-2: ICOM-2S Option Selection Map Manual MICOM-2S.Eb...
  • Page 19: Chapter 4: Address Selection

    Chapter 4: Address Selection The ICOM-2S base address can be selected anywhere within an I/O address range 100-3F8 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...
  • Page 20: Table 4-2: Icom-2S Address Switch Setup

    Decimal Weight Hexadecimal Weight Table 4-2: ICOM-2S Address Switch Setup In order to read the address switch setup, assign a binary "1" to switches that are turned OFF and a binary "0" to switches in the ON position. For example, as illustrated in the following table, switch selection corresponds to binary 10 1101 1xxx (hex 2D8).
  • Page 21: Table 4-4: Standard Com Port Addresses

    The following table lists standard DOS COM port addresses. Serial Base Hex Address Switch Settings COM Port Address A9 A8 A7 A6 A5 A4 A3 COM1 IRQ 4 COM2 IRQ 3 COM3 IRQ 4 COM4 IRQ 3 Table 4-4: Standard COM Port Addresses Notice that only two interrupts are assigned to four serial ports.
  • Page 22 ICOM-2S Manual Manual MICOM-2S.Eb...
  • Page 23: Chapter 5: Programming

    Chapter 5: Programming Sample Programs There are sample programs provided with the ICOM-2S card in C, Pascal, QuickBASIC, and several Windows languages. DOS samples are located in the DOS directory and Windows samples are located in the WIN32 directory. Windows Programming The ICOM-2S card installs into Windows as COM ports.
  • Page 24: Table 5-1: Baud Rate Divisors

    ICOM-2S Manual On the ICOM-2S card, the clock frequency to the UART is 1.843 MHz. Below is a table for the popular divisor frequencies: Baud Rate Divisor Notes Approx Max Cable length * 115200 2200 ft 57600 High-speed opto-couplers required...
  • Page 25: Reception

    The C command to set the UART for an 8-bit word, no parity, and one stop bit is: outportb(BASEADDR +3, 0x03) 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.
  • Page 26: Transmission

    ICOM-2S Manual Transmission RS485 transmission is simple to implement. The AUTO feature automatically enables the transmitter when data is ready to send so no software enabling procedure is needed. The following software example is for non-AUTO operation. First the RTS line should be set high by writing a 1 to Bit 1 of the Modem Control Register at Base Address +4.
  • Page 27: Chapter 6: Connector Pin Assignments

    Chapter 6: Connector Pin Assignments The popular 9-pin D subminiature connector is used for interfacing to communication lines. The connector is equipped with 4-40 threaded standoffs (female screw lock) to provide strain relief. Pin No. RS422 RS485 Rx- Receive Data (Complementary Input) TRx- Tx+ Transmit Data (Output) Tx- Transmit Data (Complementary...
  • Page 28: Appendix A: Application Considerations

    Appendix A: Application Considerations Introduction Working with RS422 and RS485 devices is not much different from working with standard RS232 serial devices and these two standards overcome deficiencies in the RS232 standard. First, the cable length between two RS232 devices must be short; less than 50 feet at. Second, many RS232 errors are the result of noise induced on the cables.
  • Page 29: Table A-2: Rs422 Specification Summary

    Note You do not have to add a terminator resistor to your cables when you use the ICOM-2S card. Termination resistors for the RX+ and RX- lines are provided on the card and are placed in the circuit when you install the LD and LDGND jumpers.
  • Page 30: Rs485 Data Transmission

    RS485 Data Transmission The RS485 Standard allows a balanced transmission line to be shared in a party-line mode. As many as 32 driver/receiver pairs can share a two-wire party line network. Many characteristics of the drivers and receivers are the same as in the RS422 Standard. One difference is that the common mode voltage limit is extended and is +12V to -7V.
  • Page 31 ICOM-2S Manual Manual MICOM-2S.Eb...
  • Page 32: Customer Comments

    Customer Comments If you experience any problems with this manual or just want to give us some feedback, please email us at: manuals@accesioproducts.com.. Please detail any errors you find and include your mailing address so that we can send you any manual updates. 10623 Roselle Street, San Diego CA 92121 Tel.

Table of Contents