What does it do or not do? What alarm messages?
Hi guys,
I have run this macro on various Mazak vertical mills hundreds of times but adding the macro to my programs in the Haas VF3 I'm running now doesn't work. All I had to do was type in the number of parts I wanted to machine in macro variable #500 and each tool would repeat. Say I'm running op#1 with 3 parts in 3 vises (one in each vise). I pick up G54, G55 & G56 and each tool machines each part without any tool changes in between. I just started running this VF3 so i'm sure this is something easy. Please help if you have any ideas. Here is a sample program.
(THIS PROGRAM RUNS )
(MULTIPLE PARTS)
(SET #500 TO NO. OF FIXTURES)
(SPOT)
T6T1M06(0.1)(3/8 SPOT DRILL 90*)
G17G20G40G90G0
M08
#100=54
WHILE[#100LE53+#500]DO1
G[#100]
G00X0.0Y0.0Z1.0G43H6S1200M03
G82R0.01Z-0.08P0.0F2.5
G80
G00Z1.0
#100=#100+1
END1
M09
G30G91X0Y0Z0
M30
What does it do or not do? What alarm messages?
http://www.kirkcon.com/
My English is a little bad, but I think this can help you
(THIS PROGRAM RUNS )
(MULTIPLE PARTS)
(SET #500 TO NO. OF FIXTURES)
(SPOT)
T6M06(0.1)(3/8 SPOT DRILL 90*)
G17G20G40G90G0
M08
#100=54
#101=53+#500
WHILE[#100LE#101]DO1
G[#100]
G00X0.0Y0.0Z1.0G43H6S1200M03
G82R0.01Z-0.08P0.0F2.5
G80
G00Z1.0
#100=#100+1
END1
M09
G91G28X0Y0Z0
M30
right now it mills the first part over and over without advancing to the 2nd part
I will try that. I just don't understand why this program works perfectly on a mazak but not on the haas.
I think if you put #100=#100+1 in brackets it will work.
[#100=#100+1]
http://www.kirkcon.com/
It is probably necessary to specify value of a variable No. 500
(THIS PROGRAM RUNS )
(MULTIPLE PARTS)
(SET #500 TO NO. OF FIXTURES)
(SPOT)
T6M06(0.1)(3/8 SPOT DRILL 90*)
G17G20G40G90G0
M08
G103 P1
#500=3
#100=54
#101=53+#500
WHILE[#100LE#101]DO1
G[#100]
G00X0.0Y0.0Z1.0G43H6S1200M03
G82R0.01Z-0.08P0.0F2.5
G80
G00Z1.0
#100=#100+1
END1
M09
G91G28X0Y0Z0
M30
Last edited by andre_77; 03-22-2012 at 09:06 AM.
I checked, the program works well.
You entered data into offset G55 and G56?
In your program from the first message it is written down WHILE[#100LE53+#500]DO1
, probably it is necessary to change on WHILE[#100LE[53+#500]]DO1
I tried everything except post #8 so far and it still doesn't work.
I think sub programs would be easier.
http://www.kirkcon.com/
I don't think the code is the problem. I mean it works perfectly on a mazak. Are there settings I need to change somewhere?