Siemens SIMATIC S7-1200 Manual page 191

Easy book
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

1. Configure a pulse generator: Select the "Pulse generators (PTO/PWM)" properties for a
2. Add a Technological object:
3. Program your application: Insert the MC_Power instruction in a code block.
4. Insert the other motion instructions to produce the required motion.
Note
The CPU calculates motion tasks in "slices" or segments of 10 ms. As one slice is being
executed, the next slice is waiting in the queue to be executed. If you interrupt the motion
task on an axis (by executing another new motion task for that axis), the new motion task
may not be executed for a maximum of 20 ms (the remainder of the current slice plus the
queued slice).
Easy Book
Manual, 11/2011, A5E02486774-04
CPU (in Device configuration) and enable a pulse generator. Two pulse generators are
available for each S7-1200 CPU. In this same configuration area under "Pulse options",
select Pulse generator used as: "PTO".
– In the Project tree, expand the node "Technological Objects" and select "Add new
object".
– Select the "Axis" icon (rename if required) and click "OK" to open the configuration
editor for the axis object.
– Display the "Select PTO for Axis Control" properties under the "Basic parameters" and
select the configured PTO. Note the two Q outputs assigned for pulse and direction.
– Configure the remaining Basic and Extended parameters.
– For the Axis input, select the axis technology object that you created and configured.
– Setting the Enable input to TRUE allows the other motion instructions to function.
– Setting the Enable input FALSE cancels the other motion instructions.
Note
Include only one MC_Power instruction per axis.
Motion control is easy
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents