beautypg.com

Data formats, 4function description, 2 configuration – Pilz PSSu E S 4AO U User Manual

Page 24: 2 data formats

background image

4.2

Configuration

4

Function description

Pilz GmbH & Co. KG, Felix-Wankel-Straße 2, 73760 Ostfildern, Germany
Telephone: +49 711 3409-0, Telefax: +49 711 3409-133, E-Mail: [email protected]

4-8

4.2.2

Data formats

Data formats

4-

][Funktionsbeschreibung_BA_Konfig Format ST-Aus 4xU

The way in which the analogue value is displayed depends on the volt-

age 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.

Formation of magnitude option

Negative digital values are converted into positive values of equal

magnitude.

As the module's resolution is 12 bits plus sign bit, the three least signif-

icant bits have no significance for the analogue value.

Analogue value and typical digital value, two's complement 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

This manual is related to the following products: