CNC Z32 - Programming guide (
Milling machines) 2.14 >
Rotation, translation, mirroring, scale factor
With these functions it is possible to translate, rotate, mirror and scale a workpiece program. Please note that all these transformations are made on programmed positions, instead of measured positions. 2.14.1 Machining rotation (IR JR QR) Through the rotation functions it is possible to rotate the machining of an angle QR, around a point of coordinates IR and JR. The rotation activation happens automatically after programming the QR parameter. It is possible to execute rotations only on the working plane, set by the function G25. The definition of point (IR, JR) follows the rule:IR is the rotation center coordinate related to the first axis of contouring plane, while JR is the rotation center coordinate related to the second axis. For example, in G25XYZ: IR is the X coordinate, while JR is the Y coordinate of rotation center. >
QR (IR, JR)
At Reset IR=0 JR=0 QR=0, all rotations are canceled >
XY
IRJR Warning : the rotation center (IR JR) is defined with respect to the active origin, without considering active translations (DA DB DC), mirroring (G56) or scale factors. 2.14.2 Machining translation (DA DB DC) The functions DA DB and DC allow to translate the program along the axis defined by the G25 function. DA executes a translation along the first axis DB executes a translation along the second axis DC executes a translation along the third axis For example, if the configuration G25XYZ is active: DA translates the machining along X axis DB translates the machining along Y axis DC translates the machining along Z axis The translation activation happens automatically after programming the DA DB DC parameters. At Reset DA=0 DB=0 DC=0, all translations are canceled For example, to execute a translation of 10 along the first axis and of 14 along the second axis: DA10 DB14 >
1410
In order to execute a roto-translation it is necessary to combine translations and rotations: >
24