Monostables stop working?
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
06 Jul 2016 16:52 #77092
by jeeybee
Monostables stop working? was created 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.
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 or Create an account to join the conversation.
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
06 Jul 2016 17:02 #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 or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23563
- Thank you received: 4859
06 Jul 2016 20:19 - 06 Jul 2016 20:23 #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"
" 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.
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
07 Jul 2016 01:45 #77122
by skunkworks
Replied by skunkworks on topic Monostables stop working?
I agree with Andy. if you don't have enough allocated - things start to act goofy.
Please Log in or Create an account to join the conversation.
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
07 Jul 2016 08:00 #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?
But why?
Please Log in or Create an account to join the conversation.
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
07 Jul 2016 17:06 #77147
by jeeybee
I guess its because it does not have time to do what it has to do before the next period starts, am I right?
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?
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 or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23563
- Thank you received: 4859
07 Jul 2016 17:18 #77148
by andypugh
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.
Replied by andypugh on topic Monostables stop working?
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 or Create an account to join the conversation.
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
07 Jul 2016 17:22 #77149
by jeeybee
Replied by jeeybee on topic Monostables stop working?
I get latency problems when I set it lower.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23563
- Thank you received: 4859
07 Jul 2016 17:57 #77151
by andypugh
It might be that your PC is sub-optimally configured then. Or simply just unsuitable. What does the latency test show?
Replied by andypugh on topic Monostables stop working?
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 or Create an account to join the conversation.
- jeeybee
- Offline
- Premium Member
Less
More
- Posts: 122
- Thank you received: 0
07 Jul 2016 18:36 #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?
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 or Create an account to join the conversation.
Time to create page: 0.074 seconds