0% found this document useful (0 votes)
19 views3 pages

ENT2251 Lab 6

This document provides instructions for a laboratory session on using a programmable logic controller (PLC) to implement basic logic gates and timers. Students will design AND, OR, and NOT logic gates using ladder diagrams and observe light output using a preset timer. Symbols and functions for contacts, coils, timers, and other logic components will be introduced. Students will then create ladder logic programs to perform specific logic gate and timer tasks, download them to the PLC, and observe and record the results.

Uploaded by

Uditha Bandara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views3 pages

ENT2251 Lab 6

This document provides instructions for a laboratory session on using a programmable logic controller (PLC) to implement basic logic gates and timers. Students will design AND, OR, and NOT logic gates using ladder diagrams and observe light output using a preset timer. Symbols and functions for contacts, coils, timers, and other logic components will be introduced. Students will then create ladder logic programs to perform specific logic gate and timer tasks, download them to the PLC, and observe and record the results.

Uploaded by

Uditha Bandara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

University of Ruhuna

Faculty of Technology
Department of Engineering Technology
ENT2251 – Introduction to Robotics Laboratory

Laboratory 06: Logic gate circuits using PLC 3 hours

Objectives:

 To identify basic logic gate functioning with PLC


 To understand preset timer operation in PLC.

Apparatus: • PLC - 220 Trainer


• PC
• Industrial Ethernet cable
• AC adapter

Overview:
In this session you will design and implement basic logic gates AND, OR, and NOT using
Ladder Diagrams and identify light ON, OFF operation using (Preset)Timer in PLC.

Design Theory:
Basic symbols use in ladder diagrams.

Ladder Symbol Description


Normally open and normally closed contacts: You can connect
contacts to other contacts and create your own combination
logic. If the input bit you specify uses memory identifier I
(input) or Q (output), then the bit value is read from the process-
image register. The physical contact signals in your control
process are wired to I terminals on the PLC. The CPU scans the
wired input signals and continuously updates the corresponding
state values in the process-image input register.

You can perform an immediate read of a physical input using


“:P” following the I offset (example: “%I3.4:P”). For an
immediate read, the bit data values are read directly from the
physical input instead of the process image. An immediate read
does not update the process image.
Table 01: Normally open and normally closed contacts

Page 1 of 3
Ladder Symbol Description
The LAD NOT contact inverts the logical state of power
flow input.
• If there is no power flow into the NOT contact,
then there is power flow out.
• If there is power flow into the NOT contact, then
there is no power flow out.
Table 02: NOT logic inverter

Ladder Symbol Description

You can specify an immediate write of a physical output using


“:P” following the Q offset (example: “%Q3.4:P”). For an
immediate write, the bit data values are written to the process
image output and directly to physical output.

Table 03: Output coil and assignment box

LAD Boxes LAD coil Description


The TP timer generates a pulse
with a preset width time.

Table 04: Preset Timer


You use the timer instructions to create programmed time delays.
Procedure:
1. Plays Enable switches SW2-SW8 in OFF position. Set input switches I0.0-I1.5 to
OFF and set Thumbwheel Switches to 0000. Connect the port X1P1 on PLC-220 to
the Ethernet port on PC via the Industrial Ethernet cable.
2. Turn the power on.
3. Start STEP 7 (TIA Portal).
4. Create a new project.

Page 2 of 3
5. Setting the PLC properties. Enable the use of system memory byte and clock
memory byte.
6. Create ladder diagrams to perform following basic logic gate functions and draw the
ladder diagrams and truth table for each gate in your observation sheet.

• NOT Gate
• AND Gate
• OR Gate

7. Download Project 1 to PLC unit by selecting the Online >> Download to device in
menu bar.
8. Run the ladder program by selecting the Online >> Start CPU in menu bar.
Discussion:

1. Draw ladder diagram to obtain the following logic output, X. Sketch your ladder
diagram and the truth table in your observation sheet.

X=(A+B).(C+D)

2. Draw a ladder diagram to following task using preset timer and sketch your ladder
diagram in your observation sheet.
LED(ON) 5 Seconds
LED(OFF) Remain the off state

****

Page 3 of 3

You might also like