Konica Minolta PCI-1712L user manual D.3 A/D Single Value Acquisition - Write BASE+0

Models: PCI-1712L PCI-1712

1 114
Download 114 pages 26.45 Kb
Page 95
Image 95
D.3 A/D Single Value Acquisition — Write BASE+0

APPENDIX D

D.3 A/D Single Value Acquisition — Write BASE+0

The A/D converter will convert one sample when you write to the register Write BASE+0 with any value. User can check the A/D FIFO status (A/D_F/E on register Read BASE+8) to make sure if the data is ready to be received.

D.4 Channel and A/D data — Read BASE + 0

These two bytes in Read BASE+0 hold the result of A/D conversion data.

The 12 bits of data from the A/D conversion are stored in bit 0 to bit 11, bit 12 to 14 hold the A/D channel number and bit 15 holds the trigger event flag.

Table D-2: Register for channel number and A/D data

Base Add.

15

14

 

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

R

 

 

 

 

 

 

 

Channel and A/D data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AF

CH2

 

CH1

CH0

AD11

AD10

AD9

AD8

AD7

AD6

AD5

AD4

AD3

AD2

AD1

AD0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AD11 TO AD0

 

 

Data of A/D Conversion

 

 

 

 

 

AD0

 

 

 

 

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

 

 

AD11 the most significant bit (MSB) of A/D data.

CH2 to CH0

A/D Channel Number

CH2 ~ CH0 hold the A/D channel number from which the data is received.

CH2 MSB.

CH0 LSB.

Note:

A/D channel number specifies the channel from which data is derived. CH2 is the MSB and CH0 is the LSB. For channel scan, there should have 4 channel codes, specifically from CH0 to CH3. Because we have not enough address space, bit 15 is used for other purposes instead for CH3, which is hence not available..

AF A/D trigger event flag

The trigger flag indicates whether a trigger event has happened during A/D conversion process.

Advantech Co., Ltd.

– 83 –

PCI-1712/1712L User’s Manual

www.advantech.com

 

 

Page 95
Image 95
Konica Minolta PCI-1712L D.3 A/D Single Value Acquisition - Write BASE+0, D.4 Channel and A/D data - Read BASE +