Ia Theory
Ia Theory
Ia Theory
Applications
PLC Architecture
CPU Module:
A CPU module consists of central processor and its
memory. The processor is responsible for performing all the
necessary computations and processing of data by
accepting the inputs and producing the appropriate outputs.
Power Supply Module:
This module supplies the required power to the whole
system by converting the available AC power to DC power
required for the CPU and I/O modules. The 5V DC output
drives the computer circuitry.
I/O Modules:
The input and out modules of the programmable logic
controller are used to connect the sensors and actuators to
the system to sense the various parameters such as
temperature, pressure and flow, etc. These I/O modules are
of two types: digital or analog.
Communication Interface Modules:
These are intelligent I/O modules which transfers the
information between a CPU and communication network.
These communication modules are used for communicating
with other PLC’s and computers, which are placed at
remote place or far-off locate.
The program in the CPU of programmable logic controller
consists of operating system and user programs. The
purpose of the operating system with CPU is to deal with the
tasks and operations of the PLC such as starting and
stopping operations, storage area and communication
management, etc. A user program is used by the user for
finishing and controlling the tasks in automation.
The Principle of operation of the PLC can be understood
with the cyclic scanning also called as scan cycle, which is
given in the below figure.
PLC Scan Cycle
A typical PLC scans cycle includes of the following
steps:
The operating system starts cycling and monitoring of
time.
The CPU starts reading the data from the input module
and checks the status of all the inputs.
The CPU starts executing the user or application
program written in relay-ladder logic or any other PLC-
programming language.
Next, the CPU performs all the internal diagnosis and
communication tasks.
According to the program results, it writes the data into
the output module so that all outputs are updated.
This process continues as long as the PLC is in run
mode.
To get an idea about the PLC operation,consider the simple
mixer process control as shown in the figure below.