Glossary: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Danm (talk | contribs)
Added new v13 terminology, move Numeric Formats to its' own page.
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
=Numeric Formats=
=====Part Oriented=====
The part station used in an Part Oriented operation is set to a specific orientation. An example of a Part Oriented op is when an operation orients the part C axis of a mill-turn lathe using a C__._ output in the G-code. An operation that "spins" the C axis using an RPM or SFPM command is never Part Oriented, and can be referred to as "Part Un-oriented."


'''Multiplier (one per format, optional)'''
=====Tool Oriented=====
* '''1''' through '''9''' appearing in the format string before the first ''':''' or ''';'''. The value will be multiplied by the single digit integer multiplier first, before any other formatting is performed. If omitted, a '''1''' is assumed.
The tool station used in a Tool Oriented operation is set to a specific orientation. An example of a Tool Oriented op is a broaching operation on a Haas mill that uses M19 P command to orient the broaching tool. An operation that "spins" the tool using an RPM value is never Tool Oriented, and can be referred to as "Tool Un-oriented."


'''Sign Control (Use only one max. per format, optional)'''
=====Fully Oriented=====
* absent: No "sign character" will use only the default, show.
Both the part station AND the tool station used in a Fully Oriented operation are set to specific orientations using commands in the G-code. An example is an expanded turning op (like an [https://youtu.be/6HDMoafaRWc Okuma-style Turn-Mill op]) wherein the tools' C axis is oriented throughout the operation to keep a lathe insert perpendicular to the cutting surface, '''AND''' the parts' C angle is set and held in place at C0 throughout the operation.
* '''-''': Show '''-''' for negative and a '''space''' for positive values.


'''Polarity Modification (use none, one or both in the same format, optional)'''
=====Eccentric Turning=====
* '''*''': Multiply value times minus one. This is always executed second by ncPost, regardless of order in format string.
Eccentric Turning describes a turning operation wherein the toolpath '''could''' be output as [[Glossary#Flat Output|Flat]], even if the control itself requires [[Glossary#Expanded Output|Expanded Output]].
* '''+''': Show absolute value. This is always positive and always executed first by ncPost.


'''Digit Control'''
=====Elliptical Turning=====
* '''#''': A fixed digit that will be suppressed if it is a leading or trailing zero.
Elliptical Turning describes a turning operation wherein the toolpath cannot be simplified into a spun 2d shape. A cam lobe is an example shape. This can include [[Glossary#Part Oriented|Part Oriented]] turning operations on a lathe that requires motion in XYZC to cut ([https://youtu.be/ZUU9SzFi7F0 Example video]), or a [[Glossary#Fully Oriented|Fully Oriented]] operation on a mill. Elliptical Turning ops are always output as Expanded.
* '''0''': A fixed digit that cannot be suppressed. Leading and trailing zeros will be output.
* '''b''': A fixed digit that will output a blank in place of each leading and trailing zero.


'''Decimal Point Control'''
=====Flat Output=====
* absent: No decimal point control character implies an integer value.
Traditional 2-axis lathe-style output that presents the toolpath as a 2d shape that can be spun around a centerline to form the desired shape. This centerline does not necessarily need to be along the centerline of the part itself if the MDD is configured to allow this.
* '''.''': Show the decimal point.
* '''^''': Do not show the decimal point.
* ''',''': Show the decimal point only if the number has a fractional value.


'''Zero Control (optional)'''
=====Expanded Output=====
* ''';''': You may add a ''';''' to the end of a format. The text following the ''';''' will be output for any value equal to zero. If omitted, default zero will be from the actual format, which may reduce to nothing in the case of ###.###.
Fully segmented output of a turning op that specifically moves each oriented axis as needed.


'''Rounding Control (optional)'''
=====Numeric Formats=====
* ''':''': This character my be added, followed with a 1, 2, or 5. This is the value that the last digit in the format will be rounded to. If omitted, a 1 is assumed. Some Examples are: {2.34531}
[[Numeric Formats|Numeric Formats now has its' own page]].
 
 
::{| style="background-color:#eeeeee;" cellpadding="3" cellspacing="0" border="1"
{{Table Row|###.####|pretty standard for modern controls {2.3453} }}
{{Table Row|###.####|pretty standard for modern controls {2.3453} }}
{{Table Row|###.####;0|force zero to `0.' {2.3453} }}
{{Table Row|2##.####| multiply times 2 {4.6906} }}
{{Table Row|###.####;0.:5|round to nearest .0005 {2.3455} }}
{{Table Row|*###.####;0.:2|times minus one {-2.3454} }}
{{Table Row|+*###.####;0.:5|absolute value, then times minus one (always negative) {-2.3455} }}
{{Table Row|+*##.###|show + and - signs and force negative {-2.345} }}
{{Table Row|3+*##.###|above times 3 {-7.036} }}
{{Table Row|00##.##0 |stupid, `#'s  have effect only when on the outside {0002.345} }}
{{Table Row|0000.000|same effect as above {0002.345} }}
{{Table Row|##00.0000#|{02.34531} }}
{{Table Row|##00^0000#|stupid, formats without a visible decimal point may not have suppressible characters(`#') on both sides of the decimal and outside. The control has no way to figure out the real value. {0234531} }}
{{Table Row|###^###0|standard fixed format,leading zero suppression,1 equals .0001 {23453} }}
{{Table Row|0##^####|standard fixed format,trailing zero suppression, 1 equals 100.0000 {0023453} }}
{{Table Row|###|integer {2} }}
|}
 
 
To use the new '''b''' correctly, it should be inside any '''#''' and outside any '''0'''.
<nowiki>##b0.00b# {+b2.3453, the b represents a space}.
</nowiki>
 
The standard convention is to list Multiplier first. Sign control second, Polarity modifiers third, followed by Digits and Decimal point control characters. Then comes special Zero control and Round control last. Following this simple convention will make it easier on everyone.
 
When using Number commands, especially in lathe, use Radius Number commands and format them times two. We will probably eliminate the Diameter Number commands at some point in the future.

Latest revision as of 23:51, 18 October 2018

Part Oriented

The part station used in an Part Oriented operation is set to a specific orientation. An example of a Part Oriented op is when an operation orients the part C axis of a mill-turn lathe using a C__._ output in the G-code. An operation that "spins" the C axis using an RPM or SFPM command is never Part Oriented, and can be referred to as "Part Un-oriented."

Tool Oriented

The tool station used in a Tool Oriented operation is set to a specific orientation. An example of a Tool Oriented op is a broaching operation on a Haas mill that uses M19 P command to orient the broaching tool. An operation that "spins" the tool using an RPM value is never Tool Oriented, and can be referred to as "Tool Un-oriented."

Fully Oriented

Both the part station AND the tool station used in a Fully Oriented operation are set to specific orientations using commands in the G-code. An example is an expanded turning op (like an Okuma-style Turn-Mill op) wherein the tools' C axis is oriented throughout the operation to keep a lathe insert perpendicular to the cutting surface, AND the parts' C angle is set and held in place at C0 throughout the operation.

Eccentric Turning

Eccentric Turning describes a turning operation wherein the toolpath could be output as Flat, even if the control itself requires Expanded Output.

Elliptical Turning

Elliptical Turning describes a turning operation wherein the toolpath cannot be simplified into a spun 2d shape. A cam lobe is an example shape. This can include Part Oriented turning operations on a lathe that requires motion in XYZC to cut (Example video), or a Fully Oriented operation on a mill. Elliptical Turning ops are always output as Expanded.

Flat Output

Traditional 2-axis lathe-style output that presents the toolpath as a 2d shape that can be spun around a centerline to form the desired shape. This centerline does not necessarily need to be along the centerline of the part itself if the MDD is configured to allow this.

Expanded Output

Fully segmented output of a turning op that specifically moves each oriented axis as needed.

Numeric Formats

Numeric Formats now has its' own page.