background image

Manual 104-QUAD-8 

 

 

Figure 1-1: 

Block Diagram 

 

Ordering Guide 

 

 

104-QUAD-8   

Eight-channel quadrature decoder PC/104 board 

 

104-QUAD-6   

Six-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

 

-RoHS  

This product is available in a RoHS compliant version. Please call for specific 

pricing then be sure to add this suffix to the model number on any hard-copy or 

verbal purchase orders. 

Summary of Contents for 104-QUAD-4

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

Page 2: ...CCES 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 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 AND DI...

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: ...3 Data Registers 0 2 4 8 A C E h 14 Control Registers 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 Operati...

Page 5: ... 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: ...el 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 RoHS This product is available in a RoHS compliant version Please call for specific pricing then be sure to add this suffix to the model number on any hard copy or verbal purchase orders ...

Page 7: ...ed or missing PC 104 quadrature board 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 104 stack ...

Page 8: ...product page on our website at http ACCES IO Downloads Installing from Downloaded Installer Download the software package here https accesio com files packages 104 QUAD 8 Install exe or from the Downloads tab on the product page Linux 1 Please visit https github com accesio Linux_PC104_legacy for Linux support for this board family ...

Page 9: ...cted 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...

Page 10: ...7 10 through 12 and 15 by a jumper at locations labeled IRQ2 through IRQ7 IRQ10 through IRQ12 and IRQ15 For PCB Revision C1 and newer the Input Mode Select for encoder output type has 3 jumpers per channel 1 each for A B Z Index From the center jumper post to the SE position applies 1 4V to receiver low inputs From the center jumper post to the DIFF position applies 1KΩ Termination between high an...

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: ...d Read Write Base Address 4 Channel 3 Data Read Write Second LS7267 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 LS7267 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 ...

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: ...ng 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 Index signal the Index Positive Input pin needs to be grounded or the corresponding channel bit will return a logic 1 level Reading Differential Encoder Cable Status 17h Bit 0 through 7 correspond to channels 1 through 8 To enable...

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: ...nput 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 Encoders leave the Negative Input open int...

Page 20: ...drature 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 Encoders leave the Negative Input open internal 1 4V thresho...

Page 21: ...s Positive pins 100kΩ to 5V Negative pins 100kΩ to ground Single ended threshold Negative pins 1 4V via pull up down combo Only when single ended jumper is installed Rev C PCBs and newer Counter Section Counter Type LS7267 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 mi...

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: