Monostables stop working?

More
10 years 3 months ago #77092 by jeeybee
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.

Please Log in to join the conversation.

More
10 years 3 months ago #77093 by jeeybee
Replied by jeeybee on 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.

Please Log in to join the conversation.

More
10 years 3 months ago #77104 by andypugh
Replied by andypugh on 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 "

Please Log in to join the conversation.

More
10 years 3 months ago #77122 by skunkworks
I agree with Andy. if you don't have enough allocated - things start to act goofy.

Please Log in to join the conversation.

More
10 years 3 months ago #77130 by jeeybee
Replied by jeeybee on 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?

Please Log in to join the conversation.

More
10 years 3 months ago #77147 by jeeybee
Replied by jeeybee on 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?

Please Log in to join the conversation.

More
10 years 3 months ago #77148 by andypugh
Replied by andypugh on 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.

Please Log in to join the conversation.

More
10 years 3 months ago #77149 by jeeybee
Replied by jeeybee on topic Monostables stop working?
I get latency problems when I set it lower.

Please Log in to join the conversation.

More
10 years 3 months ago #77151 by andypugh
Replied by andypugh on 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?

Please Log in to join the conversation.

More
10 years 3 months ago #77155 by jeeybee
Replied by jeeybee on 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?

Please Log in to join the conversation.

Time to create page: 0.216 seconds
Powered by Kunena Forum