V13 Elliptical Turning: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danm (talk | contribs)
mNo edit summary
Danm (talk | contribs)
Updates for v13.0.2
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:


GibbsCAM v13 adds support for turning operations that are not rotated around the centerline of the part.
GibbsCAM v13 adds support for turning operations that are not rotated around the centerline of the part.
===Elliptical Turning===
===Eccentric Turning===
Elliptical turning refers to an operation that, like a traditional lathe cycle, can be defined in only 2 axis. It differs from traditional turning in that the part does not spin around its centerline, but rather the centerline of the specific shape being cut.
Eccentric turning refers to an operation that, like a traditional lathe cycle, can be defined in only 2 axis. It differs from traditional turning in that the part does not spin around its centerline, but rather the centerline of the specific shape being cut.


In spite of the toolpath being able to be defined as flat, cutting this contour on the machine requires motion in at least 4 axis on the machine in order to cut.
In spite of the toolpath being able to be defined as flat, cutting this contour on the machine requires motion in at least 4 axis on the machine in order to cut.


====Elliptical turning on a lathe====
====Eccentric turning on a lathe====
A simple example is cutting the journals on a crankshaft on a 4-axis lathe. Note that the toolgroup is moving in X, Y, and Z axis in order to keep the tool parallel to the cut, and the part is rotating around its C axis.
A simple example is cutting the journals on a crankshaft on a 4-axis lathe. Note that the toolgroup is moving in X, Y, and Z axis in order to keep the tool parallel to the cut, and the part is rotating around its C axis.
[[Image:LatheEllipticalTurning.gif|none]]
[[Image:LatheEllipticalTurning.gif|none]]


====Elliptical turning on a mill====
====Eccentric turning on a mill====
A slightly more complicated example is done on a milling machine. This example relies upon synchronizing the rotation of the tool spindle with the XYZ motion of the toolgroup (while the part does not rotate) to create the same kind of relative motion as a lathe.
A slightly more complicated example is done on a milling machine. This example relies upon orienting the tool with the tool spindles' C axis, and using XYZ motion of the toolgroup (while the part does not rotate) to create the same kind of relative motion as a lathe.
[[Image:InterpolatedTurningv13.gif|none]]
[[Image:InterpolatedTurningv13.gif|none]]


===Eccentric Turning===
===Elliptical Turning===
Eccentric turning refers to a turning toolpath that cannot be simplified into a flat, 2-axis path. Cutting a path like this requires the tool to vary its distance from the centerline of the cut, making an "eccentric" shape when viewed from the end.
Elliptical turning refers to a turning toolpath that cannot be simplified into a flat, 2-axis path. Cutting a path like this requires the tool to vary its distance from the centerline of the cut, making an "elliptical" shape when viewed from the end.


An example of this type of cut would be turning the lobes of a camshaft.
An example of this type of cut would be turning the lobes of a camshaft.
Line 25: Line 25:


==Posting considerations==
==Posting considerations==
===Elliptical turning===
===Eccentric turning===
Elliptical turning can be posted as either Expanded (that is, full output of segmented XYZC moves that directly move each of the machine's axis several times per rotation) or as Flat. Compost4 includes a dropdown to select how Elliptical operations are posted.
Eccentric turning can be posted as either Expanded (that is, full output of segmented XYZC moves that directly move each of the machine's axis several times per rotation) or as Flat. Compost4 includes a dropdown to select how Eccentric operations are posted.
[[Image:FlatEccentric.png|none]]
[[Image:ProgramOptionsOptions.png|none]]
* No Support - All Elliptical turning operations will be posted as Expanded.
* No Support - All Eccentric turning operations will be posted as Expanded.
* Rotary Axis Aligned - Elliptical turning ops that align with one of the machines' rotary axis will be posted as flat, all other Elliptical ops will be posted as Expanded.
* Aligned with rotary axis - Eccentric turning ops that align with the selected rotary axis will be posted as flat, all other Elliptical ops will be posted as Expanded.
* Any - All Elliptical turning operations will be posted as Flat.
* Any - All Eccentric turning operations will be posted as Flat.


To add flat elliptical posting support to a post, you will need to understand how the machine and control the customer is using handles this type of op. Currently, the Post Department is working on prototypes for Heidenhain Cycle 292, Okuma Turn-Cut, and Matsuura Orbit Turning.
To add flat eccentric posting support to a post, you will need to understand how the machine and control the customer is using handles this type of op. Currently, the Post Department is working on prototypes for Heidenhain Cycle 292, Okuma Turn-Cut, and Matsuura Orbit Turning.


It is important to note that some controls support canned cycles for flat elliptical that have a set number of cuts per cycle call. For example, Heidenhain Cycle 290 is a shoulder cut cycle which defines 2 cuts per cycle call. This cycle is not supported by GibbsCAM v13, as all flat elliptical output must be able to support an arbitrary number of cuts.
It is important to note that some controls support canned cycles for flat eccentric that have a set number of cuts per cycle call. For example, Heidenhain Cycle 290 is a shoulder cut cycle which defines 2 cuts per cycle call. This cycle is not supported by GibbsCAM v13, as all flat eccentric output must be able to support an arbitrary number of cuts.


Okuma Turn-Cut example:
Okuma Turn-Cut example:
  <nowiki>
  <nowiki>
SeqLabC 'G149' 'E0' EOL {Enable turn-cut, E word is tool offset in C}
enableOkumaTurnCut:
SeqLabC
IF EccentricTurningOp? AND FlatTurningOp?
IF SpindleForward?
SetOutputMode('TurnCut')
  'G165' {Turn "virtual spindle" on forwards}
SeqLabC ' M510' EOL { Collision Avoidance Off - Incompatible with TurnCut }
ELSE
SeqLabC ' G149' ' E0' EOL { Enable turn-cut, E word is tool offset in C }
  'G166' {Turn "virtual spindle" on reverse}
SeqLabC FeedRateMode ' F' Output('F', FeedEntry#) EOL
END
SeqLabC Plane2 EOL
AxisLabel('X') Output('X', StartPosX#)
SeqLabC ' X0. Y0. ' EOL
AxisLabel('Z') Output('Z', StartPosZ#)
SeqLabC 'G189 X1. HB' EOL
'S' Output('S', SpeedRPM#) EOL
SeqLabC
toolPath
IF VirtualSpindleCW?
SeqLabC 'G164' EOL {Stop "virtual spindle"}
' G165' {Turn "virtual spindle" on forwards}
SeqLabC 'G148' EOL {Disable turn-cut}
ELSE
ResetMoveType</nowiki>
' G166' {Turn "virtual spindle" on reverse}
END
OutputValueAsAxis('Y', StartPosY#)
' S' Output('S', VirtualSpindleRPM#) EOL
SetFlag('TurnCutEnabled')
END
RETURN
 
cancelOkumaTurnCut:
IF Flag?('TurnCutEnabled')
SeqLabC ' G164' EOL {Stop "virtual spindle"}
SeqLabC ' G188' EOL
SeqLabC ' G148' EOL {Disable turn-cut}
ResetMoveType
SetFlagF('TurnCutEnabled')
SetOutputMode('OnPart')
END
RETURN</nowiki>


Heidenhain Cycle 292 example:
Heidenhain Cycle 292 example:
Line 82: Line 99:


===Expanded turning===
===Expanded turning===
All Eccentric turning ops, as well as some Elliptical turning ops (according to the setting of the Flat Eccentric Turning dropdown) will be output as Expanded. In order to signify to GibbsCAM that you post processor supports Expanded turning, you must check the Expanded Turning checkbox in the Form.
All elliptical turning ops, as well as some eccentric turning ops (according to the setting of the Flat Eccentric Turning dropdown) will be output as Expanded. In order to signify to GibbsCAM that you post processor supports Expanded turning, you must check the Expanded Turning checkbox in the Form.
[[Image:ExpandedTurningCheckbox.png|none|]]
[[Image:ExpandedTurningCheckbox.png|none|]]


[[Category:Articles]]
[[Category:Articles]]
[[Category:GibbsCAM v13]]
[[Category:GibbsCAM v13]]

Latest revision as of 22:22, 8 March 2019

Summary

Traditionally, lathe operations have been thought of as cutting motion that can be defined in only 2 axis (typically X and Z). The part spins around its centerline to produce the desired end result.

GibbsCAM v13 adds support for turning operations that are not rotated around the centerline of the part.

Eccentric Turning

Eccentric turning refers to an operation that, like a traditional lathe cycle, can be defined in only 2 axis. It differs from traditional turning in that the part does not spin around its centerline, but rather the centerline of the specific shape being cut.

In spite of the toolpath being able to be defined as flat, cutting this contour on the machine requires motion in at least 4 axis on the machine in order to cut.

Eccentric turning on a lathe

A simple example is cutting the journals on a crankshaft on a 4-axis lathe. Note that the toolgroup is moving in X, Y, and Z axis in order to keep the tool parallel to the cut, and the part is rotating around its C axis.

Eccentric turning on a mill

A slightly more complicated example is done on a milling machine. This example relies upon orienting the tool with the tool spindles' C axis, and using XYZ motion of the toolgroup (while the part does not rotate) to create the same kind of relative motion as a lathe.

Elliptical Turning

Elliptical turning refers to a turning toolpath that cannot be simplified into a flat, 2-axis path. Cutting a path like this requires the tool to vary its distance from the centerline of the cut, making an "elliptical" shape when viewed from the end.

An example of this type of cut would be turning the lobes of a camshaft.

MDD considerations

If the machine will be using the tool spindle's C axis to effect the cutting motion needed, you will need to add this C axis to the machines' MDD, following the same requirements as for broaching support.

Posting considerations

Eccentric turning

Eccentric turning can be posted as either Expanded (that is, full output of segmented XYZC moves that directly move each of the machine's axis several times per rotation) or as Flat. Compost4 includes a dropdown to select how Eccentric operations are posted.

  • No Support - All Eccentric turning operations will be posted as Expanded.
  • Aligned with rotary axis - Eccentric turning ops that align with the selected rotary axis will be posted as flat, all other Elliptical ops will be posted as Expanded.
  • Any - All Eccentric turning operations will be posted as Flat.

To add flat eccentric posting support to a post, you will need to understand how the machine and control the customer is using handles this type of op. Currently, the Post Department is working on prototypes for Heidenhain Cycle 292, Okuma Turn-Cut, and Matsuura Orbit Turning.

It is important to note that some controls support canned cycles for flat eccentric that have a set number of cuts per cycle call. For example, Heidenhain Cycle 290 is a shoulder cut cycle which defines 2 cuts per cycle call. This cycle is not supported by GibbsCAM v13, as all flat eccentric output must be able to support an arbitrary number of cuts.

Okuma Turn-Cut example:

enableOkumaTurnCut:
	IF EccentricTurningOp? AND FlatTurningOp?
		SetOutputMode('TurnCut')
		SeqLabC ' M510' EOL 	{ Collision Avoidance Off - Incompatible with TurnCut }
		SeqLabC ' G149' ' E0' EOL	{ Enable turn-cut, E word is tool offset in C }
		SeqLabC FeedRateMode ' F' Output('F', FeedEntry#) EOL
		SeqLabC Plane2 EOL
		SeqLabC ' X0. Y0. ' EOL
		SeqLabC 'G189 X1. HB' EOL
		SeqLabC
		IF VirtualSpindleCW?
			' G165'				{Turn "virtual spindle" on forwards}
		ELSE
			' G166'				{Turn "virtual spindle" on reverse}
		END
		OutputValueAsAxis('Y', StartPosY#)
		' S' Output('S', VirtualSpindleRPM#) EOL
		SetFlag('TurnCutEnabled')
	END
RETURN

cancelOkumaTurnCut:
	IF Flag?('TurnCutEnabled')
		SeqLabC ' G164' EOL	{Stop "virtual spindle"}
		SeqLabC ' G188' EOL
		SeqLabC ' G148' EOL 	{Disable turn-cut}
		ResetMoveType
		SetFlagF('TurnCutEnabled')
		SetOutputMode('OnPart')
	END
RETURN

Heidenhain Cycle 292 example:

SeqLabC 'CYCL DEF 292 CONTOUR.TURNG.INTRP.' EOL
SeqLabC 'Q560=1' EOL		{1 = turning tool, 0 = milling tool}
SeqLabC 'Q336=' Output('INT', CSOffsetC#) EOL
SeqLabC 'Q546=' 
IF SpindleForward?
  '3'
ELSE
  '4'
END
EOL

SeqLabC 'Q529='
IF ApproachID?
  '1'
ELSE
  '0'
END
EOL

SeqLabC 'Q221=0' EOL		{Z Stock Left}
SeqLabC 'Q441=' Output('INT', SpeedRPM#) EOL		{Infeed per rev}
SeqLabC 'Q449=' Output('F', InverseTimeFeed#) EOL
SeqLabC 'Q491=' Output('X', StartPosX#) EOL
SeqLabC 'Q357=0' EOL
SeqLabC 'Q445=' Output('Z', ClearancePlane2#) EOL

Expanded turning

All elliptical turning ops, as well as some eccentric turning ops (according to the setting of the Flat Eccentric Turning dropdown) will be output as Expanded. In order to signify to GibbsCAM that you post processor supports Expanded turning, you must check the Expanded Turning checkbox in the Form.