EasyManua.ls Logo

Siemens SIMATIC S7-300 FM 350-1 - Diagnostics Data Records

Siemens SIMATIC S7-300 FM 350-1
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Errors and diagnostics
10.2 Triggering diagnostics interrupts
FM 350-1 Counter module
178 Manual, 05/2011, A5E03648639-01
Diagnostics data records DS0 and DS1
The information showing the event which has triggered a diagnostics interrupt is written to
the diagnostics data records DS0 and DS1. Diagnostics data record DS0 consists of four
bytes, and DS1 of 16 bytes. The first four bytes are identical with those at DS0.
Reading data records from the module
The module automatically writes the diagnostics data record DS0 to the start information of
the diagnostics interrupt OB. These four bytes are saved to the local data area of OB82
(bytes 8 to 11.)
You can read diagnostics data record DS1 from the module, which includes the contents of
DS 0, by calling FC DIAG_INF. However, this is only useful if DS0 reports a channel error.
Assignments of diagnostics data record DS0 in the start information
The table shows the start information assignments of diagnostics data record DS0. Any bits
not listed bits are insignificant, and zero.
Table 10- 2 Assignments of diagnostics data record DS0
Byte Bit Meaning Remarks Event ID
0 Module in error state Set upon all diagnostics events 8:x:00
1 Internal error Set at all internal error events:
RAM test error
Time monitoring (watchdog) triggered
Lost hardware interrupt
8:x:01
2 External error Set at all external error events:
Auxiliary voltage 1L+/1M not
connected, or short-circuit at the 5.2 V
DC encoder supply.
Short-circuit or overload at the 5.2 V
DC encoder supply
Error at 5-V signals
Parameter error
8:x:02
3 Channel error See DS1, byte 4 for further details 8:x:03
4 Failure of the external auxiliary voltage Check the voltage 8:x.04
6 No configuration Assign parameters 8:x:06
0
7 Parameter error See section Data errors (Page 180) for
further breakdown
8:x:07

Table of Contents

Related product manuals