Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 68624711, Entry date: 08/30/2018

SINAMICS S: Speed control of a S120 with SIMATIC S7-300/400F (STEP 7 V5) via PROFINET/PROFIBUS with Safety Integrated (via PROFIsafe) and HMI

  • Entry
  • Associated product(s)
A failsafe SIMATIC S7-300/400F is to control a SINAMICS S120 drive via PROFINET or PROFIBUS DP. The realization is to be done with the engineering tool STEP 7 V5.

The controller is to have both read and write access to process data of the inverter (control word and setpoint or status word and actual value) and to inverter parameters (ramp-up and ramp-down time, error memory). The Safety Functions of the drive shall be addressed from the failsafe PLC.
In this context, the current faults and alarms of the inverter are to be displayed with the error number and as plain text on an operator panel. The current and acknowledged messages in the fault buffer of the inverter are to be visualized as well.



For the SINAMICS S120, the above task was implemented with a CPU 315F-2 DP/PN. The blocks created for this purpose, one for process data communication and one for parameter access, can be used as a basis for your own applications. The failsafe addressing of the SINAMICS S120 is done as example.
The documentation for the application example describes the necessary configuration and programming of the required functions.

Development environment
The screens and downloads in this example were created with the following versions:

  • STEP 7 V5.5 + SP3 HF2
  • S7 Distributed Safety V5.4 SP5
  • WinCC flexible 2008 + SP3
  • STARTER V4.3 SP3 HF1
  • SINAMICS S120 with Firmware V4.6


Documentation 68624711_SINAMICS_S120_PN_at_S7-300400F_DOCU_V1d1_en.pdf ( 16177 KB )68624711_SINAMICS_S120_DP_at_S7-300400F_DOCU_V1d1_en.pdf ( 17739 KB )
Short documentation68624711_SINAMICS_S120_at_S7-300400F_SHORT-DOKU_V1d1_en.pdf ( 580 KB )
STEP 7 Projects
for SINAMICS S120 with firmware V4.6
68624711_SINAMICS_S120_PN_at_S7-300400F_CODE_V1d1.zip ( 6561 KB )68624711_SINAMICS_S120_DP_at_S7-300400F_CODE_V1d1.zip ( 6671 KB )

The PROFINET/PROFIBUS STEP7 projects differ only in the fieldbus used and in the SINAMICS S120 Control Unit.

Last Changes
summarizing the projects to one project with Firmware 4.6

Additional Keywords

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit