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

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
166
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
246
Hello again..trying something on an existing poorly written program and just wanted to double check something system is an A-B MicroLogix 1200 In...
Replies
5
Views
176
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
32
Views
854
I have a machine which is undergoing upgradation. As part of the process two SEW drives are being replaced., existing Gen B with new Gen C. The...
Replies
3
Views
205
Back
Top Bottom