L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 16

Advertising
background image

L-force | PLC Designer - SoftMotion

SoftMotion concept and overview of the components

16

L

DMS 5.2 EN 03/2011 TD17

PLCopen library
The "SM_PLCopen.lib" PLCopen motion control library consists of, inter alia, program

organisation units that can be used not only for easy programming and control of single

axes, but also the synchronised motion of two axes. Besides program organisation units

that can be used for status queries, parameterizing and operation in general, it also

contains function blocks that can move an axis in different ways according to the defined

velocity and acceleration parameters. This specification can be, for example, a cam

generated in the CAM editor that uses available program organisation units to link the

slave axis to the master axis. There are also function blocks for programming electronic

gears or phase shifts.

File service library
The "SM_FileFBs.lib" library is based on the "SysLibFile.lib" system library and can,

therefore, only be used on controls which support that library.

Error library
The "SM_Error.lib" library contains all error outputs that can be produced by the program

organisation units of the other libraries. It can also be used to generate English and

German error messages from numeric error variables.

Portability
With the exception of some Drive Interface drivers that serve hardware components

directly, all SoftMotion runtime components are programmed in IEC 1131-3, allowing

maximum platform independence to be achieved.
In order to get to grips with the SoftMotion components quickly, we recommend that the

reader studies the relevant examples.

Information on exemplary projects
For a quick understanding of the SoftMotion components it is recommended to study the

corresponding "

SoftMotion programming examples

"

( 267)

. The projects referenced

therein are included in the standard installation of »PLC Designer« (within the directory "../

PLC Designer V2.3/Projects/Motion/Tutorial") and may be opened and reworked by the

reader within the »PLC Designer« Softmotion environment. All projects can be translated

and downloaded to a PLC of type RTE. Furthermore many of these projects contain a

visualization assisting a deeper understanding of the SoftMotion modules.

Advertising