[Emc-users] bldc/axis homing

2013-02-28 Thread Klemen Dovrtel
Hello everybody,

I would like to somehow Home the bldc linear motor using axis GUI home button. 
I am using bldc in qi mode, so it has to be homed using bldc.init (separate 
from axis GUI). But on the other side bldc and axis has to be homed 
simultaneously because of index-enable signal and latching of encoder value. So 
i have to somehow trick the axis. Any idea how could i do that?

One of my idea was to use the axis.homing - bldc-init to start the bldc homing 
and at at the same time temporary change the axis.f-error-lim value (so that 
axis homing won't stop because of following error). But i could not find the 
axis.f-error-lim INPUT pin. Is there some other option to temporary change the 
f-error limit value?

Is there any other option how to home the axis and bldc?
Regards,
Klemen
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] bldc/axis homing

2013-02-28 Thread andy pugh
On 28 February 2013 10:42, Klemen Dovrtel klemen_dovr...@yahoo.com wrote:

 Is there any other option how to home the axis and bldc?

This quite an interesting puzzle..

One possibility might be to use a mux2 in the HAL to feed the value of
axis.N.motor-pos-fb.
Inputs would be axis.N.motor-pos-cmd and encoder.N.position.

So, in one state the feedback loop is completely short-circuited, and
in the other it works normally.

The Axis Home button explicitly starts the homing sequence. I
suspect that this could be deleted (or altered) in the .axisrc file
(but I am not expert enough in Python to say how).

What would be needed would be a GUI button that starts the bldc homing
sequence. Then the init-done signal would start the standard homing
sequence _and_ re-enable f-error checking via the mux2.

This still might not work. When the mux2 switches it may well be that
the f-error is big. I don't know at what point f-error checking is
enabled.

I thought you had the motors homing when coming out of e-stop? Much as
I dislike this approach it ought to avoid the problem:
e-stop off, f-error checking not yet enabled, motors initialise.
machine-on, f-error enabled, command position set to actual position,
so no f-error
home-pressed, motors search for home index.

is it possible that the real problem is the three-way debate between
bldc.index-enable, encoder.index-enable and axis.index-enable?

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parallel cards

2013-02-28 Thread jeremy youngs
was just wondering could one of these be used to increase step rate?
http://www.ebay.com/itm/High-Speed-Parallel-Port-PCI-Printer-I-O-Card-/230392743065?pt=LH_DefaultDomain_0hash=item35a47a4499
seems pretty reasonable for price
-- 
jeremy youngs

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel cards

2013-02-28 Thread andy pugh
On 28 February 2013 17:40, jeremy youngs jcyoung...@gmail.com wrote:
 was just wondering could one of these be used to increase step rate?

The card speed is really not the issue, it is how fast the PC can service it.

If you want a faster Parallel Port look at the Mesa 5i25, which
looks like aparallel port card, but does step-generation onboard.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel cards

2013-02-28 Thread jeremy youngs
thanx andy
this thought came as an ebay search after 2 days going through lpico
and mesas sites
im still undecided :)

you did answer one question though and that is the 5i25 will do step gen
now where to get the 75 volt power supplies
always something :)
-- 
jeremy youngs

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel cards

2013-02-28 Thread John Stewart
Jeremy;

 you did answer one question though and that is the 5i25 will do step gen

I did put a 5i25 in a computer controlling a mill; the mill now *flies* if I 
want it. I cranked up the maximum velocities, and it can run 10x faster (rough 
guess) for hours without throwing up a real time error. Not that I normally 
make it fly as fast, but I figured that if it could do fast things, it could do 
slightly slower things, too. (oh, and IIRC, my rotary table, 1rpm in 6 hours; 
back to 0.0, so it will do really slow things, too)

I did put some things on my trivial blog - 
http://cnc-for-model-engineers.blogspot.com, but if you have specific 
questions, do as I did, just ask on this list. Now I even have the knowledge to 
respond to some 5i25-related issues.


John A. Stewart
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel cards

2013-02-28 Thread jeremy youngs
i did mean to say will do step gen without the daughter card :)
I really dont want to put a lot in this first gen control as i really
want to go servo, and install ballscrews .
i think im going to spend some money with jon and peter though i think
im about sold on the mesa card and jons brush motor contoller would do
my spindle justice

I checked your blog and i am waiting for a collet to build a tormach
like toolholder i will let you know :)
thanx john

-- 
jeremy youngs

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users