Analog Output Data Representation
VCM-DAS-3 Reference Manual
28
Analog Output Data Representation
Two different digital coding schemes are used for analog output operations.
For unipolar output ranges (positive voltages only), straight binary coding is used.
For bipolar output ranges (both positive and negative voltages), offset binary coding is
used.
S
TRAIGHT
B
INARY
C
ODING
The formulas for calculating analog or straight binary digital values are given by:
Where:
Analog = Applied voltage
Digital = A/D conversion data
Step
= 0.00244140625 for 0-10V range
0.00122070313 for 0-5V range
0.0006103515625 for 0-2.5V range
Table 19: Straight Binary Data Format
0-2.5V
Range
0-5V
Range
0-10V
Range
Hex
Decimal
Comment
+2.5000
+5.0000
+10.0000
–
–
Out of range
+2.4993
+4.9987
+9.9975
FFFh
4095
Maximum positive voltage
+1.2500
+2.5000
+5.0000
800h
2048
Positive half scale
+0.6250
+1.2500
+2.5000
400h
1024
Positive quarter scale
+0.00061
+0.00122
+0.00244
001h
1
Positive 1 LSB
0.0000
0.0000
0.0000
000h
0
Zero (ground output)
Digital =
Analog
Step
Analog = Step x Digital