Errors and diagnostics
11.5 Operator error
Counter module FM 450-1
110 Manual, 02/2014, A5E03648739-02
Diagnostic Data Records DS0 and DS1
The information as to which event triggered a diagnostic interrupt is stored in diagnostic data
records DS0 and DS1. Diagnostics data record DS0 consists of 4 bytes; DS1 consists of
12 bytes, the first 4 bytes of which are identical to DS0.
Reading the data record from the module
Diagnostic data record DS0 is automatically transferred to the start information when the
diagnostic OB is called. These four bytes are stored there in the local data element
(bytes 8-11) of OB 82.
You can read out the diagnostic data record DS 1 and hence also the contents of DS0 from
the module using FC DIAG_INF. This is only useful if DS0 signals an error in one channel.
Assignment of the Diagnostic Data Record DS0 and the Start Information
The table below shows the assignment of the diagnostic data record DS0 in the start
information. All bits not listed have no meaning and are zero.
Table 11- 1 Assignment of diagnostic data record DS0
0
Is set at each diagnostic event.
1 Internal error Is set for all internal faults:
• Fault in RAM TEST
• Watchdog timeout
• Lost hardware interrupt
8:x:01
2 External error Is set for all external faults:
• Auxiliary voltage 1L+/1M is not
connected or 5.2 VDC encoder
supply is short circuited
• 5.2 VDC encoder supply short
circuited or overloaded.
• 5V signals faulty
• Faulty parameter assignment
8:x:02
3 Error in one channel 1 is always assigned for internal and
8:x:03
External auxiliary voltage faulty
Faulty parameter assignment
1
3