On 30 October 2017 at 17:49, Gene Heskett <[email protected]> wrote:
> Which is computationally less cpu usage 1, a 6 pack of mux2's, or another > pid with separate settings and just one mux2 to select which pid gets > sent to the spindle servo? PID is not very CPU intensive, neither is mux2. I wouldn't really worry about either. You can see how much CPU time each module uses in HAL. The "lincurve" component was intended specifically for this type of situation, which is why it has outputs of the r/w style that can be connected directly to the pre-2014 PID gain pins (which for no good reason were bidirectional) But in this case mux2 seems more appropriate if it is a simple switch between states. However, I suspect that your problem is that you are trying to use P on a controller that only really needs FF0 and I. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
