beautypg.com

5 a/d channel range setting, 5 a/d channel range setting — base+2 – Advantech PCI-1710 User Manual

Page 38

background image

34

PCI-1710/1710HG User's Manual

4.5 A/D Channel Range Setting —

BASE+2

Each A/D channel has its own input range, controlled by a range code
stored in the on-board RAM. If you want to change the range code
for a given channel, select the channel as the start channel and the stop
channel in the registers of BASE+4 and BASE+5 (described in the
next section), and then write the range code to BASE+2 bit 0 to bit 2
and bit 4.

Table 4-3: Register for A/D channel range setting

S/D

Single-ended or Differential

0 means the channel is single-ended, and 1 means it is differential.

B/U

Bipolar or Unipolar

0 means the channel is bipolar, and 1 means it is unipolar.

G2 to G0

Gain Code

Write

A/D channel range setting

Bit #

7

6

5

4

3

2

1

0

BASE+2

S/D

B/U

G2

G1

G0