On Tue, Nov 18, 2014 at 8:32 AM, Viesturs Lācis <[email protected]>
wrote:

> 2014-11-18 15:14 GMT+02:00 Mark Wendt <[email protected]>:
> > Oops, I used incorrect coding.  Should be:
> >
> > setp x1 v1
> > setp y1 v2
> >
> > If my Y doesn't change the length of the X axis, would the "v" number on
> > the y line not change, or would it equal the number for the "x" line?
> >
> > Sorry I'm being dense this morning.  Too much blood in my caffeine
> stream.
> > ;-)
>
> Not sure I understand, what you are asking, sorry, if I drift totally
> offtopic.
> In your case "y" is amountof Z axis error at particular point due to
> bed [non]flatness error, so
> you would need to add it to Z axis position with "offset" component
> (it already has second set of in/out pins, from which the offset is
> subtracted - add the offset to motor-pos-cmd and subtract from
> motor-pos-fb).
> So you specify amount of error (y) at particular X position with
> setp lincurve.0.x-val-00 pos1
> setp lincurve.0.y-val-00 error1
>
> setp lincurve.0.x-val-01 pos2
> setp lincurve.0.y-val-01 error2
> etc
>
> In case error is the same for several consecutive X positions, it will
> remain the same also for any X positions inbetween.
>
> Input pin will be X position, output pin will have Z error value. So
> output will contain only values from y-val-nn pins (and any
> interpolated values between them).
>
> Viesturs
>


Viesturs,

okay, I think a light bulb is starting to come on.  The Y value is the Z
error at the X station.  So.

Lets take the first set of setp's you have above:

setp lincurve.0.x-val-00 pos1
setp lincurve.0.y-val-00 error1

Is that exactly how it would be written into the hal file, or would I need
to substitute actual values for "pos1" and "error1"?

If I need to put in actual values, would they be "X0" and .001" (or
whatever the error is)?  Or are those values read from somewhere else?

Thanks,
Mark
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to