hit counter script

Reading The Diagnostic Data Record Ds1 - Siemens SIMATIC NET CP 142-2 Manual

Table of Contents

Advertisement

B8976111/02
Byte Bit
Variable Name
6
11
OB82_HW_INTR_FLT
2
7
11
OB82_RESERVED_3
2

3.3.2.6 Reading the Diagnostic Data Record DS1

The CP 142-2 continuously updates a delta list containing all the slaves that deviate from the
configuration, in other words, missing, incorrect or not configured (but existing) slaves (each slave is
assigned one bit in the delta list: 0 = no error; 1 = error). This delta list is part of the diagnostic data
record DS1 and you can read it out by calling the operating system function SFC59 ("RD_REC") in
the interrupt OB (OB82) or at any time in the cyclic program (OB1).
For the CP 142-2, data record DS 1 always has a length of 11 bytes and is structured as follows:
Bytes 0 to 3:
These four bytes contain DS0 and correspond to the local data bytes 8 to 11 in
OB82 (see Section 3.3.2.5)
7
Byte 4
Byte 5
Byte 6
7
Byte 7
Slave 7
7
Byte 8
Slave 15
7
Byte 9
Slave 23
7
Byte 10
Slave 31
Figure 3-4: Content of Data Record 1 Bytes 4 to 10
Data type
BOOL
BOOL
0
Bit no.
60
H
00
H
20
H
0
Slave 0
0
Slave 8
0
Slave 16
0
Slave 24
3-13
Meaning
always 0 for the CP 142-2
always 0 for the CP 142-2
Fixed value
Delta list
AS-i Master Module CP 142-2

Advertisement

Table of Contents
loading

Table of Contents