V14 Basic Probing: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danm (talk | contribs)
No edit summary
Jeffb (talk | contribs)
No edit summary
Line 1: Line 1:
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.
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.


===Form Setting===
== Form Setting ==
[[Image:Form_Probing.png|none]]
[[Image:Form_Probing.png|none]]


===Code Changes===
== Code Changes ==
In toolPathDoMove:, add:
=== .70+ Format: ===
Add the following in the "toolPathDoMove" subroutine:
  <nowiki>
  <nowiki>
ELSEIF GCodeStep? { Is this a GCode feat? }
ELSEIF GCodeStep? { Is this a GCode feat? }
tpGCodeStep
tpGCodeStep
</nowiki>
For example:
<nowiki>
IF SyncFeat?
doSyncFeat
ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?
tpLinearFeat
ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)
tpArcFeat
ELSEIF DwellFeat?
tpDwellFeat
ELSEIF ToolSubPosFeat?
tpToolSubPosFeat
ELSEIF ProgStopFeat?
tpProgStopFeat
ELSEIF CommentFeat?
tpCommentFeat
ELSEIF GCodeStep? { Is this a GCode feat? }
tpGCodeStep
END
</nowiki>
</nowiki>


Then add the following sub to your post:
Then add the following subroutine to your post:
  <nowiki>
  <nowiki>
tpGCodeStep:
tpGCodeStep:
Line 19: Line 40:
RETURN
RETURN
</nowiki>
</nowiki>
=== Other Post Formats: ===
Soon to come




[[Category:Articles]]
[[Category:Articles]]
[[Category:GibbsCAM v14]]
[[Category:GibbsCAM v14]]

Revision as of 21:10, 20 May 2020

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.

Form Setting

File:Form Probing.png

Code Changes

.70+ Format:

Add the following in the "toolPathDoMove" subroutine:

	ELSEIF GCodeStep?						{ Is this a GCode feat? }
		tpGCodeStep

For example:

	IF SyncFeat?
		doSyncFeat
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?
		tpLinearFeat
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)
		tpArcFeat
	ELSEIF DwellFeat?
		tpDwellFeat
	ELSEIF ToolSubPosFeat?
		tpToolSubPosFeat
	ELSEIF ProgStopFeat?
		tpProgStopFeat
	ELSEIF CommentFeat?
		tpCommentFeat
	ELSEIF GCodeStep?		{ Is this a GCode feat? }
		tpGCodeStep
	END

Then add the following subroutine to your post:

tpGCodeStep:
	EachGCodeStepLine
		GCodeStepLine EOL
	NextGCodeStepLine
RETURN

Other Post Formats:

Soon to come