HAAS VF1 retrofit

More
02 Aug 2014 09:32 #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
03 Aug 2014 12:19 #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
10 Aug 2014 08:56 #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
11 Aug 2014 01:42 - 11 Aug 2014 01:44 #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: 11 Aug 2014 01:44 by sspeed33317.

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

More
11 Aug 2014 06:09 - 11 Aug 2014 06:09 #49676 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit

File Attachment:

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


Found this and maybe i can tweak it to work with linux
I can make sense of it.
Attachments:
Last edit: 11 Aug 2014 06:09 by sspeed33317.

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

More
11 Aug 2014 22:11 #49700 by andypugh
Replied by andypugh on topic HAAS VF1 retrofit

File Attachment:

File Name: toolchange...rors.txt
File Size:3 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:
; 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.

More
12 Aug 2014 03:14 #49719 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
Thank You,
It makes a bit of sense :-)

To set up the carousel as a Axis can I control it with a forward reverse relay or will I need a motor controller?
And the switches used as a encoder would be 12ppr with a index.

I will need to build a few M codes for the outputs.

Most of my electrical parts arrived today, hopefully I get the rest of it by the end of the week.

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

More
12 Aug 2014 03:36 #49720 by andypugh
Replied by andypugh on topic HAAS VF1 retrofit

To set up the carousel as a Axis can I control it with a forward reverse relay or will I need a motor controller?

A relay should work. You would probably still use a PID control component like normal, but then use a window-comparator function to activate either one or other direction:
www.linuxcnc.org/docs/html/man/man9/wcomp.9.html
The .under and .over outputs could be used to drive the motor one way or the other, and set the window to do nothing.
You don't actually need to run the carousel as an axis, you could output an analogue value from G-code as the target position. But configuring as an axis makes homing easier, and I think that it also helps with shortest-route motion.

And the switches used as a encoder would be 12ppr with a index.

Yes. Normally that wouldn't really work, but the Geneva mechanism will help a lot.

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

More
12 Aug 2014 05:26 #49723 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
Amazing you can come up with this stuff so fast.

I am so lost right now, I'll just keep reading until I get it.

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

More
12 Aug 2014 06:29 - 12 Aug 2014 07:26 #49724 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
Ha , now I know why ... you have been down this road before :-) I found your conversation with the Fadal owner.

I named my inputs and outputs tonight.
I also added a saftey output, for when the orient pin is shot out it sends a stop signal to the VFD directly.
The VFD i can program to send a sinal to the 7i77 for it to know it is stopped also.
I figure I can use this to let the tool changer routine know it is safe to proceed.

I am really understanding this way to do it, I will tackle a full M6 remap some other time.

I will have to write a routine for each tool?
Last edit: 12 Aug 2014 07:26 by sspeed33317.

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

Moderators: cncbasher
Time to create page: 0.248 seconds
Powered by Kunena Forum