You are on page 1of 11

MS 224 - MECHATRONICS

SERVICING NC III
(CORE COMPETENCY)

LECTURE 3 – Inputs and Outputs


Unit Description
This is the first unit in which student will be reading and
entering program from ladder logic diagrams. In this and
next several units, the keystroke sequences will be given
with ladder logic diagram. As the student progress, they
will be required to remember the keystroke and sequences
and use them correctly when called for in a program, you
should get them in the habit of memorizing programming
keystroke, beginning with this unit.

The concept of normally open and normally closed input


elements may be difficult for some student, specially since
these inputs element are independent types of input
device used (normally open and normally closed)

PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
OBJECTIVES
Upon completion of this unit the trainee will be able to:

1. Identify normally open and normally closed input elements.


2. Identify output elements
3. Explain the function of input and output elements.
4. Write simple input / output program.
5. Enter Inputs and outputs in the PLC

PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
PLC Programming
Remember the two rails of the ladder logic diagram represent the electrical power
source of the in the circuit. Each rung represent a particular condition in the
circuit. Now assume that a normally open switch is wired to input terminal I/4
and a light bulb wired to output O/5 on the PLC. Assume also that power is
supplied to the input and output devices. To turn on the light, the PLC should be
programmed with the ladder logic program in figure below:

0000

0001 End

Normally open contact


The program in the figure gives the PLC specific instruction. It tells the PLC to
activate the output element O/5 when the input element I/4 is Energized. Since the
switch connected input element I/4 is normally open, the program function as
follows: When the PLC is on and in the run mode, the switch and light
communicate with the PLC. If the switch is pressed (closed), power is applied to
the input element I/4 are energized. This signal to PLC to activate output O/5.
when the element O/5 is activated the light will come on. The light will stay on
only as long as power is applied to I/4 by the switch being pressed.
Normally closed contact
The Normally closed element in below figure tells the PLC to activate the circuit
(turn light on) when the element I/4 is not energized.

0000

0001 End

4 types of relationship among input devices


The 4 types of relationship among input devices, input element, output element and
output devices.

Light Off
Switch open Normally open
LED Off
LED off Input element not energized

Light On
Switch open Normally closed
LED On
LED off Input element not energized

Light On
Switch closed Normally open
LED On
LED on Input element energized

Light Of
Switch closed Normally closed
LED Off
LED on Input element energized PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
Providing power to switches and lights

PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
Programming Keystroke

PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ
END

PREPARED BY:
ENG’R. CHRISTOPHER GUTIERREZ

You might also like