Micro Automation: Closed-Loop Positioning Control with Standard Drives (MAS 1)
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: 40157517
Furthermore, many useful applications with SIMATIC S7-1200 are available under entry-ID: 35923253
A wire cutting machine shall produce wire rods of a customer-specific length and quantity. After the machine has been equipped with the desired wire coil the type and available capacity of which shall be managed with regard to voltage protection, the positioning axis unwinds the desired length from the wire coil and cuts the wire. This process is repeated according to the quantity entered together with a production ID. After a production job has been finished, all specific production data are to be buffered with regard to voltage resistance in order to read them from a PC once a day and to archive them within the framework of quality assurance. After inserting the wire into the machine prior to production, the wire shall be located in front of the cutting device.
By means of the Touch Panel TP177 micro, all wire coils available for production including their type and capacity can be stored as a recipe in the voltage-resistant memory module of the S7-200 CPU 224XP.
Prior to production, the wire coil to be used for production has to be selected by means of the Touch Panel TP177 micro.
During insertion of the wire, a block running in the S7-200 CPU 224XP controls the frequency inverter G110 via an analog interface so that the wire will stop after having passed an inductive sensor and that the positioning axis thus is referenced. The distance over which the axis has been moved will be reported to the S7-200 CPU 224XP as pulses by an HTL encoder.
After having entered the production ID, length and quantity of the wire pieces to be produced via the Touch Panel TP177 micro, a block running in the S7-200 CPU 224XP will induce the frequency inverter to move the positioning axis over the desired length of the wire. Via a digital output signal, the S7-200 CPU 224XP then controls a cutting device which will cut the wire.
This process is repeated according to the quantity entered. After production has been completed or after an interruption, all production parameters such as e.g. the setpoint and actual quantity of the produced wire rods will be stored in the voltage-resistant memory module of the S7-200 CPU 224XP.
The thus buffered information can be read via serial coupling by means of a PC/PPI cable and the STEP 7 Micro/WIN tool S7-200 Explorer and can be stored as a CSV file.
After production has been completed, the residual wire coil capacity is stored in the voltage-resistant memory module of the S7-200 CPU 224XP.
If the wire quantity is not sufficient for the planned production, this will be indicated via a corresponding message at the Touch Panel TP177 micro.
For 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.
|System Manual S7-200||1109582|
|Parameter list for frequency inverter SINAMICS G110||20977026|
- Software example for startup (control program and visualization) was optimized.
- Software example for startup includes library V1.21.
- Improvement of the library description
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