Monostables stop working?

More
06 Jul 2016 16:52 #77092 by jeeybee
jeeybee created the topic: Monostables stop working?
I control a toolchanger with classicladder and it worked fine until today when I added a couple of more rungs and now it changes tool perfectly the first one or two times and then the monostables seem to stop sendin the signal thorough, it just stop before it?
Have I exeded some limit or could there be somthing other that causes it?

I have 19 signals in and 15 out in 13 rungs.
More
06 Jul 2016 17:02 #77093 by jeeybee
jeeybee replied the topic: Monostables stop working?
If I pres Stop and Run in classic ladder to restart the program it does not help, but if I press reset to reset all the values then I can do another toolchange and after that the monostables are not working anymore.
More
06 Jul 2016 20:19 - 06 Jul 2016 20:23 #77104 by andypugh
andypugh replied the topic: Monostables stop working?
Someone on IRC suggested:
" breaking when he added things makes me wonder if he has numThis and numThat set right: www.linuxcnc.org/docs/html/ladder/classi...tml#_realtime_module "
Last Edit: 06 Jul 2016 20:23 by andypugh.
More
07 Jul 2016 01:45 #77122 by skunkworks
skunkworks replied the topic: Monostables stop working?
I agree with Andy. if you don't have enough allocated - things start to act goofy.
More
07 Jul 2016 08:00 #77130 by jeeybee
jeeybee replied the topic: Monostables stop working?
Thanks for the tips but it was the servo period that was the problem, at 1250000 (real time kernel) it work but if I raise it to 1400000, then the problem with classic ladder occurs.

But why?
More
07 Jul 2016 17:06 #77147 by jeeybee
jeeybee replied the topic: Monostables stop working?

jeeybee wrote: Thanks for the tips but it was the servo period that was the problem, at 1250000 (real time kernel) it work but if I raise it to 1400000, then the problem with classic ladder occurs.

But why?


I guess its because it does not have time to do what it has to do before the next period starts, am I right?
More
07 Jul 2016 17:18 #77148 by andypugh
andypugh replied the topic: Monostables stop working?

jeeybee wrote: I guess its because it does not have time to do what it has to do before the next period starts, am I right?


That would make sense if shortening the period caused a problem, but you seem to be saying that lengthening it was the problem.

But, why 1,250,000nS anyway? The normal default is 1,000,000.
More
07 Jul 2016 17:22 #77149 by jeeybee
jeeybee replied the topic: Monostables stop working?
I get latency problems when I set it lower.
More
07 Jul 2016 17:57 #77151 by andypugh
andypugh replied the topic: Monostables stop working?

jeeybee wrote: I get latency problems when I set it lower.


It might be that your PC is sub-optimally configured then. Or simply just unsuitable. What does the latency test show?
More
07 Jul 2016 18:36 #77155 by jeeybee
jeeybee replied the topic: Monostables stop working?
Yes well I had a really hard time to get it to work with the 7i80 and real time kernel, I got alot of help with that in another thread, partly from you I think :)
At 1250000 it works fine but I get the latency error once in a while but it does not seem to affect anything, is it possible to turn it off?
Time to create page: 0.133 seconds
Powered by Kunena Forum