[Emc-developers] Task Cycle Time Jitter

2011-02-08 Thread Matheus Degiovani
Hello, Background: I'm trying to build a punch press with a head clear sensor. Whenever the tip of the press passes a certain height, a sensor is triggered and the metal sheet should be moved to the position of the next punch (before the tip reaches the bottom of the movement - the punching

Re: [Emc-developers] pid bug

2011-02-08 Thread Peter C. Wallace
--- if ( ( tmp1 * pid-limit_state ) = 0.0 ) { +++ if ( ( tmp1 * pid-limit_state * pid-igain ) = 0.0 ) { Is a possible patch if negative PID values are to be allowed Peter Wallace Mesa Electronics -- The ultimate

Re: [Emc-developers] Task Cycle Time Jitter

2011-02-08 Thread Matheus Degiovani
Hello, I guess I answered my own question with a little more digging: Internally, the task cycle is controlled by an RCS_TIMER. Waiting (AFAIK) is done by the followin line in libnml/os_intf/_timer.c (function esleep()): ... if (select(0, NULL, NULL, NULL,tval) 0) { ... Indeed, acording

Re: [Emc-developers] Task Cycle Time Jitter

2011-02-08 Thread Chris Radek
On Tue, Feb 08, 2011 at 02:36:49PM -0200, Matheus Degiovani wrote: So, the question is: can esleep() be modified to use a high resolution timer (nanosleep() or similar) or maybe the RCS_TIMER class use this other method of sleeping (since apparentely it's used only for timing the main emc

[Emc-developers] getting LyX updates into the Integrator's Manual

2011-02-08 Thread Jon Elson
About a month ago, I made some substantial updates to the ppmc driver section of the Integrator's Manual (file: docs/src/drivers/pico_ppmc.lyx) but these changes have not showed up yet in the main version of the manual linked from the Wiki page. Is there something I need to do to push these