3 online path preprocessing, Online path preprocessing – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 281

DMS 5.2 EN 03/2011 TD17
L
281
L-force | PLC Designer - SoftMotion
SoftMotion programming examples
Drive control with the aid of the CNC editor
13.5.3
Online path preprocessing
Tip!
See also the example project CNCprepro.pro provided with SoftMotion.
Let us extend the previous example by a path preprocessing function: The corners of the
last program are to be smoothed by splines. This is carried out by the SMC_SmoothPath
block. The CNC program has to be bracketed by the words G51/G50, then the following
results:
If we did not use variables, we could compile the program as Queue in this form and
directly enter it in the interpolator; however, as we are using variables, we have to carry out
the decoding and the smoothing of the corners ourselves. Therefore we define a new block
of type SMC_SmoothPath and call it after the decoder: