-
G32 x Z R E P F Turning Milling of the internal thread of the M33 using the MJ20 tool and programming with the tool center and the tool patch belt to 10 is the theoretical value.
If it is an external thread, it is better to retreat to the point (x0y0 for the internal thread), change the 1 variable if you change the pitch, change the n14 line (-30 in this case) if you change the effective length of the thread, and the coordinate point in this article is placed in the orifice of the internal thread.
n1 g40 g17 g90 ;Initialization parameters.
n2 g91 g28 ;Back to the reference point.
n3 t03 ;Tool change.
n4 m06
n5 s1200
n6 g00 g90 g54 ;Specify the coordinate system and quickly advance to x0 y0
n7 g43 z100. h03 ;Add the tool length correction, and the tool length correction value is in the H03 register.
n8 #1= ;The first argument is defined, which is the thread pitch.
n9 #2=0 ;z-value argument.
n10 g1 f300
n11 g42 y0 d03 ;Added radius compensation.
n12 g02 y0 z[#2] j0 ;Spiral interpolation feed.
n13 ###
n14 if [#2 gt -30] goto 12 ;If 2 is greater than -30, it will jump to line n12, and less than -30 will go next.
n15 g1 g40 x0 y0 f100 ;Cancel the radius compensation and retract to x0y0
n16 m05
n17 g0 z300.
n18 m30
-
Here's how to draw a zigzag thread in a ug.
Device: Lenovo computer.
Department of destruction of the old stove system: W10
Software: <>
<> cylinder. <>
5. After selecting the cylinder, the data in the dialog box will be automatically filled in.
6. Finally, click OK, and the thread will be made.
-
Hello, I'll answer this question for you. The following is an example program of UG12 thread programming filial piety shed:1
n010 g90 g54 g92 x0 z0 m3 ;The program starts, set the absolute coordinates, select the workpiece coordinate system G54, set the zero point, and start the spindle 2 n020 g97 s1500 m4 ;Set the speed to 1500 rpm and start the spindle 3 n030 g00 x30 z5 ;Quickly locate to the starting point of machining, the X-axis is 30mm, and the Z-axis is 5mm4
n040 g71 u0 r0 ;Select the thread turning mode, set the initial u-axis value to 0, and set the pitch compensation r-value to 05 n050 g94 ;Set the feed rate to turn 6 n060 g01 x20 z-50 ;Slow feed, x-axis to 20mm, z-axis to -50mm, feed speed to 7
n070 g28 u0 ;Back to the origin, the U-axis returns to zero 8 n080 m5 m9 ;Stop the spindle and coolant 9 n090 m30 ;The sample program is for reference only, and the specific parameter settings and path rules need to be adjusted according to the actual situation.
In addition, please make sure that you have a certain understanding of CNC machining and follow the relevant safety operation procedures before programming. I hope mine can help you and have a great day.
-
You can talk about the combined programming of line turn and mill, when creating a new file, select the template as the turn and mill under machining.
Complete the creation of a multi-axis milling and turning-turning, define settings, create turning, milling, and drilling operations, and manage the transfer of workpieces (IPWs) from spindle to spindle by spindle.
In the Help Manufacturing tutorials, you can see that there are tutorials for mill-turn programming.
This is normal, because when you install ug, you turn off the antivirus software, otherwise it will say that there is a Trojan horse, and when the ug is installed, after the launch is successful, after opening the antivirus software, the next time you start the ug, it will also say that there is a Trojan or suspicious file, then you can use the antivirus software to delete it directly.
ug is generally to re-set and customize by yourself, so that it is convenient, you can set up and customize it yourself, isn't it very convenient.