Herunterladen Diese Seite drucken

Pepperl+Fuchs LB 8108 Handbuch Seite 328

Profibusbuskoppler

Werbung

PROFIBUS-BUSKOPPLER
Diagnosefunktionen
Modulstatusregister
Byte
Byte 1
Beispiel:
AA
Byte 2
Fehlercodes Bit 3 ... 0
Fehlercode
(Bit 0 ... 3)
0
1
2 ... 6
7... 8
9
10
11 ... 15
Modulstatus (Kanal-Diagnoseinformationen)
Modultypen 1x01, 1x02, 1x08, 2xxx, 6x05, 6x06, 6x08, 6x10 ... 6x15
Byte 2
Bit 0
Bit 1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
(*1) Byte 4 betrifft nur doppelt breite E/A-Module, die 2 Steckplätze belegen.
(*2) In Abhängigkeit von der Kanalanzahl des E/A-Moduls ist dieses Bit eventuell nur reserviert.
328
Bit / Zustand
Bedeutung allgemein
7
= 1
Modul aktiv (0 = inaktiv; 1 = aktiv)
6
= 0
Simulation aktiv (mind. 1 Kanal)
(0 = inaktiv; 1 = aktiv)
5
= 1
Fehler (0 = kein Fehler; 1 = Fehler)
4
= 0
reserviert
3
= 1
Fehlercode (siehe folgende Tabelle
"Fehlercodes Bit 3...0")
2
= 0
1
= 1
0
= 0
Kanal-Diagnoseinformationen
(siehe Tabelle "Kanal-
Diagnoseinformationen)
Die E/A-Module 1x07, 1x14 und
1x15 verfügen über keine Kanal-
Diagnoseinformationen. Bei
ihnen ist dieses Byte = 0.
Bedeutung
kein Fehler
Timeout (Modul steckt nicht im Steckplatz)
Fehler interner Bus (Kommunikationsprobleme zwischen Buskoppler und
E/A-Modul(en))
reserviert
falscher Modultyp (gesteckter und konfigurierter Modultyp passen nicht
zusammen)
modulinterner Fehler (z. B. Leitungsbruch oder Kurzschluss)
resrerviert
Bedeutung
Binärdaten Kanal 1 (0/1)
Status Kanal 1 (0 = gültig,
1 = ungültig)
Binärdaten Kanal 2 (0/1)
Status Kanal 2 (0 = gültig,
1 = ungültig)
(*2)
Binärdaten Kanal 3 (0/1)
Status Kanal 3 (0 = gültig,
(*2)
1 = ungültig)
(*2)
Binärdaten Kanal 4 (0/1)
Status Kanal 4 (0 = gültig,
(*2)
1 = ungültig)
Bedeutung im Beispiel
Das E/A-Modul ist
aktiv (Bit 7 = 1) und
fehlerbehaftet
(Bit 5 = 1). Es liegt ein
modulinterner Fehler
vor (Bit 3...0 = 1 0 1 0
= Fehlercode 10
(*1)
Byte 4
Bedeutung
Bit 0
Binärdaten Kanal 5 (0/1)
Bit 1
Status Kanal 5 (0 = gültig,
(*2)
1 = ungültig)
Bit 2
Binärdaten Kanal 6 (0/1)
Bit 3
Status Kanal 6 (0 = gültig,
(*2)
1 = ungültig)
Bit 4
Binärdaten Kanal 7 (0/1)
Bit 5
Status Kanal 7 (0 = gültig,
(*2)
1 = ungültig)
Bit 6
Binärdaten Kanal 8 (0/1)
Bit 7
Status Kanal 8 (0 = gültig,
(*2)
1 = ungültig)
)
Hex
(*2)
(*2)
(*2)
(*2)

Werbung

loading