ganutenator
Lifetime Supporting Member
all the asterix are donkeys
Never download some final changes 5 minutes before you have to leave...
All I got right now. I would fire you if you programmed that w/o a really good rung comment.
scratch that.
I'd still fire your ***.
All I got right now. I would fire you if you programmed that w/o a really good rung comment.
scratch that.
I'd still fire your ***.
WHY, WHY, WHY, WHY????
You have stated that it is bad, but you haven't given any reason why it is bad. You haven't even come up with 'better' code. I'm all for writing good code, that's why I and others have asked. It isn't obvious to me why it is bad, and apparently it isn't obvious to you either, as you can't explain why its bad or provide code that is better. Since you can't give better code, and the code provided is unacceptable, your solution is to not use any code? Sheesh.
Whatever line 15 tells the coil to do is what it will always do. It will be like line 1 is not even there. If it would let you do it, it would make debugging hard, too.
So if Line 15 is false and Line 1 is true the coil will be false?
If Line 15 is true and Line 1 is false the coil will be true?
So if Line 15 is false and Line 1 is true the coil will be false?
If Line 15 is true and Line 1 is false the coil will be true?
Take out the branch and the 2 TT bits, and voila! A repeating timer