Orienting tool (#TOOL ORI CS)

Syntax:

#TOOL ORI CS

Select tool orientation

The first motion block that follows #TOOL ORI CS aligns the tool in parallel to the 3rd main axis of the current PCS (W0- or MCS also possible). Programming the rotary axes in this block overrides the positions that are valid for orientation.

Tool aligned perpendicularly to the X-Y machining plane
Tool aligned perpendicularly to the X-Y machining plane

Programing Example

prg_example

Orienting tool

N10 B10 C20          (Slant tool)

N20 #TOOL ORI CS     (in next motion block, align tool in parallel to)

                     (the Z axis of current PCS, here MCS)

N30 X0 Y0            (Motion block in the MKS, tool is aligned B=0,C=0)

N40 B25 C-80          (Slant tool)

N50 #TOOL ORI CS     (Align tool in next motion block)

N60 #TRAFO ON        (Select RTCP)

N70 #CS ON[0,0,0,-80,-30,45]  (Transition to a rotated PCS)

N80 X100             (Motion block in PCS. align tool from N50, refers)

                     (to the MCS, i.e. B=0,C=0)

N90 #TOOL ORI CS     (Align tool in next motion block)

N100 Y150            (Too aligned in parallel to Z axis of PCS)

N110 #TOOL ORI CS

N120 Z100 B45 C10    (#TOOL ORI CS has no effect when programming)

                     (rotary axes)

N130 G18             (Change to the Z-X interpolation plane)

N140 #TOOL ORI CS    (Align tool in parallel to the Y axis)

N150 X0              (Tool aligned perpendicularly to X-Z machining plane)

M30