Data Exchange with the SM 335
3-32
SM 335 – High-Speed Analog Input/Output Module for the SIMATIC S7-300
6ES7 335-7HG00-8BA1
3.4.2
Format of diagnostic data for the SM 335
Format
Once diagnostic data record DR1 has been read by system function 59, the
SM 335 diagnostic data are available in the specified memory.
The diagnostic data are formatted as shown in Table 3-18.
Table 3-18
SM 335 Diagnostic Data
Module diag-
nostic byte
Content
Default
0
Module diagnostic byte 1 (see Subsection 3.4.3)
40
H
1
Module diagnostic byte 2 (see Subsection 3.4.4)
Fixed: 35
H
2
Module diagnostic byte 3 (see Subsection 3.4.5)
00
H
3
Module diagnostic byte 4 (see Subsection 3.4.6)
00
H
4
Channel-specific diagnostic byte (see Subsection 3.4.7)
Channel type: 00
H
(general error), 71
H
(input),
73
H
(output)
00
H
5
Number of diagnostic bits per channel
Fixed: 08
H
6
Number of inputs/outputs
Fixed: 08
H
7
Change in diagnostic byte for input/output
(set bit corresponds to changes in bytes 8 to 15)
00
H
8
Channel-specific diagnostic byte for analog input CH0
00
H
9
Channel-specific diagnostic byte for analog input CH1
00
H
10
Channel-specific diagnostic byte for analog input CH2
00
H
11
Channel-specific diagnostic byte for analog input CH3
00
H
12
Channel-specific diagnostic byte for analog output CH0
00
H
13
Channel-specific diagnostic byte for analog output CH1
00
H
14
Channel-specific diagnostic byte for analog output CH2
00
H
15
Channel-specific diagnostic byte for analog output CH3
00
H