Commissioning
8.5 Commissioning PROFIBUS DP
S7-300, CPU 31xC and CPU 31x: Installation
8-24
Operating Instructions, Edition 08/2004, A5E00105492-05
DP diagnostic addresses occupy 1 byte per DP master and DP slave in the input address
area. For example, at these addresses DP standard diagnostics can be called for the
relevant node (LADDR parameter of SFC 13). The DP diagnostic addresses are specified in
your configuration. If you do not specify any DP diagnostic addresses, STEP 7 assigns these
DP diagnostic addresses in ascending order, starting at the highest byte address.
In the case of a CPU 31xC-2 DP or CPU 31x-2 DP assigned as a master, two different
diagnostic addresses must be assigned for S7 slaves.
•
Diagnostic address of the slave (address for slot 0)
At this address all slave events are reported in the DP master (Node representative), e.g.
Node failure.
•
Diagnostic address of the module (address for slot 2)
All module (CPU 313C-2 DP as I-Slave, for example) events are reported in the master
(OB82) at this address. With a CPU as DP Slave, for example, diagnostic interrupts for
operating mode transitions are reported at this address.
See also
Connecting the PG to a node (Page 8-14)
Connecting the PG to several nodes (Page 8-15)
8.5.2
Commissioning the CPU as DP master
Requirements for commissioning
•
The PROFIBUS subnet has been configured.
•
The DP slaves are ready for operation (see relevant DP slave manual).
•
If the MPI/DP interface is a DP interface, you have to configure the interface as DP
interface (CPU 317 only).
•
You must configure the CPU as DP master prior to commissioning. That is, in STEP 7
you have to
–
configure the CPU as a DP master,
–
assign a PROFIBUS address to the CPU,
–
assign a master diagnostic address to the CPU,
–
integrate the DP slaves into the DP master system.
Is the DP CPU a DP slave?
If so, this DP slave appears in the PROFIBUS-DP catalog as configured station. In the
DP master, assign a slave diagnostic address to this DP slave CPU. You must
interconnect the DP master with the DP slave CPU and specify the address areas for
data exchange with the DP slave CPU.