Sei sulla pagina 1di 2

PLC Basic Instructions Be aware that specific nomenclature and operational details vary widely between PLC manufacturers,

and often implementation details evolve from generation to generation. Often the hardest part, especially for a beginning PLC programmer, is practicing the mental ju-jitsu necessary to eep the nomenclature straight from manufacturer to manufacturer. Positive Logic !most PLCs follow this convention" #rue $ logic % $ input energi&ed. 'alse $ logic ( $ input )O# energi&ed. )egative Logic #rue $ logic ( $ input )O# energi&ed 'alse $ logic % $ input energi&ed. )ormally Open !*+C" - e*amine +f Closed. #his instruction is true !logic %" when the hardware input !or internal relay e,uivalent" is energi&ed. )ormally Closed !*+O" - e*amine +f Open. #his instruction is true !logic %" when the hardware input !or internal relay e,uivalent" is )O# energi&ed. Output -nable !O#-" - Ou#put -nable. #his instruction mimics the action of a conventional relay coil. On #imer !#O)" - #imer O). .enerally, O) timers begin timing when the input !enable" line goes true, and reset if the enable line goes false before setpoint has been reached. +f enabled until setpoint is reached then the timer output goes true, and stays true until the input !enable" line goes false. Off #imer !#O'" - #imer O''.

.enerally, O'' timers begin timing on a true-to-false transition, and continue timing as long as the preceding logic remains false. /hen the accumulated time e,uals setpoint the #O' output goes on, and stays on until the rung goes true. 0etentive #imer !0#O" - 0etentive #imer On. #his type of timer does )O# reset the accumulated time when the input condition goes false. 0ather, it eeps the last accumulated time in memory, and !if1when the input goes true again" continues timing from that point. +n the 2llen-Bradley construction this instruction goes true once setpoint !preset" time has been reached, and stays true until a 0-3 !0-3et" instruction is made true to clear it. Latching 0elays !O#L" - Ou#put Latch. !O#4" - Ou#put 4nlatch. .enerally, the unlatch operator ta es precedence. #hat is, if the unlatch instruction is true then the relay output is false even though the latch instruction may also be true. +n 2llenBradley ladder logic !and others" latch and unlatch relays are separate operators. 5owever, other ladder dialects opt for a single operator modeled after 03 !0eset-3et" flip-flop integrated circuit chip logic. 6ump to 3ubroutine !630" - 6ump to 3ub0outine 'or jumping from one rung to another the 630 !6ump to 3ubroutine" command is used. Learn PLC Programming with PLC 7rive +ndustrial 2utomation Online Certificate Course. 8isit http911goo.gl1g:(;f< 2rticle 3ource9 fundamentalsofautomation.blogspot.in

Potrebbero piacerti anche