tcef; (9) Boolean logic taMumif;/

In document A Guide to PLC (U Soe Tint) Rev 1.0 (Page 119-181)

'Dtcef;ukd zwf&IavhvmNyD;oGm;wJhtcgrSm?

1/ Logic AND, Logic OR, Logic NOT wkdY&JUt"dyÜg,f?

2/ Truth Table eJY Boolean Logic b,fvdk qufpyfw,fqdkwm? awGukd aumif;pGm em;vnf oabmayguf oGm;ygvdrfhr,f/

PLC (Programmable Logic Controller) rSmoHk;xm;wJh logic qkdwmu Boolean Logic ukd ajymwm jzpfygw,f/

PLC eJYywfoufwJh Boolean logic function awGuawmh

(1) Logic AND,

(2) Logic OR, Logic XOR eJY

(3) Logic NOT wkdY jzpfMuygw,f/

Boolean Logic rSm Logical AND, Logical OR eJU Logical NOT wdkU yg&Sdygw,f/ 'D oHk;rsdK;udk wGJzuf aygif;pyfNyD; NAND eJY NOR wdkY jzpfay:vmygw,f/

Logic AND

Sw 2

Sw 1 Lamp

+24V 0V 'D electrical circuit rSm Lamp = ON jzpfzdkY twGuf Sw 1 a&m Sw 2 yg ON jzpf&ygr,f/

tJ'D oabmt"dyÜg,fudk Boolean equation eJU a&;r,f qdk&if Lamp = (Sw 1) AND (Sw 2)

vdkY a&;&ygw,f/

'Doabm t"dyÜg,fudkyJ Graphical symbol eJU azmfjyr,fqdk&if atmufygtwdkif;

azmfjyavh &Sdygw,f/

Sw 2 AND Sw 1 Sw 1

Sw 2 Lamp Lamp

'DyHkudk 2-input AND vdkU ac:ygw,f/

Logic AND qkdwmuawmh AND vkyfxm;wJh input tm;vHk; ON jzpfrS output u ON jzpf&wJh oabmobm0 &Sdygw,f/

Logic AND qkdwmudk tm;vHk; ( All ) vkdY rSwfom; xm;yg/

'D oabm t"dyÜg,f udkyJ Truth Table eJU azmfjyr,f qdk&if

'gudk ON/OFF tpm; 0/1 eJU azmfjyr,f qdk&if 0 [m OFFjzpfaew,fqdkwmudk azmfjyyg w,f/ 1 [m ON jzpfaew,fqdkwmudk azmfñTef; ygw,f/

Electric circuit diagram eJY Truth Table awGudk txuffrSmazmfjyxm;ygw,f/ tJ'gu awmh Logic AND &JU example jzpfygw,f/

txuffyHkrSm jyxm;wJhtwkdif; input 2ck udk AND vkyfxm;&if tJ'D input 2ck pvHk; ON jzpfrS output (logic AND &JU result) u ON jzpfygw,f/ 2-input AND udk Logic Gate Symbol, Truth Table awGeJY AND function &JU vkyfaqmifcsuf obm0ukd azmfjyxm;ygw,f/

Logic OR

'D electrical circuit rSm Sw 1 odkYr[kwf Sw 2 wpfck ON jzpf½Hk eJU Lamp = ON jzpfygw,f/

'D oabmt"dyÜg,f udk Boolean equation

eJU a&;r,fqdk&if Lamp = (Sw 1) OR (Sw 2)

vdkY a&;&ygw,f/

Sw 1 Lamp 0V

+24V

Sw 2

Graphical symbol eJU azmfjyr,f qdk&if atmufygyHktwdkif; jzpfygw,f/

Sw 1

Lamp OR Lamp

Sw 2 Sw 1 Sw 1

'DyHkudk 2-input OR vkdU ac:ygw,f/

Truth TableeJU azmfjyr,f qdk&if atmufygyHktwdkif; jzpfygw,f/

txuffyHkrSm jyxm;wmuawmh Logic OR &JU Example jzpfygw,f/

yHkrSm Logic OR function ukd electric circuit diagram eJY a&m? 2-input OR &JU Logic Gate Symbol, Truth Table awGeJYyg OR &JU obm0udk &Sif;vif;azmfjyxm;wm jzpfygw,f/

Logic OR qkdwmuawmh OR vkyfxm;wJh input awGtm;vHk;xJu 1ck ON jzpfvkdufwmeJY

OR &JU logic result (Output) u ON jzpfoGm;ygw,f/ Logic OR &JU input awGtm;vHk; ON

yHkrSm XOR function &atmif qufoG,f xm;wJh Relay Circuit &,f? 2-input XOR &JU

Logic Gate symbol eJY Truth table awGukd Munhf½I avhvmNyD;? XOR &JU function ukd em;vnf Muygvdrfhr,f/

Graphical symbol u

yHkrSm azmfjyxm;wmu Logic XOR

&JU oabmobm0 jzpfygw,f/ XOR qkd wm Exclusive OR &JU twkdaumufpmvHk; jzpfyg w,f/ XOR &JU vkyfaqmifyHk function u XOR vkyfxm;wJh input awG tm;vHk;xJu 1ckwnf;

om ON jzpfrS XOR &JU logic result u ON jzpf&ygw,f/ XOR &JU input tm;vHk; ON jzpfwJh jzpf&if Relay R u de-energize jzpfaeNyD;

relay &JU N.C contact u close jzpf aevdkU

Lamp = ON jzpfaeygw,f/ Sw 1 ON jzpf&if Relay R u energize jzpfoGm;NyD;

relay &JU N.C contact u open jzpfoGm;vdkU

Logic NOT function &atmif Relay eJY zGJUpnf;wnfaqmufxm;wmukd electric circuit diagram eJY azmfjyxm;wmjzpfygw,f/

'D oabm t"dyÜg,f udk Boolean equation eJU a&;r,f qdk&if Lamp = NOT (Sw 1) vdkY a&;&ygw,f/

Truth Table eJU azmfjyr,f qdk&ifawmh atmufygtwdkif; jzpfygw,f/

Bubble Bubble u NOT qdkwJh t"dyÜg,f jzpfygw,f/

ykHrSm azmfjyxm;wmu NOT &JU function jzpfygw,f/ Input u ON jzpf&if output u

OFF jzpfoGm;NyD;? input u OFF jzpfrS output u ON jzpfoGm;wJh oabmobm0ukd NOT vkdY ac:wmjzpfygw,f/ Logic NOT &JU gate symbol eJY truth table ukdyg azmfjyxm;ygw,f/

Logic NOT ukd ajymif;jyef ( Invert ) vkdY rSwfxm;yg/

tckazmfjycJhwJh Logic function av;rsdK;ukd twkdcsKyfrSwfom;csif&if

AND udk ALL (tm;vHk;) vkdY rSwfom; xm;yg/ Input tm;vHk; ON jzpfrS Output u

ON jzpf&vkdY jzpfygw,f/

OR ukd ONE (1ck) vkdY rSwfxm;yg/ Input xJu 1ck ON jzpf&if Output u ON jzpf&vkdY jzpfygw,f/

XOR ukd Only One (1ck wnf;om) vkdY rSwfxm;yg/ Input awGxJu 1ck wnf; ON jzpfrSom Output u ON jzpf&vkdY jzpfygw,f/

NOT ukdawmh Invert (ajymif;jyef) vkdY rSwfxm;yg/ Input &JU ajymif;jyef[m Output jzpfaevkdY jzpfygw,f/

yHkrSm Logic Gate awG&JU symbol awGukd azmfjyxm;ygw,f/

tcef; (10)

PLC Program Overview

'Dtcef;rSm Programming Language, Programming Software, Machine Control, Process Control, PLC Program pwmawGeJU rdwfqufay;xm;ygw,f/

Program qkdwm instruction code awGukd pepfwuspkzGJUNyD; PLC em;vnfatmif ñTefMum;ckdif;apwJh ñTefMum;csuftpkta0;yJjzpfygw,f/ PLC udk ckdif;csif&if PLC em;vnfwJh pum; code eJY ajymNyD;ckdif;&ygw,f/ PLC [m computer jzpfwJhtwGuf binary code eJY ajymrS em;vnfygw,f/ Binary code ukd machine code (machine language) vkdY ac:ygw,f/

Machine language eJY PLC program a&;zkdYqkdwmuawmh computer ynm&Sifrsm;om wwfEkdifwJh udpöjzpfygw,f/

omrefvQyfppftif*sifeD,mrsm;twGuf machine language eJY PLC program a&;wwf zkdY oif,l&wm tifrwefcufcJygw,f/ 'gaMumihfrkdYvkdY PLC ukd xkwfvkyfolawGu vG,fulpGm oif,l wwfajrmufEkdifwJh Ladder Diagram Programming Language (LD) ukd wDxGifay;xm;

ygw,f/ 'DaeYacwftxd LD ukd toHk;jyKNyD; PLC program a&;om;Muwm[m 92% &Sdw,fvkdY

2004 ckESpfu aumuf,lxm;wJh ppfwrf;wpfckrSmawGU&ygw,f/

'DpmtkyfrSm LD eJY PLC program a&;om;enf;ukd vG,f&mrSonf cuf&mqDokdY wqifh NyD;wqifh &Sif;vif;azmfjyxm;ygw,f/ PLC taMumif; vHk;0rodao;olawGudk OD;wnf &nf

&G,fNyD; a&;om;xm;wmjzpfygw,f/

Program qkdwm ñTefMum;csufawGukd ac:wmjzpfygw,f/ ñTefMum;csufukd instruction

vkdYvnf; ac:ygw,f/ Command vkdYvnf; ac:ygw,f/ ckdif;apcsufjzpfygw,f/ PLC ukd ckdif;apr,fqkd&if PLC ukd xkwfvkyfwJh OEM u owfrSwfay;xm;wJh instruction code

awGukdom toHk;jyK&ygw,f/ PLC ukd xkwfvkyfol OEM u b,fvdkowfrSwf ay;xm;ovJ qkdwmukd od&zkdY PLC programming manual ukd zwf½Iavhvm&ygw,f/

Ladder Diagram (LD) eJY PLC program (user program) a&;r,fqkd&if odxm;&r,fh tajccHowfrSwfcsuf basic instruction code awGuawmh PLC wkdif;twGuf twlwlyJ jzpfygw,f/ yg0ifwJh instruction code trsdK;tpm;? eJY ta&twGufteJtrsm; rSmom PLC wpfrsdK;eJYwpfrsdK; uGmjcm;Muwm jzpfygw,f/

PLC trsdK;tpm;wpfckudk LD eJY program a&;wwf? zwfwwfoGm;NyDqkd&if wjcm; PLC awGtwGuf LD eJY a&;xm;wJh program ukd zwf½Iem;vnfEkdifzkdY taxmuftul BuD;BuD;rm;rm;

jzpfapygw,f/ Oyrm? Mitsubishi PLC eJY LD program a&;enf;ukd oif,lwwf ajrmufxm;ol wpfa,muftzkdY Omron PLC twGuf a&;xm;wJh LD program udk interpret vkyfEkdifzkdY taxmuftul BuD;BuD;rm;rm; jzpfapygw,f/

PLC program a&;enf;ukd pmtkyfzwf½HkeJY rwwfygbl;/ Programming Software eJY

program a&;MunfhzkdY vkdtyfygw,f/ a&;NyD;wJh program ukd PLC xJ ajymif;a&;xnhfNyD; PLC ukd RUN &ygw,f/ Program rSmygwJh oufqkdif&m input awGukd ON/OFF vkyfNyD; program a&;pOfu rdrd&nf&G,fckdif;apxm;wJhtwkdif; PLC u vkdufemaqmif&Gufjcif; &Sd^r&Sd qkdwmukd prf;oyfMunhf½I&ygw,f/ vkdtyfaeao;wmukd jznhfpGuf? rSm;aewmukd jyifqifNyD; a&;&yg w,f/ 'Dvkdvkyfwmukd debugging vkyfw,fvkdY ac:ygw,f/ a&;vkduf? prf;vkduf? jyifvkdufeJY toHk;uswJh? toHk;0ifwJh? program 1ck &&Sdvm&if save vkyf? odrf;qnf;xm;&ygw,f/

Program eJYtwl rSwfcsuf comment awGa&;NyD; save vkyfxm;&if aemif tcsdefMumrS jyefzGifh MunhfwJh tcgrSm tvG,fwul rSwfrdapygw,f/

tJ'Dvkd vkyfwwfatmif 'DpmtkyfxJrSm wpfqihfcsif;pD? tao;pdyfa&;xm;ay;ygw,f/

Programming software ukd w&m;0if tcrJh &&SdEkdifwJh web address udkvnf; azmfjyay;xm;

ygw,f/ tJ'D software &JUtrnfu WPLSoft jzpfygw,f/ PLC rygbJeJY? PLC r&SdbJeJY? LD

program a&;NyD; PLC &SdbdouJhokdY RUN MunhfvkdY&ygw,f/

WPLSoft [m Delta Automation u xkwfvkyfwJh Delta PLC awGtwGuf program a&;om;EkdifwJh programming software jzpfygw,f/

Mitsubishi u xkwfvkyfwJh PLC awGtwGuf program a&;r,fqkd&if GX Developer

qkdwJh programming software ukd oHk;NyD;a&;&ygw,f/

Omron u xkwfvkyfwJh PLC awGtwGuf program a&;r,fqkd&if CX Programmer

qdkwJh programming software ukd oHk;NyD;a&;vkdY&ygw,f/

Siemens u xkwfvkyfwJh S7-200 PLC twGuf program a&;r,fqkd&if STEP 7

MicroWIN qdkwJh programming software ukd oHk;NyD;a&;&ygw,f/

PLC twGuf program a&;awmhr,fqkd&if rdrd&JU computer xJrSm programming software ukd t&ifOD;qHk; install vkyf&ygw,f/ Computer xJrSm a&;xm;wJhh program udk PLC xJ a&;oGif;wJhtvkyf download ukd vkyfzkdY programming cable vkdtyfygw,f/ PLC eJY

computer ukd tJ'D cable eJY qufoG,fNyD; computer xJu a&;NyD;om; program ukd PLC xJ ajymif;xnhf ay;&ygw,f/ Debugging vkyfzkdYtwGufvnf; programming cable &SdrS vkyfvkdY

&ygw,f/

toHk;0ifwJh program wpfcka&;NyD;vkdY? jyifNyD;vkdY? prf;NyD;vkdY? a&;NyD;om; program ukd

PLC xJ ajymif;xnhf NyD;oGm;NyDqkd&ifawmh programming cable [m rvkdtyfawmhygbl;/ PLC rSm Input Device awG? Output Device awG? qufoG,f wwfqifNyD; PLC ukd RUN vkduf½Hkom jzpfygw,f/ PLC ukd RUN w,fqkdwm PLC xJrSm a&;xnhfxm;wJh ñTefMum;csuf User

Program xJutwkdif; PLC ukd vkyfaqmifawmhvkdY PLC ukd apckdif;vkdufwmyJjzpfygw,f/

vufawGUvkyfief;cGifrSm PLC xJu aqmif&GufcsufawGukd MunhfvkdY? jrifvkdY? r&ygbl;/

PLC xJrSm a&;xm;wJh program ukd print out xkwfxm;wm &SdrSom tJ'D program ukd zwf½INyD;

PLC ukd od&Sdem;vnfatmifoif,lwJhtcgrSm wu,fh PLC eJY vufawGU oif,l wm[m taumif;qHk; jzpfygw,f/

PLC rsKd;uGJaygif; ajrmufjrm;pGm&Sdygw,f/ PLC wpfrsdK;ukd pepfwus oif,l wwfajrmuf NyD;&if usef PLC awGukd wcPeJY oif,lwwfajrmuf em;vnfoGm;Ekdifygw,f/

OEM &JU Manual awGukdawmh b,fawmhrS vufvTwfvkdY r&ygbl;/ 'gaMumifh PLC wpfrsdK;eJY oif,lavhusihfaewJhtcsdefrSm tJ'D PLC &JU Manual awGukd zwfwwfatmif wyg wnf; oif,l&ygr,f/ PLC Manual awGudk t*FvdyfpmeJY a&;xm;ygw,f/ t*Fvdyfvkd oHk;EIef;

xm;wmawGukd 'DpmtkyfrSm wwfpGrf;orQ &Sif;vif;azmfjyay;xm;ygw,f/ t*Fvdyfpm ukd jrefrmbmom jyefqkda&;om;wm rsdK;r[kwfbJ oabmt"dyÜg,fukd &Sif;vif;azmfjyay;xm;wm om jzpfygw,f/

(rdrda&;wwfovkd?rdrdoabmaygufodjrifovkd?a&;xm;wmjzpfvkdY ynm&Sifrsm;u jyKjyifp&mawG awGU&SdcJh&if axmufjy? jyKjyifay;yg&ef yefMum;tyfygw,f/)

'Dpmtkyfukd a&;om;&mrSm &nf&G,fcsuf 2ck &Sdygw,f/

wpfckuawmh PLC udk oifwef; wufNyD; vufawGUoif,laeMuolawG rSefrSefuefuef awG;q odjrifwwfapzkdY jzpfygw,f/

aemufwpfckuawmh PLC taMumif;udk odcsifNyD; oifwef;wufzdkY tqifrajyao;ol awG? twGuf PLC rygbJeJY LD program ukd a&;wwfapzkdY? rdrda&;xm;wJh Program ukd

Simulator Software eJY prf;oyfppfaq; wwfapzkdY jzpfygw,f/

LD eJY PLC program a&;r,fqkd&if Logic taMumif; t&ifodxm;zkdY vkdtyfygw,f/

Control taMumif;ukdvnf; odxm;oifhygw,f/

tck Control taMumif;ukd tenf;i,f &Sif;vif;azmfjyygr,f/ Control qkdwm xdef;

ausmif;ay;wmukd ac:wm jzpfygw,f/

xdef;ausmif;yHk? xdef;ausmif;enf;pepfukd Control System vkdY ac:ygw,f/ pufukd xdef;ausmif;armif;ESif&if Machine Control vkdY ac:ygw,f/ ukefxkwfvkyfrI vkyfief;pOfukd xdef;ausmif;armif;ESif&if Process Control vkdY ac:ygw,f/

'Dae&mrSmoHk;pGJwJh process &JU t"dyÜg,fu t&m0w¬Kypönf;wpfckukd oGifjyifyHkoP²mef tm;jzifh physically jzpfap? "mwkzGJUpnf;rItm;jzifh chemically jzpfap? ajymif;vJ oGm;atmif vkyfaqmifwmukd process vdkY ac:ygw,f/

Oyrmjy&&if jrpfa&? acsmif;a&ukd aomufa&? oHk;a&jzpfatmif ajymif;vkdufwm

Water Treatment vkyfwm ukdvnf; process vkdY ac:ygw,f/

BuHukd oMum;jzpfatmif vkyfwm? *sHKukd aygifrkefYjzpfatmif vkyfwmawGudkvnf;

process vkdY ac:ygw,f/

PLC ukd Machine Control rSma&m? Process Control rSmyg toHk;jyKMuygw,f/

Machine Control rSm oHk;wJh trsdK;tpm;u Compact PLC trsdK;tpm; jzpfygw,f/ Process

Control rSmoHk;wJh PLC trsdK;tpm;u Modular PLC trsdK;tpm; jzpfygw,f/

Control system wpfckrSm Controller &JU t0if Input Device awGudk Sensor awGvkdY ac:ygw,f/ Controller &JU txGuf Output Device awGukd Actuator awGvdkY ac:Muygw,f/

Field Input Device eJY Field Output Device vkdYvnf; ac:Muygw,f/

PLC &JU Input Device awGrSm Analog Input Device eJY Discrete Input Device (Digital Input Device) vkdY 2rsdK; &Sdygw,f/

'DpmtkyfrSm discrete input om vufcHaqmif&GufwJh PLC taMumif;ukd tao;pdyf &Sif;jyxm;ygw,f/

PLC &JU Output rSmvnf; Analog Actuator eJY Discrete Actuator qkdNyD; Device 2rsdK;

&Sdygw,f/

ON/OFF signal input ukd PLC u vufcHNyD; ON/OFF signal output ukdom PLC u xkwfay;wJh Discrete I/O omyg&SdwJh PLC taMumif;udk tao;pdyf avhvmzkdYqkd&if logic taMumif;ukd &Sif;&Sif;vif;vif; odxm;zkdYvkdtyfygw,f/ 'g[m PLC rSm tajccH tusqHk; jzpf ygw,f/

 

tcef; (11)

PLC Basic Programming

IEC u owfrSwfxm;wJh PLC programming Language 5rsdK;xJu LD Language ukd

Graphical Language vkdY ac:ygw,f/ ½kyfyHkawGeJY code vkyfxm;vdkYjzpfygw,f/ LD eJY program a&;wwfzkdY basic instruction code oHk;rsdK;ukd OD;pGmyxr &Sif;vif;azmfjyygr,f/

LD Language rSm ñTefMum;csuf instruction code awGukd relay coil &JU oauFw

symbol jzpfwJh –( ) &,f? relay contact &JU symbol jzpfwJh –| |– eJY –| / |– &,f? wkdYukd toHk;jyKNyD; program a&;&wmjzpfygw,f/

Open contact &JU symbol jzpfwJh 'DvkdyHkukd “ON jzpfaeovm;vkdY ppfaq;

Munhfyg vkdY ckdif;wJh (ñTefMum;wJh) instruction code tjzpf toHk;jyKygw,f/ Examine ON vkdY ac:ygw,f/

Closed contact &JU symbol jzpfwJh 'DvkdyHkukd “OFF jzpfaeovm;vkdY ppfaq;

Munhfyg vkdY ckdif;wJh instruction code tjzpf toHk;jyKygw,f/ Examine OFF vkdY ac:ygw,f/

Coil &JU symbol jzpfwJh okdYr[kwf –( ) 'DvkdyHkudkawmh “Output ukd ON vkdufyg vkdY ckdif;wJh instruction code tjzpftoHk;jyKygw,f/ Output ON vkdY ac:ygw,f/

'Dpmtkyfukd ,aeYacwfvli,fawGtwGuf &nf&G,fNyD; a&;om;xm;wmjzpfygw,f/

acwfvli,fawG[m computer eJY &if;ESD;uRrf;0ifNyD;om; jzpfygw,f/ PLC [m industrial computer wrsdK;jzpfwJhtwGuf PLC ukd computer vkdY jrifatmif? Munhfwwfatmif? avhvm wwfatmif? BudK;pm;yHkazmfxm;ygw,f/

Software jzpfwJh PLC program (User Program) ukd a&;wJhtcg software udk software tjzpfjrifatmif Munhfwwf&ygr,f/

Software qkdwmu rsufpdeJYvnf; rjrif&wJh? xdvkdY? ukdifvkdYvnf; r&wJh? OmPfeJYom awG;MunhfNyD; odEkdifwJht&m jzpfygw,f/

Relay &JU coil qkdwmu rsufpdeJYvnf; jrifatmifMunhfvkdY &ygw,f/ vufeJYvnf; xd MunhfvkdY &wJh hardware jzpfygw,f/ Open contact eJY closed contact awGuvnf; hardware awGyJ jzpfMuygw,f/

Electrical circuit diagram awGrSm a&;om;azmfjywJh relay &JU contact symbol eJY

coil symbol awGukd LD program rSm instruction code &JU symbol tjzpfeJY toHk;jyKxm;wm jzpfygw,f/

'gaMumifh LD program rSmazmfjyxm;wJh contact eJY coil oauFwawG[m hardware ukd ukd,fpm;rjyKygbl;/ Software jzpfwJh ñTefMum;csufawGukdom ukd,fpm;jyK azmfjyxm;wm jzpfyg w,f/ Instruction code &JU oauFwawGom jzpfMuygw,f/

Code qkdwm t"dyÜg,fowfrSwfcsuf jzpfygw,f/ ½kyfyHkawG? tu©&mpmvHk;awGeJY t"dyÜg,f owfrSwfxm;wm jzpfygw,f/

'gaMumifh Examine ON vkdY ajymcsif? a&;csif&if 'Dvdka&;&ygw,f/ Examine

OFF vkdY ckdif;csif&if 'Dvkda&;&ygw,f/ Output ukd ON apcsif&if –( ) 'Dvkda&;&ygw,f/

, eJY –( ) awG[m instruction code awG jzpfMuygw,f/

PLC ukd pwiftoHk;jyKcJhwm 1968 November v? u jzpfygw,f/ tJ'Dacwfumv u vQyfppftif*sifeD,mawG[m computer eJY xdawGUrI r&Sdoavmuf jzpfygw,f/ Relay control circuit awGeJY uawmh &if;ESD;uRrf;0ifNyD;om; jzpfMuygw,f/ 'gaMumifh olwkdYeJY &if;ESD;NyD;om;

jzpfwJh relay symbol awGudk toHk;jyKNyD; PLC program ukd tvG,fwul a&;wwfatmifvkdY LD

Language ukd pwifwDxGifcJhwm jzpfygw,f/

ckacwfrSmawmh IEC (International Electrotechnical Commission) u owfrSwf jy|mef; xm;wJh PLC Programming Language 5rsdK; &Sdygw,f/

IEC 61131-3 Format Programming Software Languages awGuawmh?

1 Ladder Diagram (LD) Graphical Language 2 Function Block Diagram (FBD) Graphical Language 3 Instruction List (IL) Text-based Language 4 Structured Text (ST) Text-based Language

5 Sequential Function Chart (SFC) Object-oriented programming framework wkdY jzpfMuygw,f/

Not all PLCs support all five Language types, but nearly all of them support Ladder Diagram (LD), which will be the primary focus of this book.

 

LD eJY a&;&wJh instruction code awG&JU oabmt"dyÜg,feJY toHk;jyKyHkawGukd erlem

program awGeJY &Sif;vif;azmfjyygr,f/

Example program: 1

( Y0 )

X 0 vkdY a&;xm;&if b,ftpGefrSm&SdwJh axmifvkdufrsOf; vertical line

u instruction pwifa&;&r,fh ae&mvkdY rSwfxm;yg/

qkdwmuawmh Examine ON “X0” vkdY a&;xm;wm jzpfygw,f/ X0 [m ON jzpfaeovm;vdkY ppfaq;MunfhygvkdY PLC ukd ckdif;wJh instruction &JU code jzpfygw,f/

X 0

qkdwm uawmh output “Y0” ukd ON vkdufygvkdY ckdif;wJh instruction &JU code jzpfygw,f/

( Y0 )

pm&Gufay:rSm tckjrifae? awGUae&wJhyHkpHrsdK;? a&;xm;wmukd computer ay:rSm LD

program tjzpf?

tckvkd jrifcsif&if programming software jzpfwJh WPLSoft ukd computer xJrSm install t&ifvkyf&ygw,f/

 

WPLSoft_V2.20.07 Software Installation WPLSoft ukd computer xJrSm install vkyfawmhr,fqkd&if?

1/ (www.delta.com.tw/product/em/download) uae WPLSoft ukd download &,lyg/

Zip file jzpfygw,f/

1. Download the WPLSoft_V2.20.07.Zip from 

http://www.delta.com.tw/product/em/download/download_main.asp?act=3&pid=3&cid=

1&tpid=3 

2/ WPLSoft V2.20.07 Zip udk rdrd&JU computer u drive C: xJ ul;a&;xm;yg/

3/ WPLSoft V2.20.07 Zip udk double click vkyfyg/

2. Double click on icon [PLSoft_V20.20.07.Zip]

4/ Setup.exe udk double click vkyfyg/ (Fig. 2a)

Figure 2a   3. Double click on setup.exe  

 

 

Figure 3a  

5/ ay:vmwJh WinZip Caution ay:u Yes ukd click vkyfyg/ (Fig. 4a)

4. Click on [Yes]

  Figure 4a

6/ ay:vmwJh Install ay:u OK ukd click vkyfyg/

5. Click on [OK]

 

Figure 5a  

   

Figure 6a Figure 7a

7/ ay:vmwJh WPLSoft 2.20.07 Install Shield Wizard ay:u Next ukd click vkyfyg/

Figure 8a Click on [Next]  

8/ ay:vmwJh box awG udk Next (Fig. 9a) Æ Next (Fig. 10a) Æ Install (Fig. 11a) Æ Finish (Fig. 12a) awGukd click vkyfoGm;&if&ygNyD/

 

 

Figure 9a Click on [Next]  

   

Figure 10a Click on [Next]  

   

Figure 11a Click on [Install]  

   

Figure 12a  

 

Figure 13a Click on [Finish]  

'gqkd&if Programming Software udk computer xJrSm install vkyfwm NyD;oGm;NyD jzpfyg w,f/ Desktop udk jyefoGm;Munhf&if Screen ay:rSm WPLSoft 2.20 qkdwJh shortcut icon

ay:aewmukd awGU&ygvdrhfr,f/

txufrSm azmfjycJhwJh Example program: 1 ukd Computer ay:rSma&;enf;ukd tck qufvuf a&;om; azmfjyoGm;ygr,f/

On the Desktop

Figure 14a Double click on [WPLSoft 2. 20]  

oifwef;rSm vufawGU vkyfwJh PLC trsdK;tpm;u Delta Electronic Ltd. u xkwfwJh

DVP-14SS2 trsdK;tpm; PLC jzpfygw,f/

Programming Software u WPLSoft jzpfygw,f/

1. Desktop ay:u WPLSoft 2. 20 qkdwJh icon ukd double click vkyfyg/ See Fig. 14a

  Figure 15a

2. Delta WPLSoft vkdY a&;xm;wJh Software ay:vmwJhtcg File ukd click vkyfyg/

Figure 16a  

 

Figure 17a Click on [File] Æ [New] on Menu Bar  

3. Menu Bar ay:u New ukd click vkyfyg/ Figure 17a udkMunfhyg/

   

Figure 18a Click on down button    

  Figure 19a Click on [SS2]

4. ay:vmwJh Pop-up Menu (Figure 19a) xJu PLC Model udk SS2 vkdY a&G;NyD; OK udk

click vkyfyg/

Figure 20a Click on [OK]  

5. Ladder Diagram Mode Screen tao;ukd tBuD;csJUzkdY Maximize udk click vkyfyg/

Figure 22a Click on [Maximize]  

 

Figure 23a  

6. Task bar rSm&SdwJh ukd ESdyfyg/ tJ'DtcsdefrSm av;axmifhuGuf Cursor [m b,fbufu axmifvkdufrsOf;eJY xduyfae&rSm jzpfygw,f/ Fig. 23a ukd Munhfyg/

  Figure 24a Click on button on the Tool Bar

 

 

Figure 25a Click on [OK]  

7. Input Device Instruction qkdwJh dialog box ay:vmwJhtcg X0 (Device Name rSm

X, Device Number rSm 0) vkdY a&G;cs,f select vkyfNyD; OK ukd ESdyfyg/ 'DtcgrSm yHk

Fig. 26a rSmjyxm;wJh twkdif;ay:aeygvdrhfr,f/

 

Figure 26a  

8. <F7> ukdESdyfyg/

  Figure 27a Click on button on the Tool Bar

9. Output coil ukd Y0 (Device Name rSm Y, Device Number rSm 0) vkdY a&G;cs,fNyD; OK ukdESdyfyg/

Figure 28a Click on [OK]  

'DtcgrSm Examine ON “X0”, Output ON “Y0” qkdwJh instruction ygwJh program 1ck ukd a&;NyD;oGm;NyDjzpfygw,f/ User ua&;wJh program jzpfwmrkdYvdkY User Program vkdY ac:yg w,f/

Example program: 1

Figure 20a  

tcka&;xm;wJh program ukd simulator eJY RUN MunhfyHkMunhfenf;ukd qufvuf azmfjyygr,f/

WPLSoft software rSm built-in simulator yg&Sdygw,f/

Program wpfck a&;NyD;NyDqkd&if compile ukd t&ifvkyf&ygw,f/ vkyf&wJh taMumif;

&if;u rdrda&;xm;wJh LD program [m PLC u em;vnfvufcHEkdifwJh code awGeJY rSefrSef

&if;u rdrda&;xm;wJh LD program [m PLC u em;vnfvufcHEkdifwJh code awGeJY rSefrSef

In document A Guide to PLC (U Soe Tint) Rev 1.0 (Page 119-181)