Cnc programming, G functions g functions individual descriptions, Where k = y – Lenze ETC Motion Control User Manual

Page 165: Where i = x

Advertising
background image

CNC programming

G functions

G functions individual descriptions

3

3.2

3.2.2

l

165

EDSTCXN EN 2.0

The correction tables are created as binary files and must be transferred to
the control either via a connected ETC−MMI or with the hyper terminal under
the name "ACHS3D??.KOR". The "?" must be replaced by any numbers or
letters. The file consists of a 128 byte long header, a definition block and a
block with the grid point values for the axis to be corrected.

Header:

The header is 128 bytes long and contains the null−terminated list of the axis
letters of all involved axes, as well as the binary number of the correction
table in the last byte. In this case, the first letter defines the axis, which
should be corrected in dependency on the other axes.

0

1

2

3

4

127

128

Z

X

Y

0

...

1−3

These are referred to as the correction axis and the other axes as basis axes
in the following.

Definition block:

The definition block describes the range of validity and the size of the
following grid point table. For each basis axis, it contains a FLOAT for the
minimum and maximum value in input units and a ULONG for the number
of grid points between the minimum and the maximum value. The total
number of the grid points corresponds to the product of the number of the
grid points of all basis axes.

0

4

8

12

16

20

24

X

min

X

max

X

anz

Y

min

Y

max

Y

anz

Length = number of basis axes x 12

Grid points:

The correction values are defined in input units in table form each with a
FLOAT for each grid point. In this case, the first grid point corresponds to the
coordinate which the belongs to the minimum values of the basis axes and
the last grid point of the coordinate which belongs to the maximum values
of the basis axes.

0

4

8

12

4k

Z

11

Z

12

Z

13

...

Z

1k

where k = Y

anz

0

4

8

12

4k

Z

21

Z

22

Z

23

...

Z

2k

0

4

8

12

4k

Z

31

Z

32

Z

33

...

Z

3k

0

4

8

12

4k

Z

i1

Z

i2

Z

i3

...

Z

ik

where i = X

anz

Structure of correction file

Advertising