an introduction to plcs

37
Introduction To Programmable Logic Controllers

Upload: abirami

Post on 19-Nov-2015

61 views

Category:

Documents


3 download

DESCRIPTION

BASICS

TRANSCRIPT

  • Introduction To Programmable Logic Controllers

    *

  • The concept: a machine that can be started from two remote places

    *

  • InputsOutputsProgram

    *

  • Inputs and Outputs DevicesPush ButtonsProximity switchesPhotoelectric sensorsTemperature sensorsPressure sensors

    MotorsSolenoidsIndicator lampsResistive loadsContactors

    InputsOutputsPush buttonPhoto SensorPressure SensorMotor

    *

  • Relays++--

    *

  • Programmable Logic ControllersBox Type Modular or Rack Type

    *

  • Typical PLC ApplicationsCoin-Operated Carwash Conveyor Diverter Control Greenhouse IrrigationLumber Mill OperationOil recovery systems

    *

  • Three Phase ConverterA machine requires three phase power to operate but only two phase power is available.A power converter must be built using a three phase converter.

    Three phase converter

    *

  • Starting capacitor

    Momentary push button3-Phase converter220 VACPower On/Off Switch

    Converter OperationThe power is switched onTo start the converters motor the push button is held for 1 to 2 seconds

    *

  • StartRelay1-PoleContactorTimerRelay2-Pole ContactorStopRemote StopStartRemote StartRemoteLamp3-Phase Converter

    *

  • 3-Phase Converter

    *

  • PLC1-PoleContactor2-Pole Contactor

    StopRemote StopStartRemote StartRemoteLamp3-Phase Converter

    *

  • Example: Process SafetyPressure Emergency ReleaseSolenoidCounterPressure Sensor10 SecondTimerPressureReleaseValve

    *

  • Example ProcessSensors,Emergency Shut offSolenoidsPLC(programmable logic controller)

    *

  • A PLC replaces the wiring between input and output devices. Instead of being wired together, all equipment is wired to the PLC.The logic implementd through wiring is now a program inside the PLC All Input DevicesAll OutputDevicesPLC

    *

  • Programmable Logic ControllersPLCs (Programmable Logic Controllers) is a miniature industrial computer performs control functions [4] The first PLCs can be traced back to 1968 and became popular in the 1980s [4]PLCs are rugged and designed to withstand the industrial environment.

    *

  • Components of a PLCInputsCPUMemoryOutputs

    InputsOutputsCPUMemory

    *

  • PLC Inputs and OutputsAnalog, Discrete or DigitalProtected by OptoisolatorsSourcing and SinkingCommunications

    Optoisolator

    *

  • PLC OperationScanning is the process of running the PLC programCycle time is the total time for one loop.

    Check Input StatusExecute ProgramUpdate Output Status

    *

  • PLC ProgrammingLadder logic is the main programming method used for PLCs [39]It is a visual and symbolic programming language that resembles relays logic diagramsLadder logic has been developed to mimic relay logic to reduce amount of retraining needed for engineers and trades people [39]

    *

  • Ladder LogicCompare a circuits diagram to a ladder logic diagram

    RelayButtonMotor24 V DC InputButtonPower Rails

    Motor

    *

  • Ladder Logic

    Rung 1Rung 2Rung 3Rung 4Power Rails

    *

  • Ladder LogicLadder logic uses a variety of programming symbols Power always flows from left to rightOutput devices are in the ON state if power flows through them

    Normally Closed ContactNormally Open ContactOutput Device or CoilPower rails

    *

  • ContactsContact programmed normally openContact programmed normally closedPower flows when the input device is onPower flows when the input device is off

    *

  • Ladder Logic

    ButtonMotorMotorMotor

    On lampOff lampMotor outputLamp for power appliedLamp for power not appliedContacts

    *

  • Ladder LogicLatching is the term for a self-maintaining circuit.

    Start buttonMotorMotor

    Stop button

    *

  • PLC

    Pressure sensorSolenoidCounter+--+

    Timer

    SolenoidTimerPressure sensorPLC ladder logic programWiring diagram for PLC Pressure emergency release

    *

  • PLC

    Pressure SensorSolenoid+--+

    Safety Sensor-+

    Manual shut off-+

    Wiring diagram for PLC

    *

  • Manual shut offSafety sensorSensorCounter

    Timer

    SolenoidTimerPLC ladder logic program

    *

  • Industrial MixerFilled with liquidHeatedMix for 10 minutes.

    *

  • Sequential Function ChartState 2State 1State 3RotateHeatFill with liquidLevel full switchTimerTemperature Switch

    *

  • Start buttonPump

    Level full floaterHeaterMixing Motor

    Temperature sensor

    211233PLC

    *

  • Start buttonPumpPump

    Level full floaterLevel full floaterHeater

    Temperature SensorState 1State 2

    *

  • 10 minute Timer10 minute Timer

    Mixing motor

    Temperature SensorState 3

    *

  • Ladder LogicForcingTime checksSimulationSoftware testing

    *

  • Ladder LogicRegisters and bitsData comparisonArithmetic operationsFunctionsPID control

    *

  • PLCs solve problemsFlexibleCost effectiveComputational abilitiesTrouble shootingReliable

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *

    *