Ejemplos de estructuras de telegramas, Formato de datos de la señal de salida – VEGA VEGAPULS SR 68 Profibus PA Manual del usuario

Página 79

Advertising
background image

79

11 Anexo

VEGAPULS SR 68 • Profibus PA

38296-ES-130621

Long para Profibusmaster que soporta solamente un „Identifier Format“ - Byte, p. Ej.

Siemens S7-300/400

Ejemplos de estructuras de telegramas

A continuación se representan ejemplos de posibilidad de combinación de módulos y la estructura

del telegrama correspondiente.
Ejemplo 1

AI FB1 (OUT)

AI FB2 (OUT)

AI FB3 (OUT)

Byte-

No.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

For-

mat

IEEE-754-Floating point

value

Sta-

tus

IEEE-754-Floating point

value

Sta-

tus

IEEE-754-Floating point

value

Sta-

tus

Value

AI FB1 (OUT)

AI

FB1

AI FB2 (OUT)

AI

FB2

AI FB3 (OUT)

AI

FB3

Ejemplo 2

AI FB1 (OUT)

Free Place

Free Place

Byte-No.

1

2

3

4

5

Format

IEEE-754-Floating point value

Status

Value

AI FB1 (OUT)

AI FB1

Indicaciones:

En este ejemplo los bytes 6-15 no están ocupados.

Formato de datos de la señal de salida

Byte4 Byte3 Byte2 Byte1 Byte0

Status

Value (IEEE-754)

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

El byte de estado equivale al perfil 3,02 "Profibus PA Profile for Process Control Devices" codifica-

do. 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. 58: Formato de datos del valor de medición

Advertising