Presentation is loading. Please wait.

Presentation is loading. Please wait.

Calculate new Zero Point on Trunnions with Macro

Similar presentations


Presentation on theme: "Calculate new Zero Point on Trunnions with Macro"— Presentation transcript:

1 Calculate new Zero Point on Trunnions with Macro

2 Programcode G254 A-30. B60. S54. T59. (X0.) (Y0.) (Z0.)
G254  G – Function A-30.  A – Axis in Position -30° B60.  B – Axis in Position 60° S54.  Origin Zero Point T59.  Work offset X0.  X Displacement Y0.  Y Displacement Z0.  Z Displacement

3 Offset – Centerline + Offset G54
G154 P99 Z-zero is centerline of A-axis rotation. To set G54 Z zero, measure the distance from face of the fixture to centerline of A-axis rotation. To do this, rotate to G154 P99 A+90. and pick-up face of fixture with an edge finder and note the Y-axis position. Rotate to G54 A-90. and pick-up face of fixture again. The difference between the two readings, divided by two, is the distance from face of the fixture to centerline of A-axis rotation. Enter the distance from face of the fixture to centerline of A-axis rotation in G154 P99 Z-axis offset. This value will be a negative on Trunnion units. G54 is the Origin Point on the Part. There can be a Edge or a hole. Set X Y and Z as you do this without Trunnion

4 Overview The Control is reading G254 A-30. B60. S54. T59.
First the Z-Axis travel to G00 G53 Z0 (change this in the Macro) The values from Origin Zero Point G54. ( S54) will be calculate with the Rotation Point ( G154 P99) and with the values in A and B-Axis. The calculated values become in the workoffset G59. (T59) The control activates position itself the work zero and the A- and B axis newly. (A-30. B60.)

5 Note The Tool Change Position in Z-Axis can change in the Macro G00 G53 Z0. It is the highest Point in Z. Check the Trunnion of correct rotation Check the Parameter

6 Demo Program O04717 (DATUM 05-02-10 12:19 ) (ERSTELLT MIT MASTERCAM)
G00 G17 G40 G94 G80 G90 T4 M06 S8000 M03 G17 G90 G55 M11 M13 G254 A-45. B-180. S55 T59 X-80. Y-80. Z0. M10 M12 G00 X7.5 Y2.121 G00 G43 H04 Z10. G00 Z-0.121 G01 Z F1000. G01 X0. F2000. G01 X-80. G01 X-87.5 G00 Z10. G254 A0. B0. S55 T59 X0. Y0. Z0. M30 %

7


Download ppt "Calculate new Zero Point on Trunnions with Macro"

Similar presentations


Ads by Google