Workplane Modes: Difference between revisions
| (8 intermediate revisions by 2 users not shown) | |||
| Line 28: | Line 28: | ||
The Siemens cycle has 3 distinct sub modes that it can be used in. All machines that support cycle 800 support all 3 modes, and the sub mode is defined as part of the Cycle 800 line. The sub modes are defined as bitmask flags. | The Siemens cycle has 3 distinct sub modes that it can be used in. All machines that support cycle 800 support all 3 modes, and the sub mode is defined as part of the Cycle 800 line. The sub modes are defined as bitmask flags. | ||
====Axis | ====Axis Swivel mode==== | ||
This mode is identical to Euler angle output and uses the OpCS output node. The cycle supports a definition of the order of operations with each call to the command so we can configure the post to use the Z,X,Z ordering of our current commands for V10.5. For V11 the post processor can select one of the 12 valid rotation orders in the Workplane Form dialog. The output is still always in the OpCS so the order of operations doesn’t affect the end user angles. | This mode is identical to Euler angle output and uses the OpCS output node. The cycle supports a definition of the order of operations with each call to the command so we can configure the post to use the Z,X,Z ordering of our current commands for V10.5. For V11 the post processor can select one of the 12 valid rotation orders in the Workplane Form dialog. The output is still always in the OpCS so the order of operations doesn’t affect the end user angles. | ||
==== | ====Projection Mode==== | ||
This is a mode that uses a projection of the output CS onto 2 fixed axes then uses a third angle to do an in plane rotation to define any CS. This mode is capable of defining the OpCS as an output CS but we do not have any commands that would compute the fixed angles. There is no need to support this mode when Cycle 800 already supports the input of Euler angles using Axis Swivel mode. We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is identical. | This is a mode that uses a projection of the output CS onto 2 fixed axes then uses a third angle to do an in plane rotation to define any CS. This mode is capable of defining the OpCS as an output CS but we do not have any commands that would compute the fixed angles. There is no need to support this mode when Cycle 800 already supports the input of Euler angles using Axis Swivel mode. We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is identical. | ||
====Solid Angles==== | ====Solid Angles==== | ||
This mode defines the workplane on the machine by using a pair of machine independent compound rotations. Since this mode only uses 2 angles it can only define a tool orientation not a complete CS, and the output CS may not match the OpCS or our legacy ‘tilt op’ workplane. For this reason we will not support this mode for the same reasons we will not support Projection, the machine can just use Axis Swivel and output to the OpCS. We do not see any reason why a customer would prefer to use an arbitrary 2 axis rotation over a fully defined OpCS where his output matches his input. . We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is better and more useful. | This mode defines the workplane on the machine by using a pair of machine independent compound rotations. Since this mode only uses 2 angles it can only define a tool orientation not a complete CS, and the output CS may not match the OpCS or our legacy ‘tilt op’ workplane. For this reason we will not support this mode for the same reasons we will not support Projection, the machine can just use Axis Swivel and output to the OpCS. We do not see any reason why a customer would prefer to use an arbitrary 2 axis rotation over a fully defined OpCS where his output matches his input. . We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is better and more useful. | ||
| Line 39: | Line 39: | ||
====NOTE==== | ====NOTE==== | ||
Technically we can support this mode right now 10.5 if we configure the bitmask in the command to use Axis Swivel and the Z,X,Z ordering. So nobody should say we don’t support this mode. | Technically we can support this mode right now 10.5 if we configure the bitmask in the command to use Axis Swivel and the Z,X,Z ordering. So nobody should say we don’t support this mode. | ||
===Heidenhein Cycle 19=== | ===Heidenhein Cycle 19=== | ||
Like the Siemens machine, this cycle has a pair of sub modes. | Like the Siemens machine, this cycle has a pair of sub modes. | ||
====Plane Spatial Mode==== | ====Plane Spatial Mode==== | ||
This mode uses 3 angles that define the output CS as rotations around the 3 machine space axes. This mode is just a specific version of the Euler Style workplane using the X Y Z axis order. V11 supports this axis ordering, 10.x does not. | This mode uses 3 angles that define the output CS as rotations around the 3 machine space axes. This mode is just a specific version of the Euler Style workplane using the X Y Z axis order. V11 supports this axis ordering, 10.x does not. In order to get the proper output the post must call the commands in reverse order, EulerGamma# EulerBeta# EulerAlpha# | ||
====Projection Mode.==== | |||
This mode appears identical to the projection mode of the Siemens Cycle 800, and will not be supported for the same reasons. Cycle 19 can output in spatial mode and the end results on the machine are identical. | |||
===Hurco G68.2=== | |||
The Hurco VMX series of machines uses it's own G68.2 system to define workplanes. It is not related in anyway to Fanuc G68.2 in how it is computed. | |||
G68.2 X0 Y0 Z0 I1. J0 K0 U0 V1. W0 | |||
This | |||
This machine requires the output of the new X and Y axis vectors in the world coordinate system. The new X axis is defined by the I, J, and K values, and the new Y axis is defined by the U, V, and W values. | |||
The command [[OpCSAxisVector]]# can be used to get these values and then the post can use the [[SetUseOpCS]] command to change the output mode to the coordinate system. | |||
==A note on OPCS based workplanes== | |||
Versions of GibbsCAM prior to version 11 are limited in when they can go into and out of OPCS mode using the [[SetUseOpCS]] command. This command was originally intended to output all ops in a program relative to the programed operation CS. This meant that the effects of the command only take effect when the [[EachOp]]/[[NextOp]] loop cycles. This limitation makes it very hard for posts to go into OPCS mode during an approach loop. We have used the OpCS command to implement workplanes in some special case Rotary Part Mill-Turn machines (Cublex), but have not done so for Rotary Head Mill-Turns. These limitations have been removed in V11 and more posts can be written using these styles of workplanes. | |||
==See also== | ==See also== | ||
http://www.heidenhain.de/presentation/elearning/EN/index/N13338/N13C9A/N1420C/N1420C.html | http://www.heidenhain.de/presentation/elearning/EN/index/N13338/N13C9A/N1420C/N1420C.html | ||
[[Category:Articles]] | |||
Latest revision as of 17:39, 5 February 2015
Overview
The V11 Post Processor supports several new ways to define a workplane over the older version of the software.
Workplane Types
There are 2 possible orientations for workplanes, OpCS and TiltOp. For each Orientation there are numerious ways to describe the workplane to the CNC machine.
Tilt Op
Tilt Op workplanes are the oldest workplane type we support. It it takes the XY plane and rotates it around any rotary axes attached to the toolgroup. This orientation may not allign with any CS defined in GibbsCAM and is dependent on the Kinematic setup in the MDD. This workplane is usualy defined using the G68 code for Fanuc style machines, but can be defined in Euler angles if the user desires.
OpCS
OpCS workplanes require a CNC machine that can fully define an orientation and usually involves 3 angles that are not tied to the machine kinematics, or a series of vectors. There are several ways to define these workplanes on various CNC machines, with the most common being the use of Euler angles.
Euler Mode
The Workplane Tab in the Movements dialog in Compost 4 lets the post define how workplanes will be used. Previous versions only allowed a single Euler rotation order of Z,X,Z. Newer versions allow the selection of one of 12 rotation orders. These orders are used to support specific control and output requirements.
Notes on Specific Machines and Modes
Legacy Fanuc G68
This is the mode used by most legacy Mill/Turn and MTM posts. It simply takes the XY plane and rotates it to the tool vector. The output does not match the OpCS and the mode is dependent on machine kinematics. This is what we currently call “workplane” mode and is used by the post processor selecting the “Workplane” origin node in the Axis Info Editor and using the machine rotary axis to define workplane on the machine. This feature works in V11 just like it does in previous versions.
Matsura Fanuc G68.2
This mode was added to 10.0 as the “Euler” commands. It defines a machine workplane using 3 angles and can fully define any CS, so we use the OpCS for output. The angles for the workplane are machine independent. This mode is the default for the Euler angle commands and returns angles based on a Z,X,Z order of operations. This feature works in V11 just like it does in previous versions as long a new post uses the OpCS meta-node in Axis Info.
Mill Plus G7
This mode is a minor variant of the existing Euler mode. It works the same way but requires a different axis ordering (Z,Y,X). This ordering can be selected in the Workplane Form dialog and then works identicealy to G68.2.
Siemens Cycle 800
The Siemens cycle has 3 distinct sub modes that it can be used in. All machines that support cycle 800 support all 3 modes, and the sub mode is defined as part of the Cycle 800 line. The sub modes are defined as bitmask flags.
Axis Swivel mode
This mode is identical to Euler angle output and uses the OpCS output node. The cycle supports a definition of the order of operations with each call to the command so we can configure the post to use the Z,X,Z ordering of our current commands for V10.5. For V11 the post processor can select one of the 12 valid rotation orders in the Workplane Form dialog. The output is still always in the OpCS so the order of operations doesn’t affect the end user angles.
Projection Mode
This is a mode that uses a projection of the output CS onto 2 fixed axes then uses a third angle to do an in plane rotation to define any CS. This mode is capable of defining the OpCS as an output CS but we do not have any commands that would compute the fixed angles. There is no need to support this mode when Cycle 800 already supports the input of Euler angles using Axis Swivel mode. We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is identical.
Solid Angles
This mode defines the workplane on the machine by using a pair of machine independent compound rotations. Since this mode only uses 2 angles it can only define a tool orientation not a complete CS, and the output CS may not match the OpCS or our legacy ‘tilt op’ workplane. For this reason we will not support this mode for the same reasons we will not support Projection, the machine can just use Axis Swivel and output to the OpCS. We do not see any reason why a customer would prefer to use an arbitrary 2 axis rotation over a fully defined OpCS where his output matches his input. . We will not support this sub mode and instruct post developers to use Axis Swivel mode as the end result on the machine is better and more useful.
NOTE
Technically we can support this mode right now 10.5 if we configure the bitmask in the command to use Axis Swivel and the Z,X,Z ordering. So nobody should say we don’t support this mode.
Heidenhein Cycle 19
Like the Siemens machine, this cycle has a pair of sub modes.
Plane Spatial Mode
This mode uses 3 angles that define the output CS as rotations around the 3 machine space axes. This mode is just a specific version of the Euler Style workplane using the X Y Z axis order. V11 supports this axis ordering, 10.x does not. In order to get the proper output the post must call the commands in reverse order, EulerGamma# EulerBeta# EulerAlpha#
Projection Mode.
This mode appears identical to the projection mode of the Siemens Cycle 800, and will not be supported for the same reasons. Cycle 19 can output in spatial mode and the end results on the machine are identical.
Hurco G68.2
The Hurco VMX series of machines uses it's own G68.2 system to define workplanes. It is not related in anyway to Fanuc G68.2 in how it is computed.
G68.2 X0 Y0 Z0 I1. J0 K0 U0 V1. W0
This machine requires the output of the new X and Y axis vectors in the world coordinate system. The new X axis is defined by the I, J, and K values, and the new Y axis is defined by the U, V, and W values.
The command OpCSAxisVector# can be used to get these values and then the post can use the SetUseOpCS command to change the output mode to the coordinate system.
A note on OPCS based workplanes
Versions of GibbsCAM prior to version 11 are limited in when they can go into and out of OPCS mode using the SetUseOpCS command. This command was originally intended to output all ops in a program relative to the programed operation CS. This meant that the effects of the command only take effect when the EachOp/NextOp loop cycles. This limitation makes it very hard for posts to go into OPCS mode during an approach loop. We have used the OpCS command to implement workplanes in some special case Rotary Part Mill-Turn machines (Cublex), but have not done so for Rotary Head Mill-Turns. These limitations have been removed in V11 and more posts can be written using these styles of workplanes.
See also
http://www.heidenhain.de/presentation/elearning/EN/index/N13338/N13C9A/N1420C/N1420C.html