On 9 June 2014 20:27, a k <pccncmach...@gmail.com> wrote:
> from previous e-mail
> /////////////////////////////////////////////////
> loadrt scale
> ...
> addf scale.0 servo-thread
> setp scale.0.offset -1220
> setp scale.0.gain 0.4
> net unscaled hm2_5i20.0.encoder.03.velocity scale.0.in
> net scaled-percent scale.0.out ...
> //////////////////////////////////////////////////////////
> is this in same direction -related?

You need values to suit the new numbers.

out = in * gain + offset.

You want a difference of 4350 counts to give a factor of 150%, so the
scale is 1.5 / 4350

setp scale.0.gain 0.00034483

And then the value at 0V = 0.00034483 * 1210 = 0.4172

setp scale.0.offset -0.4172

then connect to adaptive feed

net scaled-percent scale.0.out => motion.adaptive-feed

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

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to