Programming manual.
CNC 8070
19.
KINEMATICS AND COORDINATE TRANSFORMATION
Tool perpendicular to the inclined plane (#TOOL ORI).
·340·
(REF: 1709)
The following example shows how to drill three holes with different inclination in the same
plane:
#CS ON [1] [MODE .....]
(Define the inclined plane)
#TOOL ORI
(Tool perpendicular to the inclined plane; request)
G1 G90 X{P1} Y{P1} Z{P1+5}
(Movement to point P1)
(The spindle orients perpendicular to the plane during this positioning move)
G1 G91 Z-13 F1000 M3
(Drilling)
G1 Z13
(Withdrawal)
G1 X{P2} Y{P2}
(Movement to point P2)
G90 B0
(Orient to the tool in the machine coordinate system)
#MCS ON
(Programming in machine coordinates)
G1 G91 Z-13 F1000
(Drilling)
G1 Z13
(Withdrawal)
#MCS OFF
(End of programming in machine coordinates)
(Restore the coordinate system of the plane)
G1 X{P3} Y{P3}
(Movement to point P3)
G90 B-100
(Positions the tool at 100º)
#CS OFF
#CS ON [2] [MODE6 .....]
(Define the inclined plane perpendicular to the tool)
G1 G91 Z-13 F1000
(Drilling)
G1 Z30
(Withdrawal)
#CS OFF
M30