background image

2-3

Manual MICOM-2S.Eb

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.  The DLL is used exactly like any other DLL, so it is
compatible with any language capable of using 32-bit DLLs.  Consult the manuals provided with
your language's compiler for information on using DLLs in your specific environment.

VBACCES

This directory contains sixteen-bit DLL drivers for use with VisualBASIC 3.0 and Windows 3.1 only.
These drivers provide four functions, similar to the ACCES32.DLL.  However, this DLL is only
compatible with 16-bit executables.  Migration from 16-bit  to 32-bit is simplified because of the
similarity between VBACCES and ACCES32.

PCI

This directory contains PCI-bus specific programs and information.  If you are not using a 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. 

PCIFind.exe

A utility for DOS and  Windows to determine what base addresses and IRQs are allocated to installed
PCI cards. This program runs two versions, depending on the operating system.  Windows 95/98/NT
displays a GUI interface, and modifies the registry.  When run from DOS or Windows3.x, a text
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.

This program also provides some COM configuration when used with PCI COM ports.  Specifically,
it will configure compatible COM cards for IRQ sharing and multiple port issues.

WIN32IRQ

This directory provides a generic interface for IRQ handling in Windows 95/98/NT.  Source code is
provided for the driver, greatly simplifying the creation of custom drivers for specific needs.  Samples
are provided to demonstrate the use of the generic driver.  Note that the use of IRQs in near-real-time
data acquisition programs requires multi-threaded application programming techniques and must be
considered an intermediate to advanced programming topic.  Delphi, C++ Builder, and Visual C++
samples are provided.

Содержание ICOM-2S

Страница 1: ...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...

Страница 2: ......

Страница 3: ...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 IBM PC PC XT an...

Страница 4: ...luded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar...

Страница 5: ...2 1 3 5 Inch Diskette Installation 2 1 Directories Created on the Hard Disk 2 2 Installing the Card 2 4 Chapter 3 Option Selection 3 1 Communication Modes and Cabling Options 3 2 Interrupts 3 2 Chapte...

Страница 6: ...twork A 3 List of Tables Table 4 1 Standard Address Assignments for 286 386 486 Computers 4 1 Table 4 2 ICOM 2S Address Switch Setup 4 2 Table 4 3 Example Address Setup 4 2 Table 4 4 Standard COM Port...

Страница 7: ...e front of this manual The output transceiver used type 75176B is capable of driving extremely long communication lines at high baud rates It can drive up to 60mA on balanced lines and receive inputs...

Страница 8: ...Led Monitors Two LED indicators are provided on the ICOM 2S card The LEDs blink to indicate activity on the transmitting and receiving lines and are useful for problem diagnosis The blinking is more v...

Страница 9: ...t Compatible with RS422 and RS485 specifications Up to 32 drivers and receivers allowed on line Input Isolation 500 Volts from computer and between ports Receiver Input Sensitivity 200 mV differential...

Страница 10: ...ICOM 2S Manual 1 4 Manual MICOM 2S Eb Figure 1 1 ICOM 2S Block Diagram Only one serial channel shown...

Страница 11: ...een prompts to install the software for this card WIN95 98 NT 1 Place the CD into your CD ROM drive 2 The CD should automatically run the install program after 30 seconds If the install program does n...

Страница 12: ...contains C samples Win32 language Subdirectories containing samples for Win95 98 and NT WinRisc exe A Windows dumb terminal type communication program designed for RS422 485 operation Used primarily...

Страница 13: ...rams in DOS PCIFind exe A utility for DOS and Windows to determine what base addresses and IRQs are allocated to installed PCI cards This program runs two versions depending on the operating system Wi...

Страница 14: ...esigned for RS422 485 operation Used primarily with Remote Data Acquisition Pods and our RS422 485 serial communication product line Can be used to say hello to an installed modem RISCTerm stands for...

Страница 15: ...mounting bracket is properly screwed into place and that there is a positive chassis ground 9 Turn the computer ON and observe the LED indicators The LEDs will blink when there is any activity on the...

Страница 16: ...ng resistor should be divided and its center point grounded to help reduce noise voltage pickup To accomplish this also install a jumper at the position marked LD GND for 68 ohm termination resistance...

Страница 17: ...on the wire connections used to connect the two serial ports Tx is the transmit wires and Rx is the receive wires Communication Modes and Cabling Options Cable Mode Jumpers Card A Card B Simplex 2 wir...

Страница 18: ...X Full Half Duplex SX DX Simplex Duplex RTS Software RTS option AUTOA AUTOB Auto RTS option BIAS RS485 Bias Voltage CTS Forced CTS signal LD LDGND Transmission Load Jumpers See the Option Selection ch...

Страница 19: ...01F DMA Controller 1 020 03F INT Controller 1 Master 040 05F Timer 060 06F 8042 Keyboard 070 07F Real Time Clock NMI Mask 080 09F DMA Page Register 0A0 0BF INT Controller 2 0C0 0DF DMA Controller 2 0...

Страница 20: ...itches 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 The xxx represent...

Страница 21: ...tch Settings A9 A8 A7 A6 A5 A4 A3 COM1 IRQ 4 3F8 1 1 1 1 1 1 1 COM2 IRQ 3 2F8 1 0 1 1 1 1 1 COM3 IRQ 4 3E8 1 1 1 1 1 0 1 COM4 IRQ 3 2E8 1 0 1 1 1 0 1 Table 4 4 Standard COM Port Addresses Notice that...

Страница 22: ...ICOM 2S Manual 4 4 Manual MICOM 2S Eb...

Страница 23: ...et and change a port s settings ReadFile and WriteFile for accessing a port See the documentation for your chosen language for details Under DOS the process is very different The remainder of this cha...

Страница 24: ...to 9600 baud is outportb BASEADDR 0x0C outportb BASEADDR 1 0 The second initializing step is to set the Line Control Register at Base Address 3 This register defines word length stop bits parity and t...

Страница 25: ...e read from the chip Polling is not effective at high data rates above because the program cannot do anything else when it is polling or data could be missed The following code fragment implements a p...

Страница 26: ...e is done the card is ready to send data To transmit a string of data the transmitter must first check Bit 5 of the Line Status Register at Base Address 5 That bit is the transmitter holding register...

Страница 27: ...Output 3 Tx Transmit Data Complementary 4 Not Used 5 Gnd Isolated Common Ground Ground 6 5V Isolated 5V Supply 7 RTS Request to Send Output 8 CTS Clear to Send Input 9 Rx Receive Data Input TRx Table...

Страница 28: ...This is also true for RS422 but RS485 offers all the benefits of RS422 plus allows up to 32 devices to share the same twisted pairs An exception to the foregoing is that multiple RS422 devices can sha...

Страница 29: ...put Voltage loaded LD and LDGND 2V jumpers in 2V Driver Output Resistance 50 Driver Output Short Circuit Current 150 mA Driver Output Rise Time 10 unit interval Receiver Sensitivity 200 mV Receiver Co...

Страница 30: ...p Network The following illustration shows a typical multidrop or party line network Note that the transmission line is terminated on both ends of the line but not at drop points in the middle of the...

Страница 31: ...ICOM 2S Manual A 4 Manual MICOM 2S Eb...

Страница 32: ...ccesioproducts com 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 f...

Отзывы: