Example "Motion"
5.5 Position axis relative
STEP 7 Basic V10.5
176 Getting Started, 12/2009, A5E02651459-01
5.5 Position axis relative
Introduction
The following steps show you how to program the motion on the second conveyor relative to
a starting position with the motion control instruction "MC_MoveRelative".
The motion is defined as follows:
● The starting position of the motion is the position of the light barrier "LS3".
● The end position is 0.5 meter in positive direction on the axis between the first and
second conveyor.
● When the end position is reached, the second conveyor is activated.
Requirements
● The technological object "Axis" has been created and correctly configured.
● The motion control instruction "MC_Power" has been created in the organization block
"Main [OB1]".
● The organization block "Main [OB1]" is open.
Procedure
1. Create a new network in the organization block "Main [OB1]". A new network is inserted
automatically as soon as you create an element in an empty network. If an empty network
is already available, you can skip this step.
2. Create the block "MC_MoveRelative" in the new network.
Comments to this Manuals