B&B Electronics 2IQEC2 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of B&B Electronics 2IQEC2, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of B&B Electronics 2IQEC2 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of B&B Electronics 2IQEC2. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of B&B Electronics 2IQEC2 should contain:
- informations concerning technical data of B&B Electronics 2IQEC2
- name of the manufacturer and a year of construction of the B&B Electronics 2IQEC2 item
- rules of operation, control and maintenance of the B&B Electronics 2IQEC2 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of B&B Electronics 2IQEC2 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of B&B Electronics 2IQEC2, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the B&B Electronics service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of B&B Electronics 2IQEC2.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the B&B Electronics 2IQEC2 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • 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 parts by B&B Electronics Mfg. Co. Inc. 707 [...]

  • 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 ........................................................................................... 1 A[...]

  • Page 3

    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 used in either an 8 or 16 bit slot. This card [...]

  • Page 4

    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 card requires an additional space to moun[...]

  • Page 5

    2IQEC2/43798 Manual 3 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5105 Chapter 2: Inst allation 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. Any other use is strictly prohibited. To [...]

  • 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 54321 Bus Connection SA10 SA9 SA8 SA7 SA6 SA5 SA4 Decimal Weight 1024 512 256 128 64 32 16 Hex Weight 400 200 100 80 40 20 10 To set the address of the 2IQEC2/4 card a[...]

  • 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 interrupt service routine must read the address [...]

  • 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 group of jumpers is for the X axis. Then next[...]

  • 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

    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 read the FLAG byte for any axis, read the contro[...]

  • 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 PR0. The PSCs provide the ability to generate in[...]

  • 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 a Borrow (in Down Count). The CNTR is re-enab[...]

  • 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 signal from the encoder, applied [...]

  • Page 14

    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 software that comes with the card. 5. Call B&[...]

  • 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 interrupt controller (8259A) 040-043 timer (8253) 060-[...]

  • 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 (8259A) 040-05F timer (8254) 060-06F keyboard[...]

  • Page 17

    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/T iming 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) 11. FLG 1 (Programmed output) 12. Load Counte[...]

  • Page 18

    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 - ns - FCK Frequency f FCK -2 4 M H z - Mod-n Fil[...]

  • 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=Direction)[...]

  • 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: T ypical Set-up Examples[...]