V13 Rotary unwind/presetting capability (Large Angle Options): Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danm (talk | contribs)
Created page with "none GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options."
 
Danm (talk | contribs)
No edit summary
Line 1: Line 1:
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.
[[Image:LargeAngleOptionsPlus.png|none]]
[[Image:LargeAngleOptionsPlus.png|none]]
GibbsCAM v13 adds a new option to the MDD/Machine Manager interface, called Large Angle Options.
 
===Unwind at Op Start===
Unwind at Op Start will simply move the C axis as normal within the old [[SetRotaryUnderResetLimit]] restrictions. No presetting will be performed.
 
===Use Presets===
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:
<nowiki>tpAxisPreset:
EachPresetAxis
SeqLabC PresetAxis('ThisAxis') EOL
NextPresetAxis
RETURN</nowiki>
 
The [[EachPresetAxis]]/[[NextPresetAxis]] loop will loop through all rotary axis that need to be preset, and the [[PresetAxis]]('THIS') 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.
====At Op Start====
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.
 
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:
<nowiki>IF AxisPresetStep?
tpAxisPreset
END</nowiki>
====After expanded turning====
This will direct the Prog Iterator to add an [[AxisPresetStep?]] event to the Retract loop, after

Revision as of 23:38, 18 September 2019

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.

Unwind at Op Start

Unwind at Op Start will simply move the C axis as normal within the old SetRotaryUnderResetLimit restrictions. No presetting will be performed.

Use Presets

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:

tpAxisPreset:
	EachPresetAxis
		SeqLabC PresetAxis('ThisAxis') EOL
	NextPresetAxis
RETURN

The EachPresetAxis/NextPresetAxis loop will loop through all rotary axis that need to be preset, and the PresetAxis('THIS') 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.

At Op Start

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.

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:

IF AxisPresetStep?
	tpAxisPreset
END

After expanded turning

This will direct the Prog Iterator to add an AxisPresetStep? event to the Retract loop, after