beautypg.com

5 data formats, Data formats – Pilz PSSu E S 2AI U User Manual

Page 20

background image

Function description

Operating Manual PSSu E S 2AI U(­T)
21405­EN­03

20

4.2.5

Data formats

The way in which the analogue value is displayed depends on the voltage range, on scaling
and on the data format. The following examples show the relationship between the values
with default scaling.

You can configure the following data formats:

}

Two's complement (default)
The digital values are transferred with 15 bits plus a sign bit (MSB). The MSB is "1" with
negative values and "0" with positive values.

}

Sign and magnitude representation
The digital values are transferred with 15 bits plus a sign bit (MSB). The MSB is "1" with
negative values and "0" with positive values. With negative values there is a distinction
between sign and magnitude representation and two's complement representation.

Analogue value and typical digital value with a voltage range of 0 ... two's comple­
ment or sign and magnitude representation:

Analogue value of
voltage

Decimal digital value

Binary digital value

Hexadecimal digital
value

0 V

0

0000 0000 0000 0000

0000

H

5 V

16 384

0100 0000 0000 0000

4000

H

10 V

32 767

0111 1111 1111 1111

7FFF

H

Analogue value and typical digital value with a voltage range of ­10 V ... +10 V, two's
complement:

Analogue value of
voltage

Decimal digital value

Binary digital value

Hexadecimal digital
value

­10 V

­32 767

1000 0000 0000 0001

8001

H

­5 V

­16 384

1100 0000 0000 0000

C000

H

­2.4 mV (= 1 LSB)

­8

1111 1111 1111 1000

FFF8

H

0 V

0

0000 0000 0000 0000

0000

H

10 V

32 767

0111 1111 1111 1111

7FFF

H

Analogue value and typical digital value with a voltage range of ­10 V ... +10 V, sign
and magnitude representation:

Analogue value of
voltage

Decimal digital value

Binary digital value

Hexadecimal digital
value

­10 V

­32 768

1111 1111 1111 1111

FFFF

H

­5 V

­16 384

1011 1111 1111 1111

BFFF

H

­2.4 mV (= 1 LSB)

­8

1000 0000 0000 0100

8008

H

0 V

0

0000 0000 0000 0000

0000

H

10 V

32 767

0111 1111 1111 1111

7FFF

H

This manual is related to the following products: