V10:2009PostMeeting:notes: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JeffM (talk | contribs)
New page: This is the general agenda for the development topics to discuss at the post meeting. It also includes notes on what we'll say. =Intro and Welcome= Bill Gibbs =Expectations= (Bill Gibbs)...
 
JeffM (talk | contribs)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is the general agenda for the development topics to discuss at the post meeting. It also includes notes on what we'll say.
==Perfect Post==
No math, no moves.


=Intro and Welcome=
==PartSpace==
Bill Gibbs
# toolpath that moves relitive the part
# part space: gibbscam std axes
# cpr = sim part not machine


=Expectations=
==Machine Space==
(Bill Gibbs)
# Any combo of axes.
This meeting  will have 2 parts
# A Machine is a tree.
# Each node of the tree is a component, and contains an axis or a CS.
# Tree can define any combination of axes and nodes in any orientation.
# Machine Tree is the MDD.
# Data for current MTM is infered from questions in MDD editor.
# multiple toolgroups per flow are now supported in the same TG
# We can now exactly represent the machine.
# Axis flow sets link axes into flows.


First the major Version 10 GibbsCAM features will be described, and how they affect the post developers. This will include The MDD, Machine Sim, and The VMM. This is intended to give the post developers the background information on what types of machines are now supported.
=== Core Tree ('the machine' JR)===
Core tree goes out to the spindle/table and tool attachment pos and has nothing part specific. Core tree is defined in the MDD.


The second section will be going over the intended plan for how to support these new features in the post engine, and new features, new tools, and other changes to make post development easier and faster. The goal of this section is to get the Post Developers Input and feedback on the planed course of action to ensure that it will work.
Gibbscam adds on holders, tools, fixtures, parts, and intermediary tooling to the core tree.


===What to expect===
====Setup Tree====
We will go over our general plan and ideas for V10. In doing so we hope that you will be able to provide us with feedback on the idea and any possible problems you may see with it. Given the goals of V10 it is highly likely that a number of 'traditional' concepts may change or be eliminated entirely to support the goals. The goals of V10 allow for a lot of time to be allocated to the the compost language and the post engine. This means that this is an excellent time to do as many "big changes" as possible. This means that for V10 it will be likely that many "traditional" concepts will be reevaluated and possibly changed.
Tree that has the tooling and stock for the current part


=V10 Goals=
(Bill Gibbs)


V10 has one overriding goal.
===Correctness===
Trees are always right. Flow Axis Sets are a seperate data item and do not affect the tree.


'''Shortening post development time.'''
===Axis Origins===
Every axis has a zero ( G53 )


The longest posts are MTM posts so the majority of work is being put into making those types of machines easier to work with. That is not to say that much of what we discuss can not be used with other machine types, just that MTM is the driving force behind the changes. Development's goal is to be able to have an "V10 mtm style" post be a workable framework for any machine type.


This will be done by doing the following
==Kenimatics==
Motion


==Native support for more machine types==
===Maping===
V10 will have new features to better support classes of machines that we have not supported well in the past, including;
Taking the part space program to the machine space motion
# Swiss style MTM
# Non Ortho Rotary Head
# Quills
# Redundant Axes
# Multi-Mode MTM


This will let the software do more of the work and allow the post developer to spend less time attempting to develop features inside the post processor.  
===Axis Ambiguity Resolution===
"what z to us"? New features in the software will help us decide what axis to use when ther is more then one.
Base features == utility ops to pick prefered axis. late features will be better. Combination of axes is not used ( no axis range expansion)


==Accurate simulation of post processing==
===Superimpositon===
The MDD is being expanded to include more features and options in order to allow CPR and Machine Sim to accurately depict the machine. This will allow the post engine to take over more aspects of the machine.  
Piggyback
An axis cutting on top of an other axis that is moving at the same time. But only one axis is used to cut a specific op.


All customers have access to machine sim even if they do not have a machine sim model. This simulation is an invaluable tool in verifying a program before it runs. It is a requirement that posts attempt to follow this simulation as closely as possible.
===Parking===
Where an axis goes when it's not used.


==Better post engine support for common tasks to make dev time shorter==
==V9 MDD==
The post engine and post processor are being redone to make common tasks simpler for the post developer, preventing them from wasting time implementing complex code.
Generic and Specific


=MDD=
===Generic===
(Daniel and Bill)
Many posts
The MDD system has been completely redone to support these new machines.
No detailed machine info


==Editor==
===Specific===
A new MDD editor has been written to allow the MDD to be edited inside of GibbCAM. This should give immediate feedback to the user as the MDD is being developed.
One post
Accurate detailed machine info


===MDD DEMO and discussion===
==V10 MDD==
# MDD tree structure - the MDD tree contains kinematic information for the machine.  There are two primary purposes for this information: first, it allows the prog iterator to accurately calculate ALL interop moves and track positions correctly, even on complex machines (swiss, cublex); second, it allows simulation and the post to represent the same motion.
MTM MDD + post now is "universal machine"
# MDD editor context sensitivity - the v10 MDD editor (Machine Manager) is context sensitive and runs inside GibbsCAM. This allows you to see only information relevant to your machine, and to use GibbsCAM spaces (CSes) and construction geometry to assist in correct calculation of the necessary vectors and matrices for your machine.
No longer lathe centric. Will work for any machine.
# MDD editor simulation support - the v10 MDD editor supports the functionality formerly provided by Build Machine directly.  This should mean that a user's simulation model and MDD will always match 100% (or if not, it will be immediately obvious).
Machine axes are not always the same as the physical axes.
# MDD Axis Flow Mapping - the MDD includes information about machine modality, such as which axes are in which flows at what time, and which are synchronized or superimposed.  This information is critical to correctly programming, simulating, and posting (non-heroically) Swiss-style MTM machines.
# Parking position explanation - The parking mechanism is being completely redone.  The MDD creator can specify which automatic park triggers are enabled and which are not, as well as what position to use for each automatic park trigger.  Additionally, the manual parking capabilities will be significantly expanded beyond what MTG is capable of.


=SIM=
=== Specialness ===
(Daniel with Bill Comments)
VMM
Simulation has been changed to include many of the new features available in V10.  This is important for post development because one of the main goals of the V10 MTM project is that the motion produced by the prog iterator should be followed exactly, by both Simulation and the post.  It will be MUCH easier to create a matched simulation and post pair, because more of the work is being done internally by the prog iterator.
Looper
Accurate Tree


==Very Short Sim Demo==
===Diffs===
(Daniel)
Not all machiens are the same, how do we handle small variations in machine setup ( rotary table off by 0.002 )
Hopefully Swiss simulation will be working well enough to be demonstrable.  Emphasize that the goal is that posting and simulation match.


=Synching=
== Parking==
(Daniel)
MDD can have a park location for each event trigger. VMMs can change them. All axes are represented.
Demonstrate and explain V10 MTM synching improvements:
# Sync to interop autopark location triggers
# SOP/EOP synch points
# Dragging of system-synced ops does not break syncs
# User syncing to system-synced ops (sync stacking)
# Sync information no longer overwrites utility op data


=VMM=
==VMM==
(JeffM)
Reduce use of MTG in normal part and machine modes. Vmms can define axis postions.
==Custom UI==
The UI system of the VMMs is being redone to allow VMMs to define custom interface items. It will be possible for a VMM to fully define all controls/fields for a utility op, and to define new utility ops.


==Mill Ops==
==MDD Editor==
Utility Ops will be made available in "mill" parts. It is currently unknown how Mill Utility ops will work into existing mill posts, attempts will be made to make a hybrid upgrade procedure, like we did for basic utility ops for old posts with out requiring them to be updated to a new "V10" post.
Check to see if rapid acceleration is used, if so remove.
Put what Units for rotary values and speeds.


==Data Driven Template==
Jim want too define orders in same tool situations, Bill says it's all park positions and utility ops. We should have a meeting about how the rotary head options in MTM.
A lower priority task is to refactor the VMM template to make it easier for more people to use the VMM by making it more data driven. This would mean that more of the vmm could just be "filled out" from a table of data instead of written as logic. This is not one of the main goals at this time and VMM Template refactoring may happen after V10 has shipped.


=Development Tool Changes=
MDD is only input and motion.
(JeffM)
A number of tools will be changed for V10. We are taking the time to clean up and integrate the various development tools in order to make post dev easier and less confusing.
==New Post format==
There is now a V10+ posting format called ".post". It is incompatible with older versions of GibbsCAM. Only Compost4 will make .post files. GibbsCAM will continue to read .pst files as well as .post files


==Compost 4==
==Sync==
To make .post files a new compiler tool is being made. This will be called Compost4. This version of compost will only make posts for V10 and higher. Most of the Form dialogs have been redone to represent the new form structure and features. Compost4 will have the ability to fill in default data for a post processor by opening the MDD. This will include things such as custom coolants, drills, and axis data.
Add show hide button.


Compost4 will automatically update any .pst when it is opened, but will save the post on compile to a .post file.
Find out what the buttons do.


Compost4 should also include a number of new editor enhancements and online help features. A proof of concept system was built using compost3 that worked decently well.
==VMMs==
VMM proofing for validating changes would be useful...maybe data fields only.


==Post Debugger Changes (Exceptions)==
Logic checking yes/no for individual ops would probably work fine.
Post engine can't crash anymore, it catches exceptions. If a post does an invalid thing GibbsCAM will stop posting and warn the user. The idea is that right now if the post does something wrong ( like use an op command or a feature command out of scope) we just guess at what the post meant. This may produce bad output for the customer and they would have no idea. Now the customer will know something was wrong and we can fix the post for them.


The post debugger is being extended to provide more info about where posts have done bad things. We are also looking into integrating the post debugger directly into compost.
Regression test is another way to accomplish that.


=Post engine changes=
==Post changes==
(JeffM)
First priority for current post devs is to add support for new MTM features, and support for machines that currently don't work right.
Major sections of the post engine are/have been redone to support the internal changes to V10. Many of these have to do with the prog iterator, but at the same time much of the old NCPost code has been removed or redone to work better in GibbsCAM.


==Limit Removal==
After that, we can work on reducing complexity and so on; migrating functionality into the post engine that nobody changes.
A number of the old internal limits have been removed. Form labels can now be as long as we want, there can be as many nested subs and loops as we want, there is no longer a limit to the number of prog subs or literals, etc..


==Prog Iterator And Axes==
There are machines that can do TCP only on certain spindles (i.e. Mazaks on main only). Should look into an MDD setting for this.
The prog iterator has been enhanced to support any number of axes and origins. These are all now described in the MDD. Features are being added to output these items.


==Smarter Commands==
Cannot typically use Y-axis for cyl. interpolation (for e.g. 4-axis toolpath).
An effort is being made to make commands be 'smart' about how they output. Commands that can change output based on various modes will do so. Examples of existing smart commands include the native rotary commands that will format the angle output based on the current output mode. New examples would be a MoveX that knows to output a U label instead of X when in incremental, and movement commands that automatically do the required polar/cylindrical mapping.
 
==Expanded Form==
The data in the form is being expanded not just to include new data for any number of axes but to also make general posting simpler. Some of these include;
 
# Custom coolant codes
# Custom drill cycle codes and labels
# Mode labels and codes for common tasks.
 
==New Commands for Common Tasks==
Post engine support for commonly requested features are being added, such as;
 
# Clamp/Unclamp
# Offsets On/Off
# Speed and Spindle Changes
# WFOs
 
==Combo Commands==
New post commands will be made that can automate some common strings of events, such as outputting all the movement axes. These commands will use form configuration strings to define things such as axis orders for various modes. The idea is to get most feature output down to a single prog line and letting the current mode settings handle the logic of the specific values to output.
 
==Event Commands==
New Booleans will be added that will be able to tell the post when it is time to do various things, such as turn on the spindle, go into CSS, or clam and unclamp. The post engine and/or prog iterator will do the logic to determine when to trigger these events. When common user options exist for events then form flags will be provided to allow some customization.
 
==No More Post5==
V10 will not ship with the third party Post5 plug-in. This means that all posts will ether use Post5Emulation, or do native rotary commands.  V9.3 supports many feature with it's native 5 axis posting that the Post5 system does not.
 
=Post processor changes=
In addition to the post engine changes, development will be making refactored versions of the MTM master post and providing them to the post department as an examples of how to make a "V10" post that supports all the new V10 features and machines. We will be using this type of post to make the various samples for our beta program machines and initial testing of the software. These samples will be considered templates and will include changes made during beta testing as Beta posts are made for Beta customers by the post department.
 
One of the goals for this sample will be to reduce prog complexity in an effort to make the post easier to work on and require less heroic efforts.
 
==Less Logic in the post for standard machines==
The current post does a lot of logic for common tasks, such as CRC, Clamping, Abs/Inc labels, and various rotary modes. This logic will be removed and replaced with native post engine support and smart commands.
 
==No Tracking No Math==
The new post will not need to do any tracking or math to output a basic program, whatever bugs and problems in the software that currently require math will be fixed. It is understood that utility ops may have to do math.
 
==Events not Moves==
The new post samples will use the various feature flags to detect events rather then looking for specific moves. When needed post engine support will be added to simplify as many actions as possible.
 
==Less Duplicate Code==
Redundant loops will be consolidated to common loops that are simply differentiated by the events that they see.
 
==Modes==
The use of modes in V9 has been rather successful (angle modes, and output modes). These ideas will be expanded to include more aspects of the post engine, allowing the post developer to simply set a mode once and let the post engine do the hard work of converting data. This will include new output modes for movement, including fully customizable modes for swiss machines. New modes for other features will be added such as feedrate modes, and interpolation modes.
 
==Modes not Booleans==
Modes will be used for off part locations instead of booleans to detect locations. This will help reduce the complexity of the logic needed to detect things like G28 and G53 positions.
 
=New rules and guidelines for V10 MTM=
 
==No Heroics==
Heroic MTM posts should be a thing of the past, the new software should be able to do all the things people want to do. If a post has to alter motion Bill needs to know about it. If a post can't get the info it needs, JeffM needs to know about it.
 
==Ride the loop==
Posts need to make every attempt to follow as many loops as they can. This ensures that as we make changes in the future posts will pick up the changes automatically without need for edits. The general idea is loop -> toolpath ->loop
 
==MDD is King==
We should not be afraid of making custom MDDs for people. Custom MDDs allow users to have a more accurate representation of the machine in all parts of the software. It is expected that customers will use the new machine builder to build custom MDDs
 
==Universal Machine==
GibbsCAM and the post engine no longer have a strict distinction between mill and lathe machines. Machines now just happen to have milling and turning part stations. This will allow for more op combination in the future ( utilty ops in mill, mill's that can also turn, etc..).
 
This means that technically we could write a "universal" post that supports any machine. This is probably not a good idea, as real machines are always lathes or mills. There are many common elements in the post that are shared with machines of the same type (most mills use similar start up blocks for example). The template posts that are provided will share as much code as possible but there will be cases where they differ. It is also somewhat confusing to include code in posts that will never be used ( such as having turning cycle support in a mill master ).
 
=Concerns=
Some points to remember are;
# Old posts still work, you don't HAVE to change anything if you don't want to.
# The new commands can work with other types of machines.
# Everyone has Sim.
 
==Known behavior changes==
# "MTM post" flag is deprecated, replaced with other more specific flags.
# Generic MDDs will output 0 if Home is called, regardless of post type.
 
=Notes on Educational Versions=
==EPST==
Educational posts are encrypted (EPST and EPOST). We have to do that encryption here. Post devs still work using normal forms and progs. Crypted posts only work for one customer (site).

Latest revision as of 23:20, 24 August 2009

Perfect Post

No math, no moves.

PartSpace

  1. toolpath that moves relitive the part
  2. part space: gibbscam std axes
  3. cpr = sim part not machine

Machine Space

  1. Any combo of axes.
  2. A Machine is a tree.
  3. Each node of the tree is a component, and contains an axis or a CS.
  4. Tree can define any combination of axes and nodes in any orientation.
  5. Machine Tree is the MDD.
  6. Data for current MTM is infered from questions in MDD editor.
  7. multiple toolgroups per flow are now supported in the same TG
  8. We can now exactly represent the machine.
  9. Axis flow sets link axes into flows.

Core Tree ('the machine' JR)

Core tree goes out to the spindle/table and tool attachment pos and has nothing part specific. Core tree is defined in the MDD.

Gibbscam adds on holders, tools, fixtures, parts, and intermediary tooling to the core tree.

Setup Tree

Tree that has the tooling and stock for the current part


Correctness

Trees are always right. Flow Axis Sets are a seperate data item and do not affect the tree.

Axis Origins

Every axis has a zero ( G53 )


Kenimatics

Motion

Maping

Taking the part space program to the machine space motion

Axis Ambiguity Resolution

"what z to us"? New features in the software will help us decide what axis to use when ther is more then one. Base features == utility ops to pick prefered axis. late features will be better. Combination of axes is not used ( no axis range expansion)

Superimpositon

Piggyback An axis cutting on top of an other axis that is moving at the same time. But only one axis is used to cut a specific op.

Parking

Where an axis goes when it's not used.

V9 MDD

Generic and Specific

Generic

Many posts No detailed machine info

Specific

One post Accurate detailed machine info

V10 MDD

MTM MDD + post now is "universal machine" No longer lathe centric. Will work for any machine. Machine axes are not always the same as the physical axes.

Specialness

VMM Looper Accurate Tree

Diffs

Not all machiens are the same, how do we handle small variations in machine setup ( rotary table off by 0.002 )

Parking

MDD can have a park location for each event trigger. VMMs can change them. All axes are represented.

VMM

Reduce use of MTG in normal part and machine modes. Vmms can define axis postions.

MDD Editor

Check to see if rapid acceleration is used, if so remove. Put what Units for rotary values and speeds.

Jim want too define orders in same tool situations, Bill says it's all park positions and utility ops. We should have a meeting about how the rotary head options in MTM.

MDD is only input and motion.

Sync

Add show hide button.

Find out what the buttons do.

VMMs

VMM proofing for validating changes would be useful...maybe data fields only.

Logic checking yes/no for individual ops would probably work fine.

Regression test is another way to accomplish that.

Post changes

First priority for current post devs is to add support for new MTM features, and support for machines that currently don't work right.

After that, we can work on reducing complexity and so on; migrating functionality into the post engine that nobody changes.

There are machines that can do TCP only on certain spindles (i.e. Mazaks on main only). Should look into an MDD setting for this.

Cannot typically use Y-axis for cyl. interpolation (for e.g. 4-axis toolpath).