beautypg.com

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

Page 25: 3 data formats

background image

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-9

4.2

Configuration

4

Function description

Conversion of analogue limit values into decimal values (n) for the

system software:

n = 32 768 * U

Limit

/ 10 V

Key:

U

Limit

: Analogue value at the input

Example:

Voltages at the input, which are to be monitored through the limit val-

ues:

– Limit value 1 is to be 8 V.

– Limit value 2 is to be 5 V.

Entry in the system software:

– Limit value 1 corresponds to 26 214

– Limit value 2 corresponds to 16 384

4.2.3

Data formats

Data formats

4-

][Funktionsbeschreibung_BA_Konfig Format ST-Ein 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.

The module uses the following data format:

Two's complement (default)

The digital values are transferred with 15 bits plus a sign bit (MSB).

The MSB is always "0" with positive numbers.

Analogue value and typical digital value with two's complement re-
presentation:

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: