Siemens SIMATIC S5 Manual page 170

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

Advertisement

6. Call the FB IM308C with FCT = CS. See Section 9.7 for details of all
7. Evaluate the master diagnostics and check whether the DP standard slave
IM 308-C set to
If you want to change the station number of a DP standard slave while the
RUN
IM 308-C is set to RUN, note the following:
Example
The STEP 5 application program shown below is an example of how you can
assign a station number to a DP slave with the FB IM308C:
AWL
OB 1
SEGMENT 1
0000
:C
DB
70
:
:JU
FB 192
Name
:IM308C
DPAD
:
KH F800
IMST
:
KY 0,126
FCT
:
KC CS
GCGR
:
KM 00000000 00000000
TYP
:
KY 0,60
STAD
:
KF
+1
LENG
:
KF +4
ERR
:
DW
0
:
:
:BE
ET 200 Distributed I/O System
EWA 4NEB 780 6000-02a
IM 308-C – addressing, diagnostics and use of the FB IM308C
remaining parameters.
If you are unaware of the original station number, program the
FB IM308C with all station numbers as a loop.
Result: The IM 308-C attempts to transfer the new station number to the
DP slave. The "BF" LED goes out when the DP slave accepts the station
number. You should always check the ERR parameter of the FB IM308C
in order to ascertain whether transfer was successful.
has been removed from the overview diagnostics and entered in the
data-transfer list.
The new station number of the DP standard slave must be parameterized
with COM ET 200 Windows
The old station number of the DP standard slave must not be parameter-
ized with COM ET 200 Windows
No other DP master accessing the DP standard slave.
Explanation
Open data block No. 70
Default address area of IM 308-C
IM No.=0: old station No. = 126
Function: Change station number
S5-Data block: DB 60
As of data word 1
Minimum length = 4 bytes
Error code placed in DW 0 of the
current data block
(here DB 70)
9
9-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200

Table of Contents