Timed exit while loop. Best way?
21 Jun 2013 13:18 #35869
by DaOne
Replied by DaOne on topic Timed exit while loop. Best way?
Well if looks like its only grey code up to position 6. After that it no longer matches up to the 4 bit pattern. I am just gonna go with the comparison method in classic ladder. That works. Just gotta figure out classic ladder a bit better for the rest of it.
Please Log in or Create an account to join the conversation.
21 Jun 2013 18:09 - 21 Jun 2013 18:27 #35875
by BigJohnT
Replied by BigJohnT on topic Timed exit while loop. Best way?
I did totally messed up the example... did that on a windoze computer is my only excuse.
Yep, I just tested and 7-12 don't follow gray code... hmm your truth table shows that it skips 2 bits but that is not a problem at all. I've just tested a sample config that works properly.
I'll modify my w-sum example config for mux16 and upload it.
JT
Yep, I just tested and 7-12 don't follow gray code... hmm your truth table shows that it skips 2 bits but that is not a problem at all. I've just tested a sample config that works properly.
I'll modify my w-sum example config for mux16 and upload it.
JT
Last edit: 21 Jun 2013 18:27 by BigJohnT.
Please Log in or Create an account to join the conversation.
21 Jun 2013 18:31 #35876
by BigJohnT
Replied by BigJohnT on topic Timed exit while loop. Best way?
Run this sample configuration and you can see that it follows your truth table. All the HAL is in the postgui.hal file to keep it together.
JT
JT
The following user(s) said Thank You: DaOne
Please Log in or Create an account to join the conversation.
22 Jun 2013 11:51 #35907
by DaOne
Replied by DaOne on topic Timed exit while loop. Best way?
Thanks guys!
JT, I will give it a try and report back. Thanks again!
JT, I will give it a try and report back. Thanks again!
Please Log in or Create an account to join the conversation.
22 Jun 2013 13:37 #35908
by DaOne
Replied by DaOne on topic Timed exit while loop. Best way?
Big thanks John! It works great!
Please Log in or Create an account to join the conversation.
22 Jun 2013 17:33 #35913
by BigJohnT
Replied by BigJohnT on topic Timed exit while loop. Best way?
YEA! I love it when a plan comes together.
JT
JT
The following user(s) said Thank You: DaOne
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds