Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 24104802, Entry date: 01/31/2007

Micro Automation: Controlled Positioning with Standard Drives (MAS 22)

  • Entry
  • Associated product(s)

The SIMATIC S7-200 components used in this application example are currently phased out.
This application can be realized even more effective and easier with the new SIMATIC S7-1200.
The respective application example with SIMATIC S7-1200 is available under entry-ID: 77467940
Furthermore, many useful applications with SIMATIC S7-1200 are available under entry-ID: 35923253

Automation task
Controlled positioning in Set 22 is explained with the example of a shaping machine for socks. The linear and rotary axis should be viewed separately for better overview and the positioning process be reduced to 2 positions each.

The following requirements are posed to the controlled positioning:

  • In manual mode, the plant configured via local control
  • Moving the feed in automatic mode between Position A and Position B
  • Positioning dynamic with two velocities is suffiecient
  • Monitoring of positioning and shutdown in case of a failure
  • Stop switch

Automation solution
A S7-200 controller is employed as a central module which controls the positioning process of the frequency converter SINAMICS G110 via digital outputs. This is a controlled positioning with rapid traverse and creep feed mode. The motor used is an asynchronous motor. Recording the actual position by means of an encoder enables moving variable distances as well as standstill monitoring. The plant is operated with a PC with WinCC flexible RT user interface.

Startup Code
For the startup we offer you software examples with test code and test parameters as download. The software examples support you during the first steps and tests with your Micro Automation Sets. They enable quick testing of hardware and software interfaces between the products described in the Micro Automation Sets.


Download contents


Flyer (English) 
Linear axis  
Micro Application Example, linear axis (Englisch)
Set22_DocTech_Ln_V1d0_en.pdf ( 2549 KB )
Add On: Library description linear axis (English)
Set22_DocLibrary_Ln_V1d0_en.pdf ( 519 KB )
Startup Code, linear axis (STEP 7-Micro/WIN project) Set22_S7-200_Linear_V1d0.zip ( 21 KB )
Startup Code, linear axis (WinCC flexible project, PC Runtime) Set22_WinCC_flexible_PC_Rt_V1d0.zip ( 3156 KB )
Startup Code, linear axis (STEP 7-Micro/WIN library) Set22_MicroWin_Library_Linear_V1d5.zip ( 14 KB )
Rotary axis  
Micro Application Example, rotary axis (Englisch)
Set22_DocTech_Rt_V1d0_en.pdf ( 2180 KB )
Add On: Library description rotary axis (English)
Set22_DocLibrary_Rt_V1d0_en.pdf ( 523 KB )
Startup Code, rotary axis (STEP 7-Micro/WIN project) Set22_S7-200_Rotary_V1d0.zip ( 20 KB )
Startup Code, rotary axis (WinCC flexible project, PC Runtime) Set22_WinCC_flex_PC_RT_rotary_V1d0.zip ( 3348 KB )
Startup Code, rotary axis (STEP 7-Micro/WIN library) Set22_MicroWin_Library_Rotary_V1d4.zip ( 13 KB )




S7-200 manual


Incremental encoder


SINAMICS G110 operating instruction

Instruction manual

SINAMICS G110 Parameter list

Parameter list

SINAMICS G110 Getting Started Guide


German version of rotary axis and englisch version of linear axis added.

Security information
Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens’ products and solutions undergo continuous development. Siemens recommends strongly that you regularly check for product updates.

For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept) and integrate each component into a holistic, state-of-the-art industrial security concept. Third-party products that may be in use should also be considered. For more information about industrial security, visit

To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visit