Unit 7 discrete controllers l.jpg
This presentation is the property of its rightful owner.
Sponsored Links
1 / 26

Unit 7 Discrete Controllers PowerPoint PPT Presentation


  • 125 Views
  • Uploaded on
  • Presentation posted in: General

Unit 7 Discrete Controllers. Sections: Discrete Process Control Ladder Logic Diagrams Programmable Logic Controllers Personal Computers Using Soft Logic. Discrete Process Control.

Download Presentation

Unit 7 Discrete Controllers

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Unit 7 discrete controllers l.jpg

Unit 7 Discrete Controllers

Sections:

  • Discrete Process Control

  • Ladder Logic Diagrams

  • Programmable Logic Controllers

  • Personal Computers Using Soft Logic


Discrete process control l.jpg

Discrete Process Control

Control systems that operate on parameters and variables that change at discrete moments in time or at discrete events, usually binary (0 or 1, off or on, open or closed, etc.)

SensorsLimit switchContact/no contact

Photo-detectorOn/off

TimerOn/off

ActuatorsMotorOn/off

ValveOpen/closed

ClutchEngaged/not engaged


Categories of discrete control l.jpg

Categories of Discrete Control

  • Logic control – event-driven changes

  • Sequencing – time-driven changes

  • Logic Control - a switching system whose output at any moment is determined exclusively by the values of inputs

    • No memory

    • No operating characteristics that depend on time

    • Also called combinational logic control


Elements of logic control l.jpg

Elements of Logic Control

  • Logic gates:

    AND – output = 1 if all inputs = 1, zero otherwise

    OR – output = 1 if any input = 1, zero otherwise

    NOT – output = 1 if (single) input = 0, and vice versa

    NAND – combination of AND and NOT

    NOR – combination of OR and NOT


Boolean algebra truth tables l.jpg

Boolean Algebra & Truth Tables

AND function is expressed as

Y = X1.X2

OR function is expressed as

Y = X1+X2

NOT function is expressed as

Y=X1


Nand and nor functions l.jpg

NAND and NOR Functions


Symbols for logical gates l.jpg

Symbols for Logical Gates


Example l.jpg

Example

Write the Boolean logic expression for the pushbutton switch system below using the following symbols:

X1 = START, X2 = STOP, Y1 = MOTOR, and Y2 = POWER‑TO‑MOTOR.

X2

Y2

Y1

X1


Solution l.jpg

Solution

Truth Table

X2

X2

Y2=

Y1

X1

X1+Y1


Sequencing l.jpg

Sequencing

A switching system that uses internal timing devices to determine when to initiate changes in output variables

  • Outputs are usually generated “open loop”

    • No feedback that control function is executed

  • Sequence of output signals is usually cyclical, as in a high production work cycle

    • The signals occur in the same repeated pattern within each regular cycle

  • Common sequencing devices:

    • Timer – output switches on/off at preset times

    • Counter – counts electrical pulses and stores them


Ladder logic diagrams l.jpg

Ladder Logic Diagrams

A diagram where logic elements are displayed along horizontal rungs

  • Contacts - logical inputs (usually), e.g., limit switches, photo-detector

  • Loads - outputs, e.g., motors, lights, alarms, solenoids

  • Timers - to specify length of delay

  • Counters - to count pulses received


Ladder logic diagram l.jpg

Ladder Logic Diagram


Example13 l.jpg

Example

  • Construct the ladder logic diagrams for (a) the NAND gate and (b) the NOR gate.

  • Solution:

  • If X1 or X2 remain open then C coil is unexcited and C contact remains closed, therefore Y is on.

  • If X1 and X2 are closed then C coil is excited and C contact is opened and Y is off


Solution14 l.jpg

Solution

  • If X1 and X2 remain open then C coil is unexcited and C contact remains closed, therefore Y is on.

  • If X1 or X2 are closed then C coil is excited and C contact is opened and Y is off


Exercise l.jpg

Exercise

  • The production process may only be performed when the operator activates two spring activated safety switches. The switches have to be depressed and held closed together by the operator using both hands.

  • (a) What is the truth table? (b) What is the Boolean logic expression? (c) What is the logic network diagram (in ISO symbol terminology)? (d) What is the ladder logic diagram?

  • Assume X1 and X2 are the first and second switches and Y is the output


Solution16 l.jpg

Solution


Exercise17 l.jpg

Exercise

  • Create ladder logic diagram for Push Button switch


Solution18 l.jpg

Solution


Programmable logic controller plc l.jpg

Programmable Logic Controller (PLC)

A microcomputer-based controller that uses stored instructions in programmable memory to implement logic, sequencing, timing, counting, and arithmetic functions through digital or analog modules, for controlling machines and processes


Components of a plc l.jpg

Components of a PLC

Programming

Device

Processor

& Memory

I/O

Module

Outputs

Inputs


Advantages of plcs compared to relay control panels l.jpg

Advantages of PLCs Compared to Relay Control Panels

  • Programming a PLC is easier than wiring a relay control panel

  • PLC can be reprogrammed

  • PLCs take less floor space

  • Greater reliability, easier maintenance

  • PLC can be connected to computer systems (CIM)

  • PLCs can perform a greater variety of control functions


Typical plc operating cycle l.jpg

Typical PLC Operating Cycle

  • Input scan – inputs are read by processor and stored in memory

  • Program scan – control program is executed

    • Input values stored in memory are used in the control logic calculations to determine values of outputs

  • Output scan – output values are updated to agree with calculated values

  • Time to perform the three steps (scan time) varies between 1 and 25 msec


Plc programming l.jpg

PLC Programming

  • Graphical languages:

    • Ladder logic diagrams – most widely used

    • Function block diagrams – instructions composed of operation blocks that transform input signals

    • Sequential function charts – series of steps and transitions from one state to the next (Europe)

  • Text-based languages:

    • Instruction list - low-level computer language

    • Structured text – high-level computer language


Plc programming24 l.jpg

PLC Programming


Personal computers using soft logic l.jpg

Personal Computers Using Soft Logic

  • Sturdy enclosures for plant environment

  • Membrane-type keyboards

  • I/O cards and other hardware to connect to machines and processes

  • Windows for implementing control applications

  • Soft logic software emulating PLCs


Nxt controller and program l.jpg

NXT Controller and Program


  • Login