Cnc programming – Lenze ETC Motion Control User Manual
Page 122

CNC programming
G functions
G functions individual descriptions
3.2
3.2.2
l
122
EDSTCXN EN 2.0
3.2.2.31
G89 Profile rotation
Rotation of the systems S1 ... S31 in the XYZ plane acts like the G88, however,
is only effective within a program and in addition to G88.
G89 A B C
a
Relative angle of rotation of the YZ plane in degrees
B
Relative angle of rotation of the ZX plane in degrees
C
Relative angle of rotation of the XY plane in degrees
The profile rotation is used to define the position of a profile description on
a workpiece. The rotation is effective for S1 ... S31 jointly. In the reference
workpiece coordinate system S0, the rotation is not effective. However, the
rotation can be defined there, vertically in S0. It only becomes active when
changing over to S1 ... S31.
When the rotation is activated, the actual positions of the X, Y, Z, A, B and C
axis are adjusted to the new plane location; a compensating movement does
not take place.
The transformation sequence is always A−>B−>C.
The specifications of the angle are relative specifications.
The rotation is deactivated by omission of all the parameters and it is
automatically deactivated at the end of the program or in the event of a
program termination. During deactivation, the angle is reset to 0.
N1 G0 X10 Y15 S0 T0 With block 4, a profile rotation of the YZ plane about 10
°
and the XY
plane about 15
°
is activated for all systems S1 ... S31. The rotation is
only becomes effective in block 5, since it was activated in S0 vertically.
N2 G193 X0 Y0 S1
N3 S0
N4 G89 A10 C15
The current actual positions are converted in block 5 to the rotated
system.
N5 S1
Syntax
Meaning of the addresses
Explanation
Example