Binary Logic

asterof

Member
Join Date
May 2007
Location
Califonia
Posts
554
three inputs binary
InputA
InputB
InputC

Formula is

InputA to NOTA to AND1
InputB to a NOTB to AND1
InputC to a NOTC to AND1

so if the inputs are true they get changed to false
if the inputs are false they get changed to true
then in the AND1 block are checked to see if all are
either false or true.
This is where I am confused

If all three inputs are true is AND false
If all three inputs are false is AND false
If any of the inputs are true and some are false is AND false or true.

appreciate some help
Thanks
 
Can you draw this out? I attached a drawing as I understood it, since you used "AND1" in all three lines, it's the same AND gate?

Do you know the truth tables for the AND function and the NOT function? That's a pretty good place to start.

TEST.JPG
 
This sounds like homework, but anyway...

You should draw yourself a truth table for this (even though its a very simple logic circuit). Here's my truth table attached. (a ' indicates a NOT):

A, B, C columns are your input columns.
A', B', C' are your NOT'ed inputs.
AND(A',B',C') is the final result column.

Remember that for the result of an AND to be true, all the inputs must be true. As you can see from the table, this is only the case for the first row where all original inputs are false (hence all the AND gate inputs are true). All other rows have at least one zero in the NOT'ed columns, so the and will be false.

You should be able to answer your questions now.

truth table.jpg
 
Last edited:

Similar Topics

Hi folks, I'm trying to parse a binary string on a Red Lion DA30D using a Raw UDP/IP input port. I've done this before with ASCII strings so I do...
Replies
38
Views
1,050
So here's my situation, I have been tasked with modifying the logic to mimic a button press in the PLC. I have two identical machines however one...
Replies
6
Views
568
Hi, I want to extract every second bit of a double word and place it in a new word but the position of placement should be from 0,1,2......15...
Replies
17
Views
3,108
Hello, I am trying to convert a incoming string that is in Binary format (See attachment) to a DINT. Any ideas? When I use the STOD command it...
Replies
6
Views
2,243
How can I read individual binary bits from a SLC500 within FTH SE? With the Tag Browser I can get to the Binary Files and get each Integer from...
Replies
5
Views
1,631
Back
Top Bottom