Joke Collection Website - Bulletin headlines - Want to learn CNC car programming? Then you must remember this 12 instruction code!

Want to learn CNC car programming? Then you must remember this 12 instruction code!

12 instruction code is as follows:

1, G00 quick positioning instruction

2.G0 1 linear interpolation instruction

3.G02 clockwise circular interpolation instruction

4, G03 counterclockwise arc interpolation instruction

5, G90 excircle, inner circle turning cycle instruction

6, G7 1 cylindrical rough turning cycle instruction

O000 1 .

G98 .

M03S500T0 10 1 .

G00X82Z3 .

G7 1U 1.5R0.5 .

g 7 1p 1q2u 0.5 w 0. 1f 120 .

N 1G00X0 .

G0 1Z0F80S 1000 .

X20 .

X24Z-2 .

Z-20 .

X30 .

X32W- 1 .

Z-40 .

X42 .

X48 .

W- 1 1 .

G02X58Z-55R5 .

G0 1X72 .

X76W-2 .

N2X82 .

G70P 1Q2 .

G00X 100Z 100 .

M05 .

M30 .

7, G73 closed cutting cycle instruction

O000 1 .

G98 .

M03S500T0 10 1 .

G00X48Z3 .

G73U5R5 .

G73P 1Q2U0.5W0F 150 .

N 1G00X44Z 1 .

g 0 1Z- 15f 100s 1000 .

G03X34Z-35R45 .

G0 1W-5 .

X44W- 1 .

N2X46 .

G70P 1Q2 .

G00X 100Z 100 .

M05 .

M30 .

8, G72 end rough turning cycle instruction

G00X52Z2 .

G72W 1R0.3 .

g72p 1q2u 0.05 w 0.3 f 100 .

N 1G00Z- 12 .

9, G74 end face deep hole machining cycle instruction

10, G75 circular slotting instruction for outer circle and inner circle

1 1, G92 thread cutting cycle instruction

12, G76 composite thread cutting cycle instruction

Related knowledge points

Determination of the position of (1) circular-arc turning edge

When CNC lathe uses the tool tip arc compensation for machining, if the tool tip shape and cutting position (that is, the cutting edge position of the tool) are different, then the compensation amount and direction of the tool are also different. According to the different tip shapes and tip positions, there are nine cutting edge positions for CNC turning tools, as shown in the figure. The blade position number of common turning tools is shown below. If you don't want to work at the bottom, want to get rid of the status quo, and want to learn UG programming, you can find a teacher with a crown degree to learn CNC technology.

(2) Precautions for compensation of tool tip arc radius

(1) The establishment and cancellation of tool radius compensation mode can only be effective in G00 or G0l motion command mode.

②G4 1/G42 takes no parameters, and its compensation number (representing the compensation value of the tool tip radius corresponding to the tool used) is specified by the T instruction. The tool tip arc radius compensation number corresponds to the tool offset compensation number.

(3) Establish or cancel tool compensation by tangent cutting or normal cutting.

(4) In order to prevent the cutter from cutting excessively when establishing and canceling the cutter radius compensation, the starting position and ending position of the program section should be on the same side of the compensation direction when establishing and canceling the compensation.

⑤ In the tool compensation mode, there is generally no fixed instruction in two or more compensation planes, otherwise the tool will have dangerous actions such as overcutting. Compensation plane fixed instructions usually refer to: program segments with only G, M, S, F and T instructions (such as G90 and M05) and program pause program segments (G04X 10.0).