Programming instructions
NC Programming 17VRS Motion Commands, Dimension Inputs
3-9
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Coordinate Plane Rotation by Angle of Rotation 'P'
Coordinate plane rotation is used to adapt the coordinate system of the
workpiece to the coordinate system of the machine. The angle of rotation
P is assigned to the individual zero offsets G54 … G59, G50, G51 and the
adjustable general offset. Coordinate rotation is always active in the active
plane (for example G17).
With the adjustable zero offsets G54 …G59 and with the adjustable gen-
eral offset, the angle of rotation is entered as PHI in the zero offset table.
The angle of rotation is programmed using the address Pxxx with the
programmable zero offsets G50 and G51.
•
The total of all active rotational angles is subject to the same condi-
tions as with the zero offsets.
•
As a rule, the angle of rotation is not active until the next active NC
NC-block.
•
The angle of rotation is calculated in the controller as a modulo value
from 0° to 360°. This means that a programmed angle of, for example
540°, is calculated as 180°.
•
Coordinate rotation cannot be programmed with the programmable
workpiece zero point G52.
Example
X
Y
Enter in the Zero Offset
Table in the
20
40
60
80
20 40 60 80 100 120
with G54 :
User Interface
X52.1 Y40 PHI 45°
Y
X
P1
[P2]
[P3]
Fig. 3-9: Adjustable zero offset G54 with coordinate rotation
G00 G90 G54 X0 Y0 Z10 S1000 M03 Starting position [P1]
G01 X40 Y70 F800 [P2]
BSR .DRILL Branch to drilling subroutine
X80 [P3]
BSR .DRILL Branch to drilling subroutine
M05 Spindle OFF
RET
.DRILL Drilling subroutine
RTS Return of subroutine