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

Page 205

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

205

L-force | PLC Designer - SoftMotion

The SM_CNC.lib library

Structures of SM_CNC.lib

dT1, dT2: LREAL
These variables contain the start and end positions of the parameter. Depending on the

Move_Type, this means:

dToolRadius: LREAL
Within this variable the information required for the path preprocessing is saved (see

SMC_ToolCorr

( 173)

). The entry has no relevance if corresponding path preprocessing

blocks (SMC_ToolCorr, SMC_RoundPath) are not passed through.
dVel, dVelEnd: LREAL
These two variables, which must always be assigned, contain information relating to the

velocity profile in this object. dVel describes the setpoint velocity to be achieved, dVelEnd

describes the velocity that must be reached at the end of the object (see

SMC_Interpolator

( 185)

), both in path units/s.

dAccel, dDecel: LREAL
The maximum permissible acceleration and deceleration in path units/s2 are stored in

dAccel and dDecel. Both variables are pre-assigned a value of 100.
dLength: LREAL
This variable, which must always be assigned, contains the length of the object in path

units.
byIntern_Mark: BYTE
The start and end of path preprocessing actions are stored here as follows:

LIN

Not relevant, as all information is already contained in Start_Pos and Dest_Pos.

CLW

ELLCLW

• T1: Start angle in mathematical sense (degrees): (0 = east, 90 = north, 180 = west,

360 = south)

• T2: Opening angle of the circle, arc length in degrees (e.g.: 90 = quarter circle,

180 = half circle)

CCLW

ELLCCLW

T1: Start angle in mathematical sense (degrees): (0 = east, 90 = north, 180 = west,

360 = south)

T2: Negative opening angle of the circle (e.g.: -90 = quarter circle, -180 = half circle)

SPLINE

Start and end value of parameter t (see description of a spline). Default: 0 and 1.

INITPOS

Not relevant

Bit 0 set

Stop tool radius correction after this object

Bit 1 set

Start tool radius correction to the left of this object

Bit 2 set

Start tool radius correction to the right of this object

Bit 3 set

Stop path rounding/smoothing after this object

Bit 4 set

Start path smoothing at this object

Bit 4 set

Start path rounding at this object

Bit 6 set

Stop avoiding loops after this object

Bit 7 set

Start avoiding loops at this object

Advertising