beautypg.com

C.5 a/d channel range setting - base+2, C.6 mux control - base+4 and base+5, Table c-4: register for a/d channel range setting – B&B Electronics PCI-1711 - Manual User Manual

Page 86: Table c-4, Register for a/d channel range setting

background image

Appendix C

– 78 –

PCI-1710 series User’s Manual

Advantech Co., Ltd.
www.advantech.com

C.5 A/D Channel Range Setting - BASE+2

Each A/D channel has its own input range, controlled by a gain code
stored in the on-board RAM.

To change the range code for a channel:

Write the same channel in BASE+4 (the start channel) and BASE+5
(the stop channel) (refer to Section C.6).

Write the gain code to BASE+2 bit 0 to bit 2.

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

*: S/D, B/U are not supported for PCI-1711/1711L

S/D

Single-ended or Differential

0

single-ended

1

differential.

B/U

Bipolar or Unipolar

0

bipolar

1

unipolar.

G2 to G0

Gain Code
table C-5 lists the gain codes for the PCI-1710/1710L.
table C-6 lists the gain codes for the PCI-1710HG/
1710HGL.
table C-7 lists the gain codes for the PCI-1711/1711L.

Write

A/D Channel Range Setting

Bit #

7

6

5

4

3

2

1

0

BASE + 2

*S/D

*B/U

G2

G1

G0