The softmotion drive interface, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 932
 
L-force | PLC Designer
Device Editors
930
DMS 4.1 EN 03/2011 TD29
− PLCopen Function Blocks according to the PLCopen standard, which allow to
easily realize the controlling of a single axis motion as well as the synchronized 
motion of two axes. Beside library elements for status check, parameterizing 
and general operating there are function blocks that actuate axis with respect 
to defined speed and acceleration parameters. If two axes shall be 
synchronized, one axis serves as master and controls the second axis (slave) 
according to a certain prescript. This prescript for example can be a CAM using 
appropriate POUs to link the slave to the master axis. Further on there are 
function blocks, which allow electronic gear or phase shifts. 
− Several proprietary motion control FBs 
− DriveInterface basic driver FBs (AXIS_REF, AXIS_REF_VIRTUAL, 
AXIS_REF_MAPPING)
− Utility functions: for example for file service or error report 
− Function blocks for the implementation of specific drive drivers: the basic driver 
FBs can be extended by more specific drivers that can communicate with a 
certain drive type. 
• The library SM3_CNC.library is based on the SM3_Basic.library. Beside some
function blocks for kinematical transformations it provides all POUs necessary for 
creating, executing and visualizing CNC motions. 
• The Drive Interface is the part of the SM3_Basic.library taking charge of the
communication between the IEC program and the drives. It provides the possibility 
to extend the basic driver FBs to specific driver types. These specific driver FBs 
(named AXIS_REF_*) are typically combined in a separate library that is referred to 
by the corresponding device description of the device. Additionally, the drive 
interface includes bus specific libraries to handle the I/O mapping. 
Portability 
Except for particular drivers, which are serving hardware components directly, all 
SoftMotion runtime components are programmed in IEC 61131-3. Hence, maximum 
platform independence is reached. 
Note: The 'Communication Settings' and 'Applications' tabs concern the 
communication with the PLC and are provided by the 'Device Communication Editor' 
plug-in. 
14.5.2
The Softmotion Drive Interface 
The Softmotion Drive Interface is a standardized interface allowing to include, to 
configure and to address the abstract image of a drive hardware within the IEC 
program. The mapping of diverse hardware onto a general interface not only allows an 
easy changing of drives and reuse of IEC programs, but also facilitates the 
communication between the PLC and the drives or between the drives themselves. It is 
the interface that links the drive to its representation within the application 
(AXIS_REF) and that is responsible for updating and transferring the motion data 
necessary for the drive control.