Configuring A Pulse Generator - Siemens S7-1200 System Manual

Hide thumbs Also See for S7-1200:
Table of Contents
Technology instructions
9.3 Motion control
● PTO (pulse and direction (direction de-selected)): If you de-select the direction output in a
PTO (pulse and direction (direction de-selected)), then output (P0) controls the pulsing.
Output P1 is not used and is available for other program uses. Only positive motion
commands are accepted by the CPU in this mode. Motion control restricts you from
making illegal negative configurations when you select this mode. You can save an
output if your motion application is in one direction only. Single phase (one output) is
shown in the figure below (assuming positive polarity):
9.3.2

Configuring a pulse generator

1. Add a Technology object:
– In the Project tree, expand the node "Technology Objects" and select "Add new
– Select the "Axis" icon (rename if required) and click "OK" to open the configuration
– Display the "Select PTO for Axis Control" properties under the "Basic parameters" and
– Configure the remaining Basic and Extended parameters.
2. Program your application: Insert the MC_Power instruction in a code block.
– 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.
3. Insert the other motion instructions to produce the required motion.
448
object".
editor for the axis object.
select the desired pulse.
Note
If the PTO has not been previously configured in the CPU Properties, the PTO is
configured to use one of the onboard outputs.
If you use an output signal board, then select the "Device configuration" button to go
to the CPU Properties. Under "Parameter assignment", in the "Pulse options",
configure the output source to a signal board output.
Note
Include only one MC_Power instruction per axis.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Table of Contents
loading

Table of Contents