Accessory-28E
Using ACC-28E with Turbo UMAC 15
USING ACC-28E WITH TURBO UMAC
To ensure that ACC-28E or any other analog I/O cards work properly in a UMAC rack, it is crucial to
have a clock source. The clock in a UMAC rack usually comes from ACC-24E2, ACC-24E2A, ACC-5E,
ACC-51E, or any other card with a gate array on it. Before trying to use ACC-28E, ensure that the rack
has a clock source.
Setting Up Analog Inputs (ADCs)
Steps to set up ACC-28E with Turbo UMAC are as follows:
1. Select the base address:
With SW1 dip switch setting, the base address offset can be determined for the card. Channel
#1’s data resides at this address, and the three sequential memory addresses (offset by 1 address
per channel) are for channel #2, #3, and #4.
Since ACC-28E is a 16-bit ADC card, only the highest 16 bits of these addresses are used.
2. Select the appropriate conversion jumper:
Jumpers E1 thru E4 determine whether the conversion method of Channels #1 to #4 is unipolar or
bipolar.
3. M-Variable:
Use M-Variable as pointers to read ADC results.
Reading the ADCs
ADC Read Example 1 (Unipolar)
Configuring ACC-28E card base address as Y:$78C00 with unipolar inputs.
1. Base address select: SW1 dip switches have pins 1 through 6 set to ON.
2. Conversion jumper: Jumpers E1 through E4 are in position 1–2.
3. M-Variable: Use M-Variables as pointers to read the ADC results.
M7101->Y:$78C00,8,16,U // M7101 is assigned to read ADC 1
M7102->Y:$78C01,8,16,U // M7102 is assigned to read ADC 2
M7103->Y:$78C02,8,16,U // M7103 is assigned to read ADC 3
M7104->Y:$78C03,8,16,U // M7104 is assigned to read ADC 4
The user can choose other M-Variables as pointers to read the ADC results if desired.
ADC Read Example 2 (Bipolar)
Configuring ACC-28E card base address as Y:$78C00 with bipolar inputs.
1. Base address select: SW1 dip switches have pins 1 through 6 set to ON.
2. Conversion jumper: Jumpers E1 through E4 are in position 2–3.
3. M-Variable: Use M-Variable as pointers to read ADC results.
M7101->Y:$78C00,8,16,U // M7101 is assigned to read ADC 1
M7102->Y:$78C01,8,16,U // M7102 is assigned to read ADC 2
M7103->Y:$78C02,8,16,U // M7103 is assigned to read ADC 3
M7104->Y:$78C03,8,16,U // M7104 is assigned to read ADC 4
The user can choose other M-Variables as pointers to read the ADC results if desired.