
Table of contents
Connection of the SINAMICS S120 to the Technology CPU
4 Product Information, 09/2011, A5E00480378-04
3.8 Creating the user program .......................................................................................................... 91
3.8.1 Using technology functions ......................................................................................................... 91
3.8.2 Special considerations for the use of an Active Line Module ..................................................... 91
4 Basic functions......................................................................................................................................... 93
4.1 Encoder settings ......................................................................................................................... 93
4.1.1 Encoder configuration (overview) ............................................................................................... 93
4.1.2 Characteristic values for encoders.............................................................................................. 93
4.1.3 Structure of the encoder actual values ....................................................................................... 95
4.1.4 Encoder types ............................................................................................................................. 99
4.1.5 Encoder mode........................................................................................................................... 100
4.1.6 Setting encoder parameters in the technology ......................................................................... 100
4.1.7 Display of the encoder parameters in S7T Config .................................................................... 102
4.2 Homing...................................................................................................................................... 104
4.2.1 Homing possibilities .................................................................................................................. 104
4.2.2 Example: Active homing with homing output cam and encoder zero mark.............................. 105
4.2.3 Example: Active homing using only an external zero mark ...................................................... 109
4.2.4 Example for active homing with one of the external zero marks mirrored on the T-CPU......... 114
4.2.5 Example: Active homing using only an encoder zero mark...................................................... 117
4.2.6 Absolute encoder adjustment with the control panel ................................................................ 120
4.3 Triggering of the integrated outputs of the CU 320 Control Unit............................................... 122
5 Expert Functions.................................................................................................................................... 127
5.1 PROFIdrive message frame...................................................................................................... 127
5.1.1 Message frame types................................................................................................................ 127
5.1.2 Example: telegram 105 ............................................................................................................. 129
5.2 Extending a PROFIdrive message frame ................................................................................. 130
5.2.1 Address areas ........................................................................................................................... 130
5.2.2 Extending a message frame by creating additional components ............................................. 131
5.2.3 Extending the PROFIdrive message frame in S7T Config ....................................................... 138
5.2.4 Extending an existing PROFIBUS message frame for the drive .............................................. 139
5.3 Disabling the PROFIBUS Sign-of-Life Monitoring .................................................................... 145
5.4 Activating a Second Encoder.................................................................................................... 146
5.4.1 Using a Second Encoder .......................................................................................................... 146
5.4.2 Connecting a second encoder in SINAMICS............................................................................ 148
5.5 Reading the drive parameters................................................................................................... 150
5.5.1 Example: Reading several parameters using "MC_ReadDriveParameter" .............................. 150
5.6 Measuring Function................................................................................................................... 152
5.6.1 Use Cases................................................................................................................................. 152
5.6.2 Measuring using the integrated inputs on the CU320............................................................... 156
5.6.3 Fetching the measuring inputs using the TM17 terminal module ............................................. 159
5.7 Triggering an output cam using the TM17 terminal module ..................................................... 165
5.8 Triggering of a brake ................................................................................................................. 174
5.8.1 Vertical axis application case.................................................................................................... 174
5.8.2 Activating braking sequential control in SINAMICS.................................................................. 174
5.8.3 Activating braking sequential control in the axis ....................................................................... 176