Timed exit while loop. Best way?

More
21 Jun 2013 13:18 #35869 by DaOne
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.

More
21 Jun 2013 18:09 - 21 Jun 2013 18:27 #35875 by BigJohnT
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
Last edit: 21 Jun 2013 18:27 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
21 Jun 2013 18:31 #35876 by BigJohnT
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
Attachments:
The following user(s) said Thank You: DaOne

Please Log in or Create an account to join the conversation.

More
22 Jun 2013 11:51 #35907 by DaOne
Thanks guys!

JT, I will give it a try and report back. Thanks again!

Please Log in or Create an account to join the conversation.

More
22 Jun 2013 13:37 #35908 by DaOne
Big thanks John! It works great! :)

Please Log in or Create an account to join the conversation.

More
22 Jun 2013 17:33 #35913 by BigJohnT
YEA! I love it when a plan comes together.

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
Powered by Kunena Forum