Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 Benutzerhandbuch

Produktcode
6AV6651-7KA01-3AA4
Seite von 364
Motion control is easy 
 
10.2 Configuring a pulse generator 
 
Easy Book 
210
 
Manual, 03/2014, A5E02486774-AF 
●  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): 
 
10.2 
Configuring a pulse generator 
1.  Add a Technology object: 
–  In the Project tree, expand the node "Technology 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 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. 
 
–  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. 
 
 
 
Note 
Include only one MC_Power instruction per axis.  
 
3.  Insert the other motion instructions to produce the required motion.