HAAS VF1 retrofit

More
12 years 2 months ago #49428 by mblaszkiewicz
Replied by mblaszkiewicz on topic HAAS VF1 retrofit
Good luck with your project. I'm about one or 2 steps aheadd of you, but have very minimal electronics expierence.Its been interesting and frustrating. And Good luck

(brother tc-211)
www.linuxcnc.org/index.php/english/forum...her-tc-211?start=130

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #49460 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
Got the confirmation that the "correct" motherboard will be here on Tuesday.

Saturday I rewired the servo power supply, which used three phase rectified into 160 vdc.
I ended up building two separate power supplys from the existing parts that I will power from each leg of
single phase. But now will go thru a isolation transformer instead of straight off the mains.

Mounted 4 AMC servo drives in place of the original HAAS drives, even used some of the orignal mountings.

I have to order a new servo power contactor, the original is a 240 volt coil.

Also ordered some molex connectors/pins and a 5vdc/24vdc power supply.
onlinecomponents.com , first time trying them, best prices found. and also got the correct crimper.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #49633 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
Still here.

Lots of stuff on order, so far Ebay hasn't let me down.

Earlier this week I got the new motherboard up and running no problems and more stable then the first one.

Stuff should be rolling in starting Monday, only thing left to get is a VFD.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #49665 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
OK back to the tool changer... :-)

I know how this sucker works now.

Two relays for each motor,carousel forward, reverse, shuttle in, out, takes 160vdc from the servo power supply.
Two proximity sensors shuttle in/out , Carousel home, carousel pulse at each station, so 20 stations over all.

Without having to rebuild the entire mechanism can I use what I have?

Home the machine at start up.

Note this uses a geneva mechanism, so carousel motor position doesnt have to be 100% perfect.

Carousel is commanded to rotate
Controller sees Carousel home switch , stop Carousel
Reset carousel counter to Zero (tool 1)

"Tool change request comes in for example tool 6"
"Tool logic to see if tool 6 is already in spindle"

Spindle Stops
Z axis is commanded to Tool Change Position
Spindle is oriented
Orient pin input true/false

Shuttle output commanded in ,input true/false

Tool Release output is activated. input true/false

Z raises to tool change Safe position

Carousel is commanded to rotate in direction of tool 6
Since Home is Zero, it counts to #5 then stops
Shortest path logic in here somewhere.

Z lowers back to tool change position

Tool release output is commanded off , clamp tool.
Clamp tool input true/false

Shuttle is commanded out
Shuttle out input true/false

Tool change complete.

This way tool #1 should always be in the spindle on shut down.
This is how HAAS does it.


INPUTS

Shuttle In
Shuttle Out

Carousel Home Pulse
Carousel Position Pulse, no pulse at #1 since it is zero, home is tool #1

Tool Clamp
Tool Unclamp

Orient Pin Out (spindle released)
Orient Pin In (spindle locked)

OUTPUTS

Shuttle In (forward relay)
Shuttle Out (reverse relay)

Carousel (Clockwise relay)
Carousel (Counter Clockwise relay)

Tool Clamp (on/off relay)

Orient Pin ( spindle lock relay)
Orient Pin (spindle unlock relay)


Should be easy??
Last edit: 12 years 2 months ago by sspeed33317.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #49676 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit

File Attachment:

File Name: toolchange...rors.txt
File Size:2.8 KB


Found this and maybe i can tweak it to work with linux
I can make sense of it.
Last edit: 12 years 2 months ago by sspeed33317.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #49700 by andypugh
Replied by andypugh on topic HAAS VF1 retrofit

sspeed33317 wrote:

File Attachment:

File Name: toolchange...rors.txt
File Size:2.8 KB


Found this and maybe i can tweak it to work with linux
I can make sense of it.


Unfortunately that appears to be a Mach3 Visual Basic routine, and so won't work with LinuxCNC.

As your tool-changer requires axis movements I would suggest running it with a G-code routine and treating the carousel as a rotary axis. (choose an axis that you won't be using, perhaps B)

Then the normal homing sequence will home the carousel to the home sensor. You could (potentially) use the per-tool sensors as inputs to a software encoder counter to feed-back the axis position.

Carousel in-out could be treated as an axis movement, but it might be simpler not to. (simply set a G-code digital output and wait on a digital input)

Then the G-code would look something like this:
Code:
; head up G53 G0 Z0 ; Orient spindle M3 S10 M66 P0 L3 Q10 O101 IF [#5399 LT 0] M2 ; some more clever error handling is needed really O101 ENDIF ; drive carousel in M64 P0 ; wait for end-of travel M66 P1 L1 Q5 O102 IF [#5399 LT 0] M2 ; some more clever error handling is needed really O102 ENDIF ; carousel motor off M65 P0 ; head down G53 G0 Z-100 ; tool release M64 P2 ; You _really_ want some way to ensure the tool is really released... ;Head Up G53 G0 Z0 ;Rotate carousel G0 B#<tool> ;Head down G53 G0 Z-100 ;Clamp new tool M65 P2
The following user(s) said Thank You: sspeed33317

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum