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 allows the computer to keep track of
position without a lot of CPU overhead, freeing it up for more
important tasks.
The 2IQEC2/4 offers a huge amount of flexibility. Upon a
borrow or carry the card can be configured to reset, load a preset,
cause an interrupt request or simply send out a TTL signal to
indicate the carry or borrow. The card contains two inputs that can
be configured to clear the counter or load the preset into the
counter. The index lines may also be used to clear the counter,
load the preset or cause an interrupt. The four channels use IRQ
sharing to prevent all the computer's resources from being taken up
by this card. The interrupt service routine can poll the card to find
out which channel caused the interrupt request.
Packing List
Examine the shipping carton and contents for physical damage.
The following items should be in the shipping carton:
1.2IQEC2 or 2IQEC4
2.2IQEC2/4 3.5" disk
3.This instruction manual
If any of these items are damaged or missing contact B&B
Electronics immediately.
Address Switch Setup
The 2IQEC2/4 cards use a 7-position DIP switch to program
the binary I/O address of each port on the card. The 2IQEC2/4
cards are factory configured for address 0x300 with no IRQ. If you
plan on installing the 2IQEC2/4 with these settings, check the switch
settings to ensure that they did not get inadvertently changed during
shipping.
2IQEC2/43798 Manual1
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 mount the
connectors in the back panel. This space does not need a slot
on the motherboard.
Differential input high-threshold voltage 0.2V maximum
Differential input low threshold voltage -0.2V maximum
Input differential voltage range 1.5 to 6 volts
TTL inputs
Input high threshold 2 V Maximum
Input low threshold 0.7 V Maximum
Input voltage range -0.2 to 5.5 volts
TTL outputs
1 mA source @ 4.375 V
5mAsink@0.5V
12 MHz count rate in quadrature 4X mode.
24-bit counters for up to four axes on 2IQEC4
(two axes on 2IQEC2)
Digital filtering of the quadrature clocks
Power Consumption
+5 VDC @ 250 mA
(See additional specifications in Appendix B.)
22IQEC2/43798 Manual
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. Any other use is strictly prohibited. To install
this example file on your hard drive:
1. Place the disk in drive A:
2. Type A: and press the <ENTER> key.
3. Type Install and press the <ENTER> key.
4. Follow the instructions given by the program.
Installing the Card
1. Turn the power to your computer off.
2. Remove the cover of the computer. Be sure to use proper
grounding techniques.
3. Pick any full length (16-bit) unused slot. Although the 2IQEC2/4
cards will work in a short (8-bit) slot, IRQ's 10-15 will not be
available.
4. Remove the expansion slot cover. Save the screw for
installation of the 2IQEC2/4 card.
5. Set the address, IRQ, and other jumper settings. See Card
Settings in the next section for instructions on setting the
address and IRQ.
6. Install the 2IQEC2/4 card into the unused slot. Be certain that
the card is inserted completely into the slot.
7. Secure the card with the mounting screw.
Card Settings
Address
Switch S1 configures the address of the card. Switchesrepresent a 0 in the ON position, 1 when OFF. The address lines
are labeled on the card. SA10 is the MSB and SA4 is the LSB.
Table 1 shows the numerical weight and electrical connection of
each switch position.
2IQEC2/43798 Manual3
B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5105
Table 1. Address Switches
1st Digit2nd Digit
Switch
7 654321
Position
Bus
SA10SA9SA8SA7SA6SA5SA4
Connection
Decimal
1024512256128643216
Weight
Hex Weight
40020010080402010
To set the address of the 2IQEC2/4 card at some common
locations, follow the switch settings shown in Table 2.
Table 2. Frequently Unused Port Addresses
Base
Hex
Address
Binary
Equivalent
Switch
Settings
MSBLSB
I/O Space
Description
7654321
20010000000000100000game port
30011000000000110000prototype
31011000100000110001prototype
38011100000000111000SDLC
3A011101000000111010bisync com
To install at another address, follow the procedure below.
1.Select the address. Using an I/O port usage table (one is
included in Appendix A) select an unused hex address
space. Note that the card occupies 16 bytes of I/O space.
Use caution when selecting a port address. It is very
important that nothing else is installed at the selected
address.
2.Convert the hex address to its binary equivalent.
3.Throw away the 4 least significant bits.
4.The remaining 7 digits represent the switch address. 1's
represent an OFF switch. 0's represent an ON switch.
42IQEC2/43798 Manual
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 located at the base address
plus 8. The lower nibble will indicate which channel caused the
interrupt. Where bit 0 is the X-Axis, bit 1 is the Y-Axis, bit 2 is the ZAxis, and bit 3 is the W-Axis. The upper nibble is not used. To
clear the interrupt, the interrupt service routine must read or write to
the address located at base address plus 12 (0xC). The IRQ is set
by placing a jumper on JP1. Only one jumper should be placed on
JP1 at any one time. Check Table 3 for common interrupt uses.
Table 3. Hardware Interrupts
IRQAT machinesXT machines
2routed to IRQ controller 2Reserved
3serial port COM2,4Serial port COM2,4
4serial port COM1,3Serial port COM1,3
5LPT2hard disk
6floppy diskFloppy disk
7LPT1parallel printer port 1 (LPT1)
8real-time clocknot available
9re-directed to IRQ2not available
10Unassignednot available
11Unassignednot available
12Unassignednot available
13Coprocessornot available
14hard disknot available
15Unassignednot available
The conditions required to generate an interrupt can be
selected by the use of jumpers. Each axis is independently
configured. Note that more than one condition can be configured to
generate the interrupt. Note that the use of an interrupt is not
required.
2IQEC2/43798 Manual5
B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5105
Loading...
+ 15 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.