Chapter 4 Input Output Devices
Chapter 4 Input Output Devices
Programmable
Logic Controllers
(10651572)
Office: 11-4-130 1
Chapter 4*
Input/Output
Devices
The contacts are represented by a pair of short parallel lines and are
identified with the coil by means of the letters. The letter M frequently
indicates a motor starter, while CR is used for control relays.
An-Najah National University
4.1 Electromagnetic Control Relays 6
Contactor Vs Relay:
Dr. Mohammad Abuabiah
An-Najah National University
the bottom section contact are NO. When the button is pressed, the top contacts
open before the bottom contacts are closed.
An-Najah National University
Example 4.2 Momentary and Latched Modes 20
following:
1) When the first start switch (Latched –
I0.0) is pressed, the motor (MOTOR –
Q4.0) will run continuously.
2) When the second start switch
(Momentary – I0.1) is pressed, the
motor will run momentarily.
An-Najah National University
• SOLUTION:
Dr. Mohammad Abuabiah
An-Najah National University
4.4 Manually Operated Switches 22
changes. Although there are many types available, they are all
actuated by some specific environmental temperature change.
An-Najah National University
4.5 Mechanically Operated Switches 26
• Level switches are used to sense liquid levels in vessels and provide
Dr. Mohammad Abuabiah
automatic control for motors that transfer liquids from sumps or into
tanks. They are also used to open or close piping solenoid valves to
control fluids. The float switch is a type of level switch. This switch is
weighted so that as the liquid rises the switch floats and turns upside
down, actuating its internal contacts.
An-Najah National University
4.6 Sensors 28
• Sensors are used for detecting, and often measuring, the magnitude of
Dr. Mohammad Abuabiah
• Most sensor applications operate either at 24V DC or at 120V AC. The method of
Dr. Mohammad Abuabiah
connecting a proximity sensor varies with the type of sensor and its application.
• In order to connect a “two-wire” discrete sensor device to the PLC, we will need to
identify whether the device is “polarized” or “non-polarized”. For a “polarized”
device, the two wires will be labelled: one wire is labelled “positive”, and one wire is
labelled “negative”.
An-Najah National University
4.6 Sensors 31
• In practice, the PLC input card channel connections, terminals 2–9 and
Dr. Mohammad Abuabiah
PNP NPN
4.6 Sensors 33
three-wire DC proximity sensor has the positive and negative line leads
connected directly to it.
An-Najah National University
4.6 Sensors 34
Dr. Mohammad Abuabiah
The main differences between the two types are that capacitive
proximity sensors produce an electrostatic field instead of an
electromagnetic field and are actuated by both conductive and
nonconductive materials.
An-Najah National University
4.6 Sensors 39
• A magnetic reed switch is composed of two flat contact tabs that are
Dr. Mohammad Abuabiah
• The photovoltaic cell and the photoconductive cell are two examples
Dr. Mohammad Abuabiah
• Fiber optic sensors use a flexible cable containing tiny fibers that
Dr. Mohammad Abuabiah
channel light from emitter to receiver. Fiber optic sensor systems are
completely immune to all forms of electrical interference.
An-Najah National University
4.6 Sensors 47
• Bar code scanners are the eyes of the data collection system. A light
Dr. Mohammad Abuabiah
source within the scanner illuminates the bar code symbol; those bars
absorb light, and spaces reflect light.
An-Najah National University
4.6 Sensors 48
Dr. Mohammad Abuabiah
• SOLUTION:
Dr. Mohammad Abuabiah
An-Najah National University
4.7 Output Control Devices 57
• Write a PLC ladder program using SIMATIC S7-5.7 program to Start and
Dr. Mohammad Abuabiah
Stop a fan and a motor using one single switch, as shown in the Figure
below:
An-Najah National University
4.9 Midline Instruction 70
rung condition with additional input. Now, to write that same logic,
again and again, become tedious and consume more time.
• In siemens PLC software, allow using midline (#) instruction to replace
that whole rung with this midline instruction. For Example:
An-Najah National University