Skip to main content
Skip table of contents

2.6.2 - Converting Binary Readings to Voltages [U6 Datasheet]

This information is only needed when using low-level functions and other ways of getting binary readings. Readings in volts already have the calibration constants applied. The UD driver, for example, normally returns voltage readings unless binary readings are specifically requested.

Following are the nominal input voltage ranges for the analog inputs.

Table 2.6.2-1. Nominal Analog Input Voltage Ranges

 

Gain

Max V

Min V

Bipolar

1

10.1

-10.6

Bipolar

10

1.01

-1.06

Bipolar

100

0.101

-0.106

Bipolar

1000

0.0101

-0.0106

The readings returned by the analog inputs are raw binary values (low-level functions). An approximate voltage conversion can be performed as:

Volts(uncalibrated) = (Bits/65536)*Span

Where span is the maximum voltage minus the minimum voltage from the table above. For a proper voltage conversion, though, use the calibration values (Slope and Offset) stored in the internal flash on the Control processor.

Volts = (Slope * Bits) + Offset

In both cases, “Bits” is always aligned to 16-bits, so if the raw binary value is 24-bit data it must be divided by 256 before converting to voltage. Binary readings are always unsigned integers.

Since the U6 uses multiplexers, all channels have the same calibration for a given input range.

See the low-level functionality section for details about the location of the U6 calibration constants.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.