V10:2009PostMeeting:agenda

From Compost Wiki
Revision as of 21:20, 28 July 2009 by JeffM (talk | contribs)
Jump to navigation Jump to search

This is the general agenda for the development topics to discuss at the post meeting. It also includes notes on what we'll say.

Bill will say stuff

He always does.

Nancy will say stuff

She's cool.

This meeting

Expectations

(JeffM) This meeting is do discuss Version 10 GibbsCAM changes, and how they affect the post processor.

What the meeting is

  1. An overview of V10
  2. The current plans and ideas that development has for posting
  3. An overview of the new MDD

What the meeting is not

  1. Training on V10
  2. The final solution for all posting problems.
  3. Information on specific changes to any post master.

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.

V10 Goals

(JeffM)

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;

  1. Swiss style MTM
  2. Non Ortho Rotary Head
  3. Quills
  4. Redundant Axes
  5. 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

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) 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. THe MDD is now very closely related to a machine sim models since it includes most of the Kenimatics for the machine.

MDD DEMO and discussion

Dan the man will bust this out.

SIM

(Daniel) demo, discussion?

VMM

(JeffM) A new VMM template will be made. We will attempt to refactor the VMM template to make it easier for more people to use the VMM (Danny Moore), but that is not one of the main goals at this time. VMM refactoring of the template may happen after V10 has shipped.

A high priority feature for the Utility ops is to allow VMMs to define a custom interface for an op. Utility ops in mill only machines is also a high priority. 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.

Prog Iterator And Axes

(JeffM) The prog iterator has been enhanced to support any number of axes and origins. These are all now described in the MDD.

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.

Modes

(This is the hard concept) To support the new types of machines that GibbsCAM supports the concept of output modes has been expanded greatly, and made an integral part of the post processor.

The V10 concept of modes are used to to describe the axis set that is being driven in a flow during a specific op or timeframe.

A mode consists of a list of axis names and origins, and is used to generate the numeric values for posting. Many combination are possible in a mode, but usualy most machines will use predefined modes for most cases.

By default all posts are considered to have 2 modes per flow, an "on part mode" and an "off part mode". Additional modes can be defined by the post developer in the form. The existing mode commands will map into the new mode structure.

(Gg over mode UI mockup)

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;

  1. Labels with more then 3 characters
  2. Custom coolant codes
  3. Custom drill cycle codes and labels
  4. Mode labels and codes

New Commands for Common Tasks

Post engine support for commonly requested features are being added, such as;

  1. Clamp/Unclamp
  2. Offsets On/Off
  3. Speed and Spindle Changes
  4. 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.

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.

Tool Changes

New Post format

There is now a V10+ posting format called ".post". It is incompatible with older versions. Only Compost4 will make .post files.

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 represnet 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.

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.

Post processor changes

In addition to the post engine changes, development will be making a refactored version of the MTM master post and providing it to the post departement as an exmaple of how to make a "V10" post. We will be using this type of post to make the various samples for our beta progam machines and inital testing.

The general goals of the new samples are intended to make post development faster by reducing prog complexity.

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. 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

Form modes will be used for as many states as possible.

New rules and guidelines

Universal Machine

Internal the concepts of mill/lathe posts are merging. While most machines run ether a mill or a lathe, virtual treats them in a similar fashion at the MDD level. For ease of use there are changes in the interface between the 2 types of machiens, as well as how we approach and retract from the various workpeice types.

No Heroics

The majority of Heroic MTM posts should be a thing of the past. If a post has to alter motion Bill wants to know about it.

Ride the loop

Posts should 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.

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.

Concerns

Some points to remember are;

  1. Old posts still work.
  2. The new commands can work with other types of machines.
  3. Everyone has Sim.

Known behavior changes

  1. "MTM post" flag is deprecated, replaced with other more specific flags.
  2. Generic MDDs will output 0 if Home is called, regardless of post type.

Notes on Educational Versions

EPST

Educational posts are encrypted. We have to do that encryption here. Post devs still work using normal forms and progs. An EPST only works for one customer.

Day 3

Day 3 will be left open to finish anything we didn't finish on day 1, and to address any quesions or concerns that have come up.