Login to Account Create an Account

# G68.2 *basic* explanation

###
#1
Posted 16 December 2010 - 05:58 PM

A friend of mine is working on a MAM72.

It has G68.2 and he can't get his head around how it works.

Can someone please explain in laymans basic terms how this works?

Many thanks as always.

###
#2
Guest_SAIPEM_*
Posted 17 December 2010 - 05:19 AM

The benefit of this for machines with a nutating head is that you can use all the canned cycles while the head is tilted.

You can also generate 2-1/2D toolpaths with arcs without having them linearized because of the plane orientation.

G68.2 performs the sames funtionality as the Fanuc 3-D Coordinate Conversion using G68 but simplifies it to a single line of code.

G68 3-D Coordinate Conversion required 2 lines of code to activate.

###
#3
Posted 17 December 2010 - 08:26 AM

G68.2 X... Y... Z... I... J... K... R...

X, Y and Z define the center of rotation and will also be the work coordinate system origin.

I, J, K: Value is always 1 or 0. Only one address can be defined as 1 and the other 2 need to be 0. I1 means rotation around X. J1 means rotation around Y. K1 means rotation around Z.

R is the rotation angle. positive = CCW and negative = CW.

Hope this helps,

###
#4
Posted 17 December 2010 - 02:26 PM

###
#5
Posted 17 December 2010 - 04:32 PM

###
#6
Guest_CNC Apps Guy 1_*
Posted 17 December 2010 - 04:33 PM

Maybe he's writing a program by hand (INSANE IMHO).

Just sayin...

Also, the function is called Tilted Working Plane.

I always thought I, J, K were the angles of pitch, roll, and yaw (or rotation around X, Y and Z respectively - See B-63944EN_03 pg 874,)

I didn;t know that right off the top of my head, but I was working with it this morning.

It's pretty involved to use it correctly. The pictures in the FANUC manual for a change actually are pretty decent and do help in understanding it... at least for me. Maybe my Jinglish is getting better.

###
#7
Posted 17 December 2010 - 04:55 PM

Cycle800 does the transformation that calculates the orientation angles and actually commands the orientation axes to these angular positions. It also translates, rotates and translates again (if required) the G17 system so that when it is done the machine and control are ready to read-in and process G-code blocks

that are identical to blocks for simple vertical bed mills.

###
#8
Posted 17 December 2010 - 06:00 PM

OK, here it goes,

G68.2 X... Y... Z... I... J... K... R...

X, Y and Z define the center of rotation and will also be the work coordinate system origin.

I, J, K: Value is always 1 or 0. Only one address can be defined as 1 and the other 2 need to be 0. I1 means rotation around X. J1 means rotation around Y. K1 means rotation around Z.

R is the rotation angle. positive = CCW and negative = CW.

Hope this helps,

Martin,

This may be your particular Machine's implementation of G68.2, but many Fanuc controls will allow 3-dimensional rotation.

On these controls you will get a G68.2 X Y Z I J K (with no "R"). The I J K values will use Euler Angles for describing the Rotation about X,Y, and Z.

In these cases, I, J, and K will hold a rotation value from 0-90 degrees.

Most controls use G53.1 in conjunction with the G68.2 command. The G53.1 controls the Tool Axis direction (Z+ or Z- direction).

Wikipedia does a great job of explaining Euler's angles:

http://en.wikipedia....ki/Euler_angles

###
#9
Posted 17 December 2010 - 06:24 PM

Wikipedia does a great job of explaining Euler's angles:

http://en.wikipedia....ki/Euler_angles

Good link Colin.

###
#10
Posted 17 December 2010 - 06:27 PM

I get that way when I start reading the Geometric derivation section. My eyes start to roll back in my head...

In that section they talk about how to derive the Euler angles by using Matrix calculus.

###
#11
Posted 17 December 2010 - 06:31 PM

Joe/James: - I *think* the G68.2 is what is spat out by the delcam post and he wanted to get his head around what it was doing.

Notice the word *think* here....

###
#12
Posted 17 December 2010 - 08:52 PM

###
#13
Posted 17 December 2010 - 09:40 PM

###
#14
Posted 18 December 2010 - 02:17 AM

The whole point of using the transformed work plane command is that you can create a 'reference plane' that is rotated in 3D space, and program using standard 3 axis code. It is typically used to simplify 3+2 machining. Your controller will take the 3 axis code ( a pocket or canned tap cycle for example) and do the 5 axis motion calculations inside the control.

As others have mentioned, the Siemens CYCLE 800 is another example of using transformed work planes.

###
#15
Posted 18 December 2010 - 03:38 AM

XYZ of the G68.2 line is new origin and centre of the rotation.

IJK is Euler rotation angles. I rotates around the untransformed Z axis, value can be +/- 180 ( or 0-359.999 depending on machine ) J is then rotation around the new X axis, here the value can be from 0 and up to endstop of A( B ) axis. Finally K is rotation around the new Z axis to allow the user to position the X axis in the wanted direction.

Always use G53.1 after the G68.2 line.

You'll also need to apply G43 after G53.1 and cancel it again ( G49 ) before G69

As already mentioned Siemens CYCLE800 can do exactly the same. And so will Heidenhain CYCL DEF 7 + CYCL DEF19 ( PLANE )

###
#16
Posted 18 December 2010 - 12:25 PM

Well I've worked with both MAM72 and the new MX-520.

XYZ of the G68.2 line is new origin and centre of the rotation.

IJK is Euler rotation angles. I rotates around the untransformed Z axis, value can be +/- 180 ( or 0-359.999 depending on machine ) J is then rotation around the new X axis, here the value can be from 0 and up to endstop of A( B ) axis. Finally K is rotation around the new Z axis to allow the user to position the X axis in the wanted direction.

Always use G53.1 after the G68.2 line.

You'll also need to apply G43 after G53.1 and cancel it again ( G49 ) before G69

As already mentioned Siemens CYCLE800 can do exactly the same. And so will Heidenhain CYCL DEF 7 + CYCL DEF19 ( PLANE )

Mic, is there any particular reason you're using G68.2? I know why people use it on nutating head machines, but I haven't come across a need to use it on a trunnion machine. Are you using a right angle?

###
#17
Posted 18 December 2010 - 12:46 PM

###
#18
Posted 18 December 2010 - 01:21 PM

Joe, did you rob that pic from Evil? Or are you his protégé ?

I robbed it randomly off of the web, and spliced in the Euler's angles part. If you do a google image search for "at first I was like", you'll find lots of hilarious stuff!

###
#19
Posted 18 December 2010 - 01:29 PM

Mic, is there any particular reason you're using G68.2? I know why people use it on nutating head machines, but I haven't come across a need to use it on a trunnion machine. Are you using a right angle?

Yes there is. To be able to use the same program with different datum locations you either need to use G54.2(DFO) or G68.2(TWP). Dynamic Fixture Offset has one limitation. All machines I've seen has a small offset between A( B ) axis and C axis centre line measured in the XY plane, normally below 20 micron's. This small offset isn't compensated by G54.2 while G68.2 also takes care about this.

Maybe it's possible to compensate this in the postprocessor, but I've found it easier to use G68.2 because this works with most cam systems and posts.

###
#20
Posted 18 December 2010 - 01:42 PM

Yes there is. To be able to use the same program with different datum locations you either need to use G54.2(DFO) or G68.2(TWP). Dynamic Fixture Offset has one limitation. All machines I've seen has a small offset between A( B ) axis and C axis centre line measured in the XY plane, normally below 20 micron's. This small offset isn't compensated by G54.2 while G68.2 also takes care about this.

Maybe it's possible to compensate this in the postprocessor, but I've found it easier to use G68.2 because this works with most cam systems and posts.

Ahhhh I see. I've only used G54.2 on a Matrix control, and it comps for the tiny mismatch between A and C. I didn't realize there were machines that didn't. Good knowledge!