MDD Parking Location Types

From Compost Wiki
Revision as of 18:27, 2 August 2016 by Danm (talk | contribs) (Fixed a few typos)
Jump to navigation Jump to search

Overview

This article provides a basic overview of the parking location types that can be defined in the Machine Manager, how they function, and what the sometimes subtle differences between them are.

Linear Axes

Move Types

Machine Manager offers 6 different move types for each linear axis in a flow axis set. These move types determine where an axis will move to during an interop event that uses the specified location.

The 6 types are:

Absolute

The absolute type can be somewhat confusing to post developers. It is not a move to an absolute output coordinate. It is an absolute move of the axis. Axes do not have specific origins, only the terminal nodes attached to them do, so the absolute value is not "relative" to any specific node, it is simply a shift of all nodes attached to the axis by the specified amount from their initial position. See the section below, Absolute/Incremental Axis Positions vs Node Relative positions for more information.

Incremental

The incremental type is an incremental shift of an axis (and all nodes attached to it) from its current location. All event locations are tied to off part events. When transitioning from on part to off part, the tool will always be taken to the part clearance volume first, before any event locations. This means that the incremental motion will never be from an on part location (depth or CP3).

User

The user type defines a more traditional parking location value. It is always defined as the distance between the Datum of the Tool Group assigned to the flow axis set and the Part Origin of the Part Station assigned to the current flow axis set. Axes that are set to user will display a coordinate entry field in the document control dialog to allow the user to enter in a custom parking location relative to the part origin.

Preset

Preset is very similar to the user parking location type. It is always defined as the distance between the Datum of the Tool Group assigned to the flow axis set and the Part Station assigned to the current flow axis set. The only difference between user and preset is which origin on the part is used (Part origin for user, part station for preset). Preset values are fixed by the MDD. Unlike user, they are NOT presented to the user in the document control dialog.

Tool to Machine

Tool to machine is a rarely used option that will drive the current tool tip to the specified value relative to the machine root.

No Move

No move is exactly what it is named, the axis will not move. As was stated with the incremental move type, when transitioning from on part to off part, tools will always be taken to the part clearance volume before any event locations are processed. So if an axis is set to no move, it will stay at CP1, not depth or CP3.


Absolute/Incremental Axis Positions vs Node Relative positions (User, Preset, Tool to Machine)

All parking location types can be broken down into 2 major categories: types that directly move axes (Absolute or Incremental), and types that define a specific distance between a pair of nodes (User, Preset, and Tool to Machine).

Axis Moves

A linear axis on its own does not have any specific origin location. It can be thought of as an infinitely long string. Axes are only defined when terminal nodes (tool groups, part stations, or utility nodes) are attached to an axis. All terminal nodes define an origin - where they are in space when the axis has not moved.

This is a simple depiction of a linear X axis with an attached Tool Group 1. The tool group origin is at 0 relative to machine root.


When this axis is commanded to move, such as with an absolute move command, it will move all nodes attached to it by the specified distance.

The axis above has been commanded to move 100 units. The attached Tool Group moves 100 units along the vector. The tool group origin is now at 100 units relative to the machine root.


Sometimes there are multiple terminal nodes attached to the same axis.

The axis above has a pair of tool groups attached to it, TG1 is at 0 relative to machine root, and TG 2 is at 10.


When the axis is commanded to move, all nodes attached move the same distance.

After the move, TG1 is now at 100 relative to machine root, and TG2 is at 110.


It should be clear from the pictures above that all axis moves are relative to the starting position of attached nodes. While this example has some nodes start at 0 relative to the machine root, a node's origin can be at any location in 3D space. There is no single origin or reference that all move types have in common.

Going Home

Because an absolute axis move is always relative to the starting node location for a tool group, it is very easy to make a tool group "go home" by simply using a move of Absolute 0 in a parking location. This frees the MDD and post developers from having to know the distance from some fixed node (such as the part station) to the defined home location. Absolute 0 always takes all nodes back to where they were defined in the MDD. For this reason, Absolute 0 corresponds to "full retract" motion from previous versions of the software.

Node Relative Moves

Unlike axis based parking locations, all node relative moves do have a specific origin defined.

Above is defined a tool group node, attached to an axis and a part station that is attached to the machine root. For this simple example both the TG1 and PS1 will be defined at zero relative to the machine root. This is not a requirement, as nodes can be defined anywhere in 3D space.

If a move type such as Preset 100 is used, then the tool group datum will be taken to 100 units relative to the defined part station.

The axis above has moved so that the distance between the tool roup datum and the part station origin is 100 units.

For part stations that are defined at the same location as the tool group datum in the axis being driven, this motion appears to be identical to an absolute move, since the toolgroup datum ends up in the same location in machine space.

However, this is not the case when the nodes are not defined at identical locations, or when multiple nodes are attached to an axis.

The image above shows a parking location event where TG1 has been driven to 100 units relative to the part station. Again this looks identical to our absolute case, with TG2 being at 110 units away.

The above image shows an identical parking location event, but for the flow axis set that references TG2. Because preset is not an absolute axis move, but a node relative distance, TG2 is driven to be 100 units away from the part station, leaving TG1 at 90 units.

This is one example of the difference between absolute and preset values. Both flow axis sets can be set to Absolute 100, and the resulting state will be identical, regardless of which TG/PS pair is used by the flow axis set, but if Preset 100 is used, the locations of the nodes will be different depending on which pair is used. It is important for developers to understand this difference in order to select the correct move types for a given machine.

Going Home

When defining a home location using a node relative distance, the location will need to be input relative to the defined nodes. This means that to go to a fixed home location, the distances between the nodes will need to be entered into every parking location separately. This may be desirable if each flow axis set needs a distinctly different parking location, but if the home location is fixed, absolute may be a better choice.

Rotary Axes

Machine Manager offers 4 different move types for each rotary axis in a flow axis set. These move types determine where an axis will move to during an interop event that uses the specified location.

The 4 types are:

Absolute

Like the linear axes, the absolute move type drives the axis to the specified angle, relative to its starting location.

Incremental

Like the linear axes, the incremental move type drives the axis the incremental distance from its current location.

Short Rotation

The short rotation type is unique to rotary axes. When used, the axis will be driven to the shortest rotation that aligns with the specified angle's orientation. This means that if the MDD specifies a short rotation of 0, and the rotary axis is at 350 degrees, the axis will be driven to an absolute value of 360. This is because 360 degrees aligns with the same orientation as 0, and is a shorter (10 degree) move from 350 compared with the longer (350 degree) move back to absolute zero.

No Move

Like the linear axes, the no move move type does not move the axis in any way.