3 cnc programming, 1 basics, Cnc programming – Lenze ETC Motion Control User Manual

Page 87: Basics, 3cnc programming

Advertising
background image

CNC programming

Basics

3

3.1

l

87

EDSTCXN EN 2.0

3

CNC programming

This chapter describes the functions of the ETCxC control, with which the
programs for processing workpieces are created. The way ETCxC is
programmed is based on DIN 66025. Compared to the DIN, the instruction
set is provided with a number of additional, better performing functions.

In the following, first the some basic conditions for the creation of a program
are described. Then all the functions are described in detail.

3.1

Basics

The programs can be created either on the control itself (

47) or externally,

using any ASCII Editor, in accordance with the following rules.

If the control is connected to an ETC−MMI via Ethernet interface, the
programs are directly transferred from the hard disk of the PC to the control
when the control is started.

If no ETC−MMI is used as a console, the programs can be transferred via the
monitor interface (serial interface) of the control by means of modem.
Programs which are saved in the control can then also be read out via the
monitor interface.

To transfer programs via the monitor interface or a disk to the control, these
must have a number consisting of up to 4 digits and the extension .DIN as the
name. The number is automatically used as the program number and
inserted with a preceding % sign at the start of the program. The programs
are automatically saved in the EEPROM of the control if the machine
constant is MK_NCPROG_NICHT_INS_EEPROM = 0.

If an ETC−MMI is used, it is also possible to process online programs.
Programs of this kind can have any length and are processed during the
transfer. Online programs must be created sequentially and must not
contain any jumps or other branches. Subprogram calls with G22 Lxxx" are
allowed.

A program consists of a program number (program start), a number of blocks
and the program end. It must consist of at least the program start and the
program end. A program can contain any number of blocks. The only limit is
placed by the available total memory. The number of programs is limited to
an adjustable value (

200).

No control characters must be used in a program.

Program creation variants

Program transfer

Program components

Advertising