APPENDIX C
PCI-1711/1731 User’s Manual
Advantech Co., Ltd.
www.advantech.com
– 43 –
PCI-1711/1731
Gain
Input Range(V)
Gain Code
G2
G1
G0
1
-10 to +10
0
0
0
2
-5 to +5
0
0
1
4
-2.5 to +2.5
0
1
0
8
-1.25 to +1.25
0
1
1
16
-0.625 to +0.625
1
0
0
Write
A/D channel range setting
Bit #
7
6
5
4
3
2
1
0
BASE+2
G2
G1
G0
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:
l
Write the same channel in BASE+4 (the start channel) and BASE+5
(the stop channel) (refer to Section C.6).
l
write the gain code to BASE+2 bit 0 to bit 2.
Table C-3 Register for A/D channel range setting
where G2 to G0 are Gain Codes and
table C-4 lists the gain codes
for the PCI-1711/1731.
Table C-4 Gain codes for PCI-1711/1731
Example: To set channel 3 as gain=1
1. Write channel 3 to BASE+4 as 00000011.
2. Write channel 3 to BASE+5 as 00000011.
3. Refer to the gain code list, write gain=1 to BASE+2 as 00000000.