On 18 May 2015 at 01:47, Leonardo Marsaglia
<[email protected]> wrote:

> But I suspect that whenever you ask for change
> in motor commanded position the driver will use it's maximum speed to reach
> that position, as a servo would do. Is that right?

Yes. In case the Hostmot2 driver will only be limited by the stepgen
limits. All LinuxCNC limits are ignored.

>> One neat elaboration I just thought of is a Python script that loads a
>> shape-file and sets the parameters of a 360-element lincurve component
>> so you can load shapes from a file.

> Well since my idea is to make several profiles, I was thinking about a
> component with let's say 360 lift values for each degree, and load the
> component sequentially using g-code with digital and analog outputs to
> write the 360 values on the component.

I use a custom component, but I wrote that before I wrote Lincurve.

Setting the values from G-code just seems horribly clunky.
Setting the values of a lincurve from Python sounds like an afternoon
of fiddling to end up with a better solution.
Even with a custom component, I would skip the G-code idea. I assume
you plan on sending angle and amplitude data on analogue outputs and
clocking it through with a digital?
It seems much easier to write a script that can parse spreadsheet
data. (CSV,  for example) even if you do use a custom component. You
will need some sort of script anyway to create your crazy G-code.

A custom component would cope better with wrap, possibly. Also it
might be better with variable curve resolution. The only way to change
the size of a lincurve would be to unloadrt it, then loadrt it at a
differenct size. And then re-make the connections.

Even for a custom comp  would suggest starting with lincurve.comp.
It's already nearly there.

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

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to