beautypg.com

C.4 software a/d trigger - base+0, Table c-3: pci-1716/1716l register for a/d data, Channel number and a/d data - base+0 and base+1 – B&B Electronics PCI-1711 - Manual User Manual

Page 84: Table c-3, Pci-1716/1716l register for a/d data, Table c-2

background image

Appendix C

– 76 –

PCI-1710 series User’s Manual

Advantech Co., Ltd.
www.advantech.com

C.3 Channel Number and A/D Data - BASE+0 and

BASE+1

BASE+0 and BASE+1 hold the result of A/D conversion data.

For PCI-1710/1710L/1710HG/1710HGL/1711/1711L, the 12 bits of data
from the A/D conversion are stored in BASE+1 bit 3 to bit 0 and
BASE+0 bit 7 to bit 0.BASE+1 bit 7 to bit 4 hold the source A/D
channel number.

Table C-2: PCI-1710/1710L/1710HG/1710HGL/1711/1711L

Register for channel number and A/D data

AD11 ~ AD0

Result of A/D Conversion
AD0

the least significant bit (LSB) of A/D data

AD11

the most significant bit (MSB)

CH3 ~ CH0

A/D Channel Number
CH3 ~ CH0 hold the number of the A/D channel from
which the data is received
CH3

MSB

CH0

LSB

For PCI-1716/1716L, the 16 bits of data from the A/D conversion are
stored in BASE+1 bit 7 to bit 0 and BASE+0 bit 7 to bit 0.

Table C-3: PCI-1716/1716L Register for A/D data

Read

Channel Number and A/D Data

Bit #

7

6

5

4

3

2

1

0

BASE + 1

CH3

CH2

CH1

CH0

AD11

AD10

AD9

AD8

BASE + 0

AD7

AD6

AD5

AD4

AD3

AD2

AD1

AD0

AD15 ~ AD0

Result of A/D Conversion
AD0

the least significant bit (LSB) of A/D data

AD15

the most significant bit (MSB)

Read

A/D Data

Bit #

7

6

5

4

3

2

1

0

BASE + 1 AD15

AD14

AD13

AD12

AD11

AD10

AD9

AD8

BASE + 0

AD7

AD6

AD5

AD4

AD3

AD2

AD1

AD0