Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 271

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

271

L-force | PLC Designer - SoftMotion

SoftMotion programming examples

Single-axis motion control in CFC with visualisation template

Also create an operation visualisation by using the POU templates available in the libraries

and connecting them to the POU instances by means of the placeholder concept:

You can now compile the project without errors, log into the control and start the project.

Press the Execute input of MoveVelocity to start the drive rotating. Press Execute of

MoveAbsolute to position the drive at the set position, where it will only be rotated in the

positive direction in accordance with the setting Direction: positive.
This will cause the MoveVelocity program organisation unit to be interrupted. We

recommend that you play around with these program organisation units by direct editing

of the modules within the visualisation: testing different velocities and accelerations, and

also that you test the direction modes (positive/negative/current/shortest/fastest) of

MoveAbsolute.

Advertising