5 ellipse interpolation, 6 spline interpolation, 7 conditional jumps – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 70: Ellipse interpolation, Spline interpolation, Conditional jumps, L-force | plc designer - softmotion

L-force | PLC Designer - SoftMotion
CNC editor
Supported and extended elements of the CNC language of DIN66025
70
L
DMS 5.2 EN 03/2011 TD17
4.1.5
Ellipse interpolation
In order to describe an ellipse arc, the target coordinates (X/Y), the ellipse's centre point (I/
J), the direction of its main axis (K) and the length ratio between the main and secondary
axes (R) must be specified.
Example:
4.1.6
Spline interpolation
In order to describe splines you simply need to enter the target coordinates of the next
spline segment. The spline segment will be calculated automatically by the system in such
a way that the end vector of the preceding element and the start vector of the spline, as
well as the end vector of the spline and the start vector of the subsequent element, match,
thereby ensuring that there will be no kinks on the path.
4.1.7
Conditional jumps
Command G20 can be used to implement a conditional jump. Enter the line number of the
jump destination (L) and the condition for the jump (K). If a jump condition is not specified,
the implicit decoder variable will be used automatically. The jump will then be executed
automatically whenever the condition has a non-zero value.
N10 G0 X100 Y100
N15 G98
N20 G8 X200 Y100 I150 J100 K45 R0.5