background image

Page 2-3

Manual 00650-526-1

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.

Summary of Contents for DIO48S/AT-P Series

Page 1: ...DIO48S AT P Series Product Manual MANUAL NUMBER 00650 526 1B...

Page 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...

Page 3: ...Page iv This page intentionally left blank...

Page 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...

Page 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...

Page 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...

Page 7: ...Page viii This page intentionally left blank...

Page 8: ...stalling the Card 2 4 Chapter 3 Option Selection 3 1 Chapter 4 Address Selection 4 1 Chapter 5 Software 5 1 Setup 5 1 Chapter 6 Programming 6 1 Developing Your Application Software 6 1 Programming Exa...

Page 9: ...ap 3 2 List of Tables Table 4 1 Standard Address Assignments for 286 386 486 Computers 4 1 Table 6 1 Address Selection Table 6 1 Table 6 2 Control Register Bit Assignment 6 2 Table 6 3 Change of state...

Page 10: ...Automation Robotics Machine Control Security Systems Energy Management Relay Monitoring and Control Parallel Data Transfer to PC Sensing Switch Closures or TTL DTL CMOS Logic Driving Indicator Lights...

Page 11: ...rdware logic for input or output use according to direction assignment from a control register in the PPI Further if a jumper is properly placed on the card the tristate buffers are enabled disabled u...

Page 12: ...200 uA Digital Outputs Logic High 2 5 VDC min source 15 mA Logic Low 0 5 VDC max sink 24 mA 64 mA optional Power Output 5 VDC from computer bus ext 1A fast blow fuse recommended Power Required 5 VDC...

Page 13: ...DIO48S AT P Manual Page 1 4 Manual 00650 526 1 Figure 1 1 DIO48S AT P Block Diagram...

Page 14: ...mpts 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 not run...

Page 15: ...ME that 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 pri...

Page 16: ...ograms 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...

Page 17: ...n Sections of this manual and configure the card according to your requirements Use the special software program called SETUP provided on CD with the card It supplies visual aids to configure all area...

Page 18: ...ts that are marked for CE European Certification and for these units CE certifiable cable and break out methodology cables connect to chassis ground at the aperture shielded twisted pair wiring etc mu...

Page 19: ...g section of this manual for a description An LED CR1 is provided at the top center of the card to assist you in program development Each time an interrupt is generated the LED will illuminate and rem...

Page 20: ...DIO48S AT P Manual Page 3 2 Manual 00650 526 1 Figure 3 1 DIO48S AT P Option Selection Map...

Page 21: ...Keyboard 070 07F Real Time Clock NMI Mask 080 09F DMA Page Register 0A0 0BF INT Controller 2 0C0 0DF DMA Controller 2 0F0 Clear Math Coprocessor Busy 0F1 Reset Coprocessor 0F8 0FF Arithmetic Processor...

Page 22: ...OFF Switch Identification A9 A8 A7 A6 A5 A4 Address Line Controlled A9 A8 A7 A6 A5 A4 The following example illustrates switch selection corresponding to hex 2D0 or binary 10 1101 xxxx The xxxx repre...

Page 23: ...ram is under a directory titled CSAMPLES It is a C language software program that demonstrates how to program the change of state function SETUP This program is supplied with the DIO48S AT P as a tool...

Page 24: ...vely with Address bits A3 through A0 as follows Address Port Assignment Operation Base Address PA Group 0 Read Write Base Address 1 PB Group 0 Read Write Base Address 2 PC Group 0 Read Write Base Addr...

Page 25: ...ort A 1 Input 0 Output D5 D6 Mode Select 00 Mode 0 01 Mode 1 1X Mode 2 D7 Mode Set Flag 1 Active Table 6 2 Control Register Bit Assignment Note Mode 1 and Mode 2 cannot be used by the DIO48S AT P with...

Page 26: ...te of hex 80 has been sent as previously described and the data to be output are correct and it is now desired to open the three ports then it is necessary to send a control byte of hex 00 to base add...

Page 27: ...____ Port B output ___________ Mode 0 ________________ Port C Hi input _____________________ Port A input __________________________ Mode 0 _______________________________ Mode 0 _____________________...

Page 28: ...esolved as follows Two computer I O bus addresses are available that permit you to enable or disable the I O buffers at will without programming the PPI mode Buffers for Goup 0 bits are enabled disabl...

Page 29: ...nge of state interrupts or by ports that are programmed as outputs To program this Change of State Interrupt Enable Register write to it at Base Address B Data bits D0 through D5 control ports A B and...

Page 30: ...that it generated the interrupt There is an exception to this rule This is the case where only one card of those sharing the interrupt level does not provide a status bit to indicate that it asserted...

Page 31: ...d 6 Port C Hi PC4 7 Ground 8 Port C Lo PC3 9 Ground 10 Port C Lo PC2 11 Ground 12 Port C Lo PC1 13 Ground 14 Port C Lo PC0 15 Ground 16 Port B PB7 17 Ground 18 Port B PB6 19 Ground 20 Port B PB5 21 Gr...

Page 32: ...reprinted with permission of Mitsubishi Electric Corp 1987 The information diagrams and all other data included are believed to be correct and reliable However no responsibility is assumed by Mitsubi...

Page 33: ...1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment Thetechnicaldocumentationrequiredtodemonstratethisproductmeetstherequir...

Reviews: