1 smc_calcdirectionfromvector – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual

Page 223

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

223

L-force | PLC Designer - SoftMotion

The SM_Trafo.lib library

Transformation function blocks

9.1.2.1

SMC_CalcDirectionFromVector

Inputs (VAR_IN)
v: SMC_VECTOR3D
The input vector v is typically the vecActTangent interpolator output.
eDir: SMC_VECTORDIR
Input eDir specifies whether the direction is to be calculated at a tangent to the path

(SMC_tangential), opposite (SMC_opp_tangential) or orthogonally to the path

(SMC_orthogonal_r (to the right of the path tangent) or SMC_orthogonal_l (to the left of

the path tangent)).

Outputs (VAR_OUT)
dDir: LREAL
Output dDir is in angular degrees and remains constant for phases in which the

interpolator is at a standstill (v is zero vector). eDir is mostly used as a setpoint

(SMC_ControlAxisByPos) for the directional axis and as input dAlpha for the

transformation.

Advertising