SINAMICS G120 DP at S7-1200
Entry-ID: 70155469, V1.4, 07/2018
Siemens AG 2018 All rights reserved
Table of contents
Legal information ......................................................................................................... 2
1 Task ..................................................................................................................... 4
2 Solution............................................................................................................... 5
2.1 Solution overview ................................................................................. 5
2.2 Description of the core functionality ..................................................... 6
2.2.1 Configuring the communication ............................................................ 6
2.2.2 Data exchange ..................................................................................... 6
2.3 Hardware and software components used........................................... 7
3 Setting up and commissioning the application .............................................. 9
3.1 Wiring ................................................................................................... 9
3.2 IP and PB addresses .......................................................................... 10
3.3 PG/PC settings ................................................................................... 10
3.4 Setting the PROFIBUS address at the G120 DP ............................... 11
3.5 Loading the software .......................................................................... 11
4 Operating the Application ............................................................................... 19
4.1 Preconditions ...................................................................................... 19
4.2 Operation via digital inputs ................................................................. 20
4.3 Monitoring and parameter access via operator panel ........................ 21
4.3.1 Screens and screen navigation .......................................................... 21
4.3.2 Process data exchange ...................................................................... 22
4.3.3 Parameter access .............................................................................. 25
4.4 Operator Control and Monitoring via monitoring table ....................... 27
5 Functional Mechanisms of this Application ................................................. 29
5.1 Functionality of process data exchange ............................................. 30
5.1.1 Accessing process data in the user program of the controller ........... 30
5.1.2 Standardizing the setpoint and actual values .................................... 31
5.1.3 Transfer method ................................................................................. 31
5.1.4 Control word (STW1) and status word (ZSW1) ................................. 32
5.1.5 FB 11 “Process_Data” ........................................................................ 34
5.2 Parameter access functionality .......................................................... 38
5.2.1 Job and response structure ................................................................ 38
5.2.2 The DBs “read/write_drive_parameters” and
“answer_from_drive” .......................................................................... 39
5.2.3 FB 20 “Parameters” ............................................................................ 41
6 Configuration and Settings............................................................................. 45
6.1 Creating the project configuration ...................................................... 45
6.1.1 Configuration of the components ....................................................... 45
6.1.2 Change device of SINAMICS G120 ................................................... 53
6.2 Safe Torque Off (STO) with Safety Integrated ................................... 54
6.3 Comments on programming the SIMATIC S7-1200 .......................... 58
6.3.1 Configuring the DPRD_DAT/DPWR_DAT instruction ........................ 58
6.3.2 Configuring the RDREC/WRREC instruction ..................................... 60
7 Related Literature ............................................................................................ 61
8 History............................................................................................................... 62