
Errors and diagnostics
11.5 Operator error
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
111
Diagnostic data record DS1
Diagnostic data record DS 1 consists of 12 bytes. The first 4 bytes are identical to diagnostic
data record DS0. The following table shows the assignment of the remaining bytes. All bits
not listed have no meaning and are zero. This data record is entered into DB 1 from DW54
with the FC DIAG_INF.
Table 11- 2 Assignment of the bits of bytes 4 to 12 of the diagnostic data record DS1
Byte
Bit
Meaning
Remark
Event no.
4
0 ... 6
Channel type
76H is always assigned.
7
Other channel types
0 is always assigned.
5
0 ... 7
Diagnostic information length
Always allocated to CH.
6
0 ... 7
Number of channels
2 is always assigned.
7
0
Channel fault vector
Bit 0 = 1: Fault on channel 1
Bit 1 = 1: Fault on channel 2
8
0
Signal A - faulty channel 1
8:x:B0
1
Signal B - faulty channel 1
8:x:B1
2
Signal N faulty channel 1
8:x:B2
4
5.2V encoder supply faulty channel 1
8:x:B4
9
Reserved
10
0
Signal A - faulty channel 2
8:x:B0
1
Signal B - faulty channel 2
8:x:B1
2
Signal N faulty channel 2
8:x:B2
4
5.2V encoder supply faulty channel 2
8:x:B4
11
Reserved
How does the diagnostic text appear in the diagnostic buffer?
If you want to enter the diagnostic message in the diagnostic buffer, you must call the
SFC 52 (Enter user-specific message in the diagnostic buffer" in the user program. The
event number of the diagnostic message in each case is specified in the input parameter
EVENTN. The interrupt is entered in the diagnostic buffer with x=1 as incoming and x=0 as
outgoing. The diagnostic buffer contains the relevant diagnostic text in the "Meaning" column
as well as the time of the entry.
Default setting
The diagnostic interrupt is disabled in the default setting.
Summary of Contents for simatic s7-400 FM 450-1
Page 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Page 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Page 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Page 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Page 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...