Siemens SIMATIC S5 Manual page 132

Interface of the programmable controller
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-95U, SINEC L2
ZP Slave Life List
The ZP master (S5-95U) creates a ZP slave life list that contains the status of of every ZP slave
scanned by the ZP master. The remaining entries in the list are zeros.
There is an entry in the ZP slave life list when the ZP master scans the ZP slave and either a ZP
configuration error (STB bit 6) or a ZP slave failure (STB bit 7) occurs.
The ZP slave life list contains 16 bytes. The state of every ZP slave is represented in bits 1 to 126.
Bit 0 and bit 127 are irrelevant (=0).
You can fetch the ZP slave life list using FB L2-RECEIVE and store it as a consistent area (no
gaps) in the flag area or in a data block.
Example: ZP slave life list is located in the flag area starting with flag byte FY2
1
Flag byte FY2
0/
1
2.7
2.6
8
9
Flag byte FY3
0/
0/
1
1
3.7
3.6
Example: ZP slave life list is located in data block starting with data word DW2
1
2
3
DW2
0/
0/
0/
1
1
1
2.15
2.14
2.13 2.12 2.11 2.10
Status 0: ZP slave is okay or is not scanned by this ZP
master
Status 1: a "ZP configuring error" or a "ZP failure" occurred
with this ZP slave
You can fetch the ZP slave life list using FB L2-RECEIVE with job number A-NR 202. For this
purpose, you need an additional STB for the ZP master (refer to section 5.4 for information on the
structure of the STB of FB L2-RECEIVE). You assign STB parameters in DB1 under parameter
ZPLI (see section 7.2).
The ZP slave life list can be fetched only if, in the corresponding STB, bit "Receive viable" is set.
Bit "Receive viable" is set only if an error occurred at least in one of the ZP slaves.
EWA 4NEB 812 6112-02
2
3
4
5
6
0/
0/
0/
0/
0/
1
1
1
1
1
2.5
2.4
2.3
2.2
2.1
10
11
12
13
14
0/
0/
0/
0/
0/
1
1
1
1
1
3.5
3.4
3.3
3.2
3.1
4
5
6
7
8
0/
0/
0/
0/
0/
1
1
1
1
1
2.9
2.8
2.7
Figure 7-6. Structure of the ZP Slave Life List
Data Transmission Using Cyclic I/O
7
TLN of the ZP slave
0/
Status of the ZP slave
1
2.0
Bit
15
TLN of the ZP slave
0/
Status of the ZP slave
1
3.0
Bit
9
10
11
12
13
0/
0/
0/
0/
0/
1
1
1
1
1
2.6
2.5
2.4
2.3
2.2
Bit for station 0 is irrelevant (=0)
14
15
TLN of the ZP slave
0/
0/
Status of the ZP slave
1
1
2.1
2.0
Data
7-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinec l2S5-95u

Table of Contents