Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109741575, Entry date: 04/18/2018

Using the MC-PreServo and MC-PostServo organization blocks

  • Entry
  • Associated product(s)
The MC-PreServo and MC-PostServo organization blocks are programmable and allow a program modification directly before or after the call of the MC-Servo organization block.

SIMATIC S7-1500 CPUs support the connection of drives as a speed axis or positioning axis via PROFINET, PROFIBUS or an analog drive connection.

In the present application example, a hydraulic valve is to be configured and used as positioning axis. The position is detected via an analog input of the controller.


  • For use a analog position value in the technology object, the value must be edit. The program required for this is called up in the MC-PreServo organization block.
  • The non-linear behavior of the hydraulic valve requires an adjustment of the set point. The program required for this is called up in the MC-PostServo organization block.

The example program, which is contained in this application example in form of a download, shows the operation of a hydraulic valve as positioning axis by use of the MC-PreServo and MC-PostServo organization blocks.

  Documentation (2,0 MB)
 Registrierung notwendig  STEP 7 TIA Portal V14 Project (518,0 KB)

Last Change
04/2018 correction the process image of the analog input module

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