&RPPLVVLRQLQJ
S7-300 Automation System, Hardware and Installation: CPU 312IFM - 318-2 DP
A5E00203919-01
9-29
3URJUDPPLQJVWDWXVFRQWUROYLD352),%86
As an alternative to the MPI interface, you can program the CPU or execute the
Status and Modify functions of the PG via the PROFIBUS-DP interface. To do so,
you must enable these functions when configuring the CPU as a DP slave in
STEP7.
1RWH
The use of Status and Control function via the PROFIBUS-DP interface extends
the DP cycle.
'DWD7UDQVIHUYLD,QWHUPHGLDWH0HPRU\
CPU 31x-2 DP operating as a DP slave provides a transfer memory for PROFIBUS
DP communication. All data exchange between the CPU as DP slave and the DP
master takes place via this transfer memory. You can configure up to 32 address
areas for this function.
That is, the DP master writes its Data to these intermediate memory address areas
and the CPU reads these data in the user program, and vice versa.
Transfer memory
in the address
area
PROFIBUS
I/Q I/Q
CPU as DP slave
DP master
Figure 9-9 Transfer memory in the CPUs 31x-2 DP acting as DP slave
$GGUHVVDUHDVLQLQWHUPHGLDWHPHPRU\
In 67(3, configure the I/O address areas:
• You can configure up to 32 I/O address areas.
• Maximum length per address area is 32 bytes.
• You can configure a maximum of 244 input bytes and 244 outputs bytes.