Joke Collection Website - News headlines - Numerical control system programming instruction

Numerical control system programming instruction

The main instructions of numerical control system programming:

1, G00 and G0 1

G0 1 moves linearly to the target point specified by the instruction according to the specified feed speed, which is generally used for cutting.

2, G02 and G03

G02: clockwise circular interpolation G03: counterclockwise circular interpolation

3, G04 (delay or pause instruction)

Generally used for positive and negative switching, machining blind holes, stepped holes, turning and slotting.

4, G 17, G 18, G 19 plane selection instructions, specify plane processing, generally used in milling machines and machining centers.

G 17:X-Y plane, which can be omitted or parallel to the X-Y plane.

G 18:X-Z plane or a plane parallel to it. CNC lathe only has X-Z plane, so it doesn't need to be specified.

G 19:Y-Z plane or a plane parallel to it.

5. Explanation of 5.G27, G28 and G29 Reference Points

G27: Return to the reference point, and check and confirm the position of the reference point.

G28: Automatically return to the reference point (through the intermediate point)

G29: Return from the reference point, used together with G28.

6, G40, G4 1, G42 radius compensation

G40: Cancel tool radius compensation

Give so much first, and then give it at night when it's ready.

7. Length compensation of 7.G43, G44 and G49

G43: Positive length compensation G44: Negative length compensation G49: Cancel tool length compensation.

8、G32、G92、G76

G32: Thread Cutting G92: Thread Cutting Fixed Cycle G76: Thread Cutting Compound Cycle

9. Turning: G70, G7 1, 72 and G73.

G7 1: axial rough turning compound cycle instruction G70: finishing compound cycle G72: end turning, radial rough turning cycle G73: copying rough turning cycle.

10, milling machine, machining center:

G73: high-speed deep-hole drilling G83: deep-hole drilling G8 1: drilling cycle G82: deep-hole drilling cycle.

G74: Left-handed thread processing G84: Right-handed thread processing G76: Fine boring cycle G86: Boring cycle.

G85: Reaming G80: Cancel cycle instruction

1 1, programming mode G90, G9 1

G90: absolute coordinate programming G9 1: incremental coordinate programming

12, spindle setting instruction

G50: Set the maximum spindle speed G96: Constant linear speed control G97: Spindle speed control (cancel constant linear speed control instruction) G99: Return to the R point (middle hole) G98: Return to the reference point (last hole).

13, spindle forward and reverse stop instructions M03, M04 and M05.

M03: Spindle Forward M04: Spindle Reverse M05: Spindle Stop

14, cutting fluid switches M07, M08 and M09

M07: spray cutting fluid on M08: liquid cutting fluid on M09: cutting fluid off.

15, motion stops M00, M0 1, M02, M30.

M00: Program Pause M0 1: Planned Stop M02: Machine Reset M30: Program ends and the pointer returns to the starting point.

16, M98: Call subroutine

17, M99: Return to main program.

Extended data:

NC programming refers to the process of automatically generating NC machining programs with the support of computers and corresponding computer software systems. It gives full play to the rapid calculation and storage functions of the computer.

It is characterized in that the geometric shape, machining technology, cutting parameters and auxiliary information of the machined object are described in simple and customary language according to rules, and then the numerical calculation, tool center motion trajectory calculation and post-processing are automatically carried out by the computer to generate a part machining program sheet, simulation of machining process.

The automatic programming method is efficient and reliable for parts with complex shapes, non-circular curve contours and three-dimensional surfaces. In the process of programming, programmers can check whether the program is correct in time and modify it in time if necessary.

Because the computer replaces the programmer to complete the tedious numerical calculation work, it saves the workload of writing the program list, and the programming efficiency can be improved by dozens or even hundreds of times, which solves many programming problems of complex parts that cannot be solved by manual programming.

References:

Baidu encyclopedia -CNN numerical control