V10:2009PostMeeting:agenda: Difference between revisions
Redo order of things, Put Bill as the main guy for the intro |
update with notes after talking to Bill |
||
| Line 83: | Line 83: | ||
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. | 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. | ||
==Template | ==Data Driven Template== | ||
A lower | 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= | ||
(JeffM) | (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== | ==New Post format== | ||
There is now a V10+ posting format called ".post". It is incompatible with older versions. Only Compost4 will make .post files. | 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== | ==Compost 4== | ||
To make .post files a new compiler 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. 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. | 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. | ||
Compost4 will automatically update any .pst when it is opened, but will save the post on compile to a .post file | Compost4 will automatically update any .pst when it is opened, but will save the post on compile to a .post file. | ||
==Post | 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. | ||
Post engine can't crash anymore, it catches exceptions. | |||
==Post Debugger Changes (Exceptions)== | |||
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. | |||
=Post engine changes= | =Post engine changes= | ||
(JeffM) | (JeffM) | ||
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. | 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== | |||
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== | ==Prog Iterator And Axes== | ||
The prog iterator has been enhanced to support any number of axes and origins. These are all now described in the MDD. | 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== | ==Smarter Commands== | ||
| Line 129: | Line 120: | ||
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; | 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 coolant codes | ||
# Custom drill cycle codes and labels | # Custom drill cycle codes and labels | ||
# Mode labels and codes | # Mode labels and codes for common tasks. | ||
==New Commands for Common Tasks== | ==New Commands for Common Tasks== | ||
| Line 144: | Line 134: | ||
==Combo Commands== | ==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. | 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== | ==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. | 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= | =Post processor changes= | ||
In addition to the post engine changes, development will be making | 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== | ==Less Logic in the post for standard machines== | ||
| Line 158: | Line 150: | ||
==No Tracking No Math== | ==No Tracking No Math== | ||
The new post will not need to do any tracking or math to output a basic program. It is understood that utility ops may have to do 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== | ==Events not Moves== | ||
| Line 167: | Line 159: | ||
==Modes== | ==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== | ==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== | ==Ride the loop== | ||
Posts | 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== | ==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. | 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= | =Concerns= | ||
Some points to remember are; | Some points to remember are; | ||
# Old posts still work. | # 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. | # The new commands can work with other types of machines. | ||
# Everyone has Sim. | # Everyone has Sim. | ||
| Line 196: | Line 193: | ||
==EPST== | ==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). | 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 18:38, 22 August 2009
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) This meeting will have 2 parts
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.
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.
What to expect
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.
V10 Goals
(Bill Gibbs)
V10 has one overriding goal.
Shortening post development time.
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
Native support for more machine types
V10 will have new features to better support classes of machines that we have not supported well in the past, including;
- 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.
Accurate simulation of post processing
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.
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.
Better post engine support for common tasks to make dev time shorter
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.
MDD
(Daniel and Bill) The MDD system has been completely redone to support these new machines.
Editor
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.
MDD DEMO and discussion
- 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.
- 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.
- 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).
- 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
(Daniel with Bill Comments) 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.
Very Short Sim Demo
(Daniel) Hopefully Swiss simulation will be working well enough to be demonstrable. Emphasize that the goal is that posting and simulation match.
Synching
(Daniel) 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
(JeffM)
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
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.
Data Driven Template
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
(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
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.
Compost4 will automatically update any .pst when it is opened, but will save the post on compile to a .post file.
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.
Post Debugger Changes (Exceptions)
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.
Post engine changes
(JeffM) 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
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
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
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).