Technical data
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  B
asic functions......................................................................................................................................... 93 
4.1  Enc
oder settings ......................................................................................................................... 93 
4.1.1  Enc
oder configuration (overview) ............................................................................................... 93 
4.1.2  Charac
teristic values for encoders.............................................................................................. 93 
4.1.3  Struc
ture of the encoder actual values ....................................................................................... 95 
4.1.4  Enc
oder types ............................................................................................................................. 99 
4.1.5  Enc
oder mode........................................................................................................................... 100 
4.1.6  Setting enc
oder 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 possi
bilities .................................................................................................................. 104 
4.2.2  Exampl
e: Active homing with homing output cam and encoder zero mark .............................. 105 
4.2.3  Exampl
e: Active homing using only an external zero mark ...................................................... 109 
4.2.4  Exampl
e for active homing with one of the external zero marks mirrored on the T-CPU......... 114 
4.2.5  Exampl
e: Active homing using only an encoder zero mark...................................................... 117 
4.2.6  Absolute encoder adjustment with the control panel
................................................................ 120 
4.3  Trigg
ering of the integrated outputs of the CU 320 Control Unit............................................... 122 
5  E
xpert Functions.................................................................................................................................... 127 
5.1  PROFIdrive m
essage frame...................................................................................................... 127 
5.1.1  Mess
age frame types................................................................................................................ 127 
5.1.2  Ex
ample: telegram 105 ............................................................................................................. 129 
5.2  Extending a PROFIdrive message frame
................................................................................. 130 
5.2.1  Address
 areas ........................................................................................................................... 130 
5.2.2  Extendin
g a message frame by creating additional components ............................................. 131 
5.2.3  Extending the PROFIdri
ve message frame in S7T Config ....................................................... 138 
5.2.4  Extendin
g an existing PROFIBUS message frame for the drive .............................................. 139 
5.3  Disabling the 
PROFIBUS Sign-of-Life Monitoring .................................................................... 145 
5.4  Ac
tivating a Second Encoder.................................................................................................... 146 
5.4.1  Us
ing a Second Encoder .......................................................................................................... 146 
5.4.2  Connecting a second encoder in SINAM
ICS............................................................................ 148 
5.5  Reading the 
drive parameters................................................................................................... 150 
5.5.1  Exampl
e: Reading several parameters using "MC_ReadDriveParameter" .............................. 150 
5.6  Measuri
ng Function................................................................................................................... 152 
5.6.1  Use Cas
es................................................................................................................................. 152 
5.6.2  Measuri
ng using the integrated inputs on the CU320............................................................... 156 
5.6.3  Fetchin
g the measuring inputs using the TM17 terminal module ............................................. 159 
5.7  Triggering an output c
am using the TM17 terminal module ..................................................... 165 
5.8  Triggering of a brak
e................................................................................................................. 174 
5.8.1  Vertical axis appli
cation case.................................................................................................... 174 
5.8.2  Activating braking 
sequential control in SINAMICS .................................................................. 174 
5.8.3  Activating braking 
sequential control in the axis ....................................................................... 176 










