Advantech PCI-1718 Series Carbon Monoxide Alarm User Manual


 
65 Appendix C
C.5 A/D Range Control — BASE+01H
Each A/D channel has its own individual input range, controlled by a
range code stored in onboard RAM. If you want to change the range code
for a given channel, select the channel as the start channel in register
BASE+02H, MUX scan (described in the next section), then write the
range code to bits 0 to 3 of BASE+01H.
G3 ~ G0 A/D range control
G0 The least significant bit (LSB) of the A/D range
G3 The most significant bit (MSB)
Range codes appear below:
Table C.6: Register for A/D Range Control
Write A/D range control
Bit # 76543210
BASE + 01H XXXXG3*G2*G1G0
PCI-1718HDU
Input Range (V) Unipolar/Bipolar Gain Code
G3 G2 G1 G0
-5 to +5 B 0 0 0 0
-2.5 to +2.5 B 0 0 0 1
-1.25 to +1.25 B 0 0 1 0
-0.625 to +0.625 B 0 0 1 1
0 to 10V U 0 1 0 0
0 to 5V U 0 1 0 1
0 to 2.5V U 0 1 1 0
0 to 1.25V U 0 1 1 1
-10V to +10V B 1 0 0 0
N/A 1 0 0 1
N/A 1 0 1 0
N/A 1 0 1 1
N/A 1 1 0 0
N/A 1 1 0 1
N/A 1 1 1 0
N/A 1 1 1 1