AND
& OR Gate Operation Using Ladder Logic
🎯 Objective:
Control
two lamps using four switches through:
- AND Gate logic (series connection)
- OR Gate logic (parallel connection)
📘 Application Description
We have
four input switches and two output lamps. Two control scenarios are
implemented:
✅ Task 1 – AND Gate Logic (Series Connection)
- Inputs: SW1 (I0.0), SW2 (I0.1)
- Output: Lamp 1 (Q0.0)
- Logic: Lamp 1 turns ON only if
both SW1 and SW2 are turned ON.
- Equivalent to: Q0.0 = I0.0 AND I0.1
✅ Task 2 – OR Gate Logic (Parallel Connection)
- Inputs: SW3 (I0.2), SW4 (I0.3)
- Output: Lamp 2 (Q0.1)
- Logic: Lamp 2 turns ON if either
SW3 or SW4 is ON.
- Equivalent to: Q0.1 = I0.2 OR I0.3
🧠Input/Output Assignment
Device |
Address |
SW1 |
I0.0 |
SW2 |
I0.1 |
SW3 |
I0.2 |
SW4 |
I0.3 |
Lamp 1 |
Q0.0 |
Lamp 2 |
Q0.1 |
No comments:
Post a Comment