V10:2009PostMeeting:agenda: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JeffM (talk | contribs)
No edit summary
JeffM (talk | contribs)
Redo order of things, Put Bill as the main guy for the intro
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.
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=
=Intro and Welcome=
Welcome, Intro, etc..He always does.
Bill Gibbs


=Nancy will say stuff=
=Expectations=
Schedules and Goals for the meeting
(Bill Gibbs)
 
=This meeting=
==Expectations==
(JeffM)
This meeting  will have 2 parts
This meeting  will have 2 parts


Line 20: Line 16:


=V10 Goals=
=V10 Goals=
(JeffM)
(Bill Gibbs)


V10 has one overriding goal.
V10 has one overriding goal.
Line 49: Line 45:


=MDD=
=MDD=
(Daniel)
(Daniel and Bill)
The MDD system has been completely redone to support these new machines.
The MDD system has been completely redone to support these new machines.


Line 63: Line 59:


=SIM=
=SIM=
(Daniel)
(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.
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.



Revision as of 17:52, 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;

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

  1. 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.
  2. 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.
  3. 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).
  4. 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.
  5. 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:

  1. Sync to interop autopark location triggers
  2. SOP/EOP synch points
  3. Dragging of system-synced ops does not break syncs
  4. User syncing to system-synced ops (sync stacking)
  5. 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.

Template Refactor

A lower prioity task is to refactor the VMM template to make it easier for more people to use the VMM, but that is not one of the main goals at this time. VMM refactoring of the template may happen after V10 has shipped.

Questions to the Post devs

What takes the longest in post development ( other then research )?

Other then swiss what do we spend the most time doing?

What prevents non-mtm post devs from working with MTM?

Tool Changes

(JeffM)

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

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 Debuger Changes (Exceptions)

Post engine can't crash anymore, it catches exceptions. Posts have to not do stupid things or they won't post. Post debugger will be redone to get all this info, including prog callstack.

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.

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.

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.


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

Day 2

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