[Emc-users] latency calculation

2010-06-11 Thread ferdi andika
I need know how to calculate latency in EMC2's latency-test.

could anyone tell me the latency test's algorithm?
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] lantency calculation

2010-06-11 Thread ferdi andika
sorry,,I mean the base and servo thread..
how do we calculate them?
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] lantency calculation

2010-06-11 Thread ferdi andika
thanks for the answer Jeff,,

now, how do we calculate base_period and servo period?


Jeff Epler jep...@... writes:


 The latency-test runs the following realtime component:
 http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/timedelta.comp

 Each time a realtime thread runs, the time interval del=(now-last) is 
 computed.
 The minimum and maximum del ever seen are computed in min_ and max_.
 The jitter is the bigger of max_-period or period-min_.

 period is the promised realtime interval in nanoseconds, and
 rtapi_get_time() is the measured wall time also in nanoseconds.

 The timedelta component also measures long term error in 'err' and
 'avg_err'.  These values are not shown in the latency-test GUI but can
 be used to determine if there are long-term differences between expected
 and actual intervals.

 Jeff
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] zero speed problem with servo pack Yaskawa SGDM

2010-06-02 Thread ferdi andika
Thanks,,,

I had tried to adjust the speed reference offset, the encoder still give the
feedback but it small now

maybe it's the noise from the power cable
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] zero speed problem with servo pack Yaskawa SGDM

2010-06-01 Thread ferdi andika
I use Yaskawa SGDM 02AD as servo pack and  SGMAH as servo motor,,
when I turned on the servo motor with zero speed reference (zero input
reference),,
the motor didn't move,,but the encoder still give feedback signal to emc2,,
so the counter increased slowly (never stop),,,
it turned an error to emc2,,

how I solve this problem??
--

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users