B&B Electronics 2IQEC2 Manual

Manual is about: Quadrature Encoder Counter Board

Summary of 2IQEC2

  • Page 1

    2iqec2/43798 manual cover page b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 quadrature encoder counter board models: 2iqec2 2iqec4 documentation number 2iqec2/43798 this product designed and manufactured in ottawa, illinois usa of domestic and imported p...

  • Page 2

    2iqec2/43798 manual table of contents i b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 table of contents chapter 1: introduction............................................................ 1 p acking l ist .....................................................

  • Page 3: Chapter 1: Introduction

    2iqec2/43798 manual 1 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 1: introduction the 2iqec2/4 is a 2/4 channel quadrature encoder 24 bit counter card used to track the position of up to 4 separate encoders. This card is an isa card that can be ...

  • Page 4: Specifications

    2 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 specifications bus: ibm pc isa bus slot: requires 1 full length slot for complete irq selectability. When installed in a short slot, irqs 10-15 will not be available. The four channel car...

  • Page 5: Chapter 2: Installation

    2iqec2/43798 manual 3 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 2: installation software installation the 2iqec2/4 comes with a useful example program. This example program may be used royalty free when used with the b&b electronics 2iqec2/4. ...

  • Page 6

    4 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 table 1. Address switches 1st digit 2nd digit switch position 7 6 5 4 3 2 1 bus connection sa10 sa9 sa8 sa7 sa6 sa5 sa4 decimal weight 1024 512 256 128 64 32 16 hex weight 400 200 100 80 ...

  • Page 7

    2iqec2/43798 manual 5 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 irq the 2iqec2/4 card allows the use of interrupts (irq) 2-7, 10-12, 14, and 15. This interrupt is shared with all the channels. To determine the channel that caused the interrupt, the in...

  • Page 8

    6 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 configuring the jumpers the jumpers located on the left side of the card make it easy to configure the card to your individual needs. The jumpers are grouped by axis and function. The top...

  • Page 9

    2iqec2/43798 manual 7 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 location of jumpers.

  • Page 10: Software Registers

    8 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 software registers flag register (read data address) the flag register is a read-only register that holds the status information of the counters and can be read out on the data bus. To re...

  • Page 11

    2iqec2/43798 manual 9 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 filter clock prescalers each psc is an 8-bit programmable modulo-n down counter, driven by the fck clock. The factor n is downloaded into a psc from the associated pr low byte register pr...

  • Page 12

    10 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 non-recycle. In non-recycle count mode, the cntr is disabled, whenever a count overflow or underflow takes place. The end of cycle is marked by the generation of a carry (in up count) or...

  • Page 13

    2iqec2/43798 manual 11 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 index control registers (write to control address) either the lcntr'/lol' or the rcntr'/abg inputs can be initialized to operate as an index input. When initialized as such, the index si...

  • Page 14: Chapter 3:

    12 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 3: troubleshooting if you are unable to communicate with the card from your software: 1. Double check that the address is properly set. 3. Check your pinouts. 4. Try the demo sof...

  • Page 15

    2iqec2/43798 manual appendix a: hardware i/o maps a-1 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 appendix a: hardware i/o map i/o map of xt class machines hex address address function in xt class machines 000-00f dma controller (8237a) 020-021 interrup...

  • Page 16

    A-2 appendix a: hardware i/o maps 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 hardware i/o map of at class machines hex address address function in at class machines 000-01f dma controller #1 (8237a-5) 020-03f interrupt controller #1...

  • Page 17: Pin Description

    2iqec2/43798 manual appendix b: specifications b-1 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 appendix b: specifications/timing diagrams pin description 1. A+ 2. A- 3. A (ttl) 4. B+ 5. B- 6. B (ttl) 7. I+ 8. I- 9. I (ttl) 10. Flg 2 (programmed output) ...

  • Page 18: Transient Characteristics

    B-2 appendix b: specifications 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 transient characteristics quadrature mode parameter symbol min.Value max. Value unit remarks fck high pulse width t 1 21 - ns - fck low pulse width t 2 21 - n...

  • Page 19

    2iqec2/43798 manual appendix b: specifications b-3 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 filter clock (modulo-1 shown) quadrature clock and index (positive index shown).

  • Page 20

    B-4 appendix b: specifications 2iqec2/43798 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 carry, borrow, compare, carry toggle, borrow toggle and compare toggle (4x quadrature, normal, binary count, and pr=1) non quadrature mode (a=count b=directio...

  • Page 21

    2iqec2/43798 manual appendix b: specifications b-5 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 non-recycle, non-quadrature, bcd mode modulo-n, non-quadrature (modulo-3 shown) range limit, non-quadrature (pr=4).

  • Page 22

    2iqec2/43798 manual appendix c: typical set-up examples c-1 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 appendix c: typical set-up examples.