Logic Jokey Stuff

That's the best one yet, but had to use PLC programming to fully understand!!

Binary logic:-
1 AND 0 = 1
0 AND 1 = 1
1 OR 0 = 1
0 OR 1 = 1

An argument between my wife and I:-

I am wrong AND I am not wrong = I am wrong.
I am not wrong AND I am wrong = I am wrong.
I am wrong OR I am not wrong = I am wrong.
I am not wrong OR I am wrong = I am wrong.

You just can't win!!
o_O

Hi Bits N Bytes.
I also find the joke funny, but I don't agree with your boolean statements.
I don't want to be rude, but would like to point out the facts as I see them.
The AND and the OR statements don't give the same results.
The way I see it, you will "win" if you are using the AND statement (In 3 of 4 possible cases),As long as you define 0 to be "I am not wrong" As you seem to be.
(If you define 1 to be "I am not wrong" on the other hand, you will win in 3 of 4 possible cases using the OR statement).

đź“š
0 AND 0 = 0
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1

0 OR 0 = 0
0 OR 1 = 1
1 OR 0 = 1
1 OR 1 = 1

I am not wrong AND I am not wrong = I am not wrong.
I am not wrong AND I am wrong = I am not wrong.
I am wrong AND I am not wrong = I am not wrong.
I am wrong AND I am wrong = I am wrong.

I am not wrong OR I am not wrong = I am not wrong.
I am not wrong OR I am wrong = I am wrong.
I am wrong OR I am not wrong = I am wrong.
I am wrong OR I am wrong = I am wrong.

Best regards
Bjarten
 

Similar Topics

Any one give solution for this fault. We are using AB Gaurd logix controller(5573s), resent days we are facing major fault in controller...
Replies
1
Views
87
Hello, I am going over some old code from days gone by. I would like the expert to confirm my findings to see if I got it correct. 1. B64:22/3...
Replies
7
Views
497
Hello, I´m having a problem trying to program in Ladder. An output should be trigged by two possible contacts. Take a look on the printscreen...
Replies
5
Views
197
I got my PanelView Plus 7 working with a Micrologix 1500. How would I connect my laptop to the PanelView to view the ladder logic while operating...
Replies
6
Views
212
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
313
Back
Top Bottom