Baumer GK473 User Manual
Page 20

Manual_GK473_S7_Profibus_EN.doc 20/32
Baumer IVO GmbH & Co. KG
04.05.11
Villingen-Schwenningen,
Germany
3.9 Troubleshooting
3.10 Evaluating the diagnostic data
Chapter 3.7 „Organization block OB82“ describes diagnostic data readout. For evaluating the
diagnostic data stored in DB20 byte 11must be read off and compared to possible fault numbers. To
do so, byte 11 is checked regarding coincidence with available fault numbers. Upon coincidence the
program skips to the responsible troubleshooting mark.
L DB20.DBB 11
// Read byte 11
L 0
// compare with 0 (00h = no fault, see gateway manual)
==I
// if VKE = 1
SPB ENDE // skip to END mark (no error)
L DB20.DBB 11
L 1
// (01h)
==I
SPB EFLA
// Flash fault
L DB20.DBB 11
L 2
// (02h)
==I
SPB ERAM
// RAM fault
L DB20.DBB 11
L 3
// (03h)
==I
SPB EROM
// Eeprom fault
L DB20.DBB 11
L 17
// (11h)
==I
SPB EKON
// Configuration fault
L DB20.DBB 11
L 18
// (12h)
==I
SPB EPAR
// Parameter fault
L DB20.DBB 11
L 33
// (21h)
==I
SPB ESPA
// lost connected SPA
SPA EINT
// otherwise internal error
EFLA: NOP 0
//... Code for troubleshooting in case of Flash fault
SPA ENDE
ERAM: NOP 0
//... Code for troubleshooting in case of RAM fault
SPA ENDE
EROM: NOP 0
//...Code for troubleshooting in case of EEPROM fault
SPA ENDE
EKON: NOP 0
//... Code for troubleshooting in case of configuration fault
SPA ENDE
EPAR: NOP 0
//... Code for troubleshooting in case of parameter fault
SPA ENDE
ESPA: NOP 0
//... Code for troubleshooting in case of lost SPA
EINT: NOP 0
//... Code for troubleshooting in case of internal fault
SPA ENDE
ENDE: NOP 0