Siemens CP 243-2 User Manual

Page of 150
Command Interface
5-53
SIMATIC NET CP 243-2 AS-i Master
C79000-G8976-C142/02
5.2.27
Get_LPF
Purpose
With this call, the list of peripheral faults (LPF) signaled by the AS-i slaves is read
out from the AS-i master. The LPF is updated cyclically by the AS-i master.
Whether and when as AS-i slave signals faults of the attached peripherals (for
example wire break) can be found in the description of the AS-i slave..
Structure of the Job Data in the Send Buffer
Bank
Byte
Meaning
2
0
Command number 3E 
H
2
1
AS-i slave address
Structure of the Job Data in the Receive Buffer
Bank
Byte
Meaning
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
2
0
Echo of the command number 3E 
H
2
1
Command status
2
2
slave 0
slave 1
slave 2
slave 3
slave 4
slave 5
slave 6
slave 7
2
3
slave 8
slave 9
slave 10
slave 11
slave 12
slave 13
slave 14
slave 15
2
4
slave 16
slave 17
slave 18
slave 19
slave 20
slave 21
slave 22
slave 23
2
5
slave 24
slave 25
slave 26
slave 27
slave 28
slave 29
slave 30
slave 31
2
6
reserv.
slave 1B
slave 2B
slave 3B
slave 4B
slave 5B
slave 6B
slave 7B
2
7
slave 8B
slave 9B
slave
10B
slave
11B
slave
12B
slave
13B
slave
14B
slave
15B
2
8
slave
16B
slave
17B
slave
18B
slave
19B
slave
20B
slave
21B
slave
22B
slave
23B
2
9
slave
2B4
slave
25B
slave
26B
slave
27B
slave
28B
slave
29B
slave
30B
slave
31B
The bits in the LPF data have the following meaning: 
Bit=0: 
Slave signals no peripheral fault
Bit=1: 
Slave signals peripheral faults