PPS Chapter 2
PPS Chapter 2
PLC plays very important role in automation. In fact, PLC is the tool that
provides the control for an automatic process. In many automatic processes,
PLC works as a central control system. PLC based systems use software
programming instead of hard wires to control the input and output devices.
Input Module
Output Module
Central Processing Unit (CPU)
Power supply
Programming Device (PC or Laptop)
Typical input or output modules have 8, 16, 24 or 32 input points. I/O modules are
available as INPUT only, OUTPUT only or COMBINATION of input and output.
In a modular PLC, input or output module are made up of the following features:
At the very top of the module is the identification indication whether this is Input, Output
or Combination Module.
Below the identification portion are the status indicator LEDs. There will be one status
indicator LED for each input or output point on the module. These LED alerts the
operator about the ON or OFF status of each input or output point of the Module.
Below the status LED’s there are actual input points or screw terminals for connection
of real input or output devices. Each screw terminal has a unique identification number
called an address.
Input Module Input Module works as an interface between the CPU and Real world
input devices connected to input module. The devices connected to input module are
called as Input devices. The input module accepts the incoming signal (status of input
devices) and converts this signal in the form (usually 0 to 5v) which is compatible with
the CPU. The power required for operation of input module is supplied by internal
power supply.
Input module servers as the link between field input devices and the PLC?s CPU. The
main function of an input module is to take the input signal from field devices, convert it
to a signal level that the CPU can work with, electrically isolate it and send the signal to
the CPU.
Classification of Input Module: Figure 2.3 shows the general classification of Input
module.
Digital input module deals with digital input signal coming from various digital input
devices. Digital input module is available in different types such as Sinking, Sourcing,
AC, DC or combination input module.
Typical digital signal comes from various digital input devices. Examples of such
devices are:
Push button switches
Limit switches
Temperature Limit switches
Pressure Limit switches
Flow Limit switches
Proximity sensors
Inductive Proximity sensors
Capacitive Proximity sensors
Ultrasonic Proximity sensors
Upgrade to PRO to remove watermark.
Analog Input Module deals with analog input signal coming from various analog input
devices. Analog input module converts analog signal into digital words. Analog input
modules are selected to accept either a current or a voltage input signal.
Typical analog signals come from temperature, pressure, position, level, flow in-puts.
Following are the examples of analog input devices:
Output Modules:
Output module works as an interface or link between the CPU and the real world
devices attached to the output module. The devices connected to the output module
are called a Output devices.
The main function of output module is to take control signal from CPU (which is
generated by CPU after solving the Program Logic) and based on signal received from
CPU it changes the ON or OFF status of output devices. The power required for
operation of output module is supplied by Power supply.
Output modules serves as the link between the PLC?s CPU and Field output devices.
The main function of output module is to take the CPU?s control signal, electrically
isolate it and then based on control signal received, changing the ON or OFF status of
field output devices.
Digital output module is available in different types such as AC, DC, Sinking, Sourcing,
Relay output module.
Following are the examples of digital output devices:
Analog output module deals with the analog output devices. The main function of
analog output module is to accept control signal from PLC?s CPU in the form of 16 bit
word and then convert it to an analog value through a digital to analog convertor
(DAC). This analog signal is then given to analog output devices. This can be in the
form of voltages or current.
Pneumatic control valve, Hydraulic control valve, Light dimmer, Speed control of motor
etc.
1. Processor
2. Memory
PROCESSOR:
The Processor is responsible for the complete program scan in a PLC. During program
scan processor communicates with memory for-
The central Processing Unit (CPU) performs the tasks necessary to fulfil PLC
operation. The CPU solves the user program logic , by real time input status from input
module and updates the status of outputs through output module.
The PLC processor operates in following three operating mode:
1. Program Mode
2. RUN Mode
Program Mode: In this mode, processor allows the user to make changes in
the ladder program including entry and editing before downloading the program
into PLC memory
RUN Mode: After downloading the program into PLC memory, if all inputs and
outputs are wired to the correct screw terminals, then user can put processor in
RUN mode. In RUN mode processor starts scanning ladder program. The
scanning of ladder program is performed sequentially and repeatedly by the
processor which is called as ”SCAN Cycle”. The processor could be in RUN
mode for hours, days, weeks even months.
REM (Remote) mode: In this mode, the PLC’s processor is placed into remote
mode. i.e. in the network with several other PLC’s are connected. In this mode the
user is allowed to edit the program and make change in the program mode.
SCAN Cycle:
The SCAN cycle consists of the series of sequential operations that includes
the steps as shown in figure 2.5 .
Program scan: After the inputs are read and stored in the input the
processor uses this information to solve user program. During program scan
processor scans the user program starting at rung 0, from left to right, and
evaluates one instruction at a time until output instruction is reached. When
scanning of rung 0 is completed the processor goes on to rung 1, rung 2 and
rung 3 and so on, sequentially to the last rung. The output status is the logical
result of solved input logic for any particular rung. The logic ’1’ or ’0’ output
states are then placed in the output status file.
MEMORY:
The PLC’s CPU has 1000’s of memory location that stores information in the
form of binary data (0 and 1 or ON and OFF). These are known as words or
registers. The purpose of memory is to store system program, user program,
status of various inputs and outputs, timer data, counter data, alphanumeric
data related to user program.
Data memory is a volatile or RAM memory used to store the data related to
input status, output status, timers, counters, internal bit relays, numerical values
( integer or floating point ) etc.
There are 256 program files available per project file. As shown in figure 2.7 all
256 files (i.e. file 0 to file 255) are orderly arranged in program file folder. Program
file consists of following information in individual files -
Power Supply
Power Supply is a part of PLC which is used to supply required amount of
power to CPU, Input module and Output module. PLC has two types of Power
supplies -
1. Internal power Supply: This powers the processor module.
2. External Power supply: This gives AC or DC power supply to I/O modules.
The processor requires low DC power. The AC power supply of 240V needs to
be converted into low DC power for the internal power requirements of I/O
modules.The PLC power supply has four sections as shown in figure 2.19 .
Classification Of PLC
Generally, PLC is available in variety of different ranges and sizes. But for
sim-plicity the PLC is classified into categories as shown in figure 2.20 .
Fixed PLC: A fixed PLC consists of a fixed, or inbuilt Input section, output
section, CPU and power supply unit. I.e. input section, output section, CPU and
power supply are included within the self-contained package. Figure 2.21 shows
the standard diagram for fixed PLC.
2. Micro PLC: It is very popular type of fixed PLC. This type of PLC normally
consists of maximum of 32 number of I/O points.
Modular PLC: Modular PLC is a PLC which uses separate module (unit) for
input section, output section, CPU and Power supply. Every Modular PLC will
have only one CPU module and power supply module and there can be more
number of input and output modules. Figure 2.22 shows the diagram for Modular
PLC.
figure 2.22 the frame or cabinet in which the I/O modules are inserted is called
Rack or Chassis. The I/O modules are inserted inside a rack into a specified
space called as slot. The size of the rack depends on the number of slots such
as 4, 8, 12 and 16. Modular PLC is categorised into:
1. Small PLC: A PLC which consists of 32 to 128 I/O points is called Small
PLC.
2. Medium PLC: A PLC is called medium size PLC when it consists of 128 to
1024 I/O points.
3. Large PLC: A PLC with 1024 to 4096 number of points is called large size
PLC.
4. Very Large PLC: A PLC with more than 4096 I/O points is called very
large size PLC.
r
Sourcing in PLC:
Sourcing in PLC: