Verification: 937b329de42152d7

Sunday, September 16, 2018

G12.1 driven tool in fanuc lathe

Code G12.1

If you are going to use a driven tool in the lathe (turning) you need to have a machine with C-axis capacity and of course, driven tools.


Content from Fanuc 21


You got to tell the machine that you will use G17,  edge plane, the front of the turning workpiece (the radial surface is G19, the normal turn is G18)
G12.1 make your lathe to a milling machine.
Code with explanations

O1111 
N5 G10 P0 Z-100 (Workplane, zero point)
N10 G28 U0 W0 (tool change position, same as G53..)
N15 T0707 (tool change)
G0 Z3 X40 (start point for X, sensitive setting!) 
N20 G97 S800 
N25 G94 F200 
N30 M52 (start c-axis) 
G0 C0 (zero c-axis, same as start point in X) 
N35 M13 (driven spindel tool M3) 
G12.1 (milling) 
G1 X0 C9.5 (start point for the circular mill) 
N45 G1 Z-3 (go deep) 
G2 X0 C-9.5 R9.5 (circle/2) 
G2 X0 C9.5 R9.5 (circle/2) 
N50 G1 Z0 
N55 M30 

Programing in G12.1 in most machines make you use a standard mill programming on the face of the turning workpieces.
The coordinates are in this case, X and C (as Y) and Z
X has got its half value (diameter to radius)
C has its real value (same as Y in a mill program)
Z has its real value (depth value, as a mill program)

You need to make a proper start point before the mill programming.
For X and Z, before G12.1
For C (Y) after M52 (C-axis dependent, use before G12.1)
You may get the error "going through pole" otherwise
that error reveals itself when the programming you make is impossible for the machine to do, try another tool path to solve this

To leave the mill setting:
G13.1 (milling off, return to G18)
M53 (C-axis off)

More of this at http://www.tomasw.com

1 comment:

  1. The ArcTool application software package, integrated with a FANUC robot and controller, provides the user with a unique process solution for robotic arc welding requirements.

    robotic welding

    ReplyDelete