background image

Manual Number: 00650-148-1

Page 2

PCI-ICOM485/4 Manual

ACCES95 and
ACCESNT

These two drivers are mentioned for users migrating from older versions of
ACCES Tools.  The functionality of ACCES95 and ACCESNT has been
combined into ACCES32.DLL, which is described below.
In order to modify your software to use the new ACCES32.DLL instead of
the older code, change the file you link to from ACCES95 or ACCESNT to
ACCES32.  No other changes are necessary.
To avoid recompiling software that was written for ACCES95 or ACCESNT,
rename ACCES32.DLL to the appropriate name (95 or NT specific).

ACCES32

This directory contains the Windows 95/98/NT driver used to provide
access to the hardware registers when writing 32-bit Windows software.
Several samples are provided in a variety of languages to demonstrate how
to use this driver.  The DLL provides four functions (InPortB, OutPortB,
InPort, and OutPort) to access the hardware.
This directory also contains the device driver and install program for NT.
This device driver provides register-level hardware access from Windows
NT, normally called through ACCES32.DLL.  Two methods of using the
driver are provided, the ACCES32.DLL (recommended) and the
DeviceIOControl handles direct to the SYS file (slightly faster)

ACCESNT.EXE

Run this program on Windows NT to prepare ACCES32.DLL for use.  This
is the install program for the SYS file itself.  The ACCESNT.SYS file must
reside in the same directory as this executable, and is copied to the drivers
directory of NT.  The driver is then dynamically started, and can be used
immediately.  ACCESNT.EXE need be run only once per computer.  Once
the driver is started, the registry entries tell WindowsNT to load the driver
on each boot-up.

No installation is necessary for Windows 95/98.

DLL

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.

SYS

The samples in this directory are provided ONLY for WindowsNT.  The
DeviceIOControl based interaction with the register-level driver is only
available in NT.  If your code is written to use this method, it will not work
with Windows 95 or Windows 98.
The SYS file is the actual workhorse behind hardware access in WindowsNT.
It is installed by ACCESNT.EXE and utilizes the DeviceIOControl API
function for interaction with user code.  Samples are provided demonstrating
this API call, but it is strongly recommended that the DLL interface be used.
The DLL described above encapsulates the SYS file and performs the
DeviceIOControl calls at a small penalty in speed  (a call through the DLL
interface).

Содержание PCI-ICOM422/4

Страница 1: ...Model PCI ICOM485 4 PCI ICOM485 2 Product Manual MANUAL NUMBER 00650 148 1C...

Страница 2: ...ual in our online Support Library Thank you The information in this document is provided for reference only ICS Advent does not assume any liability arising from the application or use of the informat...

Страница 3: ...Page iv This page intentionally left blank...

Страница 4: ...ts which are not in an as new and re saleable condition are not eligible for credit return and will be returned to the customer Limited Warranty Effective April 1 1998 all products carry a 2 year limi...

Страница 5: ...made by various manufacturers in performing warranty repairs and building replacement products If ICS Advent repairs or replaces a product its warranty term is not extended ICSAdvent will normally re...

Страница 6: ...Cautions and Warnings are accented with triangular symbols The exclamation symbol is used in all cautions and warnings to help alert you to the important instructions The lightning flash symbol is us...

Страница 7: ...Page viii This page intentionally left blank...

Страница 8: ...Mode 7 Baud Rate Ranges 8 Auto RTS Transceiver Control 8 Block Diagram 8 Chapter 3 Option Selection 9 Terminations 9 Data Cable Wiring 9 Baud Rate Ranges 10 Interrupts 10 Chapter 4 Address Selection...

Страница 9: ...l Enter and follow the on screen prompts The installation process will create several directories on your hard disk If you accept the instal lation defaults the following structure will exist Contents...

Страница 10: ...ESNT SYS file must reside in the same directory as this executable and is copied to the drivers directory of NT The driver is then dynamically started and can be used immediately ACCESNT EXE need be r...

Страница 11: ...ogram used to be known as PCINT EXE but now supports both Windows 95 98 and Windows NT Findbase exe DOS utility to determine an available base address for ISA bus non PNP cards Run this program once b...

Страница 12: ...der DOS WindowsNT 3 51 Windows 3 1 or any other non PNP compliant Operating System should set the PNP CMOS option to BIOS or Motherboard Save the option and continue booting the system If you are usin...

Страница 13: ...ly screwed into place and that there be a positive chassis ground Also proper EMI cabling techniques cable connect to chassis ground at the aperture shielded twisted pair wiring etc be used for the in...

Страница 14: ...ManualNumber 00650 148 1 Page 6 PCI ICOM485 4 Manual This page intentionally left blank...

Страница 15: ...nica tions lines RS 485 communications require that one transmitter supply a bias voltage to ensure a known zero state when all transmitters are off Also receiver inputs at each end of the network sho...

Страница 16: ...to share a two wire cable The PCI ICOM485 4 2 card controls the driver automatically With automatic control the driver is enabled when data is ready to be transmitted The driver remains enabled for on...

Страница 17: ...ation Schematic In RS 485 operations where there are multiple terminals only the RS 485 ports at each end of the network should have terminating impedance as described above To so terminate the COM A...

Страница 18: ...ese subkeys you must add values for DosDevices Interrupt InterruptStatus PortAddress and PortIndex because these are not detected by the Hardware Recognizer For descriptions and ranges for these value...

Страница 19: ...ManualNumber 00650 148 1 Page 11 PCI ICOM485 4 2 OPTION SELECTION MAP...

Страница 20: ...ManualNumber 00650 148 1 Page 12 PCI ICOM485 4 Manual This page intentionally left blank...

Страница 21: ...tion on each of the cards and the respective IRQ s if any allotted Alternatively some operating systems Windows95 and WindowsNT 5 0 can be queried to deter mine which resources were assigned In these...

Страница 22: ...ManualNumber 00650 148 1 Page 14 PCI ICOM485 4 Manual This page intentionally left blank...

Страница 23: ...ation reception and transmission Initialization deals with option setup on the chip includ ing baud rate selection Reception deals with incoming character processing which can be done using either pol...

Страница 24: ...engths from 5 to 8 bits Bit settings are extracted by subtracting 5 from the desired word length Bit 2 determines the number of stop bits There can be either one or two stop bits If Bit 2 is set to 0...

Страница 25: ...13 ASCII Carriage Return as an end of transmission marker do while inportb BASEADDR 5 1 Wait until data ready data i inportb BASEADDR while data i 13 Reads the line until null character rec d Interrup...

Страница 26: ...Base Address 5 That bit is the transmitter holding register empty flag If it is high the transmitter has sent the data The process of checking the bit until it goes high followed by a write is repeate...

Страница 27: ...o provide strain relief Connector pin assignments are as follows Pin Connections RS 485 PIN CONNECTIONS COM Port A D RS 485 Signals Pin 1 Pin 2 Tx and Rx Pin 3 Tx and Rx Pin 4 Pin 5 GND Ground Pin 6 P...

Страница 28: ...ManualNumber 00650 148 1 Page 20 PCI ICOM485 4 Manual This page intentionally left blank...

Страница 29: ...ates up to 460 800 is achieved by jumperselectiononthecard Type 16550buffered UART Address Continuouslymappablewithin0000toFFFF hex range of PCI bus addresses Receiver Input Sensitivity 200 mV differe...

Страница 30: ...ManualNumber 00650 148 1 Page 22 PCI ICOM485 4 Manual This page intentionally left blank...

Страница 31: ...1000 4 3 1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment Thetechnicaldocumentationrequiredtodemonstratethisproductmeetst...

Отзывы: