Siemens SIMATIC S5 Manual page 197

Distributed i/o system
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-95U – addressing, accessing the distributed I/O and diagnostics with STEP 5
Table 10-5 Meanings of the block parameters of the FB 230, continued
Name
Mode
Type
DB_NR D
KY
Example of an
This STEP 5 application program is an example illustrating how you can
FB 230 call
request slave diagnostics with the FB 230 for the following DP slaves:
STN 5, STN 20, STN 110, STN 123.
AWL
: U
E 56.0
: SPB FB230
Name
: S_DIAG
S_NR
:
KY0,0
DBNR
:
KY230,0
: U
E 56.3
:
SPB
FB23
0
Name
: S_DIAG
S_NR
:
KY0,3
DBNR
:
KY230,20
ET 200 Distributed I/O System
EWA 4NEB 780 6000-02a
Designation
Target data block for
KY = x, y
storing the
If parameterization is direct:
diagnostics data
x = 2 to 255
y = 0 to 255
Diagnostics data is written to the data block starting at the
DW you specify.
If parameterization is indirect:
x = 2 to 255
y = 0 to 255
The station number and the DB No. of the target data block
for the diagnostics data are written, starting at the DW you
specify. The high byte of the station number parameter must
have the value "0".
Explanation
If station with lowest number (here STN 5) is errored,
then call the FB 230
direct parameterization, station with lowest station
number
(here STN 5) on the SINEC L2 DP
diagnostics data is written to
DB 230 starting at DW 0 (18 DW)
is station 123 is errored,
then call the FB 230
direct parameterization, station 123 on the SINEC L2 DP
diagnostics data is written to
DB 230 starting at DW 20 (18 DW)
Valid assignment
DB No.
DW No.
DB No.
DW No.
10
10-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200

Table of Contents