PLC commissioning
6.3 Creating a SIMATIC S7 project
Manual
160
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
6.3
Creating a SIMATIC S7 project
This section describes the creation of an S7 project for basic commissioning of the PLC, the
MPI and PROFIBUS communications, and the input/output data areas of the NC. To do this
you will have to perform the following operations:
●
Create a project
●
Set up a station
●
Parameterize MPI communications (optional)
●
Parameterize PROFIBUS communications
●
Parameterize the input/output data areas of the NC
Note
The interface X102 MPI/DP can either be used as an MPI or PROFIBUS interface. The
use of MPI communication is no longer recommended for SINUMERIK 840Di sl.
PROFIBUS DP
Maximum two PROFIBUS lines can be connected to a SINUMERIK 840Di sl:
●
Interface X101: PROFIBUS DP
In the case of the SINUMERIK 840Di sl, the position controller cycle of the NC is derived
directly from the isochronous PROFIBUS cycle. Defined values must therefore always be
entered for the following PROFIBUS parameters:
–
Mode: DP master
–
Isochronous PROFIBUS: Active
–
Isochronous time T
DP
on PROFIBUS DP: Position controller cycle clock
Both the PLC and the NC have direct access to this PROFIBUS interface. PROFIBUS
drives and NC-specific I/Os can only be connected via this interface.
●
Interface X102: MPI/DP
This PROFIBUS interface is only available to the PLC. It can also be operated in "DP
Master" or "DP Slave" mode.
A full description of how to parameterize PROFIBUS communications is given in Chapter
"PROFIBUS DP communication" (Page 229).
Note
The instructions given in this section are essentially limited to the special characteristics of
the SINUMERIK 840Di sl. For more details about working with SIMATIC STEP 7 please refer
to the relevant SIMATIC documentation or Online Help.