Change your G68 line to:
G68 G17 A0. B0. R#27 (TURN ON SKEW)
I've been tasked with writing a probe program to 'skew' a common part shape. (long and skinny) The probe program self seems to work, but when I turn on G68, I'm badgered by over-travel alarms.
Hear is the program, with a test tool path... your thoughts?
%
O0070 (SKEW TESTING)
(*WARNING, THIS PROGRAM ASSUMES*)
(*Z ZERO IS THE TOP OF THE PART*)
(*ORIGIN CENTER TOP*)
(*X-Y WITHIN APROX .3 INCHES*)
(PART LENGTH IN X)
#30 = 8.38
(PART WIDTH IN Y)
#29 = 1.335
G17
G00 G91 G28 Z0.
G103 P1
T24 M6
G00 G154 P1 G90 X.0005 Y.0005
G43 H24 Z.3
(WEB X-AXIS)
G65 P9995 W154.1 A14. D[#30] H-.6
X-[#30*.4] Y.0005
(PROBE - WEB Y AXIS RIGHT SIDE)
G65 P9995 W55. A16. D[#29] H-0.6
X[#30*.4] Y.0005
(PROBE - WEB Y AXIS RIGHT SIDE)
G65 P9995 W56. A16. D[#29] H-0.6
#7002 = [#5242+#5262]/2
G28 G91 Z0.
(MATH)
#27 = ATAN[[#5262-#5242]/[#30*.8]]
G68 G17 A0. B0. R#17 (TURN ON SKEW)
T12 M6
G00 G91 G154 P1
X-4. Y0.
S1200 M3
G43 H12 Z0.
G1 X4. F30.
Z.1
G69 (TURN SKEW OFF)
G00 G28 G91 Z0.
G28 Y0.
M30
%
I guess I should start with a nice long safe single surface ping in Z to start the program to avoid the possibility of the operator crashing it, hindsight 20/20...
Similar Threads:
Change your G68 line to:
G68 G17 A0. B0. R#27 (TURN ON SKEW)
Thanks,
Ken Foulks
Ken,
Doesn't he need to rotate about X & Y also
Bob
maybe I am stating something everyone already knows However you are aware that all Haas probing includes Renishaw's Inspection Plus which has rotation examples . It also has examples of all their cycles . Very powerful stuff
your dealer should be able to provide them as it is include with the purchase of the factory installed probing
Inspection Plus - software for machining centres
that link will take you to their website . The inspection plus files are the ones that appear as subs when running your current setup
Well thank you sir, I will certainly look into that. Seems very interesting. I've never seen or used any of those G65 P# numbers listed on that link, I always have used what machine gives me via it's offset setting system, but the protected positioning, and other features look quite powerful.
I also needed to change the
G00 G91 G154 P1
to G00 G90 G154 P1
(among other things design wise)
It worked really well for aligning parallel to the X axis, but would not set the Y origin in the center correctly.
I tried some of the code I found from renishaw, None of it worked..subprogram not found...parameter not correct... I don't know if we have that package installed. (a probe did come with the machine however)
OK if the probe and toolsetter were installed by Haas it has the software I am talking about.
if you run your current code in single block you will see that it goes to many subprograms with 9XXX numbers
you can verify this by turning setting 23 off and going to list programs. you will then see all the 9000 series programs as they are protected with setting 23 turned to on
Turn setting 23 back on
now to run Renishaw code you must do more than the one line
ie
T20 M6
G0 G90 G59 X0 Y0
G43 H20 Z4.
G65 P9832 ( TURN ON PROBE)
G65 P9810 Z.2 F100. ( PROTECTED MOVE )
G65 P9811 Z0 S1 (PROBE TOP OF PART SET G54)
G65 P9810 Z4. ( PROTECTED MOVE)
G65 P9833 ( TURN PROBE OFF)
G0 G53 G49 Z0
This is the basic format to use inspection plus . The protected moves take the place of rapid moves . If the stylus is triggerred(deflected) during a protected move the machine alarms
OK if the probe and toolsetter were installed by Haas it has the software I am talking about.
if you run your current code in single block you will see that it goes to many subprograms with 9XXX numbers
you can verify this by turning setting 23 off and going to list programs. you will then see all the 9000 series programs as they are protected with setting 23 turned to on
Turn setting 23 back on
now to run Renishaw code you must do more than the one line
ie
T20 M6
G0 G90 G59 X0 Y0
G43 H20 Z4.
G65 P9832 ( TURN ON PROBE)
G65 P9810 Z.2 F100. ( PROTECTED MOVE )
G65 P9811 Z0 S1 (PROBE TOP OF PART SET G54)
G65 P9810 Z4. ( PROTECTED MOVE)
G65 P9833 ( TURN PROBE OFF)
G0 G53 G49 Z0
This is the basic format to use inspection plus . The protected moves take the place of rapid moves . If the stylus is triggered(deflected) during a protected move the machine alarms
Thanks again Kevin. It seems the reference I printed out was for a different controller. for example, turning the probe on with the reference I found was
G65 P9023 M1. (switch on probe)
not the
G65 P9832 ( TURN ON PROBE) line you used below.
When I disabled setting 23, I could see all the programs you are talking about, they are indeed there.
Once I have polished version of this particular program, I'll post it hear so everyone can use it. (long-skinny rectangles must be pretty common)
The G65 P9023 is a Haas program and is an interface from VQC to Renishaw. If you pay attention all probing performed from VQC will have that macro call out with different variables. If you probe from the offset page it will be late G65 P9995.
They do this for a sort of position manual and press cycle start. When doing advanced you need to use the method I described for best results