different between g12 & g13 code ? vmc 2d programming practice
ฝัง
- เผยแพร่เมื่อ 5 ก.พ. 2025
- different between g12 & g13 code ? vmc 2d programming practice
These G-codes mill circular shapes. They are different only in that G12 uses a clockwise direction and G13 uses a counterclockwise direction. Both G-codes use the default XY circular plane (G17) and imply the use of G42 (cutter compensation) for G12 and G41 for G13. G12 and G13 are non-modal.
CNC Milling | G12 and G13 Codes | Circular Pocket Cycles
G12 and G13 Codes Introduction
Fanuc controls do not have the very useful G12 and G13 circular pocketing cycle as a standard feature. Controls that do have it, for example Yasnac, have a built-in macro (cycle), ready to be used. Fanuc users can create their own custom macro (as a special G-code cycle), with the optional User Macro (Custom Macro) feature, which can be developed to offer even more flexibility than a built-in cycle.
G12 and G13 Codes Format
The two G-codes are identical in all respects, except the cutting direction. Meaning of the two G-codes in a circular pocket cycle is:
G12 : Circular pocket cutting CWG13 : Circular pocket cutting CCW
Either cycle is always programmed without cutter radius offset in effect - in G40 cancel mode - and has the following program format:
G12 I.. D.. F.. ; (Conventional Milling)orG13 I.. D.. F.. ; (Climb Milling)ParametersI = Pocket radiusD = Cutter radius offset numberF = Cutting feedrateThings to Know
Typically, either cycle is called in a program when cutting tool reaches the center and the bottom of a pocket to be machined. All cutting motions are arc motions, and there are three of them. There are no linear motions. The arbitrary start point (and end point) on the pocket diameter will usually be at 0 degree (3 o’clock) - Figure 33-16.
Figure 33-16
Circular pocket cycles G12 and G13G12 and G13 Codes ExamplesProgram Example - 1 - G13 Code
If G12 or G13 cycle or a similar macro is available, the following program O3306 can be written, using the same tool and climb milling mode:
O3306 (CIRCULAR POCKET - G13 EXAMPLE)
G20
G17 G40 G80
G90 G54 G00 X0 Y0 S1200 M03
G43 Z0.1 H01 M08
G01 Z-0.25 F8.0
G13 I0.75 D1 F10.0 (CIRCULAR POCKET)
G28 Z-0.25 M09
G91 G28 X0 Y0 M05
M30
#cncmilling
#vmc
#different between g12 and g13
Like & Share
Thanks for Watching
Thanks sir
Kya ye macpower ki vmc pr activate ho jayega
Sir fanuck machine run nahi hota
Aap ek practical vedio g41 and g42 per bhi banaye please
Ye fanuc pe chalega
Sir a code sirf hass pa chalta h
Sr cnc na g code video banavo
Okay 👌 👍
Thanks sir