What's new
What's new

Need Pallet Program for VF-5

Mohawk72

Aluminum
Joined
Jan 17, 2008
Location
Syracuse, NY
Hello,

I have just installed a new VF-5 Mill and have a Midaco automatic 2 pallet system mated to this Mill.

I need a program that will allow my operators to Assign programs to the pallets and run one program and at the end of run, Exchange the pallets.

The Haas Manual talks about G188 and the Pallet Schedule Table.
But my G-Code table only goes to G187 and I can Not find anything in the manual or the machine that says anything about the Pallet Schedule Table.

I have written small programs that exchange the pallets now.
This is the first program.
%
O00015
( TO REMOVE PALLET A - INSERT PALLET B)
( PALLET A IS AT OFFSET G128 )
( PALLET B IS AT OFFSET G129 )
( CYCLE TIME IS 0:41 SEC. )
G00 G53 X-50. Y-0.69
M23
G00 G53 X-50. Y-25.4
M24
M30
%

The other is exactly opposite.

I can rename these A.txt for Pallet A and B.txt for Pallet B.
And have a sub call at the end of existing running program but I really dont want to edit each program according to which pallet the setup guys put the fixture on.

I need to make this simple as I have 72 Other CNC machines I am responsible for.

Thanks in Advance.

Mohawk72
 
This is what we have come up with.

This way all the operator has to do is go to this variable 100 address and input a 1 or a 2.

I will also have a dummy program if only one of the pallets has a program running then.. Right?

**** So in the below program which I renamed to 1000.txt in our Machine. ****

Program 1000 Will run Program 0006 on Pallet B if variable 100 has a 1 in it.

Then it will run program 0005 on pallet A. Right?



%
O01000 (Single main program 1000 to select pallets and call programs)

IF [#100EQ2] GOTO2 (CHECKS THE VALUE OF #100 SELECT OTHER PALLET IF = 2)

IF[#100NE1]GOTO3 (END IF #100 ISN'T =1)
N1( TO REMOVE PALLET A - INSERT PALLET B)
( PALLET A IS AT OFFSET G128 )
( PALLET B IS AT OFFSET G129 )
( CYCLE TIME IS 0:41 SEC. )

IF[#100EQ2]GOTO3
G00 G53 X-50. Y-0.69
M23
G00 G53 X-50. Y-25.4
M24

#100=2

M98 P0006 (SETUP MAN EDIT PROGRAM NUMBER)
M99

N2(TO REMOVE PALLET B - INSERT PALLET A)
( PALLET A IS AT OFFSET G128)
( PALLET B IS AT OFFSET G129 )
( CYCLE TIME IS 0:41 SEC. )

IF[#100EQ1] GOTO3 (CHECKS THE VALUE OF #100 END IF = 1 SHOULDN'T HAVE GOTTEN HERE)
G00 G53 X-50. Y-25.4
M24
G00 G53 X-50. Y-0.69
M23

#100=1

M98 P0005 (SETUP MAN EDIT PROGRAM NUMBER)

M99

N3 M30
%
 








 
Back
Top