L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 957

Advertising
background image

L-force | PLC Designer

Device Editors

DMS 4.1 EN 03/2011 TD29

955

If we did not use variables, we could compile the program as it is as a Queue and could
directly pass it on to the Interpolator. But using variables, we must do the decoding
and rounding off in the program. For this purpose we define a new POU of type
SMC_SmoothPath and call it after the Decoder:

Abb. 536 Path object of the CNCprepro.project


The data input of the Interpolator module as always must be connected to the output
poqDataOut of the CheckVelocities module.
This program can get compiled without errors and will not stop - contrary to the
previous one - in the corners of the NC program, because the corners now have been
smoothed by the path-preprocessing module.

Advertising