![VersaLogic VL-12CT96 Reference Manual Download Page 41](http://html.mh-extra.com/html/versalogic/vl-12ct96/vl-12ct96_reference-manual_1006747041.webp)
VL-12CT96/7 Analog & Digital I/O Card
4-9
Analog Input Data Representation (VL-12CT97, 16-Bit)
The VL-12CT97 converts applied analog voltages into 16-bit, two’s complement digital words. The full
applied analog input range is divided into 65536 steps. The output code (0000H) is associated with a
mid-range analog value of 0 Volts (ground). Positive analog values are represented by positive binary
numbers, whereas negative analog values are represented by negative binary numbers, i.e., -1 =
FFFFH.
The formulas for calculating analog or 16-bit two’s complement digital values are given by:
Analog
Digital =
————
Analog = Step
×
Digital
Step
Where:
Analog
= Applied voltage
Digital
= A/D Conversion Data
Step
= 0.0001525878907
(±5V Range)
0.0003051757813
(±10V Range)
0.000001525878907
(±50 mV Range)
0.000003051757813
(±100 mV Range)
Sample 16-bit, two’s complement values are shown in the table below:
±5V Input
±10V Input
±50mV Input
±100mV Input
Output Data
Voltage
Voltage
Voltage
Voltage
(Hex)
(Dec)
Comment
+5.000000
+10.000000
+0.050000
+0.100000
—
—
Out of range
+4.999847
+9.999695
+0.0499985
+0.099996
7FFF
32767
Maximum positive voltage
+2.500000
+5.000000
+0.025000
+0.050000
4000
16384
Positive half scale
+1.250000
+2.500000
+0.012500
+0.025000
2000
8192
Positive quarter scale
+0.000153
+0.000305
+0.0000015
+0.0000031
0001
1
Positive 1 LSB
0.000000
0.000000
0.000000
0.000000
0000
0
Zero (ground input)
-0.000153
-0.000305
-0.0000015
-0.0000031
FFFF
-1
Negative 1 LSB
-1.250000
-2.500000
-0.012500
-0.025000
E000
-8192
Negative quarter scale
-2.500000
-5.000000
-0.025000
-0.050000
C000
-16384
Negative half scale
-5.000000
-10.000000
-0.050000
-0.010000
8000
-32768
Maximum negative voltage
Figure 4-13. Two’s Complement Data Format (VL-12CT97, 16-Bit)
Registers — Analog Input Registers
Summary of Contents for VL-12CT96
Page 2: ...ii VL 12CT96 7 Analog Digital I O Card ...
Page 26: ...2 20 VL 12CT96 7 Analog Digital I O Card ...
Page 32: ...3 6 VL 12CT96 7 Analog Digital I O Card ...
Page 62: ...7 4 VL 12CT96 7 Analog Digital I O Card ...
Page 65: ...VL 12CT96 7 Analog Digital I O Card 8 3 VL 12CT96 7 Parts Placement Reference ...