The attached file shows how to set up a S7-315 CPU to be a PROFIBUS DP Slave to a ProSoft MVI56-PDPMV1 PROFIBUS Master and was written for that specific application. However, many of the setup steps apply to other S7 configurations and other ProSoft PROFIBUS Masters.
Please see the attached file.