PLC Chapter 2 Input-Out Devices
PLC Chapter 2 Input-Out Devices
This chapter is a brief consideration of typical input and output devices used with
PLCs. The input devices considered include digital and analog devices.
Input Devices
Sensors that give digital or discrete, that is, on/off, outputs can be easily
connected to the input ports of PLCs. An analog sensor gives an output
proportional to the measured variable. Such analog signals have to be
converted to digital signals before they can be input to PLC ports.
A- Digital Inputs
1- Mechanical Switches
A mechanical switch generates an on/off signal as a result of some
mechanical input causing the switch to open or close. Such a switch might
be used to indicate the presence of a work piece on a machining table.
The term encoder is used for a device that provides a digital output as a
result of angular or linear displacement.
A- Incremental encoder
An incremental encoder detects changes in angular or linear
displacement from some datum position. A beam of light, perhaps from an
LED, passes through slots in a disc and is detected by a light sensor, such
as a photodiode or phototransistor. When the disc rotates, the light beam
is alternately transmitted and stopped, and so a pulsed output is
produced from the light sensor. The number of pulses is proportional to
the angle through which the disc has rotated, the resolution being
proportional to the number of slots on a disc.
With a single track, the output is the same for
both directions of rotation. With two tracks,
one track is one-quarter of a cycle displaced
from the other track. As a consequence, the
output from one track will lead or lag that
from the other track, depending on the
direction of rotation. A third track of just a
single aperture is also included; this gives one
pulse per revolution and so can be used for
counting the number of full revolutions
B- Absolute encoder
1- Temperature sensors,
2- Pressure sensors,
3- Strain gauges,
4- Flow rate sensors,
5- Potentiometers.
PLCs, like other digital computers, are discrete systems that only
understand 1s and 0s. Therefore, they cannot interpret analog signals in
their continuous form. The analog-to-digital converter (A/D) translates
continuous analog signals into discrete values that can be interpreted by
PLC processors.
Otput Devices
Like input ports, the output ports of PLC can be digital or analog.
Generally, the signal from a digital output channel of a PLC is used to
switch on/off an actuator, which in turn controls some process. Analog
outputs are used in applications requiring the control of an analog
output devices that respond to continuous voltage or current levels.
A- Digital Outputs
1- Relays
I- On/Off control
Many industrial processes only require
the PLC to switch a DC motor on or off.
This might be done using a relay. The
diode is included to dissipate the induced
current resulting from the back EMF.
1- A Conveyor Belt