background image

Manual 104-QUAD-8 

Installing the Hardware

 

Before installing the board, carefully read Chapter 3 and Chapter 4 of this manual and configure the 
board according to your requirements. The SETUP Program can be used to assist in configuring 
jumpers on the board. Be especially careful with Address Selection. If the addresses of two installed 
functions overlap, you will experience unpredictable computer behavior. To help avoid this problem, 
refer to the FINDBASE.EXE program installed from the CD. The setup program does not set the options 
on

 the board, these must be set by jumpers. 

 

To Install the Board 

1. 

Install jumpers for selected options and base address according to your application 
requirements, as mentioned above. 

2. 

Remove power from the PC/104 stack. 

3. 

Assemble standoff hardware for stacking and securing the boards. 

4. 

Carefully plug the board onto the PC/104 connector on the CPU or onto the stack, ensuring 
proper alignment of the pins before completely seating the connectors together. 

5. 

Install I/O cables onto the board’s I/O connectors and proceed to secure the stack together or 
repeat steps 3-5 until all boards are installed using the selected mounting hardware. 

6. 

Check that all connections in your PC/104 stack are correct and secure then power up the 
system.  

7. 

Run one of the provided sample programs appropriate for your operating system that was 
installed from the CD to test and validate your installation. 

 

 

 

Figure 2-1:

 PC/104 Key Information 

 

Summary of Contents for 104-QUAD-8

Page 1: ... Street San Diego CA 92121 858 550 9559 Fax 858 550 7322 contactus accesio com www accesio com MODEL 104 QUAD 8 MODEL 104 QUAD 4 EIGHT AND FOUR CHANNEL QUADRATURE INPUT PC 104 BOARDS USER MANUAL File M104 QUAD 8 D1 ...

Page 2: ...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 2002 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 BOARD CONNECTING A...

Page 3: ... 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 te...

Page 4: ...ers 1 3 5 7 9 B D F h 14 Reading the FLAG Register 14 Writing to the RLD Reset and Load Signal Decoders 15 Writing to the CMR Counter Mode Register 15 Writing to the IOR Input Output Control Register 15 Writing to the IDR Index Control Register 16 Working with Interrupts 16 Reading the Interrupt Status Register 10h 16 Writing to the Channel Operation Register 11h 16 Writing to the Index Interrupt ...

Page 5: ...n and total count By performing these functions on board it frees the computer for higher level applications The ability to provide an interrupt for the index frees the computer from the necessity of constantly reading the position of an encoder Interrupts are directed to levels 2 through 7 10 through 12 and 15 by jumper installation The card is designed for industrial applications Each input line...

Page 6: ...ring Guide 104 QUAD 8 Eight channel quadrature decoder PC 104 board 104 QUAD 4 Four channel quadrature decoder PC 104 board Model Options T Extended operating temperature of 40 to 85 C F Higher frequency FCK of 33 300 MHz DF Differential filter of 120Ω in series with 4700pF per channel RoHS This product is available in a RoHS compliant version Please call for specific pricing then be sure to add t...

Page 7: ...4 quadrature board Software Master CD Quick Start Guide Optional Accessories C104 34F 12 Ribbon cable assembly 12 with 34 pin female headers on each end STB 34 Screw terminal board 34 pin male header DIN SNAP6 DIN rail mounting for one STB 34 104 HDW KIT x PC 104 mounting hardware kit includes standard 4 40 x S for standard x M for metric standoffs and pan head phillip screws for securing into PC ...

Page 8: ...e d in the examples below CD Installation The following instructions assume the CD ROM drive is drive D Please substitute the appropriate drive letter for your system as necessary DOS 1 Place the CD into your CD ROM drive 2 Type to change the active drive to the CD ROM drive 3 Type to run the install program 4 Follow the on screen prompts to install the software for this board WINDOWS 1 Place the ...

Page 9: ...d options and base address according to your application requirements as mentioned above 2 Remove power from the PC 104 stack 3 Assemble standoff hardware for stacking and securing the boards 4 Carefully plug the board onto the PC 104 connector on the CPU or onto the stack ensuring proper alignment of the pins before completely seating the connectors together 5 Install I O cables onto the board s ...

Page 10: ...up on the card are the IRQ level and the card s base address All other features are setup via software Interrupts are directed to levels 2 through 7 10 through 12 and 15 by a jumper at locations labeled IRQ2 through IRQ7 IRQ10 through IRQ12 and IRQ15 Figure 3 1 Setup Configuration Map ...

Page 11: ...E0 2E7 2E8 2EF 2F8 2FF 300 30F 310 31F 320 32F 370 377 378 37F 380 38F 3A0 3AF 3B0 3BB 3BC 3BF 3C0 3CF 3D0 3DF 3E8 3EF 3F0 3F7 3F8 3FF 8237 DMA Controller 1 8259 Interrupt 8253 Timer 8042 Keyboard Controller CMOS RAM NMI Mask Reg RT Clock DMA Page Register 8259 Slave Interrupt Controller 8237 DMA Controller 2 Math Coprocessor Math Coprocessor Fixed Disk Controller 2 Fixed Disk Controller 1 Game Po...

Page 12: ...jumpers and for each 1 remove the corresponding jumper The following example illustrates jumper selection corresponding to hex 300 or binary 11 000x xxxx The x xxxx represents address lines A4 A3 A2 A1 and A0 used on the board to select individual registers as described in the Programming section of this manual Base Address in Hex Code 3 0 Conversion Factors 2 1 8 4 2 Binary Representation 1 1 0 0...

Page 13: ...se Address 4 Channel 3 Data Read Write Second LS7266R1 Base Address 5 Channel 3 Flag Command Read Write Base Address 6 Channel 4 Data Read Write Base Address 7 Channel 4 Flag Command Read Write Base Address 8 Channel 5 Data Read Write Third LS7266R1 Base Address 9 Channel 5 Flag Command Read Write Base Address A Channel 6 Data Read Write Base Address B Channel 6 Flag Command Read Write Base Addres...

Page 14: ...ntrol register Control Registers 1 3 5 7 9 B D F h The control registers all correspond to the data register that is one address below it The control register is used for the following operations Reading the Flag Register Resetting the BP three byte data pointer and flags Setting the PSC filter clock factor n and PR preset count Initial setup of the Counter Mode Register Input Output Control Regis...

Page 15: ...nt Set both bits high to use Modulo N count Bits 3 4 Set both bits low to use non quadrature mode Set bit 3 high to use Quadrature times 1 Set bit 4 high to use Quadrature times 2 Set both bits high to use Quadrature times 4 Bits 5 6 Set bit 5 high and bit 6 low Bit 7 Set high to program both counters simultaneously Writing to the IOR Input Output Control Register Bit 0 Set high to enable A and B ...

Page 16: ...us Register 10h When an interrupt occurs read from address 10h to determine which channel was the source Bit 0 7 The Least Significant Bit will correspond to the first channel High true Writing to the Channel Operation Register 11h Any write to this address will clear any pending interrupts A read from this address will return it s contents Bit 0 Set high to reset all Counters Set low to enable al...

Page 17: ...ing any value to this address Selecting the Fast Filter Clock 14h Optional Select 33 300 MHz FCK by writing any value to this address default 14 318 MHz is the Filter Clock frequency without the F fast FCK factory option Reading Index Input Levels 16h Bit 0 through 7 correspond to channels 1 through 8 Logic 0 Index Input low false Logic 1 Index Input high true If your encoder does not have an Inde...

Page 18: ... 1 setup o 301 15 o 300 00 o 300 00 o 300 00 o 301 28 o 301 59 o 301 63 o 311 05 o 311 04 o 312 01 Channel 1 data 24 bit and flags 8 bit card interrupt status 8 bit o 301 11 i 300 i 300 i 300 i 301 i 310 o 311 04 repeat above 7 commands while turning encoder ...

Page 19: ...A Positive Input Quadrature B Negative Input 3 23 24 3 Quadrature B Positive Input Ground 4 25 26 4 Fused 5V Index Negative Input 4 27 28 4 Index Positive Input Quadrature A Negative Input 4 29 30 4 Quadrature A Positive Input Quadrature B Negative Input 4 31 32 4 Quadrature B Positive Input No connection 33 34 No connection Table 6 1 Connector Pin Assignments P2 Notes 1 When using single ended En...

Page 20: ...itive Input Quadrature B Negative Input 7 23 24 7 Quadrature B Positive Input Ground 8 25 26 8 Fused 5V Index Negative Input 8 27 28 8 Index Positive Input Quadrature A Negative Input 8 29 30 8 Quadrature A Positive Input Quadrature B Negative Input 8 31 32 8 Quadrature B Positive Input No connection 33 34 No connection Table 6 2 Connector Pin Assignments P3 Notes 1 When using single ended Encoder...

Page 21: ...itive pins 5V via 4 7kΩ pull ups Negative pins 2 5V via pull up down combo Options Differential filter 120Ω in series with 4700pF Counter Section Counter Type LS7266R1 24 bit Dual Axis Quadrature Counter Quadrature Clock Frequency 4 3 MHz maximum Quadrature Separation 57 ns min Quadrature Clock Pulse Width 115 ns min Index Pulse width 85 ns min Filter Clock FCK PC 104 Bus OSC 14 318 MHz Optional 3...

Page 22: ...anual 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 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com ...

Reviews: