New to using Haas' G154 positions.....
Hey guys, having some troubles here. I have never used Haas' G154 positions and wondering if I could get some help. I have a fixture with 10 different positions(parts) and when I try to run my program I get an "X overtravel" alarm. Not sure why.....
%
O4041 (KAGE)
(N10 - SETTING PART OFFSETS)
(N50 - PROBE Z ON EACH PART)
(N101 - N110 ROUGH CYLCE EACH POSITION)
(N201 - N210 FINISH CYCLE EACH POSITION)
(N1000 - ROUGHING SUBPROGRAM)
(N2000 - FINISHING SUBPROGRAM)
M97 P10
N10
(SET OFFSETS)
G10 L20 P1 G90 X1.1625 Y7.525
G10 L20 P2 G90 X4.6125 Y7.525
G10 L20 P3 G90 X8.0625 Y7.525
G10 L20 P4 G90 X11.5125 Y7.525
G10 L20 P5 G90 X14.9625 Y7.525
G10 L20 P6 G90 X14.9625 Y-0.725
G10 L20 P7 G90 X11.5125 Y-0.725
G10 L20 P8 G90 X8.0625 Y-0.725
G10 L20 P9 G90 X4.6125 Y-0.725
G10 L20 P10 G90 X1.1625 Y-0.725
G25
N50
(PROBE Z ON EACH PART)
M06 T20
G00 G154 P1 X0. Y-3.4 THE ERROR OCCURS AT THIS LINE
G43 H20 Z1.
G65 P9995 W154.01 A20. H-1.5
G00 G154 P2 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.02 A20. H-1.5
G00 G154 P3 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.03 A20. H-1.5
G00 G154 P4 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.04 A20. H-1.5
G00 G154 P5 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.05 A20. H-1.5
G00 G154 P6 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.06 A20. H-1.5
G00 G154 P7 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.07 A20. H-1.5
G00 G154 P8 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.08 A20. H-1.5
G00 G154 P9 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.09 A20. H-1.5
G00 G154 P10 X0. Y-3.4
G43 H20 Z1.
G65 P9995 W154.10 A20. H-1.5
G25
G26
Am I possibly using the G154 code in the wrong way? My offsets for G54 are X-19.5, Y-8.0. The travel of the machine is 20 x 16. When I look at the offset page for G154 1-10, it shows the exact numbers that I have the program inputting in those positions. Should they be that way, or should they show incremental numbers from the actual G54?
Thanks in advance for the help.....
Re: New to using Haas' G154 positions.....
G154 doesn't work off of G54, It addresses more offsets (1-99 on a HAAS). You need to put the absolute machine positions for each
offset. you could do this:
#100=[-19.5](fixture offset X)
#101=[-8.](fixture offset Y)
G10 L20 P1 G90 X[1.1625 + #100]Y[7.525 + #101]
and so on
Re: New to using Haas' G154 positions.....
you can also try this if the work offsets are fixed from g54
NOTE --- G110-G129 ARE G154P1-G154P20
N2222
#14001= #5221 + 2. (G154 P1 X)
#14002= #5222 - 1.25 (G154 P1 Y)
#14003= #5223 + 1.00 (G154 P1 Z)
#14004= #5224 (G154 P1 A)
#14021= #5221 + 4. (G154 P2 X)
#14022= #5222 - 1.25 (G154 P2 Y)
#14023= #5223 + 1.00 (G154 P2 Z)
#14024= #5224 (G154 P2 A)
#14041= #5221 + 6. (G154 P3 X)
#14042= #5222 - 1.25 (G154 P3 Y)
#14043= #5223 + 1.000 (G154 P3 Z)
#14044= #5224 (G154 P3 A)
#14061= #5221 + 8. (G154 P4 X)
#14062= #5222 - 1.25 (G154 P4 Y)
#14063= #5223 + 1.000 (G154 P4 Z)
#14064= #5224 (G154 P4 A)
the 14000 numbers are for a specific g154 position and the 5221-5224 are for the g54 work offset's x,y,z,a
what we do is find g54 and run this sub routine to do all the g154 work offsets
rcs60
Re: New to using Haas' G154 positions.....
Thank you mcode, I thought that maybe I was using it the wrong way. (thinking it was based off of the G54) And also thank you rcs60, that is exactly what I was trying to accomplish. I will try it and I am sure it will do what i want. Thanks again......