Workfixtures: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
Line 9: Line 9:
The new work fixture functionality manages all WFO computation and output internal to the post engine and supports all WFO modes (single and multiple parts) as well as managing several fallback methods for machines that do not have enough WFOs for all operations in a part.
The new work fixture functionality manages all WFO computation and output internal to the post engine and supports all WFO modes (single and multiple parts) as well as managing several fallback methods for machines that do not have enough WFOs for all operations in a part.


==Design==
==Form Data==
[[Image:WFO Dialog.PNG | right]]
[[Image:WFO Dialog.PNG | right]]
The WFO system is designed around the concept of pre-computing WFOs for the entire program before the post processor even runs. The WFOs are computed using data provided by the post professor form in the Worfixtures dialog, accessed from the Form -> Offsets and Workplanes menu.
The WFO system is designed around the concept of pre-computing WFOs for the entire program before the post processor even runs. The WFOs are computed using data provided by the post professor form in the Worfixtures dialog, accessed from the Form -> Offsets and Workplanes menu.
Line 54: Line 54:
* Linear Offsets: The system will compute a linear shift (G52/G92) for each part or op as needed. This can allow operations to still be placed in subprograms with out needing a WFO to shift the origin.
* Linear Offsets: The system will compute a linear shift (G52/G92) for each part or op as needed. This can allow operations to still be placed in subprograms with out needing a WFO to shift the origin.
* Error: No fallback will be used and an error will be generated. Posting will stop. This is for cases where the CNC has no way of outputing the desired program.
* Error: No fallback will be used and an error will be generated. Posting will stop. This is for cases where the CNC has no way of outputing the desired program.
====Group Part WFOs====
When checked the system will try to pre-allocate all part instance WFOs first, before processing any operation WFOs. This will group the part WFOs in a contiguous block. This setting is ignored if the user has manually define any user WFOs for any CSs in the CS List in GibbsCAM.
====Default Part WFOs====
This dialog allows the post to define specific WFOs to be assigned to specific part stations from the MDD. The vast majority of posts do not need this setting, it is only needed when a part station needs a specific WFO that is not contiguous with it's part station number. Single part MDDs will always pre-assign the first WFO to the part, and most MTMs can just use the group part WFOs option.
====Local CS Shfit Code====
This G-Code will be used by the local shift command when local shift fallbacks are in use.
====Workfixture Usage====
The chekboxes determine what op types can be assigned an operation WFO. Unchecked op types will be output in the WFO for whatever part they are on.
==Compost Commands==
Once a post has been configured to use the workfxitures system it has access to a number of new commands to output the data in the post.
===Most Common Machines===
The WFO system is designed to be simple to use for the most common CNC machines.
When posts want to output a WFO for an operation , if one exists, they simply need to call 2 commands.
  SeqLabC UseOpWFO EOL
SeqLabC UseOpLocalShift EOL




[[Category:Articles]]
[[Category:Articles]]

Revision as of 18:21, 4 January 2018

Overview

GibbsCAM 12 added dedicated command support for Work Fixture Offsets (WFOs) to the compost language and GibbsCAM. Previously WFO computation and output was handled entirely by the post processors and had a number of issues.

  • No optimization of WFO uses
  • Gaps in WFOs for multiple parts
  • No support for WFO use on machines with additional rotary or redundant axes (W axis machines, and 6 axis rotary machines).
  • A hard limit of one WFO per operation CS.
  • Separate logic for Multi-Part
  • Limited Multi-part functionality.

The new work fixture functionality manages all WFO computation and output internal to the post engine and supports all WFO modes (single and multiple parts) as well as managing several fallback methods for machines that do not have enough WFOs for all operations in a part.

Form Data

The WFO system is designed around the concept of pre-computing WFOs for the entire program before the post processor even runs. The WFOs are computed using data provided by the post professor form in the Worfixtures dialog, accessed from the Form -> Offsets and Workplanes menu.

Workfixtures Dialog

In this dialog, the post developer specifies a number of work fixture ranges. This allows the post engine to know how many WFOs are available for a specific machine. By default WFOs are assigned from the freest range in order up to the last range.

Ranges

At least one WFO must be specified. The system will generate an error if the machine does not have at least one free WFO for each part station as defined in the MDD. Both the Minimum and Maximum WFO numbers are included in each range.

Workfixture Options

This section defines the WFO options that will be used when computing WFOs for a program. If the ‘Pre-Compute WFOs’ checkbox is unchecked, the system will not do any work to compute WFOs and the Workfixtures options tab in the post dialog will not be shown when the post is selected. The post is assumed to be a legacy post processor and will do its own computations for WFOs if they are supported at all.

WFO Type

This setting tells the system how workfxitures are used on the CNC Machine.

  • Per Part : In this mode, a single WFO is assigned to each part station or mutli-part instance. This is known as "D style" in legacy post processors.
  • Linear Offset Only: A WFO will only have linear (XYZ) offsets on the CNC Machine. The rotary orientation of the part will not be used to compute the WFO. This is known as "C style" in legacy post processors.
  • Linear and Rotary Offsets: A WFO will contain offsets for the entire interpolation set, including table rotary axes. this is known as "B style" in legacy post processors.

This setting will determine how many WFOs are computed for the program based on the operation CSs and cutting orientations. Since the system knows what is included in each WFO, it is able to know if the same Operation CS used in different orientations can be used in the same WFO at run time or not. This allows for the correct generation of multiple WFOs from the same CS when there are redundant axes.

WFO Linear Origin

This defines the origin for the WFO. This setting only affects the offsets returned for WFO comments and pre-setting to the post. It does not affect the computed toolpath in any way. This setting should be set to match how the CNC machine accepts WFO input.

  • From Part Origin: This is the legacy default mode for the CSOffsetX#/CSOffsetY#/CSOffsetZ# commands, from the part XY CS (CS1).
  • From Part Station: This is the most common origin type for CNC Machines, it defines the origin from the part station, usually known as G53.
  • From Toolgroup: This is an uncommon but not unheard of origin type where the WFOs are defined from machine home, usually known as G28.

Fallback Options

Fallback options tell the system how to handle cases where there are not enogh Workfixtures for the current program. This can happen if the user programs too many operations in different CSs or more multiple parts than the machine can handle with WFOs.

Fallbacks are broken into 2 categories,

  • Insufficient Op WFO Fallback : This is the fallback to use when there are not enough WFOs to assign to all the operations in a program.
  • Insufficient Part WFO Fallback : This is the fallback to use when there are not enough WFOs to assign to all the part instances in a multi-part program.

Both fallback categories use the same set of options.

  • Part Workfixture : the fallback will go back to the part or part station WFO as needed. If there are enough WFOs for each part but not enough WFOs for each op in a multi-part case, one WFO will be assigned to each part instance. If there are not enough WFOs for the parts, the entire program will be output from the part station WFO (G54).
  • Linear Offsets: The system will compute a linear shift (G52/G92) for each part or op as needed. This can allow operations to still be placed in subprograms with out needing a WFO to shift the origin.
  • Error: No fallback will be used and an error will be generated. Posting will stop. This is for cases where the CNC has no way of outputing the desired program.

Group Part WFOs

When checked the system will try to pre-allocate all part instance WFOs first, before processing any operation WFOs. This will group the part WFOs in a contiguous block. This setting is ignored if the user has manually define any user WFOs for any CSs in the CS List in GibbsCAM.


Default Part WFOs

This dialog allows the post to define specific WFOs to be assigned to specific part stations from the MDD. The vast majority of posts do not need this setting, it is only needed when a part station needs a specific WFO that is not contiguous with it's part station number. Single part MDDs will always pre-assign the first WFO to the part, and most MTMs can just use the group part WFOs option.

Local CS Shfit Code

This G-Code will be used by the local shift command when local shift fallbacks are in use.

Workfixture Usage

The chekboxes determine what op types can be assigned an operation WFO. Unchecked op types will be output in the WFO for whatever part they are on.


Compost Commands

Once a post has been configured to use the workfxitures system it has access to a number of new commands to output the data in the post.

Most Common Machines

The WFO system is designed to be simple to use for the most common CNC machines.

When posts want to output a WFO for an operation , if one exists, they simply need to call 2 commands.

 		SeqLabC UseOpWFO EOL

SeqLabC UseOpLocalShift EOL