Home

Acces PCI-DIO-48H/48HS Manual

image

Contents

1. A rtisan Artisan Technology Group is your source for quality Fra op new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED EE Contact us 888 88 SOURCE sales artisantg com www artisantg com VW ACCES I O PRODUCTS INC 10623 Roselle Street San Diego CA92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com DIGITAL INPUT OUTPUT CARD Models PCI DIO 48H and PCI DIO 48HS USER MANUAL File mpci dio 48H Be Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 informa
2. Any group can be configured as an input or an output c Outputs are latched d Inputs are not latched Each PPI contains a Control Register This write only 8 bit register is used to set the mode and direction of the ports At Power Up or Reset all I O lines are set as inputs Each PPI should be configured during initialization by writing to the Control Registers even if the groups are only going to be used as inputs Output buffers are automatically set by hardware according to the Control Register states Note that Control Registers are located at base address 3 and base address 7 Bit assignments in each of these Control Registers are as follows 14 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Bit Assignment Code DO Port C Lo CO C3 1 Input O Output D1 Port B 1 Input O Output D2 Mode Select 1 Mode 1 0 Mode 0 D3 Port C Hi C4 C7 1 Input O Output D4 PortA 1 Input O 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 Assignments Note Mode 1 cannot be used by these cards without modification Thus bits D2 D5 and D6 should always be set to 0 If your card has been modified to operate in Mode 1 then there will be an Addendum page in the front of this manual These cards cannot be used in Mode 2 of the PPI These cards provide a means to en
3. 11 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 5 Software The following paragraphs describe the setup program then the VisualBASIC utility program SETUP EXE This program is supplied in the root or base directory as a tool for you to use in configuring jumpers on the card It is menu driven and provides pictures of the card on the computer monitor You make simple keystrokes to select functions The picture on the monitor then changes to show how to place the jumper to effect your choices The setup program is a stand alone program that can be run at any time It does not require that the card be plugged into the computer for any part of the setup The program is self explanatory with operation instructions and on line help To run this program at the DOS prompt enter SETUP EXE followed by ed VISUALBASIC UTILITY DRIVER The CD provided with your card includes extentions to the VisualBASIC language for use with this card The extensions are in a directory named VBACCES These extensions are in the form of a DLL a GBL and a VisualBASIC sample Together these files allow you to access the port and main memory space in a fashion similar to BASIC QuickBASIC Pascal C C Assembly and most other standard languages To use these files in a VisualBASIC program you must create a MAK file File New Project similar to the sample provided or else m
4. a description of the failure symptom s We may suggest some simple tests to confirm the failure We will assign a Return Material Authorization RMA number which must appear on the outer label of the return package All units components should be properly packed for handling and returned with freight prepaid to the ACCES designated Service Center and will be returned to the customer s user s site freight prepaid and invoiced Coverage First Three Years Returned unit part will be repaired and or replaced at ACCES option with no charge for labor or parts not excluded 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 to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the terms and conditions of the respective equipment manufacturer s warranty General Under this Warranty liability of ACCES is limited to replacing repairing or issuing credit at ACCES discretion for any products which are proved to be defective during the warranty period In no case is ACCES liable for consequential or special damage arriving from use or misuse of our product The customer is responsible for all charges caused by modifications or additions to ACCES equipment not approved in writing by ACCES
5. and reset the output data latches to zero on all output ports and the output buffers were disabled However if the buffers are to be enabled at a later time the output latches will be in a zero state For example if all the outputs were 1 s they will now be O s and the output buffers will be disabled This can be resolved 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 Port 0 bits are enabled disabled at Base Address 8 and buffers for Port 1 bits are enabled disabled at Base Address 9 To enable the buffers and to set outputs to the desired state you can write to the Control Register with bit D7 low If you wish to subsequently disable the buffers you can write to the Control Register with bit D7 high In this way you can enable disable the output buffers without programming the PPI mode Note When writing a command byte to these cards while the TST jumper is installed the PPI output buffers are disabled Thus when you desire to to change the mode you must first set the new mode and then enable the buffers Enabling the buffers can be done at either Base Address 3 or 7 or Base Address 8 or 9 CHANGE OF STATE INTERRUPTS Model 48HS only At power up or Reset a register that enables change of state interrupts is set to zero This enables all inputs to generate change of state interrupts During initializatio
6. inherently plug and play This means that the BIOS or Operating System determines the resources assigned to PCI cards rather than requiring the user to select those resources with switches or jumpers As a result you cannot set or change the card s base address or IRQ level You can only determine what the system has assigned To determine the base address that has been assigned run the PCIFind EXE utility program This utility will display a list of all of the cards detected on the PCI bus the addresses assigned to each function on each of the cards and the respective IRQs allotted Alternatively some operating systems Windows95 and WindowsNT 5 0 can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager utility from the System Properties Applet of the control panel The cards are installed in the Data Acquisition class of the Device Manager list Selecting the card clicking Properties and then selecting the Resources Tab will display a list of the resources allocated to the card PCIFind uses the Vendor ID and Device ID to identify your card then reads the base address and IRQ assigned If you want to determine these yourself the Vendor ID is 494Fh ASCII for I O and the Device IDs are Model 48H OC60h Model 48HS OE60h The PCI bus supports 64K of I O address space so your card s addresses may be located anywhere in the 0000 to FFFF hex range
7. able disable the tristate I O buffers under program control If the TST BEN jumper on the card is installed in the BEN position the I O buffers are permanently enabled However if that jumper is in the TST position enable disable of the buffers is software controlled via the control register as follows a The card is initialized in the receive mode by the computer reset command b When bit D7 of the Control Register is set high direction of the three groups of the associated PPI chip as well as the mode can be set For example a write to Base Address 3 with data bit D7 high programs port direction at group 0 ports A B and C If for example hex 80 is sent to Base Address 3 the group 0 PPI will be configured in mode 0 with ports A B and C as outputs At the same time data bit D7 is also latched in a buffer controller for the associated PPI chip A high state disables the buffers and thus all four buffers will be put in the tristate mode i e disabled c If any of the ports are to be set as outputs you may set the values to the respective port with the outputs still in the tristate condition If all ports are to be set as inputs this step is not necessary d If data bit D7 is low when the control byte is written ONLY the associated buffer controller is addressed If for example a control byte 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 port
8. ause premature failure Please follow all reasonable precautions to prevent a static discharge such as grounding yourself by touching any grounded surface prior to touching the card 8 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Hardware Installation 1 Make sure to set switches and jumpers from either the Option Selection section of this manual or from the suggestions of SETUP EXE 2 Do not install card into the computer until the software has been fully installed 3 Turn OFF computer power AND unplug AC power from the system 4 Remove the computer cover 5 Carefully install the card in an available 5V or 3 3V PCI expansion slot you may need to remove a backplate first 6 Inspect for proper fit of the card and tighten screws Make sure that the card mounting bracket is properly screwed into place and that there is a positive chassis ground 7 Install an I O cable onto the card s bracket mounted connector 8 Replace the computer cover and turn ON the computer which should auto detect the card depending on the operating system and automatically finish installing the drivers 9 Run PClfind exe to complete installing the card into the registry for Windows only and to determine the assigned resources 10 Run one of the provided sample programs that was copied to the newly created card directory from the CD to test and validate your instal
9. eeeeennrtrrrreseerrrrrnnrnnreeerennrnnnneeeent 19 Table 7 1 Connector Pin Assignments 0 19 Table 7 2 Connector Pin Assignments G I 1001 nnne nn nnne 20 4 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 1 Functional Description Features e 48 Bits of Digital Input Output e Interrupt Generation on Input or under program control Model 48H e Change of state Interrupt Software Enabled in Six 8 Input Portes Model 48HS e All 48 UO Lines Buffered on the Board e IO Buffers Can Be Enabled Disabled under Program Control e Four and Eight Bit Ports Independently Selectable for I O e Pull Ups on I O Lines e 5V Supply Available to the User e Compatible with Industry Standard I O Racks like Gordos Opto 22 Potter amp Brumfield Western Reserve Controls etc Applications e Automatic Test Systems e Laboratory Automation e Robotics e Machine Control e Security Systems Energy Management H Relay Monitoring and Control e Parallel Data Transfer to from the PC e Sensing Switch Closures or TTL DTL CMOS Logic e Driving Indicator Lights or Recorders Description These PCI bus cards provide 48 bits of parallel digital input output capability and can be installed in seven inch 178 mm or longer PCl bus slots Each I O line is buffered and capable of sourcing 15 mA or sinking 24 mA 64 mA on request The cards conta
10. he direction assignment programmed into a control register in the related PPI Further if a jumper is properly placed on the card the tristate buffers may be enabled disabled under program control See the Option Selection section to follow 5 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com I O wiring connections are via a 100 pin high density connector If an IDC type mating connector is used then two flat 50 wire ribbon cables can connect these cards to termination panels Also this provides compatibility with A24A OPTO 22 Gordos Potter amp Brumfield et al solid state module mounting racks Every second conductor of the flat cables is grounded to minimize crosstalk between signals in the cables If needed for external circuits 5 VDC power is available at pins 49 and 99 If you use this power we recommend that you include an external 1A fast blow fuse in your circuits in order to avoid possible damage to the host computer or cable in the event of a malfunction in those external circuits These cards occupy sixteen bytes of I O address space The base address is selected by the system An illustrated setup program is provided on the diskette or CD shipped with your card Interactive displays show locations and proper configuration of jumpers to set up the interrupt enable function Also sample programs in Turbo C and Turbo Pascal are presented in the Software
11. in two type 8255 Programmable Peripheral Interface chips PPI to provide computer interface to 48 lines Each PPI provides three 8 bit ports A B and C Each 8 bit port can be software configured to function either as inputs or as latched outputs Port C can also be software configured for four inputs and four latched outputs Pull ups on the cards assure that there are no erroneous outputs at power up until the card is initialized by system software The feature that distinguishes the 48HS model from the 48H card is that the state of all inputs can be monitored and if one or more bits change state a latched interrupt request can be generated Thus it is not necessary to use software to continuously poll the inputs to detect a change of state The change of state interrupt is enabled by a software write to an interrupt enable register Six bits in that register control six eight bit input ports The change of state interrupt latch can be cleared by a software write Also Port C bit 3 at each 24 bit group can be used as an external interrupt to the computer if the IEN jumpers are installed When Port C bit 3 goes high edge triggering when interrupts are enabled an interrupt is generated Interrupts from the ports are OR ed together and OR ed with the change of state interrupt Interrupt levels are assigned by the system Tristate I O line buffers 74LS245 are configured automatically by hardware logic for input or output according to t
12. lation The base address assigned by BIOS or the operating system can change each time new hardware is installed into or removed from the computer Please recheck PCIFind or Device Manager if the hardware configuration is changed Software you write can automatically determine the base address of the card using a variety of methods depending on the operating system In DOS the PCI SOURCE directory shows the BIOS calls used to determine the address and IRQ assigned to installed PCI devices In Windows the Windows sample programs demonstrate querying the registry entries created by PCIFind and NTIOPCI SYS during boot up to determine this same information INPUT OUTPUT CONNECTIONS To ensure that there is minimum susceptibility to EMI and minimum radiation it is important that the card mounting bracket be properly 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 wires etc should be used for the input output wiring 9 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 3 Option Selection Refer to the setup programs on the CD or diskettes provided with the card Also refer to the block diagram on the previous page and the option selection map on the following page when reading this section of the manual External Interrupts are accepted
13. n this register should be programmed to prevent interrupt generation by inputs that you do not want to cause change 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 DO through D5 control ports A B and C of the 8255 PPIs as shown in Table 4 Port Controlled Group 0 Port A Group 0 Port B Group 0 Port C Group 1 PortA Group 1 Port B Group 1 Port C Table 6 4 Change of State Interrupt Enable Register Writing a one disables the port writing a zero enables it This register is latched To clear the latch write anything at Base Address F 17 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com INTERRUPT EXAMPLES A rising edge with at least a microsecond hold time will be latched if the IEN jumper is in place and if any address decoded by the board has been read or written to Interrupts are disabled on power up An interrupt service routine may clear all interrupts from the board by writing any value to Base Address 1 Fh Example 1 Internal interrupt generated by software The interrupt option jumper for the group must be in the IEN position Configure port C Low as an output and set bit C3 low Enable interrupts globally by reading any register Toggle bit C3 high for at least 1 uS then low Note that this pulse will show u
14. nteger byval offset as integer byval value as integer as integer Note that in all of the above functions an inherent limitation of BASIC in general and VisualBASIC in particular makes the values sent less intuitive All integers in BASIC are signed numbers wherein data are stored in two s complement form All bit patterns must be converted to and from this two s complement form if meaningful display is required Otherwise values returned from the InPortb function will be 128 to 127 rather than 0 to 255 An alternative is to perform all assignments in hexadecimal rather then decimal form Before the program will execute the GBL file must be modified to include the path to the VBACCES DLL as appropriate for your system Merely replace the statement VBACCES DLL with drive path VBACCES DLL As an alternative to changing the source code you can copy the VBACCES DLL file into your Windows directory This will allow multiple programs to find the same DLL without having to know where it is located Just leave off all references to a path in the GBL file as shown in the sample 13 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 6 Programming These cards are l O mapped devices that are easily configured from any language and any language can easily perform digital I O through the card s ports This is especially true if the form of the data is byte or
15. odify your existing project file and include the GBL file File Add File Once this has been done VisualBASIC will be enhanced with the addition of the following functions InPortb Function Reads a byte from a hardware port Due to limitations of VisualIBASIC the number is returned in an integer Declaration function InPortb byval address as integer as integer InPort Function Reads an integer from a hardware port This function returns the 16 bit value obtained from reading the low byte from address and the high byte from address 1 Declaration function InPort byval address as integer as integer OutPortb Function Writes the lower eight bits of value to the hardware port at address This function returns the value output Declaration function OutPortb byval address as integer byval value as integer as integer 12 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com OutPort Function Writes all 16 bits of value to the hardware port at address This function returns the value output Declaration function OutPort byval address as integer byval value as integer as integer Peek Function Reads a byte from main memory DRAM Declaration function Peek byval segment as integer byval offset as integer as integer Poke Function Writes the lower eight bits of value to segment offset Declaration fEunction Poke byval segment as i
16. omer Comments If you experience any problems with this manual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates Halt CES I O PRODUCTS INC 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com 21 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com A rtisan Artisan Technology Group is your source for quality Fra op new and certified used pre owned equipment FAST SHIPPING AND SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT DELIVERY Experienced engineers and technicians on staff Sell your excess underutilized and idle used equipment TENS OF THOUSANDS OF at our full service in house repair center We also offer credit for buy backs and trade ins IN STOCK ITEMS www artisantg com WeBuyEquipment 7 EQUIPMENT DEMOS HUNDREDS OF InstraV ea REMOTE INSPECTION LOOKING FOR MORE INFORMATION MANUFACTURERS Remotely inspect equipment before purchasing with Visit us on the web at www artisantg com 7 for more our interactive website at www instraview com information on price quotations drivers technical LEASING MONTHLY specifications manuals and documentation RENTALS ITAR CERTIFIED EE Contact us 888 88 SOURCE sales artisantg com www artisantg com
17. on the I O connector pin 9 bit C3 group 0 and pin 59 bit C3 group 1 The Interrupt signal is a positive edge External Interrupts are enabled if the IENO for Group 0 and IEN1 for Group 1 jumper is installed Interrupts are directed to an available IRQ level by the system 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 Note A jumper must be installed in either the TST or the BEN position for the card to function The foregoing are the only manual setups necessary to use either model 48H or model 48HS 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 Je O GI IENO TST ga BEN IEN PORT 0 PORT 1 Cable Strain Relief Bar Figure 3 1 Option Selection Map 10 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 4 Address Selection These cards use one address space occupying sixteen consecutive register locations PCI architecture is
18. or if in ACCES opinion the equipment has been subjected to abnormal use Abnormal use for purposes of this warranty is defined as any use to which the equipment is exposed other than that use specified or intended as evidenced by purchase or sales representation Other than the above no other warranty expressed or implied shall apply to any and all such equipment furnished or sold by ACCES 3 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com TABLE OF CONTENTS Chapter 1 Functional Description 5 TE EE 6 Figure 1 1 Block Digranes AR 7 Chapter TE RE 8 Chapter 3 Option Selection wiisaisis sesciccicncirccicnsncsrimeteccraniassundcncteunsianceanddcocaatcatsunssddsined 10 Figure 3 1 Option Selection Map 10 Chapter 4 Address Selection ccccccccccceeeeceeeeeeeeeeeeeceeeeeeeeeeeeeeeeeeecaaeeeeeeeeeeeeeeeeeaaees 11 Chapter Sep 12 Chapter 6 Programminmg nenene 14 Table 6 1 Address Assignments 0 cccccceecceceteeeeeeeeeaee seen ee ceaeeeeaaeseeeeecaaeeeeaaeedeaeeseneeesaeeeteaeeseeneess 14 Table 6 2 Control Register Bit Assignment cccccceeeeeeee erect eeeeeee eae eeeeaeeeeaee sense saeeesaeeeeneeee 15 Table 6 3 Control Register Contftguration scenes cae eeeeaeeseaeeseneeesaeeesaeeeeeeeee 16 Table 6 4 Change of State Interrupt Enable Register 17 Chapter 7 Connector Pin Assignments nnsseneeeeee
19. p at pin 9 or 59 of the connector Example 2 External interrupt The interrupt option jumper for the group must be in the IEN position Configure port C Low as an input and enable interrupts globally by reading any address decoded by the board The pulse at pins 9 or 59 bit C3 must go high for at least 1 uS then low Example 3 Gating the external interrupt An open collector or open drain driver must connect to pin 9 or 59 to avoid contention this is critical Write OXXX where X is don t care to port C Low To gate the external interrupt off configure port C Low as an output don t change the value of the most significant bit To gate the external interrupt on configure port C Low as an input 18 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 7 Connector Pin Assignments The mating connector is HPBP 31100 10 S IDC type with ABS Hood and One Touch Lock Latches or HPBP 70100 10 S IDC type for Overmold or equivalent Acon catalog dated August 97 Connector pin assignments are listed below Notice that every second line is grounded to minimize crosstalk between signals ASSIGNMENT Group 0 Port C Hi Group 0 Port C Hi Group 0 Port C Hi Group 0 Port C Hi Group 0 Port C Lo Group 0 Port C Lo Group 0 Port C Lo Group 0 Port C lo Group 0 Port B Group 0 Port B Group 0 Port B Group 0 Port B Group 0 Port B Group 0 Po
20. pplication The software provided with this card is on CD and must be installed onto your hard disk prior to use To do this perform the following steps as appropriate for your operating system Configure Card Options via Jumper Selection Before installing the card into your computer carefully read Chapter 3 Option Selection of this manual then configure the card according to your requirements Our Windows based setup program can be used in conjunction with Chapter 3 to assist in configuring jumpers on the card as well as provide additional descriptions for usage of the various card options CD Software Installation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS Place the CD into your CD ROM drive 2 Type LJe to change the active drive to the CD ROM drive 3 Type NSIT E to run the install program 4 Follow the on screen prompts to install the software for this board Place the CD into your CD ROM drive The system should automatically run the install program If the install program does not run promptly click START RUN and type 2JJoJsJ s t4J4J J click OK or press Sc WINDOWS 1 2 3 Follow the on screen prompts to install the software for this board LINUX 1 Please refer to linux htm on the CD ROM for information on installing under linux Caution ESDA single static discharge can damage your card and c
21. roup 0 are to be setup as follows Port A Input Port B Output Pont CH Input PortCLo Output The first step is to configure the control register Configure bits of the control register as D7 1 Active Mode Set D6 0 Mode 0 D5 0 Mode 0 D4 1 Port A Input D3 1 Port C Hi Input D2 0 Mode 0 D1 O Port B Output DO O Port C Lo Output Table 6 3 Control Register Configuration This corresponds to 98 hex If the card address is 2D0 hex use the BASIC OUT command to write to the control register as follows 10BASEADDR amp H2D0 200UT BASEADDR 3 amp H98 To read the inputs at Port A and the upper nybble of Port C 30X INP BASEADDR Read Port A 40Y INP BASEADDR 2 16 Read Port C Hi To set outputs high 1 at Port B and the lower nybble of Port C 500UT BASEADDR 1 amp HFF Turn on all Port B bits 600UT BASEADDR 2 amp HF Turn on all bits of Port C lower nybble 16 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ENABLING DISABLING I O BUFFERS When using the tristate mode Jumper in the TST position the method to disable the I O buffers involved writing a control word to the Control Register at Base Address 3 and Base Address 7 This control word was required to have bit D7 the most significant bit set That meant that the PPI translated it as an active mode set
22. rt B Group 0 Port B Group 0 Port B Group 0 Port A Group 0 Port A Group 0 Port A Group 0 Port A Group 0 Port A Group 0 Port A Group 0 Port A Group 0 Port A 5 VDC PC7 PC6 PC5 PC4 PC3 PC2 PC1 PCO PB7 PB6 PB5 PB4 PB3 PB2 PB1 PBO PA7 PA6 DAN PA4 PA3 PA2 PA1 PAO PIN 49 ASSIGNMENT Ground Ground PIN 50 This line is an I O port and also a User Interrupt Table 7 1 Connector Pin Assignments 1 50 19 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ASSIGNMENT Group 1 Port C Hi Group 1 Port C Hi Group 1 Port C Hi Group 1 Port C Hi Group 1 Port C Lo Group 1 Port C Lo Group 1 Port C Lo Group 1 Port C Lo Group 1 Port B Group 1 Port B Group 1 Port B Group 1 Port B Group 1 Port B Group 1 Port B Group 1 Port B Group 1 Port B Group 1 PortA Group 1 PortA Group 1 PortA Group 1 Port A Group 1 PortA Group 1 PortA Group 1 PortA Group 1 PortA 5 VDC PC7 PC6 PC5 PC4 PC3 PC2 PC1 PCO PB7 PB6 PB5 PB4 PB3 PB2 PB1 PBO PA7 PA6 PAS PA4 PA3 PA2 PA1 PAO PIN 99 ASSIGNMENT PIN Ground 52 Ground This line is an I O port and also a User Interrupt Table 7 2 Connector Pin Assignments 51 100 20 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Cust
23. s then it is necessary to send a control byte of hex 00 to base address 3 to enable the port 0 buffers When you do this the buffers will be enabled Note that all data bits except D7 must be the same for the two control bytes Those buffers will now remain enabled until another control byte with data bit D7 high is sent to base address 3 15 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Similarly the group 1 ports can be enabled disabled via the control register at base address 7 The following program fragment in C language illustrates the foregoing const BASE_ADDRESS 0x300 Set the mode to Mode 0 ports A and B as output and port C as input Since bit D7 is high the output buffers are set to tristate condition See item b above outportb BASE_ADDRESS 3 0x89 outportb BASE_ADDRESS 0 These instructions set the initial state of ports A and B to all zeroes Port C is not set because it is configured as an input See item c above outportb BASE_ADDRESS 1 0 Enable the tristate output buffers by using the same control byte used to configure the PPI but now set bit D7 low See item d above outportb BASE_ADDRESS 3 0x09 PROGRAMMING EXAMPLE BASIC The following example in BASIC is provided as a guide to assist you in developing your working software In this example the card base address is 2D0 hex and the I O lines of g
24. section of this manual Specifications Digital Inputs TTL Compatible Logic High 2 0 to 5 0 VDC Logic Low 0 5 to 0 8 VDC Input Load Hi 20 uA Input Load Lo 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 at 250 mA typical Size 6 9 Long 176 mm Environmental Operating Temperature 0 degr to 60 degr C Storage Temperature 50 degr to 120 degr C Humidity 0 to 90 RH non condensing 6 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com COMPUTER PCI BUS APPLIES TO S CARDS ONLY PORTA TT Loos PORT B CHANGE GROUP OF PORT C HI STATE CHANGE OF STATE INTERRUPT PPI BUS GROUP DOAOMZZONO Z2Z V oo PORTB CHANGE PORT C HI ture CONTROL ORTIG DETECT CHANGE OF STATE INTERRUPT INTERRUPT ENABLE EXTERNAL INTERRUPT Figure 1 1 Block Diagram 7 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com Chapter 2 Installation A printed Quick Start Guide QSG is packed with the card for your convenience If you ve already performed the steps from the QSG you may find this chapter to be redundant and may skip forward to begin developing your a
25. tion 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 IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 1998 2005 by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTING AND DISCONNECTING CABLES OR INSTALLING CARDS INTO A SYSTEM WITH THE COMPUTER OR FIELD POWER ON MAY CAUSE DAMAGE TO THE I O CARD AND WILL VOID ALL WARRANTIES IMPLIED OR EXPRESSED 2 Manual PCI DIO 48 H HS Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com 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 Terms and Conditions If a unit is suspected of failure contact ACCES Customer Service department Be prepared to give the unit model number serial number and
26. word wide All references to the I O ports would be in absolute port addressing However a table could be used to convert the byte or word data ports to a logical reference DEVELOPING YOUR APPLICATION SOFTWARE If you wish to gain a better understanding of the programs on diskette then the information in the following paragraphs will be of interest to you Refer to the data sheets and 8255 5 specification in Appendix A A total of 16 register locations are used by these The PPls are addressed consecutively with Address bits A3 through AO as follows Address Port Assignment Operation Base Address Port A Group 0 Read Write Base Address 1 Port B Group 0 Read Write Base Address 2 Port C Group 0 Read Write Base Address 3 Control Group 0 Write Only Base Address 4 Port A Group 1 Read Write Base Address 5 Port B Group 1 Read Write Base Address 6 Port C Group 1 Read Write Base Address 7 Control Group 1 Write Only Base Address 8 Enable Disable Buffer Grp 0 Write Only Base Address 9 Enable Disable Buffer Grp 1 Write Only Base Address B Enable Chg of St Interrupt Write Only Base Address F Clear Chg of St Interrupt Write Only Table 6 1 Address Assignments These cards use two type 8255 5 PPIs to provide a total of 48 bits input output capability The cards are designed to use each of these PPI s in Mode 0 wherein a There are two 8 bit groups A and B and two 4 bit groups C Hi and C Lo b

Download Pdf Manuals

image

Related Search

Related Contents

  Acronis Backup & Recovery 10 Advanced Server Virtual Edition  User`s Guide Guide de l`utilisateur Guía del usuario  PD240 - HTDS  Medisana Manilux L  M215 WARRANTY    user manul  フェノバウチコミ施工要領書(スラブ)  取扱説明書 - 山田照明  

Copyright © All rights reserved.
Failed to retrieve file