Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

HAAS Mill Tool Changer Resequencing


McLaren
 Share

Recommended Posts

I wanted to post this up in case anyone wanted it. I wrote this program to reset the carousel tool changer on our VF2. It bugs me when I have a job with a few tools that has to index the changer all over the place.

I asked HAAS if there was any way to access the pot values directly, or to use a P# instead of T#, and both were no. So this was the alternative.

Variables #1-#24 correspond to the pots in the changer with #25 being the spindle.

Change the values to reflect which tool is in which pot.

Run it and each tool will be matched up with each pot with T25 being in the spindle.

Any and all comments are welcome.

%
O08003(TOOL CHANGER RESET)
G103(DISABLE LOOK AHEAD)
#1=1
#2=15
#3=14
#4=3
#5=2
#6=4
#7=16
#8=6
#9=8
#10=5
#11=9
#12=11
#13=7
#14=12
#15=10
#16=13
#17=19
#18=21
#19=17
#20=18
#21=23
#22=22
#23=20
#24=24
#25=25
#26=0(CURRENT TOOL)
#27=0(TOOL IN CURRENT TOOLS POCKET)
#28=1(POCKET CHECK#)
N1(TOOL CHANGE LOOP)
#28=1
IF[#25EQ25]GOTO2
#26=#25
#27=#[#25]
T#27M06
#[#26]=#26(POCKET NUMBER INHERITS TOOL#)
#25=#27(SPINDLE POCKET INHERITS CURRENT TOOL#)
GOTO1
(END LOOP)
N2(T25 LOGIC)
IF[#[#28]NE#28]GOTO3
IF[#28GT24]GOTO4
#28=#28+1
GOTO2
N3(MISMATCH LOGIC)
T#[#28]M06
#25=#[#28]
#26=#25
#[#28]=25
GOTO1
N4(END OF PROGRAM)
M30
%

Link to comment
Share on other sites
Guest SAIPEM

You CAN do this directly on the Haas control but it depends on the software version and the tool changer type you have.

 

If it was made in the past three years you can do it directly at the control.

 

Cool Macro though.

 

FYI, convert it to a custom G-Code/M-Code and you'll be much happier.

Link to comment
Share on other sites

You CAN do this directly on the Haas control but it depends on the software version and the tool changer type you have.

 

If it was made in the past three years you can do it directly at the control.

 

Cool Macro though.

 

FYI, convert it to a custom G-Code/M-Code and you'll be much happier.

 

Ours is from 2005. And can you elaborate on the G-Code/M-Code idea please?

 

Edit:

Let me rephrase that. I have done custom M codes, but I don't see what the benefit would be in this circumstance. What do you see the benefit as?

Link to comment
Share on other sites
Guest SAIPEM

You could do a custom M-Code if you just wanted to initialize ATC Carousel.

 

With a custom G-Code you could specify only the tool pockets you actually want to change

by including the arguments using local addresses.

Link to comment
Share on other sites

Go into your tool offsets page and press page up a couple times till it brings up the table that shows what tool is in what pocket. press 1 and then orgin and it will set the P# and the T# the same. works on our 05 vf2 and 04 vf3.

Link to comment
Share on other sites

I could be wrong here, going from memory.

On the newer machines, if it's already loaded and all mixed up, I think you just hit P# ATC from MDI and the machine will load the tool from that pocket into the spindle. The # is whatever pocket the tool is in that you want to grab.

Link to comment
Share on other sites

gf8er:

That only works if you don't have any tools in the carousel. I usually have one other job always loaded into the machine with 16 tools, so I can't just zero out the tool table.

 

Mr. Wizzard:

You're right, but like I said you can't use P# in a program, so it can't be used to automate the task. What I was doing previously was going into MDI and calling up the pot number of whatever tool was in the spindle, and cycling through until they were all back in their homes. This way just does it semi-auto-magically.

Link to comment
Share on other sites

*Bows* Thank you Mr. Wizzard.

 

And if any one is interested I made a program that uses the sleep timer to wake up at a set time the next day, instead of after a set number of minutes. It sure does seem like HAAS got several things only half right. *shrugs*

Link to comment
Share on other sites
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...