Please enable JavaScript.
Coggle requires JavaScript to display documents.
Logic Gates and Binary Operations - Coggle Diagram
Logic Gates and Binary Operations
Binary Principle
Two Possible Values
0 and 1
Represent Data
Logic Gate
Basic Function
Perform Logical Operations
AND, OR, NOT, XOR
Binary Inputs and Output
Logic Gates and Their Symbols
AND Gate
Function: Output is 1 only when both inputs are 1.
NOT Gate
Function: Inverts the input; output is the opposite of the input.
OR Gate
Function: Output is 1 when at least one input is 1.
XOR Gate
Function: Output is 1 when exactly one input is 1, but not both.
Ladder Logic
Relay Logic
Representation in Diagrams
Ladder Diagrams
States and Transitions
Boolean Expressions
Expressed as Ladder Logic
Example 1: Y5 (A1 B) CD
Example 2: Y5 A B C1
Logic Gate Circuits
AND, OR, NOT Implementation
Example 2: Y = AB + CD
Example 1: Y = ABC + D
Combination of Gates
Example: Y = (A + B)(C + D)
Logic Instructions
Bitwise Operations
Match Bits
Check if both are 1
Reverse State
Logical Conditions
XOR for Matching Bits