Home
IIRO8 Manual - Texim Europe
Contents
1. Chapter 6 Connector Pin 16 Table 6 1 Connector Pin Assignments 2 eene 16 Table 6 2 Connector Pin Assignments 17 Chapter 1 Functional Description Features 8 Quadrature Encoders are interfaced Input conditioning for each encoder allows us of a variety of encoders Interrupt Software Enabled for 8 encoders Interrupts are programmable for parameters such as speed or count Outputs to computer can include count speed direction of movement 24 counters for each encoder 5V Supply Available to the User Compatible with Industry Standard I O Racks like Gordos Opto 22 Potter amp Brumfield etc Applications Automatic Test Systems Laboratory Automation Robotics Machine Control Security Systems Energy Management The card is a general purpose Quadrature Encoder Counter Interface board It is provided in the popular 104 format and conditions and monitors the outputs of 8 encoders These functions include anything that can be programmed into the versatile LSI CSI LS7266R1 integrated circuit These functions include speed direction and total count By providing these functions it frees the computer for higher level applications The ability to provide an interrupt for a parameter such as total count further frees the computer f
2. 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 application The software provided with this PC 104 Board 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 Substitute the appropriate drive letter for your CD ROM where you see 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 2 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 CD into your CD ROM drive 2 The system should automatically run the install program If the install program does not run promptly click START RUN and type click OK or press 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 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 configu
3. 91h to the control register at address 1 Three reads are then required to get the current count from data register 0 The first read returns the Least Significant Byte and the last read returns the Most Significant Byte In order to write to the Preset Register first write 91h to the control register Then perform three writes to the data register The first write is the Least Significant Byte and the last write is the Most Significant Byte Conirol 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 actually used for reading the FLAG register using the Reset and Load Signal Decoders setting up the Counter Mode Register and setting up the Input Output Control Register Reading the Flag Register Perform a single read from the control register Bit 0 BT Borrow Toggle flip flop Toggles every time the counter underflows Bit 1 CT Carry Toggle flip flop Toggles every time the counter overflows Bit 2 CPT Compare Toggle flip flop Toggles every time the counter is equal to the Preset Register Bit 3 S Sign flag Set to 1 when counter underflows and reset to 0 when it overflows Bit 4 E Error flag Set to 1 when excessive noise is present at the count inputs in quadrature mode Ignore in other modes Bit 5 U D Up Down flag Set to 1 when counting up and reset to 0 when counting down Bit 6 IDX Index Set to 1 when selected index input is at
4. ACCES 1 0 PRODUCTS INC 10623 Roselle Street San Diego CA 92121 858 550 9559 Fax 858 550 7322 contactus accesio com www accesio com MODEL 104 QUAD 8 USER MANUAL File m104 quad 8 A1i Distributed by EUROPE www texim europe 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 information 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 2002 2005 by ACCES 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 DISCONNECTING CABLES OR INSTALLING BOARDS INTO A SYSTEM WITH THE COMPUTER OR FIELD POWER ON MAY CAUSE DAMAGE TO THE I O BOARD AND WILL VOID ALL WARRANTIES IMPLIED OR EXPRESSED 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 avai
5. Channel 7 Bit 7 Routes the index signal for Channel 8 15 Manual 104 QUAD 8 Chapter 6 Connector Pin Assignments rin channel een pim oramne Oe e 3 masse Poste 3 t onsas wwe ma 8 cm Fie 2 anie e o eo Table 6 1 Connector Pin Assignments P2 Note When single ended encoders are used the signals should be connected to the positive inputs 16 Manual 104 QUAD 8 rin cene unen GC oos fee e s uaran 23 7 tacet pu e s awmuesmeema m Ground 26 Fused 5V FuedsV e Index Negative Input ever 2 Index Positive Input 29 6 Quadrature A Negative Input 30 8 Quadrature A Positive Input Quadrature A Positive Input 31 8 Quadrature B Negative Input 6 Quadrature Negative Input 32 8 Quadrature Positive Input Fie s _ 5 mw l Table 6 2 Connector Pin Assignments P3 Index Positive Input No connection Note When single ended encoders are used the signals should be connected to the positive inputs 17 Manual 104 QUAD 8 Customer 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 i
6. active level Bit 7 Not used is always 0 The various registers are written to by using bits 5 and 6 of a one byte write to the control address Using the Reset and Load Signal Decoders Bit 0 1 to reset BP Bits 1 amp 2 set bit 1 high for reset CNTR set bit 2 high for Reset BT CT CPT S flags set both bits high for reset E flag bits 3 amp 4 set bit 3 high to transfer Preset Register to Counter Set bit 4 high to transfer counter to output latch so it can be read from the data address set both bits high to transfer the LSB of the Preset Register to the Clock Prescaler Bits 5 amp 6 set both bits to 0 for the decoder Bit 7 set high Writing to the Counter Mode Register Bit 0 set low to use Binary Count and set high to use BCD count Bits 1 amp 2 set both low to use normal count set bit 1 high to use Range Limit set bit 2 high to use Non Recycle Count set both bits high to use Modulo N count Bits 3 amp 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 and set both bits high to use Quadrature times 4 Bits 5 amp 6 set bit 5 high and bit 6 low in order to use the Counter Mode Register Bit 7 set high Writing to the Input Output Control Register Bits 0 amp 1 amp 2 set low Bits 3 amp 4 set both bits low to set FLG1 to go high on a Carry Set bit 3 high to set FLG1 to go high on a COMPARE Set bit 4 high to set FLG1 to g
7. e board Pin 1 E AB Figure 2 1 PC 104 Key Information Chapter 3 Option Selection The only options to select on the card are the IRQ level and the card s base address All other options are selected via software Interrupts are directed to levels 2 through 7 10 through 12 and 15 by jumpers installed at locations labeled IRQ2 through IRQ7 IRQ10 through IRQ12 and IRQ15 202020202020202070 OOOOO0O0O0O0O00 c c IOX014 00 ano ool Figure 3 1 Option Selection 10 Chapter 4 Address Selection The card occupies 16 bytes of I O space The card base address can be selected anywhere within the address range 100 3E0 hex If in doubt of where to assign the base address refer to the table below and the FINDBASE program HEX RANGE USAGE 000 00F 8237 DMA Controller 1 020 021 8259 Interrupt 040 043 8253 Timer 060 06F 8042 Keyboard Controller 070 07F CMOS RAM NMI Mask Reg RT Clock 080 09F DMA Page Register 0 8259 Slave Interrupt Controller 0 0 0 8237 DMA Controller 2 0 0 0 1 Math Coprocessor OF8 OFF Math Coprocessor 170 177 Fixed Disk Controller 2 1F0 1F8 Fixed Disk Controller 1 200 207 Game Port 238 23B Bus Mouse 23C 23F Alt Bus Mouse 278 27 Parallel Printer 2B0 2BF EGA 2C0 2CF EGA 2D0 2DF EGA 2E0 2E7 GPIB AT 2E8 2EF Serial Port 2F8 2FF Serial Po
8. ential Counter Section Counter Type Clock Frequency Separation Clock Pulse width Index Pulse width Clock Frequency Clock A high pulse width Clock B high pulse width Filter Clock FCK Digital Filter rate Interrupt Controller Section Controller Type Interrupts Interrupt Sources Addressing 260mA AM26L S32 Each encoder consists of Phase A Input Phase B Input and Index Input differential conditioning provided 8 7 V maximum 25 V maximum 200 mV 50 mV Typical 12KQ shunted by 1500 in series with 4 7nF Resistive pull ups or pull downs may be specified 25 LS7266R1 24 bit Dual Axis Quadrature Counter 4 3 MHz maximum 57 ns min 115 ns min 85 ns min 30 MHz maximum 16 ns min 16 ns min Bus Clock normally 8 33 MHz Optional Crystal available Same as FCK CPLD Jumper selectable 2 7 10 12 15 All Carry Borrow outputs from LS7266R1s All Index Inputs ISA bus address is set by jumpers Environmental Operating Temperature 0 C to 70 C optional 40 C to 85 C Storage Temperature 50 C to 120 C Humidity up to 9596 RH non condensing 104 QUAD 8 v 12 SQ O DIFFERENTIAL QUADRATURE LINE 20 COUNTERS 8 DRIVERS H 1872668 TE AM26LS JUMPER JUMPER SELECTED SELECTED ADDRESS IRQ Figure 1 1 Block Diagram Chapter 2 Installation A printed Quick Start Guide QSG is packed with the board for
9. iscretion 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 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 TABLE OF CONTENTS Chapter 1 Functional 5 OS eate 5 aee eeu anao aetate aia TERR 5 Figure 1 1 Block Diagrams eedem Re eee e Ede dene 7 Chapter 2 Installation eode aden ad eid dude 8 Figure 2 1 PC 104 Key 9 Chapter 3 Option 10 Figure 3 1 Option Selection 10 Chapter 4 Address 11 Chapter 5 Programming GN Ee pua 12
10. lable 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 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 d
11. nclude your mailing address so that we can send you any manual updates ACCES 1 0 PRODUCTS INC 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com 18 Manual 104 QUAD 8 TEXIM EUROPE Partner in Electronic Components amp Supply Chain Solutions Elektrostraat 17 Marielundvej 46B NL 7483 PG Haaksbergen DK 2730 Herlev 31 0 53 573 33 33 Tel 45 88 20 26 30 Fax 31 0 53 573 33 30 Fax 45 88 20 26 39 info texim europe com info texim europe com a Belgium United Kingdom Gentsesteenweg 1154 C22 St Mary s House Church Lane Chauss e de Gand 1154 C22 Carlton Le Moorland B 1082 Brussel Bruxelles Lincoln LN5 9HS Tel 32 0 2 462 01 00 Tel 44 0 1522 789 555 Fax 32 0 2 462 01 99 Fax 44 0 845 299 22 26 info texim europe com info texim europe com Justus von Liebig Ring 7 9 Martin Kollar Strasse 9 D 25451 Quickborn D 81829 Munchen Tel 49 0 4106 627 07 0 Tel 49 0 89 436 086 0 Fax 49 0 4106 627 07 20 Fax 49 0 89 436 086 19 info texim europe com info texim europe com Austria Pyrkergasse 6 1 A 1190 Wien Tel 43 0 1 369 09 09 0 Fax 43 0 1 369 09 10 info texim europe com Elektrostraat 17 N Tel 31 0 53 573 33 33 info texim europe com T E X M www texim europe com
12. o high on a Carry or Borrow and set both bits high to set FLG1 to go high whenever the FLAG register has bit 6 IDX set high Note that when Interrupts are enabled on the card they occur whenever FLG1 is high Bits 5 amp 6 set bit 5 low and bit 6 high in order to use the Input Output Control Register Bit 7 set high 14 Manual 104 QUAD 8 Working with Interrupts Channel Operation Register 11h 0 sets all Counter CNTR ABC inputs to 1 Bit 1 Reserved Bit 2 1 enables the interrupt function using all Flag 1 s for each channel Bits 3 through 7 Reserved To enable Interrupts on the card write 6h to address 11h This will set the card to generate interrupts whenever FLG1 on any channel goes high as described in Writing to the Counter Mode Register When an interrupt occurred read from address 10h to determine which bit The Least Significant Bit will correspond to the first channel Index Interrupt Register 12h This register is used to route the conditioned index input signals to the appropriate Counters permitting the generation of index initiated interrupts Each bit of this register controls the routing of one channel Bit 0 Routes the index signal for Channel 1 Bit 1 Routes the index signal for Channel 2 Bit 2 Routes the index signal for Channel 3 Bit 3 Routes the index signal for Channel 4 Bit 4 Routes the index signal for Channel 5 Bit 5 Routes the index signal for Channel 6 Bit 6 Routes the index signal for
13. ring 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 e Install jumpers for selected options and base address according to your application requirements as mentioned above Remove power from the PC 104 stack Assemble standoff hardware for stacking and securing the boards 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 Install 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 Check that all connections in your PC 104 stack are correct and secure then power up the system Run one of the provided sample programs appropriate for your operating system that was installed from the CD to test and validate your installation 1 you are installing this board into a PC 104 Pin 0 stack that has the holes for Pin C19 and B10 blocked please cut these two pins as shown from the solder side of this board It is not necessary to block the holes on the component side of th
14. rom 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 is buffered and capable of utilizing inputs up to 25 volts A 5 Volt source is available for appropriate encoders The conditioned inputs are connected to appropriate LSI CSI LS7266R1 integrated circuits These circuits are the heart of the card s operation They may be programmed for a variety of functions The programming is discussed later and the user is referred to the manufacturers data sheet for detailed information The card occupies 32 bytes of I O address space The base address is selectable via jumpers anywhere within the range of 100 3E0 hex An illustrated setup program is provided with the card Interactive displays show locations and proper settings of jumpers to set up board address and interrupt levels SPECIAL NOTE FOR PROGRAMMERS The one language not recommended for programming interrupt service routines is any version of Visual BASIC The recommended programming languages for IRQ based applications are Delphi and C Builder Specification Power Consumption 5 Volts Input Section Receiver Type Configuration Number of Channels Common mode input range Differential Input Range Input Sensitivity Input Hysteresis Input Impedance Input Options Absolute maximum input differ
15. rt 300 30F 310 31F 320 32F Hard Disk XT 370 377 Floppy Controller 2 378 37F Parallel Printer 380 38F SDLC 3A0 3AF SDLC 3B0 3BB MDA 3BC 3BF Parallel Printer 3C0 3CF EGA 3D0 3DF CGA 3E8 3EF Serial Port 3F0 3F7 Floppy Controller 1 3F8 3FF Serial Port Table 4 1 Hex Ranges 11 Chapter 5 Programming The card is an l O mapped device that is easily configured from any language and any language can easily perform quadrature reads This is especially true if the form of the data is byte or 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 The languages Delphi and C Builder are recommended to program in to take advantage of the IRQ feature With Visual C is more difficult to accomplish this and Visual BASIC is NOT recommended for interrupt type programming Adios o seien 12 net Reiter he ny Baseness Sls e806 2K ony Table 5 1 Base Address Information 12 Data Registers 0 2 4 8 A C E h These registers are read in order to retrieve the current count from the card and written to in order to set the Preset Register In order to read from any of the registers a write must first be performed on that data register s corresponding control register In order to get the count from Data register 0 you would first write
Download Pdf Manuals
Related Search
Related Contents
JVC XL-PG38BP User's Manual Guía de retención para nuevas unidades Copyright © All rights reserved.
Failed to retrieve file