Télécharger Imprimer la page

Vega FLEX 82 Mise En Service page 86

Publicité

13 Annexe
Exemples de structure de message
Vous trouverez à la suite des exemples de combinaisons de modules et leurs structures de mes-
sage respectives.
Exemple 1
AI FB1 (OUT)
AI FB2 (OUT)
AI FB3 (OUT)
Byte-
1
2
No.
Format
IEEE-754-Floating point
value
Value
AI FB1 (OUT)
Exemple 2
AI FB1 (OUT)
Free Place
Free Place
Byte-No.
Format
Value
Remarque:
Format des données du signal de sortie
Byte2 Byte1 Byte0
Byte4 Byte3
Status
Value (IEEE-754)
Fig. 40: Format des données du signal de sortie
L'octet d'état est codé et correspond au profil 3.02 "Profibus PA Profile for Process Control Devices".
L'état "valeur de mesure OK" est codé en 80 (hex) (Bit7 = 1, Bit6 ... 0 = 0).
La valeur de mesure sera transmise sous forme de nombre de 32 bits à virgule flottante au format
IEEE 754.
Byte n
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
4
6
5
3
2
2
VZ
2
7
2
6
5
2
4
2
3
Sign
Exponent
Bit
(Exponent - 127)
VZ
Value = (-1)
2
Fig. 41: Format de données de la valeur de mesure
86
3
4
5
État
IEEE-754-Floating point
AI
FB1
1
IEEE-754-Floating point value
Les octets 6-15 ne sont pas occupés dans cet exemple.
Byte n+1
Bit
Bit
Bit
Bit
Bit
Bit
0
4
1
7
6
5
3
2
2
2
0
2
2
-2
2
-3
2
-4
2
1
-1
Significant
(1 + Significant)
6
7
8
9
value
AI FB2 (OUT)
2
3
AI FB1 (OUT)
Byte n+2
Bit
Bit
Bit
Bit
Bit
Bit
Bit
4
7
6
5
0
2
1
2
2
-9
2
-10 -11 -12 -13 -14 -15 -16 -17
2
2
2
-6
2
-7
-8
-5
Significant
10
11
12
13
État
IEEE-754-Floating point
value
AI
AI FB3 (OUT)
FB2
4
Bit
Bit
Bit
Bit
Bit
Bit
Bit
0
3
2
1
7
6
5
2
2
2
2
2
-18 -19 -20 -21 -22 -23
2
2
VEGAFLEX 82 • Profibus PA
14
15
État
AI
FB3
5
État
AI FB1
Byte n+3
Bit
Bit
Bit
Bit
Bit
4
3
2
1
0
2
2
2
2
2
Significant

Publicité

loading