×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 68585847, Entry date: 08/31/2018
(1)
Rate

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

  • Entry
  • Associated product(s)
A SIMATIC S7-300/400 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.

Task
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).
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.

Fig. 01: PROFINET

Fig. 02: PROFIBUS DP

Solution
For the SINAMICS S120, the above task was implemented with a CPU 315-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 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
  • WinCC flexible 2008 + SP3
  • STARTER V4.3 SP3 HF1
  • SINAMICS S120 with Firmware V4.6

Downloads

Inhalt PROFINET PROFIBUS
Documentation 68585847_SINAMICS_S120_PN_at_S7-300400_DOCU_V1d1_en.pdf ( 11864 KB )68585847_SINAMICS_S120_DP_at_S7-300400_DOCU_V1d1_en.pdf ( 12585 KB )
Short documentation68585847_SINAMICS_S120_at_S7-300400_SHORT-DOKU_V1d1_en.pdf ( 576 KB )
Code 
STEP 7 Projects
for SINAMICS S120 with firmware V4.6
68585847_SINAMICS_S120_PN_at_S7-300400_CODE_V1d1.zip ( 6154 KB ) 68585847_SINAMICS_S120_DP_at_S7-300400_CODE_V1d1.zip ( 5956 KB )

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

Note
For this example with PROFIsafe, please refer to Entry ID 68624711.

Last Changes
summarizing the projects to one project with Firmware 4.6

Additional Keywords
motioncontrol_apc_applications

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
https://www.siemens.com/cybersecurity#Ouraspiration.