Search

Showing posts with label CNC G-Code tutorial. Show all posts
Showing posts with label CNC G-Code tutorial. Show all posts

[ Video ] CNC Programming, G-Code Tutorials

CNC Programming | G-Code






* Best ebooks for CNC programming: 
CNC Programming Basics 
G-Code and M-Code 
CNC programming 
G-Code Reference 
CNC Machine Tutorial 

1. CNC PROGRAMMING G-Code basics




***********************************

CNC programming methods

Based on the degree of automation of programming tasks, one distinguishes two programming methods:

Manual Programming (Manual Programming)


* Best ebooks for CNC programming: 
CNC Programming Basics 
G-Code and M-Code 
CNC programming 
G-Code Reference 
CNC Machine Tutorial 








When programming by hand the programmer bases on the drawing to enter the data according to the commands from the keyboard into the machine's memory. This programming is time-consuming, confusing when the details are complex. Due to the disadvantages above, this method only applies to simple details or to edit existing programs. The means of support are mainly search tables or machine catalogs, personal computers to calculate programming parameters. Manual programming requires that the programmer, in addition to mastering the programming method, must have knowledge of math and technology knowledge.

Machine Programming (Automatic Programming).

When programming (computer assisted), the programmer describes (geometrically) the geometry of the workpiece, the trajectory of the cutting tool and the machine's function in the machine language. understandable.

Machine programming has the advantage that hand calculations do not need to be performed, just access some data but can generate large amounts of data for the necessary calculations while limiting the errors made. submit. When programming by computer, the computer must have the following special computation programs:


  • Pre-treatment program.
  • Processor.
  • Postprocessor program.


A processor is a software program that performs geometric and technological calculations. Cutter Location Data (CLD) data is called the data, which provides a general solution that is independent of any CNC machine tool. The CLD has the cutting tool location data. The CLD contains the most concise commands and the codes that do not match the CNC system.

In the geometric description of details such as points, segments, arcs, etc., the description of the machining process such as drilling, milling, cutting mode, cutting tools, Here create a source program. From this source program, the computer creates an NC program suitable for CNC machines thanks to the post-processing unit.

To use the CLD for a particular CNC system, a special program called a postprocessor is required, which translates the NC program into a CLD so that the CNC can understand. and performs the machining process.

***********************************

Some basic code in CNC machine programming

Surely you are familiar with programming CNC machine will see this is familiar but with the new CNC input, this is certainly necessary. 


* Best ebooks for CNC programming: 
CNC Programming Basics 
G-Code and M-Code 
CNC programming 
G-Code Reference 
CNC Machine Tutorial 

Let me list below some basic code in CNC programming:
Some basic code in CNC machine programming

[Code | Function]

G00:  Fast running without cutting.
G01:  Run in a straight line cut
G02:  Circular interpolation clockwise.
G03:  Circular interpolation counterclockwise.
G04:  Make temporary use.
G09:  Stop the tool properly
G10:  Change workpiece coordinates.
G11:  Cancel G10 mode
G17:  Select the XY machining plane
G18:  Select the XZ machining plane
G19:  Select the ZY machining plane
G20:  Set inch machining unit
G21:  Set metric processing unit
G27:  Back to the machine.
G28:  Back to the original machine.
G29:  Back to the second, third, fourth.
G30:  O 2nd, 3rd, 4th.
G31:  Ignore the code
G33:  Thread cutting
G40:  Remove the radius compensation tool
G41:  Tool radius compensation on the left
G42:  Tool radius compensation on the right
G43:  Tool length compensation, +
G44:  Tool length compensation, -
G45:  Tool placement, increase
G46:  Cleared tool position, reduced.
G47:  Tool upsetting increased 2 times
G48:  Reduction of tool placement 2 times
G49:  Undo the tool length
G53:  Select the coordinate system
G54:  Select the first coordinate system
G55:  Select the second ingot coordinate system
G56:  Selects the third workpiece coordinate system.
G57:  Selection of the fourth ingot coordinates.
G58:  Selection of the fifth billet coordinate system.
G59:  Selection of the sixth coordinate system.
G61:  The code is correct.
G63:  Taro mode
G64:  Shear cut (exact stop inspection)
G65:  Call Marco
G66:  Call the group Marco
G67:  Cancel calling Marco
G73:  High speed deep hole machining
G74:  The Taro Cycle
G76:  Cycle of loss
G80:  Drilling cycle canceled
G81:  The drilling cycle
G82:  hole drilling cycle
G83:  Deep hole drilling
G84:  The Taro Cycle
G85:  Cycle of loss
G86:  Cycle of loss
G87:  Cycle hole, back.
G88:  Cycle of loss
G89:  Cycle of loss
G90:  Set the absolute coordinate system
G91:  Set the relative coordinate system
G92:  Change the workpiece coordinate / set the maximum rotation speed
G94:  Set the knife speed
G95:  Set the speed of knife / ring
G96:  Surface constant speed
G97:  Cancel the surface speed constant
G98:  Set the type of drawer in the hole machining process
G99:  Set the cutter type in the hole machining process

***********************************

[Apps] CNC G-Code tutorial

CNC LATHE G-CODE & M-CODE ILLUSTRATIVE HANDBOOK


* Best ebooks for CNC programming: 
CNC Programming Basics 
G-Code and M-Code 
CNC programming 
G-Code Reference 
CNC Machine Tutorial 

This handbook is a practical source to help the reader understand the G-codes and M-codes in CNC lathe programming. It covers CNC lathe programming codes for everyday use by related industrial users such as managers, supervisors, engineers, machinists, or even college students. The codes have been arranged in some logical ways started with the code number, code name, group number, quick description, command format, notes and some examples. Moreover, the reader will find five complementary examples and plenty of helpful tables in appendix.