HAAS VF1 retrofit

More
12 years 3 months ago #49152 by andypugh
Replied by andypugh on topic HAAS VF1 retrofit

sspeed33317 wrote: Which brand VFD works best with Modbus for LInuxCNC ?? Or is it not a problem
to just as long as the drive is Modbus capable.

Why the enthusiasm for Modbus? Initially I would suggest running the VFD from an analogue voltage and fwd-rev commands.
Modbus will give you more access to what the drive is doing and more "tweakability" but it is likely to be something of a project all of its own.

Which version of LInuxCNC should I be using ?
I have to do the M6 remap for the tool changer.

2.6. It is very close to release, and has a lot of fun new things (including remap).
Just follow the instructions at buildbot.linuxcnc.org to get it as a pre-built package.
The following user(s) said Thank You: sspeed33317

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

More
12 years 3 months ago #49153 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
OK, i will try to work on getting 2.6 running

I figure modbus would be better to use because I need to
get the spindle to orient for tool change, maybe i dont need it..

the way I read in the HAAS manual, for orient

Spindle set at orient speed, as it triggers the orient pin it goes into coast mode
when the pin drops into the detent there is a switch that lets the control know it
dropped and also commands a stop signal to the VFD, so until that pin raises
back out no matter what the VFD will not move the spindle, giving a spindle lock fault

If i can do that without using Modbus i'm all for it :-)

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

More
12 years 3 months ago #49154 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
ok, just ordered the mesa boards..
might have to wait on ordering a VFD for a week or two.. rent is coming due :dry:

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

More
12 years 3 months ago - 12 years 3 months ago #49155 by andypugh
Replied by andypugh on topic HAAS VF1 retrofit

sspeed33317 wrote: OK, i will try to work on getting 2.6 running

It shouldn't be hard.

Spindle set at orient speed, as it triggers the orient pin it goes into coast mode
when the pin drops into the detent there is a switch that lets the control know it
dropped and also commands a stop signal to the VFD, so until that pin raises
back out no matter what the VFD will not move the spindle, giving a spindle lock fault
If i can do that without using Modbus i'm all for it :-)


You can do all that in HAL. I would probably write a custom comp (because I can, and it's fun) but I can actually see it being easy enough in ordinary HAL.

Consider, this basically comes down to the VFD command voltage either being (scaled) spindle speed request, or a small slow-speed rotate, or zero.

A "mux" can do that, and mux8 has 3 inputs.
www.linuxcnc.org/docs/2.6/html/man/man9/mux8.9.html

If we say that sel0 is spindle-on, sel1 is orient, and sel2 is "pin engaged"

Then draw up a table.
Code:
Sel0 Sel1 Sel2 What we want 0 0 0 0 0 0 1 0 0 1 0 small constant speed 0 1 1 0 1 0 0 spindle command 1 0 1 0 1 1 0 small constant speed 1 1 1 0, oh we so want zero then.

So,
Code:
setp mux8.0.in0 0 setp mux8.0.in1 0 setp mux8.0.in2 0.01 setp mux8.0.in3 0 # setp mux8.0.in4 0 this one is different setp mux8.0.in5 0 setp mux8.0.in6 0.01 setp mux8.0.in7 0 net motion.spindle-speed-out mux8.0.in4

Does that make sense?
Last edit: 12 years 3 months ago by andypugh.

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

More
12 years 3 months ago - 12 years 3 months ago #49158 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
It will make sense eventually..
I just have to open my mind up and do a lot of reading.

My strengths are mechanical and electrical, not so much in the programing.

Its been a long time , since Mach3 was still Mach1 and EMC2 was released as a BDI...
My first attempt at building a CNC machine was a bust, lots of things got in the way..

Got a great deal on this old HAAS and now is the time to make it all happen.. finally...

Thanks.
Last edit: 12 years 3 months ago by sspeed33317.

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

More
12 years 3 months ago #49202 by sspeed33317
Replied by sspeed33317 on topic HAAS VF1 retrofit
I have installed the latest 2.6 from the latest ISO on wheezy..

So far works great , hope to have my Mesa hardware sometime this week.

One thing i noticed my latency test is half of what it was .

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

Time to create page: 0.512 seconds
Powered by Kunena Forum