{"id":2130,"date":"2026-06-19T12:19:56","date_gmt":"2026-06-19T12:19:56","guid":{"rendered":"https:\/\/cndlfh.com\/2130\/"},"modified":"2026-06-19T12:19:56","modified_gmt":"2026-06-19T12:19:56","slug":"%e8%9e%ba%e7%ba%b9%e5%8a%a0%e5%b7%a5%e6%8c%87%e4%bb%a4g76g32%e7%9a%84%e6%a0%bc%e5%bc%8f%e4%b8%8e%e5%8c%ba%e5%88%ab","status":"publish","type":"post","link":"https:\/\/cndlfh.com\/en\/2130\/","title":{"rendered":"The format and differences between the thread cutting commands G76 and G32"},"content":{"rendered":"<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><a style='color:#0000CC;font-size:16px' href='\/en\/1548\/' title='G32' target='_blank'>G32<\/a> be<a style='color:#0000CC;font-size:16px' href='\/en\/1550\/' title='CNC programming' target='_blank'>CNC programming<\/a>A single instruction used for thread cutting.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Command format: G32 X(U)__ Z(W)__ F__ ;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Of which:<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 X (U), Z (W): the coordinate values at the end point of the thread cutting operation.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 F: The pitch of the thread.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>When using the G32 command to perform thread cutting operations, the tool must quickly retract to the starting point of the thread after completing the cut, before proceeding to the next pass. Consequently, programming using the G32 command is relatively complex and is generally used for simple thread cutting operations or in situations where high thread accuracy is required.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img decoding=\"async\" style='max-height:350px;max-width:80%;margin: 10px auto' src=\"\/wp-content\/uploads\/2026\/06\/1781871564345_0.jpg\" alt=\"CNC\u8f66\u524a\u52a0\u5de5\u5faa\u73af\u6307\u4ee4_G32\u87ba\u7eb9\u5207\u524a\u6307\u4ee4 G76\u87ba\u7eb9\u5207\u524a\u590d\u5408\u5faa\u73af G32\u4e0eG76\u87ba\u7eb9\u5207\u524a\u6307\u4ee4\u5bf9\u6bd4\" \/><\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Below is a simple example programme for machining threads using the G32 command:<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>O0001;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G98; (feed per second)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>M03 S400; (spindle rotating clockwise, speed 400 r\/min)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>T0101; M08 (Select tool No. 1, turn on the coolant)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X40.0 Z3.0; (Rapid positioning to the starting point)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G32 command, Z-axis positioned at \u201330.0, thread cutting, feed rate of 3.0 mm per revolution, cutting to the end point, pitch of 3.0 mm.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X42.0; (rapid retraction)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Z3.0; (Quickly return to the starting point)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>X28.5; (feed)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G32 Z-30.0 F3; (re-cutting the thread)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X42.0; (rapid retraction)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Z3.0; (Quickly return to the starting point)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2026\u2026 (Repeat the cutting operation until the thread dimensions meet the requirements)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X80.0 Z200.0; (Retract the tool to a safe position)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>M30; (End of programme)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img decoding=\"async\" style='max-height:350px;max-width:80%;margin: 10px auto' src=\"\/wp-content\/uploads\/2026\/06\/1781871564345_1.jpg\" alt=\"CNC\u8f66\u524a\u52a0\u5de5\u5faa\u73af\u6307\u4ee4_G32\u87ba\u7eb9\u5207\u524a\u6307\u4ee4 G76\u87ba\u7eb9\u5207\u524a\u590d\u5408\u5faa\u73af G32\u4e0eG76\u87ba\u7eb9\u5207\u524a\u6307\u4ee4\u5bf9\u6bd4\" \/><\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Please note that, when actually creating a programme, adjustments and optimisations are made in accordance with the specific machine tool and the particular machining requirements.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>In CNC programming, the composite cycle commands used for thread cutting are arguably among the most important<a style='color:#0000CC;font-size:16px' href='\/en\/1548\/' title='G76' target='_blank'>G76<\/a> , The command formats and the meanings of the various parameters may vary slightly depending on the CNC system used; there may be minor differences. The following outlines a common format and provides explanations of the parameters.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G76 P(m)(r)(\u03b1) Q(\u0394dmin) R(d);<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>The meanings of the various parameters are as follows:<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 m: Number of finishing passes (1\u201399);<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 r: Thread chamfer value, set within the range of 0.0l to 9.9l (where l denotes the pitch), in units of 0.1l, to be represented by a two-digit integer between 00 and 99; It also denotes the thread taper length from 00 to 99, which is the 45\u00b0 taper length at the end point, enabling thread machining without a relief groove. When a relief groove is present, the taper length is set to 00 (unit: 0.1\u00d7l, where l is the thread pitch).<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>-Alpha is the angle between the threads of two adjacent teeth; this angle is the cutting edge angle, and it can be selected from six options: 80\u00b0, 60\u00b0, 55\u00b0, 30\u00b0, 29\u00b0 or 0\u00b0. The angle must be expressed as a two-digit integer.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 \u0394dmin: the minimum cutting depth (radial value) during rough turning of threads;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 d: Cutting depth for thread finishing (unsigned, radial value);<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 x: Absolute x-axis coordinate at the end of the thread;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 u: the difference between the absolute x-coordinates of the end point and the start point of the thread;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 z: the absolute z-axis coordinate at the end point of the thread;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 w: the difference between the absolute z-axis coordinates of the end point and the start point of the thread;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 i: Thread taper; this is the difference (expressed as a radius value) between the absolute x-coordinates of the start and end points of the thread. When i equals 0, the thread is cylindrical.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>k is the thread pitch; it is a radius value and is unsigned. Decimal input is not supported; instead, it must be programmed using the smallest definable unit.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 \u0394d: depth of the first thread cut (radial value, unsigned);<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 l: thread pitch;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u2013 f: thread pitch.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>The G76 command offers several key advantages: firstly, it is reasonably well-suited to machining processes; and secondly, it offers high programming efficiency. It employs an oblique feed method, which effectively extends tool life and is suitable for thread cutting with large pitches, generally where p \u2265 2.5.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Below is an example programme using the G76 command to machine an external thread. It is assumed that an M40\u00d72 external thread is to be machined, with a thread cutting length of 30 mm: # Sharing programming insights #\u200b# Italian Prime Minister Meloni arrives in Beijing #.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>O0001;<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>S400, T0101: the spindle is set to forward rotation; the coolant is switched on; the speed is set to 400 revolutions per minute; and tool No. 1 and tool offset No. 1 are selected.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X42; (Rapid positioning to X42)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Z5; (Position the Z-axis to 5 mm)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G76  Q300 R0; (Set threading parameters)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>That command is G76, where the end point coordinate on the X-axis is 39.2, the Z-axis end point is -30, the thread height is 2 mm, the first cutting depth is 0.5 mm, the pitch is 2 mm, and the command is G76 X39.2 Z-30 P1300 Q400 F2.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>G00 X80; (retract tool)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Z200; (retract tool)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>M05; (Spindle stop)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>M08 Coolant Off<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>M30; (End of programme)<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>When actually programming, the relevant parameters must be set in accordance with the specific CNC system, thread specifications and machining requirements. Furthermore, as different CNC systems may have specific requirements or restrictions, it is essential to read the CNC system\u2019s programming manual carefully before using the G76 command, in order to ensure correct programming and operation.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>The main differences between G76 and G32 in CNC programming are as follows:<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1. Generally speaking, among tool approach methods, the G32 approach employs a straight-in cutting method, in which both cutting edges are active simultaneously; the G76 approach, on the other hand, employs an oblique cutting method, in which only one cutting edge is active during machining.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>2. In terms of programming complexity, the G32 command is relatively simple; however, it requires manually writing programmes for multiple feed passes, which can be rather tedious and cumbersome. With the G76 command, on the other hand, the relevant parameters need only be specified once in the programme, after which the threading process is carried out automatically, making the programming much more concise and straightforward.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>3. In terms of tool load and service life, with G32, both cutting edges are engaged simultaneously, resulting in relatively high cutting forces, which can lead to tool wear; G76, on the other hand, involves cutting with a single cutting edge; in this case, the load on the tool is lower, which helps to extend the tool\u2019s service life.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>4. In terms of machining accuracy, the thread profile produced by G32 is of a relatively high standard; however, when machining threads with a large pitch, the considerable cutting depth may lead to rapid tool wear, which in turn may result in errors in the thread\u2019s mean diameter; The surface finish of threads machined using G76 is relatively poor; however, this method is more convenient when thread precision requirements are not particularly high. When machining threads requiring a high degree of precision, one can first use G76 for rough turning, followed by G32 for finish turning.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>5. This describes the allocation of cutting depth in programming. In G32 programming, the cutting depth is generally set to a constant value, whereas in G76 programming, the cutting depth is typically allocated on a decreasing basis and is calculated and determined by the control system.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>6. The applicable pitch ranges are: G32, which is suitable for machining threads with a small pitch, i.e. where the pitch p is generally less than or equal to 2.5; and G76, which is suitable for cutting threads with a large pitch, i.e. where the pitch p is generally greater than or equal to 2.5.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>7. In terms of machining efficiency, G76 has the advantage of reducing the amount of programming required, thereby resulting in relatively high machining efficiency, whereas G32, judging by the programming involved, is relatively cumbersome and therefore leads to relatively low machining efficiency.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>With regard to command formats, the format for G32 is as follows: G32 X(U)__, Z(W)__ and F__, where X(U) and Z(W) represent the coordinates of the thread end point, and F is the thread pitch; As for the G76 command format, it requires two commands to be defined simultaneously, and the format is as follows: G76 P(m)(r)(a) along with Q__ and R__; G76 also has the following specific format: G76 X(U) Z(W) R(i) P(k) Q(\u0394d) F(L), where m is the number of finishing passes, r is the thread end chamfer value, a is the tool angle, Q is the minimum cutting depth, R is the finishing allowance, X(U) and Z(W) are the thread end coordinates, i is the thread taper value, k is the thread height, \u0394d is the first cutting depth, and L is the pitch. In these two instructions, the values following Q, R and the P address should be displayed in a format that does not include a decimal point.<\/p>\n<p style='margin-bottom:24px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Give us a follow<\/p>","protected":false},"excerpt":{"rendered":"<p>G32 \u662f\u6570\u63a7\u7f16\u7a0b\u4e2d\u7528\u4e8e\u87ba\u7eb9\u5207\u524a\u7684\u5355\u4e00\u6307\u4ee4\u3002 \u6307\u4ee4\u683c\u5f0f\uff1aG32 X\uff08U\uff09__ Z\uff08W\uff09__ F__ \uff1b \u5176\u4e2d\uff1a &#8211; X\uff08U\uff09\u3001Z\uff08W\uff09\uff1a\u4e3a\u87ba\u7eb9\u5207\u524a\u7ec8\u70b9\u7684\u5750\u6807\u503c\u3002-<\/p>","protected":false},"author":1,"featured_media":2131,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[395,397,1291,30,1290],"class_list":["post-2130","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-26","tag-g32","tag-g76","tag-1291","tag-30","tag-1290"],"_links":{"self":[{"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/posts\/2130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/comments?post=2130"}],"version-history":[{"count":0,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/posts\/2130\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/media\/2131"}],"wp:attachment":[{"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/media?parent=2130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/categories?post=2130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cndlfh.com\/en\/wp-json\/wp\/v2\/tags?post=2130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}