<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compost.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danm</id>
	<title>Compost Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://compost.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Danm"/>
	<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Special:Contributions/Danm"/>
	<updated>2026-12-05T17:51:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7366</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7366"/>
		<updated>2020-07-22T20:02:27Z</updated>

		<summary type="html">&lt;p&gt;Danm: Minor fixes, remove LASTOperation from doCoolOff sample per new info from Development&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Compost14 is required in order to create a post that supports Combinatorial Coolants. Compost4 does not support this feature.&lt;br /&gt;
&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
===Form Changes===&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. This means that, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
===Prog Changes===&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOnFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOnNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7333</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7333"/>
		<updated>2020-06-09T21:01:58Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Errata */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning part. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF NOT AxisMoveCW?(&#039;C1&#039;)&lt;br /&gt;
		{2020/02/26 JeffB: If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, Round#(&#039;###0;0&#039;,(GetLocalVar#(&#039;C&#039;) * (4096 / 360))))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7332</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7332"/>
		<updated>2020-06-09T21:01:49Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Form settings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning part. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
As noted above, posts that support Broaching &#039;&#039;&#039;MUST&#039;&#039;&#039; also use the [[V13 Spindle Control]] features. This was a requirement introduced by Development for Broaching.&lt;br /&gt;
&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF NOT AxisMoveCW?(&#039;C1&#039;)&lt;br /&gt;
		{2020/02/26 JeffB: If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, Round#(&#039;###0;0&#039;,(GetLocalVar#(&#039;C&#039;) * (4096 / 360))))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7331</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7331"/>
		<updated>2020-06-09T20:55:32Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Summary */ Fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning part. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
* Checking this box will also cause the post to error out on posting if the post uses any &amp;quot;old&amp;quot; speed commands, such as [[SpeedC]]. The new [[V13 Spindle Control]] commands must be used in order for a post to support broaching.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
As noted above, posts that support Broaching &#039;&#039;&#039;MUST&#039;&#039;&#039; also use the [[V13 Spindle Control]] features. This was a requirement introduced by Development for Broaching.&lt;br /&gt;
&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF NOT AxisMoveCW?(&#039;C1&#039;)&lt;br /&gt;
		{2020/02/26 JeffB: If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, Round#(&#039;###0;0&#039;,(GetLocalVar#(&#039;C&#039;) * (4096 / 360))))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7326</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7326"/>
		<updated>2020-05-19T23:37:35Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Quick Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==&#039;&#039;&#039;Welcome to ComPost Wiki!&#039;&#039;&#039;==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[What is ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[How do I use ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[About ComPost]] &lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[mailto:compostwiki@gibbscam.com?subject=Feedback Feedback]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Quick Links==&lt;br /&gt;
* &#039;&#039;&#039;UPDATED&#039;&#039;&#039; [[Adding Broaching Support to a .62 post]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Okuma Turn-Cut support]]&lt;br /&gt;
* [[v13 Handling ALL drill cycle output with DrillCycleParams]]&lt;br /&gt;
* [[Adding Broaching support to a .68 post]]&lt;br /&gt;
* [[Adding Expanded Turning to a .62 post]]&lt;br /&gt;
* [[V13 Elliptical Turning]]&lt;br /&gt;
* [[V13 Broaching]]&lt;br /&gt;
* [[V13 Spindle Control]]&lt;br /&gt;
* [[V13 Rough Chip Break]]&lt;br /&gt;
* [[V13 Advanced Approach and Retract]]&lt;br /&gt;
* [[3D CRC]]&lt;br /&gt;
* [[Post Unit Testing]]&lt;br /&gt;
* [[:Category:GibbsCAM_v11|GibbsCAM v11-Specific Articles]]&lt;br /&gt;
* [[Infix Math]]&lt;br /&gt;
* [[Numeric Formats]] for &#039;###.####&#039; and such...&lt;br /&gt;
* [[Compost4_Language_Changes|Compost4 Language Changes]]&lt;br /&gt;
* [[Common Terms]]&lt;br /&gt;
* [[:Category:Articles|Articles]]&lt;br /&gt;
* [[:Category:Dialog_Help|Dialog Help]]&lt;br /&gt;
* [[:Category:Applications|Compost Tools]] information (installation and usage)&lt;br /&gt;
* [[Keyword_List]] information.&lt;br /&gt;
* [[Post Debugger]]&lt;br /&gt;
* [[:Category:Versions|Versions]]&lt;br /&gt;
* [[Subversion|Post Subversion Repository]]&lt;br /&gt;
* [[Post Department Naming Conventions]]&lt;br /&gt;
&lt;br /&gt;
== Keyword Reference Categories ==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Adaptive]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[ComPost Menus]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Logic|Logic]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Modifiers|Modifiers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Prog Subroutines|Prog Subroutines]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Output Control|Output Control]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Spindle|Spindle]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Comments|Comments]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Planes|Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Sequence Numbers|Sequence Numbers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Work Fixtures|Work Fixtures]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Coolant|Coolant]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:The Tool|The Tool]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operations|Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Clearance Planes|Clearance Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Positioning The Tool|Positioning the Tool]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Cutter Radius Compensation|Cutter Radius Compensation]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[:Category:The Tool Path|The Tool Path]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Multiple Parts|Multiple Parts]]  &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operation Repeats|Operation Repeats]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Drill Cycles|Drill Cycles]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Lathe Cycles|Lathe Cycles]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Rotary Mill|Rotary Mill]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Mill Turn|Mill Turn]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Feed Rates|Feed Rates]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RotaryHead|Rotary Head]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:MTM|MTM]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[OpType|Utility Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Utility Data|Utility Data]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[Glossary]] &lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Deprecated Commands|Deprecated Commands]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RemovedCommands|Removed Commands]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:DevelopmentNotes|DevelopmentNotes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Proprietary Notice==&lt;br /&gt;
This document contains proprietary information of Gibbs and Associates and is to be used only pursuant to and in conjunction with the license granted to the licensee with respect to the accompanying Gibbs and Associates licensed software. Except as expressly permitted in the license, no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, magnetic, optical, chemical, manual or otherwise, without the prior expressed written permission from Gibbs and Associates or a duly authorized representative thereof.&lt;br /&gt;
&lt;br /&gt;
It is strongly advised that users carefully review the license in order to understand the rights and obligations related to this licensed software and the accompanying documentation.&lt;br /&gt;
&lt;br /&gt;
Use of the computer software and the user documentation has been provided pursuant to a Gibbs and Associates licensing agreement.  &lt;br /&gt;
&lt;br /&gt;
© 2008 Gibbs and Associates. All rights reserved. The Gibbs logo, GibbsCAM, GibbsCAM logo, CAM von Gibbs, Virtual Gibbs, Gibbs SFP, SolidSurfacer, MTM and “Powerfully Simple. Simply Powerful.” are either trademark(s) or registered trademark(s) of Gibbs and Associates in the United States and/or other countries.  Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.  All other brand or product names are trademarks or registered trademarks of their respective owners.&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7325</id>
		<title>Adding Broaching Support to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7325"/>
		<updated>2020-05-19T23:34:55Z</updated>

		<summary type="html">&lt;p&gt;Danm: Add info for Rotary Broaching multiple speeds&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Turn on Broaching in the Form==&lt;br /&gt;
[[Image:ProgramOptionsBroaching.png|none]]&lt;br /&gt;
==Suppress G97 output in Broaching ops==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
constantRPM:&lt;br /&gt;
	IF IsAnyTurningOp? AND NOT OpIsPartOriented?&lt;br /&gt;
		&#039;G97&#039;&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Don&#039;t use [[SpeedRPM#]] at all in Broaching Ops==&lt;br /&gt;
If your SameTool subs use logic similar to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
You need to add NOT [[OpIsToolOriented?]] / NOT [[OpIsPartOriented?]] before this, as using [[SpeedRPM#]] in an IF statement will cause GibbsCAM to throw an exception. For example, change from:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSE&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
To:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSEIF NOT OpIsPartOriented?&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
I advise using the Compost4 search function to search for the [[SpeedRPM#]], [[SpeedSFPM#]], and [[SpeedSUPM#]] in your post, and make sure that you cannot reach this logic in a Broaching op.&lt;br /&gt;
&lt;br /&gt;
==Always call toolPath if no other logic returns TRUE==&lt;br /&gt;
===In millCore:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE&lt;br /&gt;
	IF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSEIF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
		ckDrillClampOff&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ckDrillClampOff&lt;br /&gt;
ELSE&lt;br /&gt;
	toolPath&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Output C-only moves for Positioning and Rotations==&lt;br /&gt;
===In tpLineFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC call:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doMoveCC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===In tpRapidFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doMoveCC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Special Consideration for Rotary Broaching - multiple spindle speeds==&lt;br /&gt;
Rotary Broaching operations are special, in that they are currently the only type of operation in GibbsCAM (as of v13) that can have more than one spindle speed if the &amp;quot;Entry RPM&amp;quot; box is checked in the Process dialog. Due to the way older post commands work, the [[Speed]]/[[SpeedC]] commands will output ONLY the &amp;quot;Broaching RPM&amp;quot; speed, and thus an older post will never output the &amp;quot;Entry RPM&amp;quot; speed.&lt;br /&gt;
[[Image:BroachingDialogEntryRPM.png|none]]&lt;br /&gt;
&lt;br /&gt;
As a workaround, the [[EntrySpeedC]] commands were added in GibbsCAM v13.0.18. After some testing, the GibbsCAM Post Department has found that replacing [[Speed]] in the Approach loop - in the getSpeed: sub in many older posts, for example - with the following code seems to work well:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF (EntrySpeedRPM# != SpeedRPM#)&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, EntrySpeedRPM#)&lt;br /&gt;
ELSE&lt;br /&gt;
	Speed&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Similarly, [[SpeedC]] can be replaced with:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF (EntrySpeedRPM# != SpeedRPM#)&lt;br /&gt;
	EntrySpeedC&lt;br /&gt;
ELSE&lt;br /&gt;
	SpeedC&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will result in the &amp;quot;Entry RPM&amp;quot; value being output in the Approach Loop, and the &amp;quot;Broaching RPM&amp;quot; value being output during Toolpath at the appropriate [[Extended Markers#Spindle_Speed_Markers|Marker]]. Other operation types will continue to use the standard Speed/SpeedC commands due to the ELSE statement.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:BroachingDialogEntryRPM.png&amp;diff=7324</id>
		<title>File:BroachingDialogEntryRPM.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:BroachingDialogEntryRPM.png&amp;diff=7324"/>
		<updated>2020-05-19T23:31:11Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7323</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7323"/>
		<updated>2020-05-15T20:59:52Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
===Form Changes===&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter.&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter.&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter.&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. Therefore, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
===Prog Changes===&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	LASTOperation InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7322</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7322"/>
		<updated>2020-05-15T00:11:46Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Combinatorial Coolants==&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:CoolantDialog.png&amp;diff=7321</id>
		<title>File:CoolantDialog.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:CoolantDialog.png&amp;diff=7321"/>
		<updated>2020-05-15T00:11:27Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:CoolantDialogUpgrade.png&amp;diff=7320</id>
		<title>File:CoolantDialogUpgrade.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:CoolantDialogUpgrade.png&amp;diff=7320"/>
		<updated>2020-05-15T00:03:40Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7319</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7319"/>
		<updated>2020-05-15T00:03:13Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;==Combinatorial Coolants== Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for c...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Combinatorial Coolants==&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:EditCoolantDialog.png&amp;diff=7318</id>
		<title>File:EditCoolantDialog.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:EditCoolantDialog.png&amp;diff=7318"/>
		<updated>2020-05-14T23:29:54Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:MachineManagerCoolants.png&amp;diff=7317</id>
		<title>File:MachineManagerCoolants.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:MachineManagerCoolants.png&amp;diff=7317"/>
		<updated>2020-05-14T23:26:00Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7307</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7307"/>
		<updated>2020-04-20T22:33:27Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support for the [[GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
===Form Setting===&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
In toolPathDoMove:, add:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following sub to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7306</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7306"/>
		<updated>2020-04-20T22:31:38Z</updated>

		<summary type="html">&lt;p&gt;Danm: Create initial article&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To add support for Basic Probing, you simply need to enable the Form setting and add support for the [[GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
===Form Setting===&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Code Changes===&lt;br /&gt;
In toolPathDoMove:, add:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following sub to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=OpType&amp;diff=7215</id>
		<title>OpType</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=OpType&amp;diff=7215"/>
		<updated>2019-12-31T23:28:51Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Common Utility Operations */ Add &amp;#039;AddGCode&amp;#039; to list&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=OpType?(&#039;n&#039;)=&lt;br /&gt;
&lt;br /&gt;
{{Description|description=This command will return true if the current operations type matches the parameter specified.The parameter can be any string up to 255 characters in length and is not case sensitive. If the op is a utility OP or custom op then the type will be a name that is provided by the VMM or plug-in developer. If the op is a standard op then more then one string may correspond to the op type. In the case where a string refers to a specific sub type of op then the command will return true for only that specific sub type. &lt;br /&gt;
}}&lt;br /&gt;
{{Notes|notes=This command is the only way a post can know what the current Utility op type is. The VMM developer will provide you with the strings to use for each Utility op that your post/VMM should support.}}&lt;br /&gt;
&lt;br /&gt;
==Known Op Names==&lt;br /&gt;
===Standard Ops===&lt;br /&gt;
Mill Op: &#039;&#039;&#039;MILL&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Mill Drilling: &#039;&#039;&#039;MDRILL&#039;&#039;&#039;, &#039;&#039;&#039;DRILL&#039;&#039;&#039;, &#039;&#039;&#039;ROUGHMILLBORE&#039;&#039;&#039;, &#039;&#039;&#039;FINISHMILLBORE&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Mill Contour: &#039;&#039;&#039;CONTOUR&#039;&#039;&#039;, &#039;&#039;&#039;MCONTOUR&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
Mill Pocket (roughing): &#039;&#039;&#039;POCKET&#039;&#039;&#039;, &#039;&#039;&#039;MPOCKET&#039;&#039;&#039;, &#039;&#039;&#039;FACEMILL&#039;&#039;&#039;, &#039;&#039;&#039;MFACEMILL&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Mill Threading: &#039;&#039;&#039;THREADMILL&#039;&#039;&#039;, &#039;&#039;&#039;MTHREADMILL&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Mill Surfacing: &#039;&#039;&#039;SURFACE&#039;&#039;&#039;, &#039;&#039;&#039;MSURFACE&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Op: &#039;&#039;&#039;LATHE&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Contour: &#039;&#039;&#039;CONTOUR&#039;&#039;&#039;, &#039;&#039;&#039;LCONTOUR&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Rough: &#039;&#039;&#039;ROUGH&#039;&#039;&#039;, &#039;&#039;&#039;LROUGH&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Thread: &#039;&#039;&#039;THREAD&#039;&#039;&#039;, &#039;&#039;&#039;LTHREAD&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Drill: &#039;&#039;&#039;DRILL&#039;&#039;&#039;, &#039;&#039;&#039;LDRILL&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Advanced 3D Machining: &#039;&#039;&#039;Advanced 3D Machining&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
VoluMill: &#039;&#039;&#039;Custom_Plugin_VoluMill&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Thread Whirling Plugin : &#039;&#039;&#039;TOURBILLONNAGE&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
TMS &#039;data&#039; op: &#039;&#039;&#039;GC_MULTI_PART_DATA&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
Helix Bore Plugin: &#039;&#039;&#039;Custom_Plugin_Helix_Bore&#039;&#039;&#039; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Common Utility Operations===&lt;br /&gt;
LoadSpindleManual&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleAutoClock&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleBarFeed&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleAutoBarFeed&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleBarPull&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleSubSpinPull&amp;lt;br&amp;gt;&lt;br /&gt;
LoadSpindleRobot&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
UnLoadSpindleManual&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindleAutoClock&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindlePartCatcher&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindleGripper&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindleRobot&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindlePartDrop&amp;lt;br&amp;gt;&lt;br /&gt;
UnLoadSpindlePushOut&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SubSpindleOnPart&amp;lt;br&amp;gt;&lt;br /&gt;
SubSpindleReturn&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
PartShiftManual&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftAutoClock&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftBarFeed&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftAutoBarFeed&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftBarPull&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftSpinPull&amp;lt;br&amp;gt;&lt;br /&gt;
PartShiftRobot&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
CatcherIn&amp;lt;br&amp;gt;&lt;br /&gt;
CatcherOut&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TailStockIn&amp;lt;br&amp;gt;&lt;br /&gt;
TailStockOut&amp;lt;br&amp;gt;&lt;br /&gt;
PosTailStock&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MoveTool&amp;lt;br&amp;gt;&lt;br /&gt;
AllStop&amp;lt;br&amp;gt;&lt;br /&gt;
PartIncex&amp;lt;br&amp;gt;&lt;br /&gt;
MachMode&amp;lt;br&amp;gt;&lt;br /&gt;
AddGCode&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;GC2015, and later, only:&#039;&#039;&#039;&amp;lt;br&amp;gt;&lt;br /&gt;
ExtMTG&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Stats|id=269|type=Boolean|class=All Machines|scope= Op Loop|version=5.57}}&lt;br /&gt;
[[Category:MTM]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7200</id>
		<title>Adding Broaching Support to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7200"/>
		<updated>2019-10-25T21:51:05Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Don&amp;#039;t use SpeedRPM# at all in Broaching Ops */ Fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Turn on Broaching in the Form==&lt;br /&gt;
[[Image:ProgramOptionsBroaching.png|none]]&lt;br /&gt;
==Suppress G97 output in Broaching ops==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
constantRPM:&lt;br /&gt;
	IF IsAnyTurningOp? AND NOT OpIsPartOriented?&lt;br /&gt;
		&#039;G97&#039;&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Don&#039;t use [[SpeedRPM#]] at all in Broaching Ops==&lt;br /&gt;
If your SameTool subs use logic similar to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
You need to add NOT [[OpIsToolOriented?]] / NOT [[OpIsPartOriented?]] before this, as using [[SpeedRPM#]] in an IF statement will cause GibbsCAM to throw an exception. For example, change from:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSE&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
To:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSEIF NOT OpIsPartOriented?&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
I advise using the Compost4 search function to search for the [[SpeedRPM#]], [[SpeedSFPM#]], and [[SpeedSUPM#]] in your post, and make sure that you cannot reach this logic in a Broaching op.&lt;br /&gt;
&lt;br /&gt;
==Always call toolPath if no other logic returns TRUE==&lt;br /&gt;
===In millCore:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE&lt;br /&gt;
	IF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSEIF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
		ckDrillClampOff&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ckDrillClampOff&lt;br /&gt;
ELSE&lt;br /&gt;
	toolPath&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Output C-only moves for Positioning and Rotations==&lt;br /&gt;
===In tpLineFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC call:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doMoveCC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===In tpRapidFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doMoveCC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7199</id>
		<title>Adding Expanded Turning to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7199"/>
		<updated>2019-10-16T23:11:02Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* In the Form: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Replace spindle control subs==&lt;br /&gt;
First, you should complete the steps in [[Adding Broaching Support to a .62 post]].&lt;br /&gt;
===List of subs to replace===&lt;br /&gt;
#doInverseSpinOn&lt;br /&gt;
#doSpeed&lt;br /&gt;
#doCalcRPM1&lt;br /&gt;
#doCalcRPM2&lt;br /&gt;
#doSpinOn&lt;br /&gt;
#ckSpinOn&lt;br /&gt;
#doOpSpinOff&lt;br /&gt;
#doSpinOff&lt;br /&gt;
#ckSpindleDirection&lt;br /&gt;
#ckTapSpindleDirection&lt;br /&gt;
#ckWorkPieceSpindle&lt;br /&gt;
#doSpeedC&lt;br /&gt;
#millSpindleOn&lt;br /&gt;
===New code for these subs===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doInverseSpinOn:&lt;br /&gt;
	IF TurningOp?&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M4&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M3&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	ELSE {implies MillingOp}&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M54&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M53&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeed:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpeed&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM1:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM1#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM2:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM2#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpinOn:&lt;br /&gt;
	IF (LASTOperation OpIsToolOriented? AND NOT OpIsToolOriented?) OR&lt;br /&gt;
	(LASTOperation OpIsPartOriented? AND NOT OpIsPartOriented?)&lt;br /&gt;
		doSpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doOpSpinOff: {current Op SpinOff}&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOff: {previous Op SpinOff}&lt;br /&gt;
	IF NOT LASTOperation OpIsToolOriented?&lt;br /&gt;
		LASTOperation ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpindleDirection:&lt;br /&gt;
	IF PartSpindleDirChanged? OR ToolSpindleDirChanged?&lt;br /&gt;
		SeqLabC doSpinOff EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckTapSpindleDirection:&lt;br /&gt;
	IF ToolBAxisAvail?&lt;br /&gt;
		IF Milling? AND ABCToolPath?	{if 5-axis Milling or Drilling}&lt;br /&gt;
			IF (PartSpindleDirChanged? OR ToolSpindleDirChanged?) AND Tap?&lt;br /&gt;
				SeqLabC doOpSpinOff EOL&lt;br /&gt;
				SeqLabC doSpeed doSpinOn EOL&lt;br /&gt;
			END&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckWorkPieceSpindle:	{Part Spindle Off before MillingOp}&lt;br /&gt;
	IF OpIsPartOriented? AND NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeedC:&lt;br /&gt;
	IF (TurningOp? AND NOT OpIsPartOriented?) AND (PartSpindleRPMChanged? OR PartSpindleSFPMChanged?)&lt;br /&gt;
		doSpeed&lt;br /&gt;
	ELSEIF (NOT OpIsToolOriented?) AND ToolSpindleRPMChanged? {implies MillingOp}&lt;br /&gt;
		doSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
millSpindleOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed doSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
==In the Form:==&lt;br /&gt;
# Form-&amp;gt;Program Options-&amp;gt;Options tab&lt;br /&gt;
#: [[Image:62UpgradePostOptions.png|none]]&lt;br /&gt;
#* Check &amp;quot;Broaching&amp;quot;&lt;br /&gt;
#* Check &amp;quot;Expanded Turning&amp;quot;&lt;br /&gt;
#* Leave &amp;quot;Flat Eccentric Turning&amp;quot; set to &amp;quot;No Support.&amp;quot;&lt;br /&gt;
# Form-&amp;gt;Toolgroups and Part Stations-&amp;gt;Spindle Options tab&lt;br /&gt;
#: [[Image:UnconditionalCheckbox.png|none]]&lt;br /&gt;
#* &amp;quot;Turn CSS On with spindle&amp;quot; must be turned on if you intend to turn CSS on &#039;&#039;&#039;on part&#039;&#039;&#039; before the start of the toolPath: sub.&lt;br /&gt;
#* &amp;quot;Unconditional Spindle Commands&amp;quot; must be turned on&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:UnconditionalCheckbox.png&amp;diff=7198</id>
		<title>File:UnconditionalCheckbox.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:UnconditionalCheckbox.png&amp;diff=7198"/>
		<updated>2019-10-16T23:09:05Z</updated>

		<summary type="html">&lt;p&gt;Danm: uploaded a new version of &amp;amp;quot;File:UnconditionalCheckbox.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7197</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7197"/>
		<updated>2019-10-03T00:40:25Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Quick Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==&#039;&#039;&#039;Welcome to ComPost Wiki!&#039;&#039;&#039;==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[What is ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[How do I use ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[About ComPost]] &lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[mailto:compostwiki@gibbscam.com?subject=Feedback Feedback]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Quick Links==&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Okuma Turn-Cut support]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[v13 Handling ALL drill cycle output with DrillCycleParams]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Broaching support to a .68 post]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Broaching Support to a .62 post]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Expanded Turning to a .62 post]]&lt;br /&gt;
* [[V13 Elliptical Turning]]&lt;br /&gt;
* [[V13 Broaching]]&lt;br /&gt;
* [[V13 Spindle Control]]&lt;br /&gt;
* [[V13 Rough Chip Break]]&lt;br /&gt;
* [[V13 Advanced Approach and Retract]]&lt;br /&gt;
* [[3D CRC]]&lt;br /&gt;
* [[Post Unit Testing]]&lt;br /&gt;
* [[:Category:GibbsCAM_v11|GibbsCAM v11-Specific Articles]]&lt;br /&gt;
* [[Infix Math]]&lt;br /&gt;
* [[Numeric Formats]] for &#039;###.####&#039; and such...&lt;br /&gt;
* [[Compost4_Language_Changes|Compost4 Language Changes]]&lt;br /&gt;
* [[Common Terms]]&lt;br /&gt;
* [[:Category:Articles|Articles]]&lt;br /&gt;
* [[:Category:Dialog_Help|Dialog Help]]&lt;br /&gt;
* [[:Category:Applications|Compost Tools]] information (installation and usage)&lt;br /&gt;
* [[Keyword_List]] information.&lt;br /&gt;
* [[Post Debugger]]&lt;br /&gt;
* [[:Category:Versions|Versions]]&lt;br /&gt;
* [[Subversion|Post Subversion Repository]]&lt;br /&gt;
* [[Post Department Naming Conventions]]&lt;br /&gt;
&lt;br /&gt;
== Keyword Reference Categories ==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Adaptive]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[ComPost Menus]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Logic|Logic]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Modifiers|Modifiers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Prog Subroutines|Prog Subroutines]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Output Control|Output Control]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Spindle|Spindle]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Comments|Comments]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Planes|Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Sequence Numbers|Sequence Numbers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Work Fixtures|Work Fixtures]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Coolant|Coolant]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:The Tool|The Tool]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operations|Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Clearance Planes|Clearance Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Positioning The Tool|Positioning the Tool]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Cutter Radius Compensation|Cutter Radius Compensation]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[:Category:The Tool Path|The Tool Path]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Multiple Parts|Multiple Parts]]  &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operation Repeats|Operation Repeats]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Drill Cycles|Drill Cycles]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Lathe Cycles|Lathe Cycles]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Rotary Mill|Rotary Mill]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Mill Turn|Mill Turn]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Feed Rates|Feed Rates]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RotaryHead|Rotary Head]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:MTM|MTM]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[OpType|Utility Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Utility Data|Utility Data]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[Glossary]] &lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Deprecated Commands|Deprecated Commands]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RemovedCommands|Removed Commands]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:DevelopmentNotes|DevelopmentNotes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Proprietary Notice==&lt;br /&gt;
This document contains proprietary information of Gibbs and Associates and is to be used only pursuant to and in conjunction with the license granted to the licensee with respect to the accompanying Gibbs and Associates licensed software. Except as expressly permitted in the license, no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, magnetic, optical, chemical, manual or otherwise, without the prior expressed written permission from Gibbs and Associates or a duly authorized representative thereof.&lt;br /&gt;
&lt;br /&gt;
It is strongly advised that users carefully review the license in order to understand the rights and obligations related to this licensed software and the accompanying documentation.&lt;br /&gt;
&lt;br /&gt;
Use of the computer software and the user documentation has been provided pursuant to a Gibbs and Associates licensing agreement.  &lt;br /&gt;
&lt;br /&gt;
© 2008 Gibbs and Associates. All rights reserved. The Gibbs logo, GibbsCAM, GibbsCAM logo, CAM von Gibbs, Virtual Gibbs, Gibbs SFP, SolidSurfacer, MTM and “Powerfully Simple. Simply Powerful.” are either trademark(s) or registered trademark(s) of Gibbs and Associates in the United States and/or other countries.  Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.  All other brand or product names are trademarks or registered trademarks of their respective owners.&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7196</id>
		<title>Okuma Turn-Cut support</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7196"/>
		<updated>2019-10-03T00:40:13Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Okuma Turn-Cut support==&lt;br /&gt;
GibbsCAM v13 adds features to allow GibbsCAM to natively support Okuma&#039;s Turn-Cut feature. For our purposes in the post, Okuma Turn-Cut is simply a manufacturer-specific brand name for standard [[V13 Elliptical Turning]] with flat output. In essence, it allows a mill-only machine control to read 2D lathe toolpath, and the control will automatically adjust the orientation of a turning tool inserted into the mill&#039;s spindle to correctly cut the desired profile shape.&lt;br /&gt;
&lt;br /&gt;
Here is a demo video from Okuma: https://youtu.be/wyLN5e1XeKg&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
====General requirements====&lt;br /&gt;
* You must have a custom MDD with an interpolatable C axis for the tool. [[Image:ToolInterpC.png|none]]&lt;br /&gt;
* Your post must be bound to this custom MDD and must have Flat Eccentric Turning output enabled around the tool&#039;s C axis. [[Image:FlatEccentricAxis.png|none]]&lt;br /&gt;
* Your post needs to use the new WFO system, and needs to have WFOs turned on for Flat Lathe Turning. [[Image:FlatTurningWFO.png|none]]&lt;br /&gt;
&lt;br /&gt;
====Older (pre-.68 post) considerations====&lt;br /&gt;
* Your post needs to go through an EachFeat/NextFeat loop (generally using the toolPath sub) for [[FlatTurningOp]]s. In a .26-format mill post, check the opGuts sub if and make sure a turning op will have a way to get to toolPath. In a .62-format post, you should follow the instructions from [[Adding Broaching Support to a .62 post]] to make sure this case is handled.&lt;br /&gt;
&lt;br /&gt;
===New code to handle Turn-Cut===&lt;br /&gt;
Add the following 2 subs to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;enableOkumaTurnCut:&lt;br /&gt;
	IF EccentricTurningOp? AND FlatTurningOp?&lt;br /&gt;
		SetOutputMode(&#039;TurnCut&#039;)&lt;br /&gt;
		SeqLabC &#039; M510&#039; EOL { Collision Avoidance Off - Incompatible with TurnCut }&lt;br /&gt;
		SeqLabC &#039; G149&#039; &#039; E0&#039; EOL		{Enable turn-cut, E word is tool offset in C}&lt;br /&gt;
		SeqLabC FeedRateMode &#039; F&#039; Output(&#039;F&#039;, FeedEntry#) EOL&lt;br /&gt;
		SeqLabC Plane2 EOL&lt;br /&gt;
		SeqLabC &#039; X0. Y0. &#039; EOL&lt;br /&gt;
		SeqLabC &#039;G189 X1. HB&#039; EOL&lt;br /&gt;
		SeqLabC&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039; G165&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on forwards}&lt;br /&gt;
		ELSE&lt;br /&gt;
			&#039; G166&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on reverse}&lt;br /&gt;
		END&lt;br /&gt;
		OutputValueAsAxis(&#039;Y&#039;, StartPosY#)&lt;br /&gt;
		{AxisLabel(&#039;Z&#039;) OutputValueAsAxis(&#039;Z&#039;, EPZ#)}&lt;br /&gt;
		&#039; S&#039; Output(&#039;S&#039;, VirtualSpindleRPM#) EOL&lt;br /&gt;
		SetFlag(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
cancelOkumaTurnCut:&lt;br /&gt;
	IF Flag?(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SeqLabC &#039; G164&#039; EOL	{Stop &amp;quot;virtual spindle&amp;quot;}&lt;br /&gt;
		SeqLabC &#039; G188&#039; EOL&lt;br /&gt;
		SeqLabC &#039; G148&#039; EOL 	{Disable turn-cut}&lt;br /&gt;
		ResetMoveType&lt;br /&gt;
		SetFlagF(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SetOutputMode(&#039;OnPart&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need to call enableOkumaTurnCut during the approach loop on [[OpStartFeat]].&lt;br /&gt;
&lt;br /&gt;
You will need to call cancelOkumaTurnCut during the retract loop on [[OpEndFeat]].&lt;br /&gt;
&lt;br /&gt;
===GibbsCAM Programming Considerations===&lt;br /&gt;
Okuma Turn-Cut expects the operation to be programmed in a CS with the center point in the center of the turned shape, and expects the tool to move to X0Y0 in that WFO before engaging the Turn-Cut feature. To ensure that this move is shown in Machine Sim, the user will need to enable the Okuma Turn-Cut plug-in, [[Image:OkumaTurnCutPluginManager.png|none]] which will enable the Okuma Turn-Cut Op Modifier. This will allow a user to add this X0Y0 move to an operation. [[Image:OkumaTurnCutOpModifier.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:ToolInterpC.png&amp;diff=7195</id>
		<title>File:ToolInterpC.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:ToolInterpC.png&amp;diff=7195"/>
		<updated>2019-10-03T00:39:34Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:OkumaTurnCutPluginManager.png&amp;diff=7194</id>
		<title>File:OkumaTurnCutPluginManager.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:OkumaTurnCutPluginManager.png&amp;diff=7194"/>
		<updated>2019-10-03T00:38:46Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:OkumaTurnCutOpModifier.png&amp;diff=7193</id>
		<title>File:OkumaTurnCutOpModifier.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:OkumaTurnCutOpModifier.png&amp;diff=7193"/>
		<updated>2019-10-03T00:38:11Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7192</id>
		<title>Okuma Turn-Cut support</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7192"/>
		<updated>2019-10-03T00:37:58Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Okuma Turn-Cut support==&lt;br /&gt;
GibbsCAM v13 adds features to allow GibbsCAM to natively support Okuma&#039;s Turn-Cut feature. For our purposes in the post, Okuma Turn-Cut is simply a manufacturer-specific brand name for standard [[V13 Elliptical Turning]] with flat output. In essence, it allows a mill-only machine control to read 2D lathe toolpath, and the control will automatically adjust the orientation of a turning tool inserted into the mill&#039;s spindle to correctly cut the desired profile shape.&lt;br /&gt;
&lt;br /&gt;
Here is a demo video from Okuma: https://youtu.be/wyLN5e1XeKg&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
====General requirements====&lt;br /&gt;
* You must have a custom MDD with an interpolatable C axis for the tool.&lt;br /&gt;
* Your post must be bound to this custom MDD and must have Flat Eccentric Turning output enabled around the tool&#039;s C axis. [[Image:FlatEccentricAxis.png|none]]&lt;br /&gt;
* Your post needs to use the new WFO system, and needs to have WFOs turned on for Flat Lathe Turning. [[Image:FlatTurningWFO.png|none]]&lt;br /&gt;
&lt;br /&gt;
====Older (pre-.68 post) considerations====&lt;br /&gt;
* Your post needs to go through an EachFeat/NextFeat loop (generally using the toolPath sub) for [[FlatTurningOp]]s. In a .26-format mill post, check the opGuts sub if and make sure a turning op will have a way to get to toolPath. In a .62-format post, you should follow the instructions from [[Adding Broaching Support to a .62 post]] to make sure this case is handled.&lt;br /&gt;
&lt;br /&gt;
===New code to handle Turn-Cut===&lt;br /&gt;
Add the following 2 subs to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;enableOkumaTurnCut:&lt;br /&gt;
	IF EccentricTurningOp? AND FlatTurningOp?&lt;br /&gt;
		SetOutputMode(&#039;TurnCut&#039;)&lt;br /&gt;
		SeqLabC &#039; M510&#039; EOL { Collision Avoidance Off - Incompatible with TurnCut }&lt;br /&gt;
		SeqLabC &#039; G149&#039; &#039; E0&#039; EOL		{Enable turn-cut, E word is tool offset in C}&lt;br /&gt;
		SeqLabC FeedRateMode &#039; F&#039; Output(&#039;F&#039;, FeedEntry#) EOL&lt;br /&gt;
		SeqLabC Plane2 EOL&lt;br /&gt;
		SeqLabC &#039; X0. Y0. &#039; EOL&lt;br /&gt;
		SeqLabC &#039;G189 X1. HB&#039; EOL&lt;br /&gt;
		SeqLabC&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039; G165&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on forwards}&lt;br /&gt;
		ELSE&lt;br /&gt;
			&#039; G166&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on reverse}&lt;br /&gt;
		END&lt;br /&gt;
		OutputValueAsAxis(&#039;Y&#039;, StartPosY#)&lt;br /&gt;
		{AxisLabel(&#039;Z&#039;) OutputValueAsAxis(&#039;Z&#039;, EPZ#)}&lt;br /&gt;
		&#039; S&#039; Output(&#039;S&#039;, VirtualSpindleRPM#) EOL&lt;br /&gt;
		SetFlag(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
cancelOkumaTurnCut:&lt;br /&gt;
	IF Flag?(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SeqLabC &#039; G164&#039; EOL	{Stop &amp;quot;virtual spindle&amp;quot;}&lt;br /&gt;
		SeqLabC &#039; G188&#039; EOL&lt;br /&gt;
		SeqLabC &#039; G148&#039; EOL 	{Disable turn-cut}&lt;br /&gt;
		ResetMoveType&lt;br /&gt;
		SetFlagF(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SetOutputMode(&#039;OnPart&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need to call enableOkumaTurnCut during the approach loop on [[OpStartFeat]].&lt;br /&gt;
&lt;br /&gt;
You will need to call cancelOkumaTurnCut during the retract loop on [[OpEndFeat]].&lt;br /&gt;
&lt;br /&gt;
===GibbsCAM Programming Considerations===&lt;br /&gt;
Okuma Turn-Cut expects the operation to be programmed in a CS with the center point in the center of the turned shape, and expects the tool to move to X0Y0 in that WFO before engaging the Turn-Cut feature. To ensure that this move is shown in Machine Sim, the user will need to enable the Okuma Turn-Cut plug-in, which will enable the Okuma Turn-Cut Op Modifier. This will allow a user to add this X0Y0 move to an operation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:FlatTurningWFO.png&amp;diff=7191</id>
		<title>File:FlatTurningWFO.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:FlatTurningWFO.png&amp;diff=7191"/>
		<updated>2019-10-03T00:36:56Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:FlatEccentricAxis.png&amp;diff=7190</id>
		<title>File:FlatEccentricAxis.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:FlatEccentricAxis.png&amp;diff=7190"/>
		<updated>2019-10-03T00:35:49Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7189</id>
		<title>Okuma Turn-Cut support</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Okuma_Turn-Cut_support&amp;diff=7189"/>
		<updated>2019-10-03T00:24:20Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;==Okuma Turn-Cut support== GibbsCAM v13 adds features to allow GibbsCAM to natively support Okuma&amp;#039;s Turn-Cut feature. For our purposes in the post, Okuma Turn-Cut is simply a ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Okuma Turn-Cut support==&lt;br /&gt;
GibbsCAM v13 adds features to allow GibbsCAM to natively support Okuma&#039;s Turn-Cut feature. For our purposes in the post, Okuma Turn-Cut is simply a manufacturer-specific brand name for standard [[V13 Elliptical Turning]] with flat output. In essence, it allows a mill-only machine control to read 2D lathe toolpath, and the control will automatically adjust the orientation of a turning tool inserted into the mill&#039;s spindle to correctly cut the desired profile shape.&lt;br /&gt;
&lt;br /&gt;
Here is a demo video from Okuma: https://youtu.be/wyLN5e1XeKg&lt;br /&gt;
&lt;br /&gt;
===Prerequisites===&lt;br /&gt;
====General requirements====&lt;br /&gt;
* You must have a custom MDD with an interpolatable C axis for the tool.&lt;br /&gt;
* Your post must be bound to this custom MDD and must have Flat Eccentric Turning output enabled around the tool&#039;s C axis.&lt;br /&gt;
&lt;br /&gt;
====Older (pre-.68 post) considerations====&lt;br /&gt;
* Your post needs to use the new WFO system, and needs to have WFOs turned on for Flat Lathe Turning.&lt;br /&gt;
* Your post needs to go through an EachFeat/NextFeat loop (generally using the toolPath sub) for [[FlatTurningOp]]s. In a .26-format mill post, check the opGuts sub if and make sure a turning op will have a way to get to toolPath. In a .62-format post, you should follow the instructions from [[Adding Broaching Support to a .62 post]] to make sure this case is handled.&lt;br /&gt;
&lt;br /&gt;
===New code to handle Turn-Cut===&lt;br /&gt;
Add the following 2 subs to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;enableOkumaTurnCut:&lt;br /&gt;
	IF EccentricTurningOp? AND FlatTurningOp?&lt;br /&gt;
		SetOutputMode(&#039;TurnCut&#039;)&lt;br /&gt;
		SeqLabC &#039; M510&#039; EOL { Collision Avoidance Off - Incompatible with TurnCut }&lt;br /&gt;
		SeqLabC &#039; G149&#039; &#039; E0&#039; EOL		{Enable turn-cut, E word is tool offset in C}&lt;br /&gt;
		SeqLabC FeedRateMode &#039; F&#039; Output(&#039;F&#039;, FeedEntry#) EOL&lt;br /&gt;
		SeqLabC Plane2 EOL&lt;br /&gt;
		SeqLabC &#039; X0. Y0. &#039; EOL&lt;br /&gt;
		SeqLabC &#039;G189 X1. HB&#039; EOL&lt;br /&gt;
		SeqLabC&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039; G165&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on forwards}&lt;br /&gt;
		ELSE&lt;br /&gt;
			&#039; G166&#039;				{Turn &amp;quot;virtual spindle&amp;quot; on reverse}&lt;br /&gt;
		END&lt;br /&gt;
		OutputValueAsAxis(&#039;Y&#039;, StartPosY#)&lt;br /&gt;
		{AxisLabel(&#039;Z&#039;) OutputValueAsAxis(&#039;Z&#039;, EPZ#)}&lt;br /&gt;
		&#039; S&#039; Output(&#039;S&#039;, VirtualSpindleRPM#) EOL&lt;br /&gt;
		SetFlag(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
cancelOkumaTurnCut:&lt;br /&gt;
	IF Flag?(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SeqLabC &#039; G164&#039; EOL	{Stop &amp;quot;virtual spindle&amp;quot;}&lt;br /&gt;
		SeqLabC &#039; G188&#039; EOL&lt;br /&gt;
		SeqLabC &#039; G148&#039; EOL 	{Disable turn-cut}&lt;br /&gt;
		ResetMoveType&lt;br /&gt;
		SetFlagF(&#039;TurnCutEnabled&#039;)&lt;br /&gt;
		SetOutputMode(&#039;OnPart&#039;)&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need to call enableOkumaTurnCut during the approach loop on [[OpStartFeat]].&lt;br /&gt;
&lt;br /&gt;
You will need to call cancelOkumaTurnCut during the retract loop on [[OpEndFeat]].&lt;br /&gt;
&lt;br /&gt;
===GibbsCAM Programming Considerations===&lt;br /&gt;
Okuma Turn-Cut expects &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7185</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7185"/>
		<updated>2019-09-18T23:44:20Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==GibbsCAM v13 Large Angle Options==&lt;br /&gt;
GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options. This feature was added with the intention of addressing expanded turning ops, which might wind up a rotary axis beyond its limits, but has other applications as well.&lt;br /&gt;
[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Unwind at Op Start===&lt;br /&gt;
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.&lt;br /&gt;
&lt;br /&gt;
===Use Presets===&lt;br /&gt;
This selection directs the Prog Iterator to add preset events to the toolpath at the places specified by the check boxes. This requires some code to handle. The recommended method is to create a sub to handle this output, as shown:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tpAxisPreset:&lt;br /&gt;
	EachPresetAxis&lt;br /&gt;
		SeqLabC PresetAxis(&#039;ThisAxis&#039;) EOL&lt;br /&gt;
	NextPresetAxis&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]](&#039;THIS&#039;) will output the Preset code from the Form, then the axis label and lowest possible angle of the axis for the current axis in the loop.&lt;br /&gt;
====At Op Start====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Approach, near the OpStart event, to Preset (G50C____) the angle back to the lowest possible angle. So C1830 would be preset to C30.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the approach loop. In a .68-style post, add the check to the approachDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====After expanded turning====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Retract loop, after an expanded turning op only.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the retract loop. In a .68-style post, add the check to the retractDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====On part at about _____====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Toolpath loop, any time a rotary axis gets &amp;quot;close&amp;quot; to the angle value entered.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Close&amp;quot; typically means within 180 degrees, but this is not guaranteed, so you should be conservative with this value compared to the actual maximum angle that the machine control is capable of.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the toolpath loop. In a .68-style post, add the check to the toolPathDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7184</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7184"/>
		<updated>2019-09-18T23:43:46Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==GibbsCAM v13 Large Angle Options==&lt;br /&gt;
GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options. This feature was added with the intention of addressing expanded turning ops, which might wind up a rotary axis beyond its limits, but has other applications as well.&lt;br /&gt;
[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Unwind at Op Start===&lt;br /&gt;
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.&lt;br /&gt;
&lt;br /&gt;
===Use Presets===&lt;br /&gt;
This selection directs the Prog Iterator to add preset events to the toolpath at the places specified by the check boxes. This requires some code to handle. The recommended method is to create a sub to handle this output, as shown:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tpAxisPreset:&lt;br /&gt;
	EachPresetAxis&lt;br /&gt;
		SeqLabC PresetAxis(&#039;ThisAxis&#039;) EOL&lt;br /&gt;
	NextPresetAxis&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]](&#039;THIS&#039;) will output the Preset code from the Form, then the axis label and lowest possible angle of the axis for the current axis in the loop.&lt;br /&gt;
====At Op Start====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Approach, near the OpStart event, to Preset (G50C____) the angle back to the lowest possible angle. So C1830 would be preset to C30.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the approach loop. In a .68-style post, add the check to the approachDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====After expanded turning====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Retract loop, after an expanded turning op only.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the retract loop. In a .68-style post, add the check to the retractDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====On part at about _____====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Toolpath loop, any time a rotary axis gets &amp;quot;close&amp;quot; to the angle value entered.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Close&amp;quot; typically means within 180 degrees, but this is not guaranteed, so you should be conservative with this value compared to the actual maximum angle that the machine control is capable of.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the toolpath loop. In a .68-style post, add the check to the toolPathDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7183</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7183"/>
		<updated>2019-09-18T23:43:15Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options. This feature was added with the intention of addressing expanded turning ops, which might wind up a rotary axis beyond its limits, but has other applications as well.&lt;br /&gt;
[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Unwind at Op Start===&lt;br /&gt;
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.&lt;br /&gt;
&lt;br /&gt;
===Use Presets===&lt;br /&gt;
This selection directs the Prog Iterator to add preset events to the toolpath at the places specified by the check boxes. This requires some code to handle. The recommended method is to create a sub to handle this output, as shown:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tpAxisPreset:&lt;br /&gt;
	EachPresetAxis&lt;br /&gt;
		SeqLabC PresetAxis(&#039;ThisAxis&#039;) EOL&lt;br /&gt;
	NextPresetAxis&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]](&#039;THIS&#039;) will output the Preset code from the Form, then the axis label and lowest possible angle of the axis for the current axis in the loop.&lt;br /&gt;
====At Op Start====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Approach, near the OpStart event, to Preset (G50C____) the angle back to the lowest possible angle. So C1830 would be preset to C30.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the approach loop. In a .68-style post, add the check to the approachDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====After expanded turning====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Retract loop, after an expanded turning op only.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the retract loop. In a .68-style post, add the check to the retractDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====On part at about _____====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep|AxisPresetStep?]] event to the Toolpath loop, any time a rotary axis gets &amp;quot;close&amp;quot; to the angle value entered.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Close&amp;quot; typically means within 180 degrees, but this is not guaranteed, so you should be conservative with this value compared to the actual maximum angle that the machine control is capable of.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep|AxisPresetStep?]] events in the toolpath loop. In a .68-style post, add the check to the toolPathDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7182</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7182"/>
		<updated>2019-09-18T23:41:59Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options. This feature was added with the intention of addressing expanded turning ops, which might wind up a rotary axis beyond its limits, but has other applications as well.&lt;br /&gt;
[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Unwind at Op Start===&lt;br /&gt;
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.&lt;br /&gt;
&lt;br /&gt;
===Use Presets===&lt;br /&gt;
This selection directs the Prog Iterator to add preset events to the toolpath at the places specified by the check boxes. This requires some code to handle. The recommended method is to create a sub to handle this output, as shown:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tpAxisPreset:&lt;br /&gt;
	EachPresetAxis&lt;br /&gt;
		SeqLabC PresetAxis(&#039;ThisAxis&#039;) EOL&lt;br /&gt;
	NextPresetAxis&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]](&#039;THIS&#039;) will output the Preset code from the Form, then the axis label and lowest possible angle of the axis for the current axis in the loop.&lt;br /&gt;
====At Op Start====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Approach, near the OpStart event, to Preset (G50C____) the angle back to the lowest possible angle. So C1830 would be preset to C30.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep?]] events in the approach loop. In a .68-style post, add the check to the approachDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====After expanded turning====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Retract loop, after an expanded turning op only.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep?]] events in the retract loop. In a .68-style post, add the check to the retractDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====On part at about _____====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Toolpath loop, any time a rotary axis gets &amp;quot;close&amp;quot; to the angle value entered.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Close&amp;quot; typically means within 180 degrees, but this is not guaranteed, so you should be conservative with this value compared to the actual maximum angle that the machine control is capable of.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep?]] events in the toolpath loop. In a .68-style post, add the check to the toolPathDoMove: sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7181</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7181"/>
		<updated>2019-09-18T23:38:23Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options. This feature was added with the intention of addressing expanded turning ops, which might wind up a rotary axis beyond its limits, but has other applications as well.&lt;br /&gt;
[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Unwind at Op Start===&lt;br /&gt;
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.&lt;br /&gt;
&lt;br /&gt;
===Use Presets===&lt;br /&gt;
This selection directs the Prog Iterator to add preset events to the toolpath at the places specified by the check boxes. This requires some code to handle. The recommended method is to create a sub to handle this output, as shown:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tpAxisPreset:&lt;br /&gt;
	EachPresetAxis&lt;br /&gt;
		SeqLabC PresetAxis(&#039;ThisAxis&#039;) EOL&lt;br /&gt;
	NextPresetAxis&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]](&#039;THIS&#039;) will output the Preset code from the Form, then the axis label and lowest possible angle of the axis for the current axis in the loop.&lt;br /&gt;
====At Op Start====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Approach, near the OpStart event, to Preset (G50C____) the angle back to the lowest possible angle. So C1830 would be preset to C30.&lt;br /&gt;
&lt;br /&gt;
If you choose this option, you will need to check for [[AxisPresetStep?]] events in the approach loop. In a .68-style post, add the check to the approachDoMove sub as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF AxisPresetStep?&lt;br /&gt;
	tpAxisPreset&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
====After expanded turning====&lt;br /&gt;
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Retract loop, after&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7180</id>
		<title>V13 Rotary unwind/presetting capability (Large Angle Options)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability_(Large_Angle_Options)&amp;diff=7180"/>
		<updated>2019-09-18T23:25:43Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;none GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options.&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability&amp;diff=7179</id>
		<title>V13 Rotary unwind/presetting capability</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Rotary_unwind/presetting_capability&amp;diff=7179"/>
		<updated>2019-09-18T23:25:02Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;none GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:LargeAngleOptionsPlus.png|none]]&lt;br /&gt;
GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options.&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:LargeAngleOptionsPlus.png&amp;diff=7178</id>
		<title>File:LargeAngleOptionsPlus.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:LargeAngleOptionsPlus.png&amp;diff=7178"/>
		<updated>2019-09-18T23:23:45Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7175</id>
		<title>Adding Expanded Turning to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7175"/>
		<updated>2019-08-29T20:43:25Z</updated>

		<summary type="html">&lt;p&gt;Danm: Updates&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Replace spindle control subs==&lt;br /&gt;
First, you should complete the steps in [[Adding Broaching Support to a .62 post]].&lt;br /&gt;
===List of subs to replace===&lt;br /&gt;
#doInverseSpinOn&lt;br /&gt;
#doSpeed&lt;br /&gt;
#doCalcRPM1&lt;br /&gt;
#doCalcRPM2&lt;br /&gt;
#doSpinOn&lt;br /&gt;
#ckSpinOn&lt;br /&gt;
#doOpSpinOff&lt;br /&gt;
#doSpinOff&lt;br /&gt;
#ckSpindleDirection&lt;br /&gt;
#ckTapSpindleDirection&lt;br /&gt;
#ckWorkPieceSpindle&lt;br /&gt;
#doSpeedC&lt;br /&gt;
#millSpindleOn&lt;br /&gt;
===New code for these subs===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doInverseSpinOn:&lt;br /&gt;
	IF TurningOp?&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M4&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M3&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	ELSE {implies MillingOp}&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M54&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M53&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeed:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpeed&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM1:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM1#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM2:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM2#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpinOn:&lt;br /&gt;
	IF (LASTOperation OpIsToolOriented? AND NOT OpIsToolOriented?) OR&lt;br /&gt;
	(LASTOperation OpIsPartOriented? AND NOT OpIsPartOriented?)&lt;br /&gt;
		doSpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doOpSpinOff: {current Op SpinOff}&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOff: {previous Op SpinOff}&lt;br /&gt;
	IF NOT LASTOperation OpIsToolOriented?&lt;br /&gt;
		LASTOperation ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpindleDirection:&lt;br /&gt;
	IF PartSpindleDirChanged? OR ToolSpindleDirChanged?&lt;br /&gt;
		SeqLabC doSpinOff EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckTapSpindleDirection:&lt;br /&gt;
	IF ToolBAxisAvail?&lt;br /&gt;
		IF Milling? AND ABCToolPath?	{if 5-axis Milling or Drilling}&lt;br /&gt;
			IF (PartSpindleDirChanged? OR ToolSpindleDirChanged?) AND Tap?&lt;br /&gt;
				SeqLabC doOpSpinOff EOL&lt;br /&gt;
				SeqLabC doSpeed doSpinOn EOL&lt;br /&gt;
			END&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckWorkPieceSpindle:	{Part Spindle Off before MillingOp}&lt;br /&gt;
	IF OpIsPartOriented? AND NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeedC:&lt;br /&gt;
	IF (TurningOp? AND NOT OpIsPartOriented?) AND (PartSpindleRPMChanged? OR PartSpindleSFPMChanged?)&lt;br /&gt;
		doSpeed&lt;br /&gt;
	ELSEIF (NOT OpIsToolOriented?) AND ToolSpindleRPMChanged? {implies MillingOp}&lt;br /&gt;
		doSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
millSpindleOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed doSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
==In the Form:==&lt;br /&gt;
# Form-&amp;gt;Program Options-&amp;gt;Options tab&lt;br /&gt;
#: [[Image:62UpgradePostOptions.png|none]]&lt;br /&gt;
#* Check &amp;quot;Broaching&amp;quot;&lt;br /&gt;
#* Check &amp;quot;Expanded Turning&amp;quot;&lt;br /&gt;
#* Leave &amp;quot;Flat Eccentric Turning&amp;quot; set to &amp;quot;No Support.&amp;quot;&lt;br /&gt;
# Form-&amp;gt;Toolgroups and Part Stations-&amp;gt;Spindle Options tab&lt;br /&gt;
#: [[Image:UnconditionalCheckbox.png|none]]&lt;br /&gt;
#* &amp;quot;Unconditional Spindle Commands&amp;quot; must be turned on&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=OpIsToolOriented%3F&amp;diff=7174</id>
		<title>OpIsToolOriented?</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=OpIsToolOriented%3F&amp;diff=7174"/>
		<updated>2019-08-29T20:32:28Z</updated>

		<summary type="html">&lt;p&gt;Danm: Redirected page to OpIsToolOriented&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[OpIsToolOriented]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=OpIsPartOriented%3F&amp;diff=7173</id>
		<title>OpIsPartOriented?</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=OpIsPartOriented%3F&amp;diff=7173"/>
		<updated>2019-08-29T20:32:17Z</updated>

		<summary type="html">&lt;p&gt;Danm: Redirected page to OpIsPartOriented&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[OpIsPartOriented]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7172</id>
		<title>Adding Broaching Support to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Broaching_Support_to_a_.62_post&amp;diff=7172"/>
		<updated>2019-08-29T20:29:30Z</updated>

		<summary type="html">&lt;p&gt;Danm: Add SpeedRPM# section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Turn on Broaching in the Form==&lt;br /&gt;
[[Image:ProgramOptionsBroaching.png|none]]&lt;br /&gt;
==Suppress G97 output in Broaching ops==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
constantRPM:&lt;br /&gt;
	IF IsAnyTurningOp? AND NOT OpIsPartOriented?&lt;br /&gt;
		&#039;G97&#039;&lt;br /&gt;
	END&lt;br /&gt;
RETURN&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Don&#039;t use [[SpeedRPM#]] at all in Broaching Ops==&lt;br /&gt;
If your SameTool subs use logic similar to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
You need to add NOT [[OpIsToolOriented?]] / NOT [[OpIsPartOriented?]] before this, as using [[SpeedRPM#]] in an IF statement will cause GibbsCAM to throw an exception. For example, change from:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSE&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
To:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF holdPartStationCodes?&lt;br /&gt;
	{ * No Output of Spindle On Here * }&lt;br /&gt;
ELSEIF NOT OpIsToolOriented?&lt;br /&gt;
	IF NotEqual? SpeedRPM# LASTOperation SpeedRPM#&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed ckSpinOn EOL&lt;br /&gt;
	ELSE&lt;br /&gt;
		SeqLabC ckSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
I advise using the Compost4 search function to search for the [[SpeedRPM#]], [[SpeedSFPM#]], and [[SpeedSUPM#]] in your post, and make sure that you cannot reach this logic in a Broaching op.&lt;br /&gt;
==Always call toolPath if no other logic returns TRUE==&lt;br /&gt;
===In millCore:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE&lt;br /&gt;
	IF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSEIF Drilling?&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
		ckDrillClampOff&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ckDrillClampOff&lt;br /&gt;
ELSE&lt;br /&gt;
	toolPath&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Output C-only moves for Positioning and Rotations==&lt;br /&gt;
===In tpLineFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC call:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC FeedC doMoveXC doMoveYC doMoveZC doMoveCC doFeedRateC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===In tpRapidFeat:===&lt;br /&gt;
Change:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Add CMove? and doMoveCC:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
ELSE {implies Position}&lt;br /&gt;
	IF XMove? OR YMove? OR ZMove? OR CMove?&lt;br /&gt;
		SeqLabC doAbsOrInc ckCRC RapidC doMoveXC doMoveYC doMoveZC doMoveCC doSpeedC doToolOffsetC EOL&lt;br /&gt;
	END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7166</id>
		<title>Adding Expanded Turning to a .62 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Expanded_Turning_to_a_.62_post&amp;diff=7166"/>
		<updated>2019-08-02T23:36:22Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Replace spindle control subs==&lt;br /&gt;
===List of subs to replace===&lt;br /&gt;
#doInverseSpinOn&lt;br /&gt;
#doSpeed&lt;br /&gt;
#doCalcRPM1&lt;br /&gt;
#doCalcRPM2&lt;br /&gt;
#doSpinOn&lt;br /&gt;
#ckSpinOn&lt;br /&gt;
#doOpSpinOff&lt;br /&gt;
#doSpinOff&lt;br /&gt;
#ckSpindleDirection&lt;br /&gt;
#ckTapSpindleDirection&lt;br /&gt;
#ckWorkPieceSpindle&lt;br /&gt;
#doSpeedC&lt;br /&gt;
#millSpindleOn&lt;br /&gt;
===New code for these subs===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doInverseSpinOn:&lt;br /&gt;
	IF TurningOp?&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M4&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M3&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	ELSE {implies MillingOp}&lt;br /&gt;
		IF SpindleForward?&lt;br /&gt;
			&#039;M54&#039; {Reverse}&lt;br /&gt;
		ELSEIF SpindleReverse?&lt;br /&gt;
			&#039;M53&#039; {Forward}&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeed:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpeed&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM1:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM1#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCalcRPM2:&lt;br /&gt;
	&#039; S&#039; Output(&#039;S&#039;, CalcRPM2#)&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpinOn:&lt;br /&gt;
	IF (LASTOperation OpIsToolOriented? AND NOT OpIsToolOriented?) OR&lt;br /&gt;
	(LASTOperation OpIsPartOriented? AND NOT OpIsPartOriented?)&lt;br /&gt;
		doSpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doOpSpinOff: {current Op SpinOff}&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT OpIsPartOriented?&lt;br /&gt;
		PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpinOff: {previous Op SpinOff}&lt;br /&gt;
	IF NOT LASTOperation OpIsToolOriented?&lt;br /&gt;
		LASTOperation ToolSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
&lt;br /&gt;
	IF NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckSpindleDirection:&lt;br /&gt;
	IF PartSpindleDirChanged? OR ToolSpindleDirChanged?&lt;br /&gt;
		SeqLabC doSpinOff EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckTapSpindleDirection:&lt;br /&gt;
	IF ToolBAxisAvail?&lt;br /&gt;
		IF Milling? AND ABCToolPath?	{if 5-axis Milling or Drilling}&lt;br /&gt;
			IF (PartSpindleDirChanged? OR ToolSpindleDirChanged?) AND Tap?&lt;br /&gt;
				SeqLabC doOpSpinOff EOL&lt;br /&gt;
				SeqLabC doSpeed doSpinOn EOL&lt;br /&gt;
			END&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
ckWorkPieceSpindle:	{Part Spindle Off before MillingOp}&lt;br /&gt;
	IF OpIsPartOriented? AND NOT LASTOperation OpIsPartOriented?&lt;br /&gt;
		LASTOperation PartSpindleOff&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doSpeedC:&lt;br /&gt;
	IF (TurningOp? AND NOT OpIsPartOriented?) AND (PartSpindleRPMChanged? OR PartSpindleSFPMChanged?)&lt;br /&gt;
		doSpeed&lt;br /&gt;
	ELSEIF (NOT OpIsToolOriented?) AND ToolSpindleRPMChanged? {implies MillingOp}&lt;br /&gt;
		doSpeed&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
millSpindleOn:&lt;br /&gt;
	IF NOT OpIsToolOriented?&lt;br /&gt;
		SeqLabC CSSOff constantRPM doSpeed doSpinOn EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modify the following subs:==&lt;br /&gt;
# In tpRapidFeat:&lt;br /&gt;
#* Add doMoveCC to ELSE {implies Position} section&lt;br /&gt;
# In tpLineFeat:&lt;br /&gt;
#* Add doMoveCC to ELSE {implies Position} section&lt;br /&gt;
# In doQuadrantArc:&lt;br /&gt;
#* Add doMoveCC to ELSE { Non-Interpolated } -&amp;gt; ELSE section&lt;br /&gt;
# In millCore:&lt;br /&gt;
#* Change final&lt;br /&gt;
#*::ELSE&lt;br /&gt;
#*:::IF Drilling?&lt;br /&gt;
#*:to:&lt;br /&gt;
#*::ELSEIF Drilling?&lt;br /&gt;
#* Remove extra END that you now have.&lt;br /&gt;
#* And new final ELSE at the bottom of the sub:&lt;br /&gt;
#*::ELSE&lt;br /&gt;
#*:::toolpath&lt;br /&gt;
			&lt;br /&gt;
==In the Form:==&lt;br /&gt;
# Form-&amp;gt;Program Options-&amp;gt;Options tab&lt;br /&gt;
#: [[Image:62UpgradePostOptions.png|none]]&lt;br /&gt;
#* Check &amp;quot;Broaching&amp;quot;&lt;br /&gt;
#* Check &amp;quot;Expanded Turning&amp;quot;&lt;br /&gt;
#* Leave &amp;quot;Flat Eccentric Turning&amp;quot; set to &amp;quot;No Support.&amp;quot;&lt;br /&gt;
# Form-&amp;gt;Toolgroups and Part Stations-&amp;gt;Spindle Options tab&lt;br /&gt;
#: [[Image:UnconditionalCheckbox.png|none]]&lt;br /&gt;
#* &amp;quot;Unconditional Spindle Commands&amp;quot; must be turned on&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Handling_ALL_drill_cycle_output_with_DrillCycleParams&amp;diff=7165</id>
		<title>V13 Handling ALL drill cycle output with DrillCycleParams</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Handling_ALL_drill_cycle_output_with_DrillCycleParams&amp;diff=7165"/>
		<updated>2019-07-30T22:42:58Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
GibbsCAM v13 adds several options for drill cycle output that can make it very simple to handle ALL output needed for any drill cycle using only the [[DrillCycleParams]] command.&lt;br /&gt;
&lt;br /&gt;
[[Image:DrillCycleOptions.png|none‎]]&lt;br /&gt;
&lt;br /&gt;
==EOL and Seq/SeqLab==&lt;br /&gt;
If a given drill cycle needs to be across multiple lines, for example on a Heidenhain control, you can add EOL, Seq, SeqC, SeqLab, and SeqLabC to your drill cycle by adding the appropriate Parameters. These will be output automatically by [[DrillCycleParams]] in the order they are listed in the drill cycle, from top to bottom.&lt;br /&gt;
==Literals==&lt;br /&gt;
The Literal parameter allows you to enter a literal that will be output exactly by [[DrillCycleParams]].&lt;br /&gt;
==Custom subroutines==&lt;br /&gt;
If you need to use some custom logic for a given drill cycle parameter, you can have [[DrillCycleParams]] automatically call a subroutine of your choice by entering the name of the subroutine, without the :, into the Parameter field.&lt;br /&gt;
&lt;br /&gt;
===Custom subroutine example===&lt;br /&gt;
As an example, suppose I want to call the subroutine thisHoleDrillZDepth: to output the Z Depth of my drill cycle. I open the Drill Cycle dialog, find the appropriate drill cycle, and click the Add button. Then I type thisHoleDrillZDepthDialog into the dialog:&lt;br /&gt;
&lt;br /&gt;
[[Image:thisHoleDrillZDepthDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
And click OK. This adds a new Parameter to my current Drill Cycle called thisHoleDrillZDepth, which can be moved up and down using the arrows in the same way as any other parameter.&lt;br /&gt;
&lt;br /&gt;
[[Image:CustomSubDrillCycle.png|none]]&lt;br /&gt;
&lt;br /&gt;
Now thisHoleDrillZDepth: will be called every time [[DrillCycleParams]] is executed during a FIRO cycle.&lt;br /&gt;
&lt;br /&gt;
To make this a little more pleasing to look at in the Form, I can add a label for my custom sub, which will not be output but will show in the preview area:&lt;br /&gt;
&lt;br /&gt;
[[Image:CustomSubDrillCyclePreview.png|none]]&lt;br /&gt;
&lt;br /&gt;
===Other options===&lt;br /&gt;
You can also use a [[ReturnNum]] subroutine as a Parameter as long as this subroutine has the # at the end of its name. In this case, the Label you enter into the form will be output, and the default Format for this label will be used for the value Returned by your subroutine, which of course can be overridden by checking the Format checkbox.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Handling_ALL_drill_cycle_output_with_DrillCycleParams&amp;diff=7164</id>
		<title>V13 Handling ALL drill cycle output with DrillCycleParams</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Handling_ALL_drill_cycle_output_with_DrillCycleParams&amp;diff=7164"/>
		<updated>2019-07-30T22:37:21Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;==Introduction== GibbsCAM v13 adds several options for drill cycle output that can make it very simple to handle ALL output needed for any drill cycle using only the [[DrillCy...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
GibbsCAM v13 adds several options for drill cycle output that can make it very simple to handle ALL output needed for any drill cycle using only the [[DrillCycleParams]] command.&lt;br /&gt;
&lt;br /&gt;
[[Image:DrillCycleOptions.png|none‎]]&lt;br /&gt;
&lt;br /&gt;
==EOL and Seq/SeqLab==&lt;br /&gt;
If a given drill cycle needs to be across multiple lines, for example on a Heidenhain control, you can add EOL, Seq, SeqC, SeqLab, and SeqLabC to your drill cycle by adding the appropriate Parameters. These will be output automatically by [[DrillCycleParams]] in the order they are listed in the drill cycle, from top to bottom.&lt;br /&gt;
==Literals==&lt;br /&gt;
The Literal parameter allows you to enter a literal that will be output exactly by [[DrillCycleParams]].&lt;br /&gt;
==Custom subroutines==&lt;br /&gt;
If you need to use some custom logic for a given drill cycle parameter, you can have [[DrillCycleParams]] automatically call a subroutine of your choice by entering the name of the subroutine, without the :, into the Parameter field.&lt;br /&gt;
&lt;br /&gt;
===Custom subroutine example===&lt;br /&gt;
As an example, suppose I want to call the subroutine thisHoleDrillZDepth: to output the Z Depth of my drill cycle. I open the Drill Cycle dialog, find the appropriate drill cycle, and click the Add button. Then I type thisHoleDrillZDepthDialog into the dialog:&lt;br /&gt;
&lt;br /&gt;
[[Image:thisHoleDrillZDepthDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
And click OK. This adds a new Parameter to my current Drill Cycle called thisHoleDrillZDepth, which can be moved up and down using the arrows in the same way as any other parameter.&lt;br /&gt;
&lt;br /&gt;
[[Image:CustomSubDrillCycle.png|none]]&lt;br /&gt;
&lt;br /&gt;
Now thisHoleDrillZDepth: will be called every time [[DrillCycleParams]] is executed during a FIRO cycle.&lt;br /&gt;
&lt;br /&gt;
To make this a little more pleasing to look at in the Form, I can add a label for my custom sub, which will not be output but will show in the preview area:&lt;br /&gt;
&lt;br /&gt;
[[Image:CustomSubDrillCyclePreview.png|none]]&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:CustomSubDrillCyclePreview.png&amp;diff=7163</id>
		<title>File:CustomSubDrillCyclePreview.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:CustomSubDrillCyclePreview.png&amp;diff=7163"/>
		<updated>2019-07-30T22:36:05Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:CustomSubDrillCycle.png&amp;diff=7162</id>
		<title>File:CustomSubDrillCycle.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:CustomSubDrillCycle.png&amp;diff=7162"/>
		<updated>2019-07-30T22:30:32Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:ThisHoleDrillZDepthDialog.png&amp;diff=7161</id>
		<title>File:ThisHoleDrillZDepthDialog.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:ThisHoleDrillZDepthDialog.png&amp;diff=7161"/>
		<updated>2019-07-30T22:26:06Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:DrillCycleOptions.png&amp;diff=7160</id>
		<title>File:DrillCycleOptions.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:DrillCycleOptions.png&amp;diff=7160"/>
		<updated>2019-07-30T22:18:19Z</updated>

		<summary type="html">&lt;p&gt;Danm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7159</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Main_Page&amp;diff=7159"/>
		<updated>2019-07-30T22:14:32Z</updated>

		<summary type="html">&lt;p&gt;Danm: /* Quick Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==&#039;&#039;&#039;Welcome to ComPost Wiki!&#039;&#039;&#039;==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[What is ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[How do I use ComPost Wiki?]]&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[[About ComPost]] &lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|[mailto:compostwiki@gibbscam.com?subject=Feedback Feedback]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Quick Links==&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[v13 Handling ALL drill cycle output with DrillCycleParams]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Broaching support to a .68 post]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Broaching Support to a .62 post]]&lt;br /&gt;
* &#039;&#039;&#039;NEW&#039;&#039;&#039; [[Adding Expanded Turning to a .62 post]]&lt;br /&gt;
* [[V13 Elliptical Turning]]&lt;br /&gt;
* [[V13 Broaching]]&lt;br /&gt;
* [[V13 Spindle Control]]&lt;br /&gt;
* [[V13 Rough Chip Break]]&lt;br /&gt;
* [[V13 Advanced Approach and Retract]]&lt;br /&gt;
* [[3D CRC]]&lt;br /&gt;
* [[Post Unit Testing]]&lt;br /&gt;
* [[:Category:GibbsCAM_v11|GibbsCAM v11-Specific Articles]]&lt;br /&gt;
* [[Infix Math]]&lt;br /&gt;
* [[Numeric Formats]] for &#039;###.####&#039; and such...&lt;br /&gt;
* [[Compost4_Language_Changes|Compost4 Language Changes]]&lt;br /&gt;
* [[Common Terms]]&lt;br /&gt;
* [[:Category:Articles|Articles]]&lt;br /&gt;
* [[:Category:Dialog_Help|Dialog Help]]&lt;br /&gt;
* [[:Category:Applications|Compost Tools]] information (installation and usage)&lt;br /&gt;
* [[Keyword_List]] information.&lt;br /&gt;
* [[Post Debugger]]&lt;br /&gt;
* [[:Category:Versions|Versions]]&lt;br /&gt;
* [[Subversion|Post Subversion Repository]]&lt;br /&gt;
* [[Post Department Naming Conventions]]&lt;br /&gt;
&lt;br /&gt;
== Keyword Reference Categories ==&lt;br /&gt;
::{| cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Adaptive]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[ComPost Menus]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Logic|Logic]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Modifiers|Modifiers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Prog Subroutines|Prog Subroutines]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Output Control|Output Control]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Spindle|Spindle]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Comments|Comments]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Planes|Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Sequence Numbers|Sequence Numbers]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Work Fixtures|Work Fixtures]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Coolant|Coolant]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:The Tool|The Tool]]&lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operations|Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Clearance Planes|Clearance Planes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Positioning The Tool|Positioning the Tool]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Cutter Radius Compensation|Cutter Radius Compensation]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; | [[:Category:The Tool Path|The Tool Path]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Multiple Parts|Multiple Parts]]  &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Operation Repeats|Operation Repeats]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Drill Cycles|Drill Cycles]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Lathe Cycles|Lathe Cycles]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Rotary Mill|Rotary Mill]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:Mill Turn|Mill Turn]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Feed Rates|Feed Rates]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RotaryHead|Rotary Head]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:MTM|MTM]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[OpType|Utility Operations]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Utility Data|Utility Data]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[Glossary]] &lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:Deprecated Commands|Deprecated Commands]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |[[:Category:RemovedCommands|Removed Commands]]&lt;br /&gt;
|-&lt;br /&gt;
|[[:Category:DevelopmentNotes|DevelopmentNotes]] &lt;br /&gt;
|align=&amp;quot;right&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Proprietary Notice==&lt;br /&gt;
This document contains proprietary information of Gibbs and Associates and is to be used only pursuant to and in conjunction with the license granted to the licensee with respect to the accompanying Gibbs and Associates licensed software. Except as expressly permitted in the license, no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language or computer language, in any form or by any means, electronic, magnetic, optical, chemical, manual or otherwise, without the prior expressed written permission from Gibbs and Associates or a duly authorized representative thereof.&lt;br /&gt;
&lt;br /&gt;
It is strongly advised that users carefully review the license in order to understand the rights and obligations related to this licensed software and the accompanying documentation.&lt;br /&gt;
&lt;br /&gt;
Use of the computer software and the user documentation has been provided pursuant to a Gibbs and Associates licensing agreement.  &lt;br /&gt;
&lt;br /&gt;
© 2008 Gibbs and Associates. All rights reserved. The Gibbs logo, GibbsCAM, GibbsCAM logo, CAM von Gibbs, Virtual Gibbs, Gibbs SFP, SolidSurfacer, MTM and “Powerfully Simple. Simply Powerful.” are either trademark(s) or registered trademark(s) of Gibbs and Associates in the United States and/or other countries.  Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.  All other brand or product names are trademarks or registered trademarks of their respective owners.&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Adding_Broaching_support_to_a_.68_post&amp;diff=7158</id>
		<title>Adding Broaching support to a .68 post</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Adding_Broaching_support_to_a_.68_post&amp;diff=7158"/>
		<updated>2019-07-29T18:49:35Z</updated>

		<summary type="html">&lt;p&gt;Danm: Created page with &amp;quot;==Turn on Broaching in the Form== none ==Always call toolPath if no other logic returns TRUE== In doOpCore, change from:  &amp;lt;nowiki&amp;gt; IF Mil...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Turn on Broaching in the Form==&lt;br /&gt;
[[Image:ProgramOptionsBroaching.png|none]]&lt;br /&gt;
==Always call toolPath if no other logic returns TRUE==&lt;br /&gt;
In doOpCore, change from:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF MillingOp?&lt;br /&gt;
  millCore&lt;br /&gt;
ELSEIF TurningOp?&lt;br /&gt;
  turnCore&lt;br /&gt;
ELSEIF UtilityOp?&lt;br /&gt;
  utilCore&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
To:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
IF MillingOp?&lt;br /&gt;
  millCore&lt;br /&gt;
ELSEIF TurningOp?&lt;br /&gt;
  turnCore&lt;br /&gt;
ELSEIF UtilityOp?&lt;br /&gt;
  utilCore&lt;br /&gt;
ELSE&lt;br /&gt;
  toolPath&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Danm</name></author>
	</entry>
</feed>