Department of Electronics and Communication
Fall 2024
LDCS ELEC 20014.2
Sec: ________
Student’s name: ______________________________
ID: ____________________
Instructor: ________________________
Experiment 1: Basic Logic Gates
Objectives:
1. To familiarize with the Code Sys tool.
2. To demonstrate Basic Logic gates, AND , OR, NOT in ladder logic.
Description
AND: Series operation: the output is high only when both inputs are high.
OR: Parallel operation: the output is high when any one of the inputs is high or both are high.
NOT: Inverted operation: the output is high when input is low and vice versa.
Logic Diagram and Truth table
Procedure
1. Open Code Sys Tool
2. New Project
3. Standard Project
4. Enter the name of the project
5. Select Ladder logic diagram from drop down menu of PLC_PRG in
6. Right Click and Select Insert Network
7. Select insert contact as input and name it appropriately
8. Select insert coil as output
9. Build the project
10. click on online and select login
11. Write values and check the output
Results
CONCLUSION
EXERCISE
Implement NAND, NOR , XOR and XNOR gates using Ladder Logic Diagram
REFERENCES
1. https://www.codesys.com/
2. Mano, M., 2013. Digital Design. 5th ed.Prentice Hall.