User manual

Table Of Contents
Konfigurieren der Dezentralen Peripherie (DP)
Hardware konfigurieren und Verbindungen projektieren mit STEP 7
A5E00706938-01
3-69
// ...
//Struktur der abgelegten Diagnosedaten:
// MB 130 bis MB 133: Kopfinfo (Laenge, Identifier,
Steckplatz)
// MB 134 bis MB 139: Standard-Diagnose (6 Bytes)
// MB 140 bis MB 142: Kennungsspezifische Diagnose
(3 Bytes)
// MB 143 bis MB 149: Modulstatus (7 Bytes)
// ...
U M 141.0 //Steckplatz 1 mit Fehler?
SPB stp1
BE
stp1: L MB 147 //Modulstatus Steckpl. 1 bis 4 holen
UW W#16#3 //Stecklpl 1 herausfiltern
L W#16#2 //2-Bit-Status 'wrong module' falsche
Baugruppe gesteckt
==I
S A 0.1 //Reaktion auf falsches Modul
L MB 147 //Modulstatus Steckpl. 1 bis 4 holen
UW W#16#3 //Stecklpl 1 herausfiltern
L W#16#1 //2-Bit-Status 'invalid data'
//ungueltige Nutzdaten
==I
S A 0.2 //Reaktion auf ungueltige Nutzdaten
//..