Ladder Concept.

Slides:



Advertisements
Similar presentations
Sequential Process Control
Advertisements

Programming with Ladder Logic
PLC Timer Instructions
HYDRAULICS & PNEUMATICS
Discrete Control Logic 1. Pneumatic circuits - Low forces - Discrete, fixed travel distances - Rotational or reciprocating motion Main components: compressor,
Programmable Logic Controller PLC
LADDER DIAGRAM A ladder diagram is a means of graphically representing the logic required in a relay logic system. Rail Rung.
Programmable Logic Controllers
PROGRAMMABLE LOGIC CONTROLLERS
Ladder Logic PLC Programs are made up of combinations of AND; OR; NAND; NOR; and other gates, along with timers, inputs, outputs, counters, comparators,
EUT 1040 Lecture 10: Programmable Logic Controllers.
Chapter 6 Introduction to Logic.
Switchgears Control Using SCADA System Based on PLC
PROGRAMMABLE LOGIC CONTROLLERS
Introduction To Programmable Logic Controllers
FUNCTION OF OUTPUT CONTROLLER AND APPLICATION
PLC OPERATION & PROGRAMMING Dr. ONUR TOKER. What is a PLC ? PLC is a computer system controlling a process. inputs - the keyboard is analogous to a proximity.
Lecture 4: Programmable logic Controllers
Programmable Logic Controller Internal Operations
Programmable Logic Controllers
Chapter 19 Fundamental PLC Programming
Programming with Function Blocks
Lecture 6: PLC: Timers and Counters
Logic Functions OR Operation
Timers.
LADDER DIAGRAM A ladder diagram is a means of graphically representing the logic required in a relay logic system. Rail Rung.
1 Starting & Stopping Motors Pico Pico LAB#4. 2 Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found.
Electro-Pneumatics Module 1
Chapter 10 PLC Processors.
1 FUNDAMENTOS DEL CONTROLADOR PROGRAMABLE. 2 ¿QUE ES UN CONTROLADOR PROGRAMABLE? PROGRAMMABLE CONTROLLER ENTRADAS A solid state device that controls output.
Memory Layout and SLC500 System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Chapter 8.
Pneumatics.
PROGRAMMABLE LOGIC CONTROLLER (PLC) AND AUTOMATION
Implementing software in IEC Languages in IEC IEC uses the following languages Instruction List – Assembly level programming using.
Copyright © 2002 Delmar Thomson Learning Chapter 10 PLC Processors.
Logic Functions and Symbols
PROGRAMMABLE LOGIC CONTROLLER
Timers and Counters by Dr. Amin Danial Asham. References  Programmable Controllers-Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
Programmable Logic Controller (PLC)
PLC PROGRAMMING.
PROGRAMMABLE LOGICAL CONTROLLER (PLC) PRESENTED BY:- Mrs. Bindu Thakral And Jaidev Singh.
Prepared by: Engr. Qurban Ali Memon 11ES (SEC- 1 & 2)
1 RLL: Relay Ladder Logic CONTENTS 1. PLC operation 2. PLC programming 3. Ladder logic 4. Memory and gates.
PROGRAMMABLE LOGIC CONTROLLER (PLC) AND AUTOMATION
PLC ARCHITECTURE – Memory 2 by Dr. Amin Danial Asham.
TIMERS Used to carry out tasks which involve time delay and time counting. A timer circuit is specified by stating the interval to be timed and the conditions.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
Timers. Mechanical Timing Relay Time delay relays are simply control relays with a time delay built in. Their purpose is to control an event based on.
PROGRAMMABLE LOGIC CONTROLLER
© 2013 Eaton Corporation. All rights reserved. easy Programmable Relay Training Program Exercise 3.
SEMINAR ON P.L.C. SUBMITTED BY HRIDAY MUKHERJEE AMIT DEBNATH SOMNATH SHIL
Programmable Logic Controller
Actuators and Control, Part 4 Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning.
S7-200 PLC training courses
© 2013 Eaton Corporation. All rights reserved. PLC Programming Basics.
Chapter 5.
Fluid Power Control.
1 Introduction to PLCs: Programming Counters ELMT Basic Programmable Logic Controllers Chapter 0x_W Source: www Based on Ch 8 of Frank D. Petruzella.
Discrete Control Logic
Industrial Electronics
Programming Timers.
Lesson 14: Introduction To Sequential Control
ET 438B Sequential Control and Data Acquisition
Lesson 19: PLC Programming Techniques
PROGRAMMABLE LOGIC CONTROLLERS
Programmable Logic Controllers (PLCs)
Fluid Power System Electrical Control
Presentation transcript:

Ladder Concept

LADDER DIAGRAM A ladder diagram is a means of graphically representing the logic required in a relay logic system. Rail Rung

Coils Coils represent relays that are energized when power flows to them. When a coil is energized it causes a corresponding output to turn on by changing the state of the status bit controlling the output to 1. That same output status bit maybe used to control normally open or normally closed contact anywhere in the program. 4

Boxes represent various instructions or functions that are Executed when power flows to the box. Some of these Functions are timers, counters and math operations. 5

Electrical Ladder

PLC Implementation

I/O Module Connection

Relay Ladder

PLC Implementation

Simple Ladder Diagram

Symbols

Symbols

Multiple Contacts

Multiple Contacts

Output Used as Internal coil

Is this legitimate?

No. Do not repeat output coil

Reverse Power Flow is not allowed

Corrected version

Solution

Question

Solution

PLC Ladder Diagram INSTRUCTIONS 1) Relay, 2) Timer and counter, 3) Program control, 4) Arithmetic, 5) Data manipulation, 6) Data transfer, and 7) Others, such as sequencers.

Each rung or network on a ladder program represents AND OPERATION B C A Rung Each rung or network on a ladder program represents a logic operation. In the rung above, both inputs A and B must be true (1) in order for the output C to be true (1). 32

In the rung above, it can be seen that either input A or B OR OPERATION C A Rung B In the rung above, it can be seen that either input A or B is be true (1), or both are true, then the output C is true (1). 33

NOT OPERATION C A Rung In the rung above, it can be seen that if input A is be true (1), then the output C is false (0) or when A is (0), output C is 1.

AND and OR LOGIC AND OR PB1 PB2 R1 R1 = PB1.AND.PB2 PB3 PB4 R2 R1 = PB1 .OR. PB2 OR PB2

COMBINED AND & OR R1 = PB1 .OR. (PB2 .AND. PB3) PB1 R1 PB3 PB2

PROGRAMMING EXAMPLE 1

Operation id description state explanation MSI microswitch 1 part arrive R1 output to bar code reader 1 scan the part C1 input from bar code reader 1 right part R2 output robot 1 loading cycle R3 output robot 1 unloading cycle C2 input from robot 1 robot busy R4 output to stopper 1 stopper up C3 input from machine 1 machine busy C4 input from machine 1 task complete

PLC WIRING DIAGRAM

Operation Rung 1. If part arrives and no part is stopped, trigger the bar code reader. Rung 2. If it is a right part, activate the stopper. Rung 3. If the stopper is up, the machine is not busy and the robot is not busy, load the part onto the machine. Rung 4. If the task is completed and the robot is not busy, unload the part from the machine.

PLC Ladder

A Detailed Design Process 1. Understand the process 2. Hardware/software selection 3. Develop ladder logic 4. Determine scan times and memory requirements

PLC Status Indicators Power On Run Mode Programming Mode Fault

Troubleshooting 1. Look at the process 2. PLC status lights HALT - something has stopped the CPU RUN - the PLC thinks it is OK (and probably is) ERROR - a physical problem has occurred with the PLC 3. Indicator lights on I/O cards and sensors 4. Consult the manuals, or use software if available. 5. Use programming terminal / laptop.

List of items required when working with PLCs: 1. Programming Terminal - laptop or desktop PC. 2. PLC Software. PLC manufacturers have their own specific software and license key. 3. Communication cable for connection from Laptop to PLC. 4. Backup copy of the ladder program (on diskette, CDROM, hard disk, flash memory). If none, upload it from the PLC. 5. Documentation- (PLC manual, Software manual, drawings, ladder program printout, and Seq. of Operations manual.)

SWITCHES DPST SPDT N o n - l o c k i n g L o c k i n g N o r m a l l y 1 P 2 M u l t i p l e T h r o w M u l t i p l e P o l e B r e a k - b e f o r e - m a k e M a k e - b e f o r e - b r e a k

TERMS Throw - number of states Pole - number of connecting moving parts (number of individual circuits). SPDT A serial switch box (A-B box) has two 25 pin serial ports to switch from. A B Output Input DPST Knob How is this switch classified?

TYPES OF SWITCHES Selector switches Pushbutton switches Photoelectric switches Limit Switches Proximity switches Level switches Thumbwheel switches Slide switches RATING: 24 Volts AC/DC 48 Volts AC/DC 120 Volts AC/DC 230 Volts AC/DC TTL level (Transistor-to-transistor ±5V) Isolated Input

Switches

What is this?

Cylinder Pneumatic Also called Actuator

ElectroPneumatic Valve Directional Control Valve which acts as a ‘switch’ to direct compressed air to each side of pneumatic actuator.

5-Port 2 Way Valve Also called Double Acting Pneumatic Actuator and 5/2 way solenoid operated directional control valve. Two ports to allow air in, one for outstroke (extend) and one for in-stroke (retract). 

Cylinder & Valve Assembly

TIMER

TIMER A timer consists of an internal clock, a count value register, and an accumulator. It is used for or some timing purpose. Time 5 seconds.

ON-DELAY TIMER (TON) For this example the timer has been set for 5 seconds. When S1 is closed, TR1 begins timing. When 5 seconds have elapsed, TR1 will close its associated normally open TR1 contacts, illuminating pilot light PL1. When S1 is open, de-energizing TR1, the TR1 contacts open, immediately extinguishing PL1. This type of timer is referred to as ON delay..

TON Example When the switch is closed input 4 becomes a logic 1, which is loaded into timer T37. T37 has a time base of 100 ms (.100 seconds). The preset time (PT) value has been set to 150. This is equivalent to 15 seconds (.100 x 150 ). The light will turn on 15 seconds after the input switch is closed.

Retentive On-Delay (TONR) The Retentive On-Delay timer (TONR) functions in a similar manner to the On-Delay timer (TON). There is one difference. The Retentive On-Delay timer times as long as the enabling input is on, but does not reset when the input goes off. The timer must be reset with a RESET (R) instruction.

TONR Example

TONR Example Cont. The same example used with the On-Delay timer will be used with the Retentive On-Delay timer. When the switch is closed at input I0.3, timer T5 (Retentive timer) begins timing. If, for example, after 10 seconds input I0.3 is opened the timer stops. When input I0.3 is closed the timer will begin timing at 10 seconds. A RESET (R) instruction can be added. Here a pushbutton is connected to input I0.2. If after 10 seconds input I0.3 were opened, T5 can be reset by momentarily closing input I0.2. T5 will be reset to 0 and begin timing from 0 when input I0.3 is closed again.

OFF-DELAY (TOFF) The Off-Delay timer is used to delay an output off for a fixed period of time after the input turns off. When the enabling bit turns on the timer bit turns on immediately and the value is set to 0. When the input turns off, the timer counts until the preset time has elapsed before the timer bit turns off.

TIMER MAX VALUES

TIMER EXAMPLE Start PB Pressed >> Pump1 ON (5 sec) >> Pump2 ON (3 sec) >> Mixer ON (60 sec) >> Drain Valve ON >> Pump 3 (8 sec)

Counter

COUNTER Digital counters output in the form of a relay contact when a pre-assigned count value is reached. 5

CTU, CTD, and CTUD

UP COUNTER (CTU)

Down Counter (CTD)

UP/DOWN COUNTER (CTUD)

COUNTER EXAMPLE

Example

Example (cont.)