Quantcast
Channel: MTB Tech Blog
Viewing all articles
Browse latest Browse all 27

SIEMENS CYCLE800 - 5-Axis Tilted Work Planes

$
0
0
In our previous post we dealt with how FANUC handles 5-Axis Tilted Work Planes for a 5-Axis Machine with a Head/Head (C/A) kinematic configuration.
FANUC G68.2 - 5-Axis Tilted Work Planes

In this post we will explain how the SIEMENS 840D sl Control's CYCLE800 function is used for handling 5-Axis Tilted Work Planes for the same 5-Axis Machine with a Head/Head (C/A) kinematic configuration.  Since this post is really a continuation of our previous post on 5-Axis Tilted Work Planes, it may be helpful to re-read that post before continuing.

The CYCLE800 Tilted Work Plane function allows user to define the Work Plane by the following Swivel Modes.
• Axis by Axis (Euler Angles or Roll-Pitch-Yaw)
• Solid Angle
• Projection Angle
• Direct Rotary Axis Angles

NOTE: Parameter MD10600 $MN_FRAME_ANGLE_INPUT_MODE controls whether Euler angles or RPY Angles are to be used
.
One distinct difference with SIEMENS when using Roll-Pitch-Yaw angles is that their default interpretation of RPY is the reverse of the Standard Aerospace interpretation.  SIEMENS reverses X & Z so that Z is considered the Roll Axis and X is considered the Yaw Axis. 

Users can change the order to the Standard Interpretation of Roll, Pitch and Yaw by selecting the X,Y, Z Axis Sequence from the Sequence of Axes drop-down list in the Program Guide or by using the proper explicit  programming syntax.



CYCLE800 Syntax
The standard CYCLE800 consists of 16 individual argument values separated by commas and listed between parentheses.

CYCLE800(#1,#2,#3,#4,#5,#6,#7,#8,#9,#10,#11,#12,#13,#14,#15,#16)

Since we are dealing with a Head/Head type machine, we'll explain each argument in that context.

Some values will be determined by the kinematics of the machine as well as how the machine builder has commissioned the machine.  Some values and order will also change depending upon the modes used. Machine Tool Builders may also customize the Standard SIEMENS CYCLE800 function. Should you have any questions about the CYCLE800 implementation on your machine, you should consult the Applications Engineering department of your Machine Tool Builder.

Argument #1
This should always be 1. This indicates a retract in the direction of the machine Z axis. A value of 0 indicates that no retraction will take place before swiveling.


Argument #2
This is the label of the Swivel Data Record in the Machine Setup area. This contains the kinematic definition of the rotary axes. This label will always be within closed quotation marks to indicate it is a text label.


Argument #3
This value is dependent upon both the kinematic configuration as well as the commissioning of the machine by the machine builder. In our example the value will always be 100010.  The 5th & 6th digits, 10, indicate that the tool tip will track in a fashion similar to TRAORI.


Argument #4
This value indicates the mode with which CYCLE800 will function.
57 = Axis by Axis Mode w/ Axis Order X, Y, Z
45 = Axis by Axis Mode w/ Axis Order X, Z, Y
54 = Axis by Axis Mode w/ Axis Order Y, X, Z
30 = Axis by Axis Mode w/ Axis Order Y, Z, X
39 = Axis by Axis Mode w/ Axis Order Z, X, Y
27 = Axis by Axis Mode w/ Axis Order Z, Y, X
64 = Solid Angle Mode
185 = Projection Angle Mode
192 = Direct Rotary Axis Angle Mode

Arguments #5, #6, #7
The X,Y,Z origin of the tilted work plane referencing the current Work Offset.


Arguments #8, #9, #10
These depend on the mode set in Argument #4.
With Argument #4 set to 192,
Argument #8 = The C-Axis Angle,
Argument #9 = The A-Axis Angle.
Argument #10 is the rotation angle about Z, within the tilted work plane.
This will almost always be 0.


Arguments #11, #12, #13
The value of an X,Y,Z shift of the origin, within the tilted work plane.

Argument #14 will always be -1
Argument #15 will always be empty

Argument #16

This value can be 1, 2 or 3.
1= G17 Plane (The most commonly used option)
2=G18 Plane
3=G19 Plane


In the above example, we have the following Tilted Work Plane properties.
• Local Coordinate System Origin   : (200.0, 0.0, 50.0)
• Direct Rotary Axis Angle Mode
• Rotation about the X-Axis (Roll) : 30 Degrees (A-Axis Angle)
• Rotation about the Y-Axis (Pitch): 0 Degrees
• Rotation about the Z-Axis (Yaw)  : 90 Degrees (C-Axis Angle)

Since our above example has a Pitch Angle of 0.0, we will use the Direct Rotary Axis Angle Mode. This Tilted Work Plane is defined with the following CYCLE800 Statement.

CYCLE800(1,"HEAD",100010,192,200.0,0,50.0,90.0,30.0,0,0,0,0,-1,,1)

Now let's see it used in context.

Below is a graphic that displays the practical application of  Tilted Work Planes for 3+2 machining along with 5-Axis simultaneous machining in the context of an actual part.
You may download the actual NC Code file as well as the original Mastercam file that was used to generate it. This will give you a good idea of how CYCLE800 is used in the typical application of Tilted Work Planes.

In future articles we'll get into depth on the variations and nuances of CYCLE800 as well as other 5-Axis specific CNC Control functionality.








Viewing all articles
Browse latest Browse all 27

Trending Articles