•
Afkorting voor Profibusmasters, die alleen een „Identifier Format"-byte ondersteunen,
bijv. Allen Bradley
•
Long voor Profibusmaster, die alleen het „Identifier Format"-byte ondersteunen, bijv.
Siemens S7-300/400
Voorbeelden voor de telegramopbouw
Hierna worden voorbeelden getoond, hoe de modules kunnen worden gecombineerd en hoe het
bijbehorende datatelegram is opgebouwd.
Voorbeeld 1 (standaard instelling) met afstandswaarde en extra cyclische waarde:
•
AI (PA-OUT)
•
Additional Cyclic Value
Byte-No.
1
2
IEEE-754-
Format
Floating point value
Value
PA-OUT
(FB1)
Voorbeeld 2 met afstandswaarde zonder extra cyclische waarde:
•
AI (PA-OUT)
•
Free Place
Byte-No.
1
2
Format
IEEE-754-
Floating point value
Value
PA-OUT
(FB1)
Opmerking:
Dataformaat van het uitgangssignaal
Byte2 Byte1 Byte0
Byte4 Byte3
Status
Value (IEEE-754)
Fig. 40: Dataformaat van het uitgangssignaal
De statusbyte is gecodeerd conform profiel 3,0 "Profibus PA Profile for Process Control Devices".
De status "Meetwaarde OK" is als 80 (hex) gecodeerd (Bit7 = 1, Bit6 ... 0 = 0).
De meetwaarde wordt als 32 bits getal met drijvende komma in IEEE-754-formaat overgedragen.
Byte n
Bit
Bit
Bit
Bit
Bit
Bit
Bit
7
6
5
4
3
2
1
7
6
5
4
3
VZ
2
2
2
2
2
2
Sign
Exponent
Bit
VZ
(Exponent - 127)
2
Value = (-1)
Fig. 41: Dataformaat van de meetwaarde
VEGAPULS 66 • Profibus PA
3
4
5
Status
Status
(FB1)
3
4
5
Status
Status
(FB1)
De bytes 6-10 zijn in dit voorbeeld niet bezet.
Byte n+1
Bit
Bit
Bit
Bit
Bit
Bit
Bit
0
7
4
6
5
3
0
-2
-3
-4
2
2
1
-1
2
2
2
2
2
Significant
(1 + Significant)
6
7
8
9
IEEE-754-
Floating point value
Additional Cyclic
Value
Byte n+2
Bit
Bit
Bit
Bit
Bit
Bit
7
4
6
5
0
2
1
-9
-10 -11 -12 -13 -14 -15 -16 -17
2
-6
-7
2
-8
2
2
-5
2
2
2
Significant
10
Status
Status
Bit
Bit
Bit
Bit
Bit
Bit
Bit
0
3
2
1
7
6
5
-18 -19 -20 -21 -22 -23
2
2
2
2
2
2
2
10 Bijlage
Byte n+3
Bit
Bit
Bit
Bit
Bit
4
3
2
1
0
2
2
2
2
2
Significant
61