40
BASIC PLC COURSE Objectives:  To be able to define PLC and its functions.  To understand the advantages of PLC.  To be able to know PLC Hardware Components  To be able to develop PLC Ladder Diagram.  T o learn proper wiring of inputs and outputs to the PLC.

Programmable Logic Controllers Presentation Edited

Embed Size (px)

Citation preview

Page 1: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 1/40

BASIC PLC COURSE

Objectives:

 – To be able to define PLC and its functions.

 – To understand the advantages of PLC.

 – To be able to know PLC Hardware Components

 – To be able to develop PLC Ladder Diagram.

 – To learn proper wiring of inputs and outputs

to the PLC.

Page 2: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 2/40

Programmable Logic Controllers

• Defined by NEMA as a digital electronic

apparatus with a programmable memory for

storing instructions to implement specific

functions (logic, sequencing, timing, counting, and

arithmetic) to control machines and processes.

• Considered as the first industrial-based computer

Page 3: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 3/40

Page 4: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 4/40

Functions of PLC

Sequence Control

Conventional Relay Logic Replacer

Timer and Counter Functions

Auto / Semi / Manual Control of

Machines and Processes

SophisticatedControl

Arithmetic Operations

Analog Control (Temperature,

Pressure, etc.)

PID (Proportional Integral

Derivation)

Stepper / Servo Motor Control

Page 5: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 5/40

Functions of PLC

Supervisory Control

Process Monitoring and Alarm

Interfacing with Computers

Factory Automation network

Wide Area Network

Page 6: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 6/40

Basic Control System

Open Loop System

INPUT LOGIC OUTPUT

-Pushbuttons

-Limit Switches

-Level Switches-Flow Switches

-Relays

-Timers

-Counters

-Motors

-Solenoid

valves

-Lamps

PLC

Page 7: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 7/40

Basic Control System

Closed Loop System

ControllerFinal Control

Element

Process

Transmitter

Set value

Error

ProcessVariable Primary

Element / Transducer

Temperature

Flow

Level

Pressure

+

 _

Page 8: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 8/40

Hardware Components

Central Processing Unit (CPU)

Micro PLC –  less than 100 I/O’s 

Small PLC –  0 to 526 I/O’s 

Medium PLC –  0 to 1028 I/O’s 

Large PLC –   0 to 5120 I/O’s 

Page 9: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 9/40

Power Supply

100 –  240 Volts AC

100 / 110 Volts AC

200 / 220 Volts AC

24 Volts DC

Page 10: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 10/40

Inputs

DC –  24 Volts

AC –  110 / 220 Volts

DC –  12 Volts

Page 11: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 11/40

Outputs

Transistor type (24 Vdc )

Relay / Contact type (24Vdc / 220 Vac)

TRIAC type (110 / 220 Vac)

PNP-type Transistor

Input

• Source

•Generates power

 NPN-type Transistor

Input

• Sink

•Transmits power

Page 12: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 12/40

Peripheral Devices

Programming Console

CX-Programmer Software

Conversion Cables

Connecting Cables

Page 13: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 13/40

Software Components

1. Ladder Diagram Language  –  a symbolic instruction type

language

2. Boolean Language- Basic level language that composed

of three (3) Boolean logic operation: AND, OR, NOT

Mnemonic Instruction –  written in abbreviated

form using 3 or 4 letters that generally imply

the operation of the instruction

3. Functional Blocks Language  –  high level instructions that

 permit the user to program more complex functions

using the ladder diagram format

- Instruction set is composed of blocks that executes

or performs specific function

Page 14: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 14/40

4. English Statement Language  –  considered derivative of

computer language such as BASIC.

-also known as Control Statements

Note:

OMRON PLC’s uses both Ladder Diagram

Language and Boolean Language.

Page 15: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 15/40

Key Points to Know in Selecting or Using PLC

I. Know the process to be controlled

II. Determine the type of control

Distributed control

Centralized control

Individual machine control

III. Determine I/O interface requirements

Estimate digital and analog I./Os

Check for I/O specifications

Determine if remote I/O is required

Allow for future expansion

IV. Define peripheral devices

Page 16: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 16/40

5 Steps in PLC Implementation

Draw the Schematic Diagram

Draw Control Diagram

Develop PLC Ladder Diagram

I/O Assignment

PLC Layout

Page 17: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 17/40

 STEP I. SCHEMATIC OR POWER DIAGRAM

Exercise 1 FORWARD/ REVERSE SCHEMATIC DIGRAM OF 3-PHASE MOTOR

M

L1 L2 L3

FWD REV

CB

O.L.

Page 18: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 18/40

EXERCISE 2 ELECTRO-PNEUMATIC DOUBLE ACTING CYLINDER

DOUBLE ACTING CYLINDER

4/2 WAY DIRECTIONAL CONTROL VALVE.

DOUBLE SOLENOID VALVE

STEP I. SCHEMATIC OR POWER DIAGRAM

Page 19: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 19/40

STEP II. CONTROL DIAGRAM (RELAY DIAGRAM) OF EXERCISE 1

PB FORWARD

PB STOP

REV

FWD

FWD

REV

FWD

REV

Page 20: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 20/40

10

01

1002

STEP IV. PLC DIGRAM

0.01 0.3 10.02

10.011001

10.02

0.30.02

STEP III. INPUT/OUTPUT ASSIGNMENT OF

EXERCISE 1

PB FWD – 0.01 FWD-10.01

PB REV - 0.02 REV-10.02

PB STOP- 0.03

Page 21: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 21/40

STEP V. PLC LAY-OUT

CENTRAL

PROCESSING UNIT

12

3

FWD

REV

L1 L2

INPUT MODULE OUTPUT MODULE

COM

+ 24V -

PB_F

PB_R

Stop PB

CH0 CH10

0

1

COM

220VAC

Page 22: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 22/40

PLC I/O WIRING(INPUT WIRING)

Page 23: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 23/40

PLC I/O WIRING(OUTPUT WIRING)

Page 24: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 24/40

CX PROGRAMMER

Page 25: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 25/40

CX PROGRAMMER

Page 26: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 26/40

CX PROGRAMMER

Page 27: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 27/40

TIMER

• PLC ADDRESS T0- T127

COIL : TIM_TIM#_SET VALUE

CONTACT: T#

coil

a contact point

b contact point

delay period

TIM

001

#50

CONTACT

Timer No.

Set Value

Page 28: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 28/40

COUNTER

In the control circuits, besides detection of objects and response operation or

timing control, there is a function which is called “counter”. For example counters

are often used in counting material numbers being carried by conveyor, or making

operation stop after a certain period is counted. 

PLC ADDRESS C0- C127

Coil : CNT_CNT#_SET VALUE

Contact : C#

CNT

001

#3

PULSER

RESET

Counter No.

Set Value

Lamp

Pulser

Reset

pulse

Page 29: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 29/40

Page 30: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 30/40

FORCING OF STATUS

• Forcing is used for testing. To temporarily Turn ON the status of a certaininput, output or internal relay.

Note: PLC must be in monitor mode

To change operating mode:

PLC => Operating Mode => Monitor Mode

To begin forcing

PLC => Force => ON

To begin forcing

PLC => Force => OFF

Page 31: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 31/40

Problem I.

Packages arriving on a roller-conveyor are lifted by a pneumatic cylinder and pushed onto

another conveyor by a second cylinder. Cylinder B may then perform a return stroke only after

cylinder A has reached the car position. The start signal should be provided by means of a manual

button, each signal initiating one cycle.

Positional sketch and determination of working elements: 

Page 32: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 32/40

Problems and Exercises

Page 33: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 33/40

Displacement Step Diagram 

Page 34: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 34/40

Problem II. 

Two clips are to be riveted together on a semi-automatic press.

Components and rivet are positioned by hand and then removed by hand on completion of the

riveting operation. The automated part of the working cycle consist of the holding and clamping of the components

(cylinder A) and also the riveting (cylinder B), and the cycle should be performed ending at the starting position

after operating a start button.

Positional sketch and determination of working elements: 

Page 35: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 35/40

Displacement Step Diagram 

Page 36: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 36/40

Problem III. 

Provide switches to operate this valve. Provide interlock so that only one can open at a time (It is undesirable to mix

the chemicals of several tanks.) 

Note: Switches which drive active high valves must be driven with active low.

Page 37: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 37/40

Problem IV.

REMOTE MONITORING OF 3 MOTORS 

Design a control circuit that will start the three motors one at a time. Motor 1 should start first. After 10s Motor 2

will start and after another 10s, motor 3 will start. Provide a stop button to stop the operation at any time.

Page 38: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 38/40

Problem V.

Flints are contained in a hopper and they are to be distributed to two only assembly

stations in a certain rhythm. Cylinder 1.0 (A) opens and closes the hopper seal. When the start

switch is operated, cylinder 1.0 (A) opens the seal. The flints slide into receptacle 1. When the

hopper has been closed, cylinder 2.0 (B) moves receptacle 2 under the hopper. In the meantime,receptacle 1 has arrived on the conveyor at the first assembly station. Another empty receptacle is

located on the sliding table when cylinder 1.0 (A) has closed the hopper. Cylinder 2.0 (B) moves

into its initial position and receptacle 2 is transported to the second assemble station on a

conveyor. If the start switch is operated again, the control performs a new cycle.

Page 39: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 39/40

Displacement Step Diagram 

Page 40: Programmable Logic Controllers Presentation Edited

8/10/2019 Programmable Logic Controllers Presentation Edited

http://slidepdf.com/reader/full/programmable-logic-controllers-presentation-edited 40/40

LADDER DIAGRAM DESIGNING

Condition: Level MonitoringThree float switch will be used to detect the level of the tank.Float switch 1 for Low Level, Float Switch 2 for Medium Level,and Float Switch 3 for High Level. Output lamps will give signalto the Operator upon actuation of the float switch. One lamp

will indicate when there is no signal given by the float switchyet.

Design the circuit.