COMPLETE OVERVIEW OF PROGRAMMABLE LOGIC CONTROLLER PLC

This article is about COMPLETE OVERVIEW OF PROGRAMMABLE LOGIC CONTROLLER PLC and focusing to the engineers, technicians and supervisors. You will find lot of documents related to this article. Just navigate our website  www.paktechpoint.com  and find more articles. Please! Do not forget to subscribe our You tube channel also. Thanks in Advance.

PLEASE SUBSCRIBE OUR PAKTECHPOINT YOUTUBE CHANNEL

OVERVIEW OF PROGRAMMABLE LOGIC CONTROLLER PLC

A digital Electronic Device Uses a programmable memory to store instructions & to implement functions as

  • Logic
  • Sequencing
  • Timing
  • Counting
  • Arithmetic
  • In order to control machines & Process
  • INPUT devices as switches & o/p devices as motors are connected to PLC.
  • Controller monitors the inputs & o/ps according to the program stored in the PLC.
A control device that uses a programmable microprocessor and is typically programmed.
PLCs are often categorized by the number of I/O ports they provide.
PLCs are often RISC based and are designed for real-time and rugged industrial environments

Uses Programmable Logic Controller

PLCs have been gaining popularity on the factory floor and will probably remain predominant for some time to come. Most of this is because of the advantages they offer.
  •  Cost effective for controlling complex systems.
  •   Ladder logic programming can be applicable for other control system.
  •  Computational abilities allow more sophisticated control.
  •  Trouble shooting aids make programming easier and reduce downtime.
  •  Programming is easier and troubleshooting reduce downtime.
  •  Reliable components make these likely to operate for years before failure.
  • Easy to modify a control system without rewiring the connections to input & o/p devices. Much faster than relay-operated systems
  • Widely used for the implementation of logic control functions.
  • Easy to use
  • Reliability of PLC is greater
  • Maintenance is easier
  • PLCs take less floor space than do relay control panels.
  • Can perform a greater variety of control functions than relay control
  • Virtual real-time control becomes feasible
  • Used for implementing automatic control of manufacturing systems
  • Logical information is rapidly and repeatedly processed and immediately responded to with appropriate actions
  • A series of logical decisions have to be made and a variety of actions taken on the basis of input that is obtained from appropriate sensors.

Features of PLC

  • PLCs are designed to withstand with vibration, humidity, noise, temperature and any environmental changes.
  • The main feature is interfacing for input and output is inside the controller.
  • They are easily programmed.

Programmable Logic Control (PLC)

Definition – Dedicated computer for rapid processing of simple logic instructions in a defined time.
Purpose – Send and read signals that can be used to control and monitor devices.
Process – One of scanning all the devices (sensors, timers, etc.) in a cyclical time period.

PLC Control Approaches

Logic Control Method – This closed-loop method uses conditions and events to signal completion of a given step, and then triggers the execution of some other event. This is an asynchronous method of process control, because it does not always proceed in a constant time period.
Sequencing Method – This open-loop method uses timers to trigger the completion of one step and the beginning of the next. This is a synchronous control method.

Discrete Process Control

  • Discrete process control systems deals with parameters and variables that change at discrete moments in time.
  • Parameters and variables are also discrete in binary form.
  • They can have either of two possible values, 1 or 0, values mean on/off, True/False, Object present or not present, high voltage value or low voltage value.
  • The binary variables in DPC are associated with input  signals to the controller & o/p signals from the controller.
  • Input signals are generated by binary sensors, such as limits switches, Timer, Relay or photo-detector sensors that are interfaced to the process.
  • O/p signals are generated by the controller to operate the process in response to the input signals & as a function of time.
  • These o/p signals turn on or off switches, motors, valves, solenoid and other binary actuator related to the process.
  • Discrete Process Control


Three conditions and Solution

  • The first condition can be indicated by means of a simple limit switch that sense the presence of the part at the conveyor, stop & transmits an On signal to the robot controller.
  • The 2nd condition can be indicated by the forge press, which sends an On signal after it has completed the previous cycle.
  • The 3rd condition might be determined by the photo-detector located so as to sense the presence or absence of the part in the forging die.

Uses of Discrete Process Control

  1. Widely used in discrete manufacturing as well as process industries.
  2. In discrete manufacturing it is used to control the operation of:
  • Conveyors
  • Automated Storage Systems
  • Automated Transfer Lines
  • Automated Assembly Systems

In process industries, discrete control is associated more with :

  • Batch processing than with continuous processes
  • Possible flow from one container to another during the cycle.
  • Finally packaging
PLC
 

Logic Control Elements

Boolean1

AND, OR , & NOT GATE

Boolean2

RELAYS

A switch that works on principle of an electromagnet is called a “relay”  and give on off contact.


RELAY

AN EXAMPLE OF RELAY LOGIC

For a process control, it is desired to have the process start (by turning on a motor) five seconds after a part touched a limit switch. When the second limit approached, the process is finished automatically. We can stop or shutdown the system anytime by pressing emergency switch.

AN EXAMPLE OF RELAY LOGIC             AN EXAMPLE OF RELAY LOGIC

Example of a relay in a simple control

In the following relay A is normally closed and in every condition will allow voltage to pass. In case of Relay B which is normally open, cannot pass the current until voltage applied to it. And in circuitry you can see clearly Relay C is in the condition,  if you apply the voltage to Relay B and pass the current in both A&B relays, relay C will turn on. So finally we can develop  the statement for logic Relay C will be on if A is off and B is ON.
AN EXAMPLE OF RELAY LOGIC

A Simple Relay Controller

Problem:
Try to develop a relay based controller that will allow three switches in a room to control a single light.
Solution: There are two possible approaches to this problem. The first assumes that any one of the switches on will turn on the light, but all three switches must be off for the light to be off.
The following in 2nd option and solution but it is more complex and need to think all possibles combination of switches.

COUNTER

COUNTER COUNTER

TIMER

TIMER       TIMER

 

Counters and Timers

  • Counters can be used in manufacturing to measure quantities such as production stock, inventory, and packaging
  • Timers are used specifically to count clock pulses
  • Timers and counters greatly expand the versatility of a PLC and allow the handling of some variable-type questions         Virtually all PLCs on the market today include countering and timing capability

PLC ARCHITECTURE

By software programming of Programmable controllers we can save lot of panel wiring.

 

PLC COMPONENTS

  1. Processor Microprocessor based, may allow arithmetic operations, logic operators, computer interface, local area network, functions, etc.
  2. Memory Measured in words.

EAPROM (Electronically Alterable Programmable  Read Only Memory.

ROM (Read Only Memory),
EEPROM (Electric Erasable Programmable ROM),
PROM (Programmable Read Only Memory),
EPROM (Erasable Programmable Read Only Memory),
RAM (Random Access Memory),
3.  I/O Modular plug-in periphery
AC voltage I/P and O/P,
DC voltage I/P and O/P,
Low level analog I/P (INPUT),
High level analog (I/P)input and output(O/P),
Special purpose modules, e.g., high speed timers,
Stepping motor controllers, etc.
4. Power supply AC power
5. Peripheral hand-held programmer (HHP)
CRT programmer
operator console
printer
simulator
EPROM loader
graphics processor
network communication interface

PLC SELECTION CRITERIA

  • What I/O is required, i. e. the number of I/O, capability of expansion for future needs.
  •  What types of I/O are required, i. e. signal conditioning, on-board power supply for inputs, outputs, etc.
  •  What size of memory is required? This is linked to the number of I/O & a complexity of program used.
  • What speed & power is required of CPU.

Logical Control

  • Control actions are taken by making decisions depending on the values associated with various inputs or variables and the control logic in the program
  • If a decision can be made by answering yes or no to a given question, it is referred to as a decision by attributes
  • Is a part loaded in the machine?
  • Is the tool path unobstructed?
  • Is the AGV carrying a part?
  • Decisions that cannot be made by answering yes or no are referred to as decisions by variables
  • How long is the bar stock?
  • What is the feed rate?
What is the part temperature?

Ladder Logic Diagram

  • Well established in industry in relation to the traditional electromechanical logic devices.
  • Makes use of representations similar to electrical circuits in which a series connection represents
  • a logical “and” and a parallel connection represents a logical “or”.
  • Made up of inputs, outputs connected according to appropriate logic.
  • Each rung in the ladder represents a set of logical relationships between the inputs that leads to a
  • particular output.
  • The output from one rung of the ladder could be used as an input in another rung of the same ladder.
  • Except when special provisions are made, it is considered that all rungs in a given ladder logic diagram
  • are executed simultaneously, so the order of the rungs on the ladder in general does not matter.
LADDER DIAGRAM
A ladder diagram is a means of graphically representing the logic required in a relay logic  system.
                                                 LADDER DIAGRAM

PLC WIRING DIAGRAM


CONTROL DEVICES

1) Mechanical Control – cam, governor, etc.,
2) Pneumatic Control – compressed air, valves, etc.
3) Electromechanical Control – switches,relays, timers, counters, etc,
4) Electronics Control – similar to electromechanical control, except uses electronic switches.
5) Computer Control
PLC Evolution

 

Continuous and Discrete Control (comparison)

Ladder Logic

Ladder Logic

 

Ladder logic example

Process will mix ingredients, first adding ingredient A until level reaches sensor 2, then adding ingredient B until level reaches sensor 1. The mix is then stirred for a period of time, and tank is emptied.  Investigate the control logic required.
Ladder Logic
Add caption

 

Solution:
X1, X2 = sensors
S1, S2, S3 = solenoids (relays)
M = motor (relay)
T1 = tank stir period
T2 = drain period


IF sensor 2 is not tripped THEN energize solenoid 1 (Ingr A)

IF sensor 2 is tripped AND sensor is not tripped THEN energize solenoid 2 (ingr B)
IF sensor 1 is tripped THEN enable timer (10 Sec)
IF sensor 1 is tripped AND the timer is not done timing THEN energize motor
IF the timer is done timing THEN energize solenoid 3 (drain)
How it is working?
OVERVIEW OF PROGRAMMABLE LOGIC CONTROLLER PLC

 

Q. PROGRAMMING EXAMPLE

SOLUTION:

Rung 1.  If one part arrives there and no part is stopped, trigger and on the bar code reader.
Rung 2.  If PLC thinks it is a right part, activate the stopper and stop.
Rung 3.  when we will load the part in case If the stopper is up, the machine is
free and the robot is not busy.
Rung 4.  Unload the machine If the task is completed and the robot is not free.

Light Switch Examples Test

Light Switch Examples Test
Ladder logic of Motor Control Examples Test

 

Light Switch Examples Test
Please read also:  INSTRUMENTATION AND CONTROL ENGINEERS QUESTIONS AND ANSWERS

Leave a Comment

error: Content is Protected.