![background image](http://html1.mh-extra.com/html/advantech/3718hg/3718hg_user-manual_2856597040.webp)
3 6
PCM-3718H/3718HG User's Manual
This chapter explains how to use the PCM-3718H/3718HG’s A/D
conversion functions. The first five sections describe A/D data
format, input range selection, status register settings, MUX scan
setting, trigger modes and data transfer. The last section gives step by
step implementation guidelines for A/D operations.
5.1 A/D Data Format and Status Regis-
ter
Since the PCM-3718H/3718HG uses 12-bit A/D conversions, a single
8-bit register will not accommodate all the data. The PCM-3718H/
3718HG therefore stores A/D data in two registers located at addresses
BASE+0 and BASE+1.
It stores the A/D low byte data in bits D4 to D7 (AD0 to AD3) of
BASE+0 and high byte data in bits D0 to D7 (AD4 to AD11) of
BASE+1. The least significant bit is AD0 and the most significant bit
is AD11. You can read the source channel number corresponding to
the A/D data from bits D0 to D3 (C0 to C3) of BASE+0.
A/D data register format is:
BASE+0 (read only) - A/D low byte & channel number
Bit
D7
D6
D5
D4
D3
D2
D1
D0
Value AD3
AD2
AD1
AD0
C3
C2
C1
C0
BASE+1 (read only) - A/D high byte
Bit
D7
D6
D5
D4
D3
D2
D1
D0
Value AD11 AD10 AD9
AD8
AD7
AD6
AD5
AD4
The A/D status register at BASE+8 (read only) gives information on
A/D configuration and operation.
Summary of Contents for 3718HG
Page 1: ...PCM 3718H 3718HG PC 104 12 bit DAS Module with Programmable Gain User s manual ...
Page 2: ......
Page 5: ...1 General Information CHAPT ER ...
Page 13: ...2 Installation CHAPT ER ...
Page 21: ...3 Signal Connections CHAPT ER ...
Page 26: ...22 PCM 3718H 3718HG User s Manual ...
Page 27: ...4 Register Structure and Format CHAPT ER ...
Page 38: ...34 PCM 3718H 3718HG User s Manual ...
Page 39: ...5 A D Conversion CHAPT ER ...
Page 45: ...6 Digital Input Output CHAPT ER ...
Page 47: ...7 Programmable Pacer CHAPT ER ...
Page 57: ...8 Direct Memory Access Operation CHAPT ER ...
Page 60: ...56 PCM 3718H 3718HG User s Manual ...
Page 61: ...9 Calibration CHAPT ER ...
Page 64: ...60 PCM 3718H 3718HG User s Manual ...