background image

Page 3-1

Manual 00650-526-1

Chapter 3:  Option Selection

Refer to the setup programs  provided with the card.  Also, refer to the Block Diagram on Page 1-4
and the Option Selection Map on the following page when reading this section of the manual. 

External Interrupts are accepted on the I/O connector pin 9 (bit C3).  The Interrupt signal is
positive true.  External Interrupts are enabled if the IEN jumper is installed.  Interrupts are directed
to levels #2 through #7, #10 through #12, #14 and #15 by jumpers installed at locations labeled
IRQ2 through IRQ7, IRQ10 through IRQ12, IRQ14 and IRQ15 respectively.

A means of enabling or disabling the 74LS245 input/output buffers under program control is
provided at the jumper position labeled TST/BEN.  When the jumper is in the BEN (Buffer
Enable) position, the I/O buffers are always enabled.  When the jumper is in the TST (Tristate)
position, enabled/disabled state is controlled by a control register. (See the programming 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 remain on until the interrupt is
reset.  If there is an immediate reset of the interrupt, it is likely that the LED will not remain on
long enough to be observed.

Note

A jumper must be installed in either the TST or the BEN position for the card to function.

There is a wire jumper installed on the card at a position labeled WAIT.  The associated circuitry
asserts a WAIT signal to the CPU in order to provide a longer write cycle.  In this way, there is
assurance that the 8255 PPI. will have adequate time to accept inputs from the CPU in fast AT
computers.  If this extra wait state will cause a problem in your application and if you deem it
non-essential, then this wire jumper may be clipped.

The foregoing are the only manual setups necessary to use the DIO48S/AT-P.  Input/Output
selection  and the change-of-state Interrupt Enable is done via software by writing to a control
register in each PPI as described in the Programming section of this manual.

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: