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

Page 600

Advertising
background image

L-force | PLC Designer

General Editors

598

DMS 4.1 EN 03/2011 TD29

This can be done in different ways:

1.

The CNC program is stored as an array of G-codes and can be moved, scaled or
rotated with program transformation and will be decoded during runtime of the
PLC program with the aid of a decoder module. Thus for the particular path objects
GEOINFO structure objects will be available. These objects can be edited with the
aid of path preprocessing modules like tool radius correction provided in SM3_CNC
library, afterwards interpolated, transformed and returned to the drive interface
for the communication with the hardware.

2.

The CNC program is written as a list of GEOINFO structure objects named
SMC_OUTQUEUE to a data structure and thus can directly be fed to the
interpolator. In comparison to 1. by this method you can avoid calling the decoder
and the path preprocessing modules. But in exchange you do not have the
possibility to change the program during runtime. In particular variables cannot be
used in G-code in this mode.

3.

The CNC program is written as described in 1. to the file system of the controller
and is read and executed at runtime step by step. This method particularly is
suitable for big programs, which cannot be kept completely in the memory.

Abb. 321 The SoftMotion software parts of the CNC editor

Advertising