PLC Unit 4

17
PROGRAMMING LANGUAGE UNIT 4

description

plc

Transcript of PLC Unit 4

  • PROGRAMMING LANGUAGEUNIT 4

  • OBJEKTIFExplain 5 programming languageDraw basic ladder diagramWrite mnemonic code

  • ITEMS NEEDED IN PROGRAMMINGStart Operation ModeReset ConditionOperation/Process sequenceOutput SignalOutput StatusEnd

  • Programming LanguageLadder DiagramInstruction ListStructured TextSequential Function ChartFunction Block Diagram

  • Ladder DiagramGraphical programming languageHave +ve and ve/common trackThis track either being joined by NO or NC

  • Instruction ListBuilt from control command consist of operator and operandAlso known as mnemonic codeEg : LD, AND, OR

  • Structured TextConsist of quote and command

    EVENT DESIREDCOMPONENT INVOLVED

  • Sequential Function ChartGraphical language typeThe element consist of steps, transition, choices and parallel junctionEach step shows active or inactive controlEach step consist of execution based on transitionThe execution have its own structural sequences

  • Sequential Function ChartSTEP 1STEP 2STEP 3TRANSITIONTRANSITIONMOTOR STARTMOTOR STOPexecution

  • Function Block DiagramGraphical type languageThe element being visualized using graphic function and block functionSwitch 1Switch 2Lamp ONCylinder OutORAND

  • LADDER DIAGRAM BASICConsist of 2 vertical line each at the left and right of the diagram called bus bar.The horizontal line from left to right is called instruction line.Along the line consist of logic combination called condition.This condition either NO or NC

  • LADDER DIAGRAM BASICBUSBARINSTRUCTION LINECONDITION

  • BASIC TERMSEXECUTION CONDITIONOPERAND BITSLOGIC BLOCKSINSTRUCTION BLOCKMNEMONIK CODE

  • EXECUTION CONDITIONCombination ON and OFF logic produced collective condition for an instruction.

    Instruction will be in Execution Condition ON when IR 00 ON, IR 01 OFF and IR 02 ON

  • OPERAND BITSOperation bit for each instruction can be from any of memory area IR, SR, HR, TC, or TRCondition in ladder diagram can be determine by I/O bits, flags, work bits and timer/counter.

  • LOGIK BLOCKSWay condition give interaction towards instruction is determine by communication between conditionEach condition group produced a logic block

  • MNEMONIK CODELadder diagram cannot be read by programming consoleThe ladder diagram then need to convert to mnemonic code