EasyManua.ls Logo

Beckhoff EL72 1-901 Series - Page 137

Beckhoff EL72 1-901 Series
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commissioning
EL72x1-901x 137Version: 1.9
Fig.172: Global variables
Once the global variables have been declared, programming can commence. Start with declaring local
variables (see Fig. Local variables).
MC_Direction is an enumeration type that specifies the direction of travel for the block MC_MoveVelocity,
which in turn initiates continuous travel of the motor.
An axis reset is carried out with the function block MC_Reset. Absolute positioning is carried out with the
function block MC_MoveAbsolute. The current axis position can be read with the function block
MC_ActualPosition.
MC_Power enables the axis; MC_Stop is required for stopping the axis.
Fig.173: Local variables
The program code is as follows (see Fig. Program code):

Table of Contents

Related product manuals