Omega Vehicle Security DAQ-16 user manual Voltage Binary ’s Complement

Page 13

 

Voltage

Binary

Binary

2’s Complement

2’s Complement

 

 

 

 

 

unipolar

bipolar

unipolar

bipolar

 

 

 

-Vmax

n/a

0

n/a

-32,768

 

 

 

-Vmax/2

n/a

+16,384

n/a

-16,384

 

 

 

0

0

+32,768

-32,768

0

 

 

 

+Vmax/2

+32,768

+49,152

0

+16,384

 

 

 

+Vmax

+65,535

+65,535

+32,767

+32,767

 

 

 

 

 

 

 

 

 

 

Table 2-2. A/D Conversion Format Examples

In order to calculate the actual input voltage from the digital "code" provided by the DAQ-16, the user must know the configuration used to acquire the data. Given this information, the input voltage can be calculated using the equations below:

Unipolar, binary

input =

CODE 65, 536

* Vmax

Bipolar, binary

input =

Unipolar, 2’s complement

input =

Bipolar, 2’s complement

input =

CODE 65, 536

CODE 65, 536

CODE 65, 536

- 12 * 2 * Vmax + 12 * Vmax

*2 * Vmax

DAQ-16 Users Manual

13

Image 13
Contents 15,1*,1 WARRANTY/DISCLAIMER For immediate technical or application assistance Servicing North AmericaServicing Europe Page Manufacturers Address Manufacturers NameApplication of Council Directive Standards to which Conformity is DeclaredTable of Contents List of Figures and Tables Introduction InstallationDAQ-16 Specifications Maximum Input Voltage Amplifier Range Analog to Digital ConverterJumper J7 Configuration Volt range Unipolar Bipolar Binary 2s complement Voltage Binary ’s Complement Digital to Analog Converters Channel Bipolar Digital Input/OutputUnipolar Gain =I/O Base Address Selection Base AddressClock Selection Internal Clock External Clock Start of Conversion Trigger Selection10. Jumpers J8 and J9 Configuration Direct Memory AccessExternal Interrupt InterruptsExternal Connections Page Control Word Register Register DescriptionCHSL2 CHSL1 CHSL0 Start of Conversion Register Multi-Function Timer Register3 DAC0 Register 4 DAC1 RegisterProgramming the 8254 Counter/Timer Counter 1 Clock rate register high word Version January 28