Manual

Gateway-Komponente für PROFIBUS 25 / 28
Beispiel zur Modulkonfiguration
Folgende Slots sollen konfiguriert werden:
Slot Modultyp Größe [Bytes/Words] Zugriff Modulnummer
1 Eingang 1 Byte 6
2 Eingang 16 Byte 10
3 Ausgang 16 Byte 5
4 Leeres Modul 0 - 0
5 Eingang 1 Byte 6
6 Ausgang 8 Byte 4
7 Eingang 4 Byte 8
8 Ein-/Ausgang 4 Byte 13
9 Leeres Modul 0 - 0
10 Ein-/Ausgang 1 Word 26
11 Ausgang 1 Word 16
12 Eingang 1 Word 21
Folgende Tabellen stellen die Speicherabbilder des Beispiels dar und
werden so für den Datenaustausch mit anderen Gateways
verwendet.
Eingangsdaten
Offset Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
0x0000 Slot 1 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2
0x0008 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2 Slot 2
0x0010 Slot 2 Slot 5 Slot 7 Slot 7 Slot 7 Slot 7 Slot 8 Slot 8
0x0018 Slot 8 Slot 8 Slot 10
(L)*
Slot 10
(H*)
Slot 12
(L)*
Slot 12
(H*)
- -
Ausgangsdaten
Offset Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7
0x0000 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3
0x0008 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3 Slot 3
0x0010 Slot 6 Slot 6 Slot 6 Slot 6 Slot 6 Slot 6 Slot 6 Slot 6
0x0018 Slot 8 Slot 8 Slot 8 Slot 8 Slot 10
(L)*
Slot 10
(H)*
Slot 11
(L)*
Slot 11
(H)*
*(L)=Low Byte, (H)=High Byte
Konfigurieren