Basic Procedure for Configuring a DP Master System
Introduction
The
distributed I/O refers to master systems, comprising DP (distributed I/O)
master and DP slaves
that are
connected via a bus cable and communicate with each other via the PROFIBUS-DP
protocol.
As DP
masters and DP slaves can be different devices, this section only explains the
basic
procedures
involved in configuring. You will find details on functionality, access
procedures etc. in
the
manuals for the specific devices and in the online help for the special FCs
(for example,
DPSEND
and DPRECEIVE
for CP 342-5).
Basic Procedure for Configuring a DP Master System
If you
know the principles of how to configure a central structure, you also know how
to configure
the
distributed I/O - the procedure is the same to a large extent.
Station
Window as an Image of the Real DP Master System
When you
place a DP master (for example, a CPU 315-2DP), STEP 7 automatically draws a
line
that
represents the master system. At the end of the line, place the DP slaves that
are assigned to
this DP
master using drag & drop from the "Hardware Catalog" window under
"PROFIBUS-DP."
As a DP
master system is always connected to a PROFIBUS subnet, STEP 7 automatically
displays
dialog boxes for setting the subnet properties (for example, transmission rate)
and the
PROFIBUS address when you
place the DP components.
DP
Slave Does Not Appear in the "Hardware Catalog" Window
If a DP
slave does not appear in the "Hardware Catalog" window, you must
install the
corresponding
*.GSD file after the start of STEP 7 using the menu command Options > Install
GSD File. The dialog boxes then
guide you through the process of installing the *.GSD file. The
installed
DP slave then appears in the "Hardware Catalog" window under
"PROFIBUS-DP - Other
Field Devices."
Slave
Configuration in the Detailed View
If you
select the DP slave, the slave structure (DP identifiers and
modules/submodules) and I/O
addresses
are displayed in the detailed view of the station window.
Switching
Between the DP Master System and the DP Slave in the Detailed View of the
Station
Window
If you
select the symbol for the DP master system ( ), all DP slaves belonging to the
DP master
system will be displayed in the lower half of the station window. If you select
a DP slave
symbol,
the configuration of the DP slave is displayed in the lower half of the station
window. You
can easily change between
displays by using the following buttons:
Slot
Numbering in Distributed I/O Devices
Depending
on which DP slave type you are configuring, the slots in the detailed view of the
DP
slave
begin either with "0" or "4."
With DP
slaves that are configured by *.GSD files, the *.GSD file specifies at which
slot the I/O
addresses
start; the slots before that are "empty."
Slot
numbering of DP slaves such as ET 200M that are completely integrated in STEP 7
is derived
from the structure of an
S7-300 station according to the following pattern:
Remarks
on the slots of a DP slave, which is structured like the S7-300 station:
• The "actual" I/O (inputs/outputs) always starts with slot 4.
• Independent of whether a power supply module (PS) is inserted in the
real configuration or not:
slot 1 is
always reserved for a PS.
• Slot 2 is always reserved for the DP interface module.
• Slot 3 is always reserved for an expansion interface module (IM),
independent of whether a
"real"
I/O device can be expanded or not.
This
pattern is used for all DP slave types: modular and compact. The slot
arrangement is
important for evaluating
diagnostic messages (the slot that triggers diagnostics).
Where Are the DP Slaves in the Hardware Catalog Window?
All DP
slaves can be found in the "Hardware Catalog" window under the
"PROFIBUS-DP" folder.
Here, the
following points should be noted. In these paragraphs, CP 5611 and CP 5613 are
used to
mean
groups of CPs:
• "CP 5611" stands for all CPs of types CP 5611, CP 5611 A2,
CP 5511, CP 5512
• "CP 5613" stands for all CPs of types CP 5613, CP 5614, CP
5613 FO, CP 5614 FO, CP 5613
A2, CP
5614 A2
The
DP master is...
• ...a SIMATIC 300 or SIMATIC 400 CPU with integrated PROFIBUS-DP
interface, a PROFIBUS
CP
(without CP 342-5DA00) in a SIMATIC 300/400 or a SIMATIC PC station with a
PROFIBUS
CP
(without CP 5611/CP 5613)
The DP
slaves appear under their "family name" (e.g. PROFIBUS-DP\ET 200B).
• ...a CP 342-5DA00 with PROFIBUS-DP interface or an SIMATIC PC station
with CP 5611/CP
5613:
The DP
slaves appear either in the "DP V0 Slaves" folder and then under
their family name
(e.g.
PROFIBUS DP\DP V0 Slaves\ET 200B).
The
"DP V0 Slaves" contains the DP slaves represented by their GSD file
or type file (referred to
as
"Standard Slaves").
Folders
designated with the family name and located directly under PROFIBUS DP (e.g.
PROFIBUS
DP\ET 200B) usually contain the DP slaves whose properties are represented by
internal
STEP 7 information (referred to as "S7 Slaves").
The
DP slave was purchased separately (with a new *.GSD file)
The DP
slave will appear under "Other Field Devices" after you have
installed the *.GSD file.
The
DP slave is an intelligent DP slave
Examples:
You can configure stations as a DP slave with:
• CP 342-5 DP
• CPU 315-2 DP, CPU 316-2 DP, CPU 318-2 DP
• Basic submodule ET 200X (BM 147/CPU)
• IM 151/CPU (ET 200S)
The DP
slave appears under the "Configured Stations" folder after
configuring the station. The
procedure
(how does a station appear in the "Configured Stations" folder?) is described in detail in
the section about
configuring the intelligent DP slaves.
Comments
Post a Comment