background image

Manual 104-QUAD-8 

TABLE OF CONTENTS

 

 

Chapter 1: Introduction

 ..............................................................................................................5

 

Features

 ................................................................................................................................................................... 5

 

Applications

 ............................................................................................................................................................ 5

 

Functional Description

 ........................................................................................................................................... 5

 

Figure 1-1: 

Block Diagram .................................................................................................................................. 6

 

Ordering Guide

 ....................................................................................................................................................... 6

 

Model Options

 ......................................................................................................................................................... 6

 

Included with your board

 ....................................................................................................................................... 7

 

Optional Accessories

 ............................................................................................................................................. 7

 

Chapter 2: Installation

 ................................................................................................................8

 

CD Installation

 ......................................................................................................................................................... 8

 

Windows

 .............................................................................................................................................................. 8

 

Linux

 .................................................................................................................................................................... 8

 

Installing the Hardware

 .......................................................................................................................................... 9

 

To Install the Board

 ................................................................................................................................................ 9

 

Figure 2-1:

 PC/104 Key Information .................................................................................................................... 9

 

Chapter 3: Option Selection

 .................................................................................................... 10

 

Figure 3-1

: Setup Configuration Map ................................................................................................................ 10

 

Chapter 4: Address Selection

 .................................................................................................. 11

 

Table 4-1: 

Hex Ranges ...................................................................................................................................... 11

 

Table 4-2: 

Hex Conversion Table ...................................................................................................................... 12

 

Chapter 5: Programming

 .......................................................................................................... 13

 

Table 5-1: 

Base Address Map ........................................................................................................................... 13

 

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 Operation Register (11h)

 .............................................................................................. 16

 

Writing to the Index / Interrupt Register (12h)

 ................................................................................................... 17

 

Reading Index Input Levels (16h)

 ....................................................................................................................... 17

 

Reading Differential Encoder Cable Status (17h)

 .............................................................................................. 17

 

Reading the CPLD Revision Register (18h)

 ....................................................................................................... 17

 

Sample Code (C:DOS / debug.exe)

 ..................................................................................................................... 18

 

Chapter 6: Connector Pin Assignments

 ................................................................................. 19

 

Table 6-1: 

Connector Pin Assignments  - P2 .................................................................................................... 19

 

Table 6-2: 

Connector Pin Assignments  - P3 .................................................................................................... 20

 

Chapter 7: Specification

 ........................................................................................................... 21

 

Customer Comments

 ............................................................................................................... 22

 

 

Содержание 104-QUAD-6

Страница 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 MAN...

Страница 2: ...or 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 S...

Страница 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 r...

Страница 4: ...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 Writi...

Страница 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 co...

Страница 6: ...l 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 complian...

Страница 7: ...d 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...

Страница 8: ...the following steps as appropriate for your operating system Substitute the appropriate drive letter for your CD ROM where you see d in the examples below CD Installation The following instructions as...

Страница 9: ...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 Careful...

Страница 10: ...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 cha...

Страница 11: ...0 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 Cont...

Страница 12: ...umpers 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...

Страница 13: ...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...

Страница 14: ...trol 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 Readi...

Страница 15: ...t 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...

Страница 16: ...s 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...

Страница 17: ...6 Bit 6 Set high to enable Channel 7 Bit 7 Set high to enable Channel 8 Reading Index Input Levels 16h Bit 0 through 7 correspond to channels 1 through 8 Logic 0 Index Input low false Logic 1 Index In...

Страница 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 3...

Страница 19: ...put 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 N...

Страница 20: ...rature 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...

Страница 21: ...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...

Страница 22: ...nual 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 Ro...

Отзывы: