Formato de datos de la señal de salida – VEGA VEGABAR 52 Profibus PA - climate compensated Manual del usuario

Página 60

Advertising
background image

60

10 Anexo

VEGABAR 52 • Profibus PA - con compensación climática

36788-ES-130416

AI (PA-OUT)

Temperatura

Free Place

Byte-No.

1

2

3

4

5

6

7

8

9

10

Format

Value

IEEE-754-

Floating point value

PA-OUT

(FB1)

Status

Status

(FB1)

IEEE-754-

Floating point value

Temperature

(FB2)

Status

Status

(FB2)

Fig. 31: Estructura de telegrama ejemplo 2

Ejemplo 3 con valor de presión y valor cíclico adicional sin valor de temperatura:

AI (PA-OUT)

Free Place

Additional Cyclic Value

Byte-No.

1

2

3

4

5

6

7

8

9

10

Status

Status

Status

Status

(FB1)

IEEE-754-

Floating point value

PA-OUT

(FB1)

IEEE-754-

Floating point value

Additional Cyclic

Value

Format

Value

Fig. 32: Estructura de telegrama ejemplo 3

Formato de datos de la señal de salida

Byte4 Byte3 Byte2 Byte1 Byte0

Status

Value (IEEE-754)

Fig. 33: Formato de datos de la señal de salida

El byte de estado equivale al perfil 3,0 "Profibus PA Profile for Process Control Devices" codificado.

EL estado "Valor de medición OK" está codificado como 80 (hex) (Bit7 = 1, Bit6 … 0 = 0).
El valor de medición se transfiere como número de coma flotante de 32 Bit en formato IEEE-754.

Byte n

Byte n+1

Bit

7

VZ

Exponent

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Bit

7
2

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Sign

Bit

Significant

7

6

5

4

3

2

1

0

-1

-2

-3

-4

-5

-6

-7

Byte n+2

Byte n+3

Bit

7
2

Significant

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Bit

7
2

Bit

6
2

Bit

5
2

Bit

4
2

Bit

3
2

Bit

2
2

Bit

1
2

Bit

0
2

Significant

-9

-10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23

-8

Value = (-1)

VZ

2

(Exponent - 127)

(1 + Significant)

Fig. 34: Formato de datos del valor de medición

Codificación del bit de estado para el valor de salida PA

Código

de esta-

do

Descripción según la norma

Profibus

Causa posible

0 x 00

bad - non-specific

Actualización Flash activa

Advertising