Академический Документы
Профессиональный Документы
Культура Документы
3aOJE:~~'ilrfifly:y~5
~:9~ (~ - O~OO?)
~G:OJ)G<>p8?~~o~051 3dcroS ~? /~I ~~ roG:1
~~G0)')8[l~oS, 9~0(~[l!'
~dlG01l
~:9~ (~ - 099 00)
~G:OJ)OJGOI 3dcroS 006)1 ?e roG:(G3d.l05)1
GCY.iP05o)O)'):ll~oS, 9~0(~ll!'
0000
~~~G61:
~:~6oSOJGO
?6) roG:G~:Oro:>rol ~~(X)CX)OI axSomG:OJ)roG:1 9~0(~ll!'
~~: - 0e ~o~~ ?C?
PLC roG:26~
o c
t>:IDC
L
Instrumentation Engineer
July 2013
OD;pdk;wifh PLC vrf; nTef
pmrsufESmtTef;
taMumif;t&m pmrsufESm
pma&;ol&JU oabmxm; tjrif 6
tcef; (1) PLC jzpfay:vmyHktaMumif;/ 8
tcef; (2) PLC udk jcHKiHkavYvmoHk;oyfjcif;/ 18
Size of PLC 20
PLC Architecture 22
Todays PLC applications 24
tcef; (3) PLC eJY control vkyfyHk taMumif;/ 30
PLC Hardware 32
PLC System 34
PLC wdkif;rSmyg0ifwJh tajccHtydkif; 5 ykdif; 35
Power Supply ykdif; 35
CPU ykdif; 36
Memory ykdif; 37
I/O Image Memory 39
Input Interface 43
Output Interface 46
(1) Relay Output 47
(2) Transistor Output 48
(3) TRIAC Output (SSR Output) 49
PLC Status Indicators and I/O Status Indicators 50
tcef; (4) PLC ukd wyfqiftoHk;jyKyHktaMumif;/ 52
Advised Installation Practices 55
Grounding (Earthing) 55
Personal Safety 57
PLC ukd vHkNcHKatmifxkyfykd;rI tqihfowfrSwfcsuf/ 59
IP eJY NEMA EIdif;,SOfcsuf/ 62
PLC Specification 63
The more you learn about PLCs, the more you will be able to solve other control problems.
3
OD;pdk;wifh PLC vrf; nTef
tcef; (5) PLC Wiring jyKvkyfyHk/ 68
1/ Power Supply Wiring 68
2/ Input Wiring 70
3/ Output Wiring 87
1) Relay Output 87
2) Transistor Output 89
3) Triac Output 90
tcef; (6) Sink & Source taMumif;/ 94
tcef; (7) Fail- Safe taMumif;/ 102
tcef; (8) PLC rSm oHk;wJh Number System taMumif;/ 108
1) Decimal Number System (q,fvDpepfjzifha&wGufjcif;) 109
2) Binary Number System (ESpfvDpepfjzifha&wGufjcif;) 110
3) Octal Number System (&SpfvDpepfjzifha&wGufjcif;) 113
4) Hexadecimal Number System
(q,fhajcmufvDpepfjzifha&wGufjcif;) 114
5) BCD (Binary Coded Decimal) Number System
(q,fvDyHkpHeJY a&;om;xm;wJh ESpfvD pepfjzifh a&wGufjcif;) 115
tcef; (9) Boolean logic taMumif;/ 118
tcef; (10) PLC Program Overview 124
tcef; (11) PLC Basic Programming 128
Example program: 1 130
WPLSoft_V2.20.07 Software Installation 132
LD eJY User Program a&;NyD;wkdif; 145
Example program: 2 150
Example program: 3 152
SS2 Memory Map 157
Logical AND Function Program 160
Logical OR Function Program 163
Dominant-ON, Dominant-OFF 171
OFF-dominant Program 174
ON-dominant Program 178
The more you learn about PLCs, the more you will be able to solve other control problems.
4
OD;pdk;wifh PLC vrf; nTef
tcef; (12) Scan Cycle taMumif;/ 180
Input Scan 182
Program Scan 183
Output Scan 183
PLC tvkyfvkyfyHkudk vG,fvG,frSwfxm;csif&if 203
tcef; (13) Programming Exercises 1 to 7 210
tcef; (14) PLC xJu Counter taMumif;/ 218
Up Counter 219
Latched Counter 221
Up/Down Counter 223
tcef; (15) PLC xJu Timer taMumif;/ 226
(1) ON-delay Timer Function 232
(2) OFF-delay Timer Function 232
(3) ON/OFF-delay Timer Function 233
(4) Single Pulse Output (Single Shot Timer) Function 234
(5) Delayed Single Pulse Output Function 234
(6) Pulse Train Output Function (Flashing Output) 235
(7) Timing Extension 236
tcef; (16) Program Summary 237
WPLSoft keyboard shortcuts 252
tcef; (17) Periodic Inspection and Preventive Maintenance 253
PLC System Maintenance 254
Troubleshooting the PLC Input Interface 255
Troubleshooting the PLC Output Interface 257
Terminology 259
Reference 268
aemufqufwJG
Omron PLC Example Programs 269
Siemens PLC Example Programs 276
The more you learn about PLCs, the more you will be able to solve other control problems.
5
OD;pdk;wifh PLC vrf; nTef
pma&;ol&JU oabmxm; tjrif
,aeYacwf pufHk? tvkyfHkawG rSm Automation System udk toHk;jyK aeMuygw,f/
Automation qkdwmu puf,E&m;awGudk rdrdtvkdqE&Sdovkd armif;ESifckdif;wJh tvdktavsmuf
aqmif&GufapwJh pepf System jzpfygw,f/ Automation System ukd oHk;NyD; ukefypnf; xkwf
vkyfwJh tcg? t&nftaoG; taumif;qHk;? xkwfukefypnf; rsm;rsm;udk jrefjref xkwfvkyfEdkifwJh
tjyif? vkyf&udkif&wmvnf; vG,fuloufom apygw,f/ Automation System ukd oHk;wJh
pufHkawGrSm Robot wkdY? C.N.C Machine wkdY? PLC wkdYukd wckr[kwfwck oHk;xm;wm awGUMu
&ygw,f/ PLC qkdwmu pufrIvufrIvkyfief;oHk; Industrial Computer wpfrsdK; jzpfygw,f/
'DaeYpufHkawGrSm PLC udk wGifwGifus,fus,f toHk;jyKaeMuNyD jzpfygw,f/ pufHk topf
wnfaqmufawmhr,fqkd&if PLC rygwJh pufHkqkdwm r&SdEkdifawmhyg/
pufHkykdif&SifawGu PLC taMumif;ukd odxm;cJh&if rdrd&JUvkyfief;rSm tusdK;aus;Zl; ykd
rsm;atmif pDrHaqmif&GufEkdifMuygr,f/ puftopfudk 0,f,lwnfaqmufwJh tcg Life Cycle
Cost oufomatmif pOf;pm;wGufcsuf&mrSm taxmuftuljzpfapygw,f/ Life Cycle Cost
qkdwm 0,f,lp&dwf? wyfqifp&dwf? Program p&dwf? xdef;odrf; p&dwf? tqifhjrifhwJh p&dwf eJY
pufoufwrf;wavQmuf vnfywfoHk;pGJwJh p&dwf pkpkaygif; jzpfygw,f/ Oyrm? pufHkwpfck
wnfaxmifawmhr,fqkd&if tJ'DpufrSm PLC ygcJh&if tpuwnf;u a&mif;oleJY 0,folMum;
oabmwlnDrI,lwJhtcg? PLC eJY ywfoufNyD; ndEdIif;&r,fY tcsufawGukd jynhfjynhfpHkpHk odxm;
zkdY vkdtyfygw,f/
PLC eJY ywfoufwJh documentation awGxJrSm Ladder Diagram (PLC Progarm) udk
azmfjyay;&r,f qdkwmavmufawmh odoifhygw,f/ aemufNyD;awmh PLC udk Password eJY
ydwfxm;vkdY &ygw,f/ Password rodcJh&if pufysufvkdYyJjzpfjzpf? pufukd wdk;csJUcsifvkdYyJjzpfjzpf
program xJ0ifNyD; jyifcsif&if jyifvkdYr&awmhygbl;/ pufa&mif;wJhol Vendor ukdomtm;ukd;&
awmhrSmjzpfygw,f/ 'DtcgrSmtcsdefvnf;ukef? aiGvnf; ykdukefwwf ygw,f/ Program udk
Hard Copy (Print) xkwfNyD; tpuwnf;u PLC documentation awGxJrSm ay;xm;cJh&ifawmh
em;vnfwwfuRrf;wJholu rl&if; PLC eJYyJ jzpfjzpf? oifhawmf&m PLC wpfrsdK;rsdK;eJYyJ jzpfjzpf
program udk ul;a&;NyD; rdrd&JUpufudk qufvuf vnfywfEkdifygw,f/
vuf&SdwnfaqmufNyD;om; bdvyfajrpufHk? tcsdK&nfpufHk? aomufa&oefYpufHk?
t&uf (bD,m) pufHk? aygifrkefY pufHk? pwJh vuf&SdpufHkwkdif; vkdvkdrSm PLC ukd toHk;jyKxm;
Muygw,f/ vuf&Sdwm0efxrf;aqmifaeMuwJhpufHk;rSL;awG?refae*smawG? tif*sifeD,mawG[m
PLC eJY qufpyfywfouf aeMu&ygw,f/
PLC taMumif; rSefrSefuefuef awG;qodjrifMuapzkYd 'DpmtkyfrSm a&;om;azmfjy xm;
ygw,f/ PLC rygbJeJY Computer rSm PLC program udk a&;NyD; Simulate vkyfMunhfEkdifwJh
WPLSoft qkdwJh Software udk tcrJh &,lEkdifwJh Website ukdvnf; azmfjyay;xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
6
OD;pdk;wifh PLC vrf; nTef
Simulate vkyfwwfzkdY? Program a&;wwfzkdY? udkvnf; wqifhNyD;wqifh tao;pdyf
a&;om; azmfjyay;xm;ygw,f/ wu,fwrf; PLC ukd avhvmwJhtcg t"du tm;xm; &rSm
uawmh PLC udk xkwfvkyfwJh rl&if;ukrPD OEM (Original Equipment Manufacture) &JU
Specification awG? User Manual awG? Operation Manual awG? Programming Manual awG?
yJjzpfygw,f/
tck'DpmtkyfrSm a&;om;azmfjyxm;wmawGuawmh tJ'D Manual awGudkzwfI avhvm
wJhtcgrSm ydkNyD;&Sif;atmif? tvG,fwulem;vnfatmif? oabmaygufatmif taxmuftul
jzpfzkdY&nf&G,fNyD;a&;xm;wm jzpfygw,f/ enf;ynm? twwfynm? topfawGudk wwfajrmuf
atmif? uRrf;usifydkifEkdifatmif? avhvm&mrSm taxmuftul jzpfapr,fY avhvmenf;?
oif,lenf;? awG;enf;wpfckukd ay;csifwJhqEeJY a&;om;xm;wm jzpfygw,f/
'DpmtkyfrSm PLC jzpfay:vmyHk? PLC &JU tajccHwnfaqmufyHk? PLC &JU trltusifh?
PLC &JU oabmobm0? PLC Program a&;om;enf;? a&;NyD;om; Program udk t"dyg,f
azmfenf;? Program udk tjypf&SmjyKjyifenf; pwmawGudk em;vnfatmif? vG,fulatmif
yHkawG eJY yl;wGJ azmfjyay;xm;ygw,f/
'DpmtkyfrSma&;jyxm;wmawGudk zwfNyD;? rSwfom;? pOf;pm;? vufawGYvkyfMunfhzdkY?
txl; wdkufwGef;ygw,f/
wdkufwGef;wJhtwdkif; vkyfMunfhMur,f qdk&if? PLC eJY tuRrf;w0if r&Sdao;olawG?
PLC eJY rvGJraoG oufqkdif? ywfouf&awmhr,fYolawG? PLC eJY &ifqkdif awGUBuHKae&NyD; PLC
taMumif; ususee? (usMueP) **ee? (*CeP) aoaocsmcsm? odcsifaeMuolawG?
vQyfppf tif*sifeD,mawG? pdwf0ifpm;olawGtm;vHk;twGuf tusdK;&SdwJhpmtkyf jzpfvdrfhr,fvkdY
,HkMunfygw,f/
tBuHwl? OmPfwl&if? aemufvlompNrJ jzpfwmrkdY? 'DpmtkyfukdzwfNyD; PLC taMumif;
ykdaumif;atmif a&;EkdifolawG? rsm;rsm;ay:xGuf vmygapvkdU qkrGeaf umif;awmif;vsuf?
oifq&m? jrifq&m? Mum;q&m? tm;vHk;wkdU&JU *kPfaus;Zl;udk &nfrSef; *g&0jyK OD;Twf
vkdufygw,f/
U Soe Tint
Instrumentation Engineer
AGTI (EC) Mandalay 1969
soetintengineer@gmail.com
The more you learn about PLCs, the more you will be able to solve other control problems.
7
OD;pdk;wifh PLC vrf; nTef
tcef; (1) PLC jzpfay:vmyHktaMumif;/
PLC ( Programmable Logic Controller ) qkdwm Machine Control eJY Process Control
awGrSmoHk;zkdY txl;pDrHxkwfvkyfxm;wJh pufrIvkyfief;oHk;uGefysLwm Industrial Computer
wrsdK;jzpfygw,f/ Automation vkdY ac:wJh tvkdtavsmuf xdef;ausmif; armif;ESifwJhpepf
Automatic Control System rSm PLC udk oHk;Muygw,f/ Automatic Control System rSm
pufrIvkyfief;oHk;pufkyf Industrial Robot awGudk PLC ray:aygufcifuwnf;u toHk;jyK
aeMuNyD jzpfygw,f/
Figure 1. pufrIvkyfief;oHk;pufkyf Unimate Robot
1954 ckESpf? U.S Patent No. 2988237 eJY rSwfyHkwifxm;wJh Unimate vkdY ac:wJh Robot
udk George Devol u wDxGifcJhwmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
8
OD;pdk;wifh PLC vrf; nTef
Figure 2. pufrIvkyfief;oHk;pufkyf Unimate Robot
General Motors Corporation &JU armfawmfum;xkwfvkyfwyfqifwJh vrf;aMumif;
assembly line ay:rSm spot welding vkyfzkdYeJY oH&nfusdK oGef;avmif;xm;wJh pufypnf;awG?
um;udk,fxnfawGudk csDro,fykd;? ykdYaqmif? ae&mcsxm; zkdYtwGuf Unimate Robot ukd 1962
ckESpfrSm pwiftoHk;jyKcJhygw,f/
1961 ckESpfuwnf;u puLpufHk eJY a&eHcsufpufHkawGrSm Computer ukd toHk;jyKNyD;
ukefypnf;awG? xkwfvkyfaeMuNyD jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
9
OD;pdk;wifh PLC vrf; nTef
yHkrSmjyxm;wJh IBM1710 Computer udk oHk;NyD; xkwfukeft&nftaoG; jrifhrm;atmif
aqmif&GufcJhMuygw,f/ tJ'Dacwf? tJ'Dtcgu Computer [m yHkrSmawGU&wJhtwdkif; t&G,f
tpm; BuD;rm;ygw,f/ tyltat;ajymif;vJwJh'Pfukdvnf; rcHEdkifygbl;/ zHk0ifvkdYr&ygbl;/
'gaMumifh Computer udk yHk (Figure 4) rSm jyxm;wJhtwkdif; txl;pDrHjyKvkyf xm;wJh
tcef;? Computer Room xJrSm xm;&ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
10
OD;pdk;wifh PLC vrf; nTef
Figure 4. Computer Room
'DtcuftcJawGukd ausmfvTm;EkdifzkdY? Computer awGxuf tMurf;cHNyD; pufHk? tvkyfHk
awG&JUobm0ywf0ef;usifrSm aumif;aumif;tvkyfvkyfEkdifwJh PLC udk wDxGifzkdY BudK;pm;vmMu
ygw,f/ tJ'Dvkd BudK;pm;MuolawGxJu PLC udk atmifjrifatmif taumiftxnf azmfEkdifNyD;
vufawGUtoHk;csvkdY&wJh Modicon 084 vkdY emrnfay;xm; wJh PLC udk Richard Morley u
pwifxkwfvkyfcJhygw,f/ Richard Morley udk Dick Morley vkdYvnf; ac:Mu ygw,f/ olUukd
Father of PLC vkdY todtrSwfjyKMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
11
OD;pdk;wifh PLC vrf; nTef
Figure 5a. Richard Morley [ Father of PLC ]
Figure 5b. Historical photo showing from left to right:
Dick Morley, Tom Boissevain, Modicon 084 PLC, George Schwenk, and Jonas Landau.
The more you learn about PLCs, the more you will be able to solve other control problems.
12
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
13
OD;pdk;wifh PLC vrf; nTef
PLC ukdxkwfvkyfzkdY
tNydKifBudK;pm;MuwJh ukrPD av;ck &Sdygw,f/
tJ'D ukrPDawGuawmh
1/ Information Instruments, Inc. (aemuf 1ESpfMumwJhtcg Allen Bradley &JU tykdif
jzpfoGm;ygw,f)
2/ Digital Equipment Corp (DEC)
3/ Century Detroit eJY
4/ Bedford Associates wkdY jzpfMuygw,f/
Bedford Associates &JU tif*sifeD,mwpfOD;jzpfwJh Richard Morley [m PLC rSm yg&
r,fh tcsuftvuf tao;pdyfudk 1968 ckESpf? Zefe0g&Dv? 1&ufaeY? rSm tNyD;owfa&;qGJ
owfrSwf EkdifcJhygw,f/ olU&JU U.S Patent No. u 3761893 jzpfygw,f/
Bedford Associates &JU tif*sifeD,mrsm;jzpfMuwJh
1/ Richard Morley
2/ Mike Greenberg
3/ Jonas Landau
4/ George Schwenk eJY
5/ Tom Boissevain wkdY ig;OD;[m PLC xkwfvkyfzkdYtwGuf Modicon qkdwJh ukrPD
topfudk wnfaxmifcJhygw,f/
Modicon qkdwJhemrnfuawmh Modular Digital Controller vkdY t"dyg,f&ygw,f/
Modular type PLC xkwfvkyfzkdY&nf&G,f BudK;pm;tm;xkwfcJhMuwm jzpfygw,f/ vkyfaqmifcsuf
Function wpfrsdK;udk Unit wpfck? Board wpfck? Module wpfck? tjzpf wnfaqmufxm;cJh&if
ysufvkdYjyif&wJhtcgrSm ysufwJh module ukdom topfeJY tpm;xkd;vJvS,f &wmjzpfvkdY vG,ful
ygw,f/ tcsdefukefoufomygw,f/
armfawmfum;xkwfvkyfwJh General Motors Corporation u tif*sifeD,mawG[m
ESpfpOf armfawmfum; Model ajymif;vJxkwfvkyfwJhtcgwkdif; awGUBuHKaeMu&wJh tcuftcJukd
ajyvnfzkdY enf;vrf;&SmazGaeMuygw,f/ tJ'Dtcgu Automation system udk relay logic eJY
wnfaqmufMuygw,f/ ta&twGuf&meJYcsDNyD;yg0ifwJh relay awGudk armfawmfum; armf',f
topf ajymif;wkdif; 0g,mqufoG,frItopf jyefvkyf&ygw,f/
tJ'DtwGuf vkyf&ukdif&wmcufcJNyD; tifrwef tcsdefukefygw,f/ vkyf&ukdif&wm
vG,fulNyD; 'DxufoufomwJh enf;vrf;udk &SmBuHaeMuwJh tcsdefrSm Bedford Associates u
PLC udk xkwfvkyfawmhr,fqkdwmudk Mum;awmh 0,fcsifwJhtaMumif; General Motors u p
wif urf;vSrf;vmygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
14
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
15
OD;pdk;wifh PLC vrf; nTef
Figure 8. 1971 ckESpfu xkwfvkyfwJh Allen Bradley &JU yxrqHk; PLC, Bulletin 1774
The more you learn about PLCs, the more you will be able to solve other control problems.
16
OD;pdk;wifh PLC vrf; nTef
1977 ckESpfrSmxkwfvkyfwJh Allen Bradley PLC rSm 8080 microprocessor udk pwif
toHk;jyKcJhygw,f/ PLC udk pwifxkwfvkyfpOftcgu PC (Programmable Controller) vkdY
ac:wGif cJhMuygw,f/ 1980 ckESpf Personal Computer awG toHk; wGifus,fvmwJh tcgrSm
PLC (Programmable Logic Controller) vkdY ajymif;vJ ac:a0:vmMuygw,f/ PLC qkdwm
Allen Bradley u ay;cJhwJh emrnfjzpfygw,f/ 1985 ckESpfrSm Rockwell Automation u
Allen Bradley ukd 0,f,lvkdufwJhtwGuf tcktcgrSm PLC [m Rockwell Automation &JU
Trade Mark jzpfaeygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
17
OD;pdk;wifh PLC vrf; nTef
Relay awG u k d t oH k ; jyKNyD ; zG J U pnf ; xm;wJ h control system eJY PLC udktoHk;jyKNyD;
zGJUpnf;xm;wJh control system wYkdudk EIdif;,SOf Munhfr,fqkd&if?
#1 Relay System rSm 0g,mqufoG,frI wiring vkyfzkdY uRrf;usifrItxl; vkdtyfygw,f/
pepfwusavhusifhxm;wJh engineer awG? technician awGu tcsdefMumjrifhpGm aqmif
&GufMu&ygw,f/ qufoG,frIwpHkw&m rSm;,Gif;cJh&ifvnf; trSm;ukd&Sm&wm Mumyg
w,f? cufygw,f? vuf0ifygw,f/
PLC System rSm wiring vkyf&wm vG,fulygw,f/ Input Terminal u oyfoyf?
Output Terminal u oyfoyf? ae&mcGJxm;ygw,f/ Input eJY Output udk PLC
program u qufoG,fay;wmjzpfygw,f/ Sensor wpfckudk Input terminal u ikwf
point wpfckeJY quf&ygw,f/ aemuf ikwf point wpfckeJY aemuf sensor wpfckudk
quf&wm jzpfygw,f/ wpfckukd wpfckcsif;pD quf&wmjzpfvkdY wiring vkyf&wm
vG,fulygw,f/ jrefqefygw,f/ rSm;qufrd&ifvnf; trSm;udk&SmNyD;jyif&wm jrefyg
w,f/
#2 Relay System udk toHk;jyKNyD; xkwfukefypnf; wyfqif xkwfvkyfwJhtcg ypnf;
trsdK;tpm; Model ajymif;vJxkwfvkyfwkdif; wiring topfvkyf&wm cufcJNyD; tcsdef
Mumygw,f/ uRrf;usifrIvnf; txl;vkdtyfygw,f/
PLC System udk oHk;vkdufwJhtcgrSmawmh xkwfvkyfrIyHkpH model ajymif; csif&if PLC
program ukd ajymif;a&;vkdufHkeJY NyD;oGm;ygw,f/ qufoG,fxm;NyD;om; 0g,mawGudk
jzKwfp&m? jyifqufp&m? rvdkygbl;/ Wire topfxyfrH qufoG,fcsif&ifvnf;
tvG,fwul xyfwkd;vkdY &ygw,f/ tcsdefukef oufomygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
18
OD;pdk;wifh PLC vrf; nTef
#3 Relay system rSm pufwpfvHk; twGuf relay panel wpfck vdktyfygw,f/ rsdK;wlpuf
ESpfvHk; twGuf relay panel ESpfckrSm wiring ESpfcg vkyf&ygw,f/ Panel wiring
vkyfwkdif; rSm;Ekdifygw,f/ tcsdef ESpfq Mumygw,f/
PLC system rSmawmh pufwpfvHk;rSm PLC wpfck wyfqif&ygw,f/ puf ESpfvHk;
twGuf PLC ESpfck oHk;xm;&ayr,hf PLC program wpfckudk a&;xm;NyD;&if rsdK;wlpuf
tvHk;aygif;rsm;pGmtwGuf tJ'D program udkyJ PLC awGxJrSm a&;xnhfwm download
udk vkyfvkdufHkyJjzpfygw,f/ tifrwef vG,fulygw,f/ tcsdefukefrsm;pGm oufomyg
w,f/
tckacwfrSmxkwfvkyfMuwJh PLC awG&JU pGrf;aqmifEkdifrIu tifrwefjrihfrm;aeNyD
jzpfygw,f/ tjcm; control system awGeJY? PLC eJY? qufoG,fajymqkdrI communicate vkyfEkdif
MuNyD jzpfygw,f/ ukefxkwfvkyfrI tpD&ifcHpm production report awG? vkyfief;pDrH aqmif&Guf
rI scheduling production awG? rSm;wJhae&mudk xkwfazmfjywJh error report awG? apmifhMuyf
MunhfIrI self diagnosis awGudk PLC u vkyfukdifaqmif&GufEkdifMuNyDjzpfygw,f/
PLC eJY control vkyfxm;wJh ukefxkwfvkyfief;pOf&JU jzpfay:ajymif;vJrIukd aeY&uf?
tcsdef? em&D? eJYwuG aemufaMumif;jyef ajc&maumufMunhfvkdY &Ekdifygw,f/ BudKwifpDrH
umuG,fxdef;odrf;rI Preventive Maintenance twGuf ta&;ygwJh tcsuftvuf data awG
udk PLC system u &,lpkaqmif;ay;Ekdifygw,f/ PLC eJY HMI ukd qufoG,fNyD; PLC u
vwfwavmaqmif&GufaewJh tajctaeawGukd kyfyHkawG? Z,m;awG? eJY HMI ay:rSm azmfjy
Ekdifygw,f/ HMI ay:rSm zefwD;a&;qGJxm;wJh softbutton awGudk oHk;NyD; PLC &JU program
xJu setting awGudk ajymif;vJvkdY &ygw,f/ HMI (Human Machine Interface) ukd Operator
Interface vkdYvnf; ac:ygw,f/ MMI (Man Machine Interface) vkdYvnf; ac:ygw,f/
SCADA (Supervisory Control And Data Aquisition) eJY DCS (Distributed Control
System) awGvkd tqifhjrifhwJh control system awGtxd wufvSrf;EkdifzkdYtwGuf tajccHaumif;
awG&Sdxm;zkdY vkdtyfygw,f/ PLC ukd Computer tjzpf IjrifNyD;avhvmrSom tajccHaumif;
awG &&SdvmrSmjzpfygw,f/ PLC twGuf tajccHtkwfjrpfaumif;jzpfatmif 'DpmtkyfrSm BudK;
pm;NyD;a&;om;azmfjyxm;ygw,f/ PLC vrf;Tef A Guide to PLC vkdY 'Dpmtkyfudk emrnfay;
xm;wJhtwkdif; enf;ay;vrf;TefjyrSm jzpfygw,f/
PLC ukd tckrS pwif avhvmr,hf olawGtwGuf &nf&G,fNyD;vG,fatmif? &Sif;atmif
a&;om;xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
19
OD;pdk;wifh PLC vrf; nTef
1/ Modular PLC qkdwmu power supply module u wpfck? memory yg0ifwJh CPU
module u wpfck? Input module u wpfck? Output module u wpfck? tJ'D wpfckcsif;pDjzpfwJh
module awGudk atmufcHjym; backplane ay:rSm wwfqifvkdufawmhrS PLC wpfvHk; jzpfvm
ygw,f/
2 / Compact PLC qkdwmuawmh tJ'D module wpfckcsif;pD&JU function awGtm;vHk;
yg0ifatmif pkpnf;NyD; yHk;cGH enclosure wpfckxJrSm xnhfoGif;wnfaqmufxm;wJh PLC rsdK;jzpf
ygw,f/ Compact PLC ukd Integrated PLC, Micro PLC, Monolithic PLC, All in one PLC
vkdYvnf; ac:Muygw,f/
PLC rSmyg&SdwJh Input eJY Output ukd aygif;NyD; I/O vkdY ac:ygw,f/ PLC &JU size tBuD;
tao;ukd I/O ta&twGufeJY owfrSwfygw,f/ PLC taMumif;a&;om;azmfjywJh catalog
pmtkyfawGrSm input (I) eJY output (O) ukd waygif;wnf;a&wGufxm;wJh I/O ta&twGufudk
azmfjyavh&Sdygw,f/ Oyrm? input 8 ckeJY? output 6 ckygwJh PLC ukd I/O 14 ckvkdY PLC &JU size
ukd a&;om;azmfjyygw,f/
Size of PLC
PLC &JU t&G,ftpm; tBuD;tao;udk Input eJY Output ESpfckaygif; ta&twGufeJY
cGJjcm; owfrSwfMuygw,f/
I/O ta&twGuf 15 ck txdukd Nano PLC
I/O ta&twGuf 32 ck txdukd Micro PLC
I/O ta&twGuf 128 ck txdudk Small PLC
I/O ta&twGuf 1024 ck txdudk Medium PLC
I/O ta&twGuf 4096 ck txdukd Large PLC
I/O ta&twGuf 8192 ck txdudk Very Large PLC vkdY ac:Muygw,f/
'DaeY acwfrSmawmh Large PLC eJY Very Large PLC awGukd toHk;rjyKMuawmhygbl;/
Medium size PLC txdukdom Process Control System awGrSm DCS pepf Distributed
Control System eJY wGJzufNyD; network csdwfquf toHk;jyKMuygw,f/ toHk;trsm;qHk; uawmh
Micro PLC jzpfygw,f/ I/O wkd;csJUvkdY&wJh Micro PLC awGukd Machine Control rSma&m?
Process Control rSmyg toHk;jyKMuwmukd awGU&ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
20
OD;pdk;wifh PLC vrf; nTef
yHkrSm azmfjyxm;wmu PLC ukd Process control rSm toHk;jyKxm;wJh Function Block yHk
jzpfygw,f/ wm0efcGJa0,lrIudk azmfjywmjzpfygw,f/ User Program (Application Program)
udk Personal Computer eJY a&;NyD; PLC xJ xnhfxm;&ygw,f/ PLC xJu memory rSm
a&;rSwfxm;wmjzpfygw,f/ Input eJY Output ukd tJ'D user program u qufoG,fay;NyD;?
PLC &JU Output u Actuator awGudk ckdif;apygw,f/ Process &JU vuf&Sdjzpfay:aewJh
tajctaeudk Sensor awGu apmifhMunfhNyD;? PLC ukd owif;ykdYygw,f/ &&SdvmwJh owif;
tcsuftvufawGudk toHk;jyKNyD; user program u ckdif;wJhtwkdif; Microprocessor u aqmif
&Guf ygw,f/
PLC &JU Input Field Devices awGudkNcHKiHkNyD; Sensors vkdY ac:wmjzpfygw,f/
Sensor qkdwmu physical condition udk electric signal jzpfatmifajymif;ay;wJh
device wkdif;udk NcHKac:wmjzpfygw,f/
'DvkdygyJ PLC &JU Output Field Devices awGukd NcHKiHkNyD; Actuators vkdY ac:ygw,f/
Actuator qkw d mu electric signal udk physical condition jzpfatmif ajymif;ay;wJh
device wkdif;udk ac:wmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
21
OD;pdk;wifh PLC vrf; nTef
PLC
Power Supply
Microprocessor + Memory
Operator
Workstation Communication Module
PLC &JU I/O type u ESpfrsdK;ESpfpm; &Sdygw,f/ Discrete I/O eJY Analog I/O wkdY jzpfMuyg
w,f/
Electric signal rSm discrete signal eJY analog signal qkdNyD; signal trsdK;tpm;? ESpfrsdK;
&Sdygw,f/
Discrete signal udk digital signal vkdYvnf; ac:Muygw,f/
Discrete signal qdkwmu signal &SdwJh? taetxm; ON state eJY signal r&SdwJh? tae
txm; OFF state qkdwJh tajctae ESpfrsdK;om&SdwJh signal trsdK;tpm;jzpfygw,f/ PLC rSm
discrete dc input eJY discrete ac input qkdNyD; discrete input type ESpfrsdK; &Sdygw,f/
Analog signal qkdwmuawmh tjywftawmufr&SdbJ wqufwpyfxJ ajymif;vJaewJh
signal rsdK; jzpfygw,f/ PLC rSm toHk;rsm;wJh analog signal awG uawmh 0 to 20 mA dc,
4 to 20 mA dc eJY 0 to 10 Vdc signal awG jzpfMuygw,f/ Analog signal rSm ac signal
r&Sdygbl;/ PLC rSm analog ac signal udk roHk;ygbl;/
Discrete input ukd DI vkdY a&;NyD; discrete output udk DO vkdY a&;ygw,f/
Analog input ukd AI vkdY a&;NyD; analog output udk AO vkdY a&;xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
22
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
23
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
24
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
25
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
26
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
27
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
28
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
29
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
30
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
31
OD;pdk;wifh PLC vrf; nTef
PLC Hardware
PLC rSm trsdK;tpm; ajrmufjrm;pGm &SdMuygw,f/ b,f PLC rSmyJjzpfjzpf wire qufvdkY
&wJh ikwf terminal awG yg&SdMuygw,f/ tJ'gawGuawmh
Power supply terminal,
Input terminal,
Output terminal eJY
Programming Port wdkY jzpfMuygw,f/
PLC qdkwmu program a&;oGif;xm;rS cdkif;apvdkY&wJh Controller jzpfygw,f/
PLC wpfvHk;udk awGUwJhtcg b,fupNyD; odatmifvkyf&rvJqdkwmudk tvG,frSwvf dkY
&atmif azmfjyygr,f/
PLC qdkwm Computer wpfrsdK;jzpfwmrdkYvdkY PLC rSm hardware a&m? software yg? yg&Sdyg
w,f/
yxrqHk; avhvm&rSmuawmh
Power Supply and I/O
Type and Size vdkY jzpfygw,f/
Power supply &JU type, Power supply &JU size;
Input &JU type, Input &JU size; eJY
Output &JU type, Output &JU size; wdkY jzpfMuygw,f/
PS & I/O; Type & Size vdkY rSwfxm;yg/
PLC &JU hardware udk avhvmwJhtcg PS & I/O wdkY&JU type eJY size udk odatmif t&if
vkyf&rSm jzpfygw,f/
PS &J U type qdkwm tJ'D PLC udk AC power ay;&rSmvm;? DC power ay;&rSmvm;?
qdkwmudk cGJjcm;odzdkY ajymwmjzpfygw,f/
PLC &JU Power supply terminal rSm AC voltage ay;&wJh PLC &Sdovdk? DC voltage
ay;&wJh PLC vnf; &Sdygw,f/
PS &J U size qdkwmuawmh AC power qdk&if 220V vm;? 100V vm;? DC power
qdk&if 24V vm;? qdkwm cGJjcm;odzdkY ajymwm jzpfygw,f/
AC power ay;&wJh PLC awGrSm 100VAC udk power supply tjzpf qufay;&wJh PLC
u wpfrsdK;? 220VAC udk power supply tjzpfqufoG,fay;&wJh PLC u wpfrsdK;? 100VAC
a&m? 220VAC yg? 2rsdK;pvHk; qufoG,fay;vdkY&wJh PLC u wpfrsdK;? qdkNyD; oHk;rsdK;oHk;pm; &Sdyg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
32
OD;pdk;wifh PLC vrf; nTef
DC power ay;&wJh PLC rSmawmh 24VDC udk power supply tjzpf qufoG,f
ay;&wJh PLC u tawGU&trsm;qHk;jzpfygw,f/
I/O qd k w m uawmh PLC &JU Input eJY Output awGudk ajymwm jzpfygw,f/ PLC &JU I/O
signal [m Discrete I/O signal eJY Analog I/O signal qdkNyD; type 2rsdK;? &Sdygw,f/ 'gaMumifh
Discrete Input vm;? Discrete Output vm;? Analog Input vm;? Analog Output vm;?
qdkwmudk cGJjcm;NyD;odatmif t&ifvkyf&ygr,f/ Discrete I/O udk Digital I/O vkdYvnf; ac:Mu
ygw,f/
Discrete Input xJay;oGif;&r,fh signal u AC signal vm;? DC signal vm;? qdkwmu
Input &JU type jzpfyg w,f/ AC220V signal vm;? AC100V signal vm;? DC24V signal vm;?
qdkwmu Input &JU size jzpfygw,f/
Discrete Output rSxGufvmr,fh signal u Relay Output vm;? TRIAC Output vm;?
Transistor Output vm;? qdkwmawGu Output &JU type awGjzpfMuNyD;? Relay &JU Output rating,
TRIAC &JU Output rating, Transistor &JU Output rating awGu Output &JU size awG
jzpfMuygw,f/ Transistor Output jzpfcJh&if PNP vm;? NPN vm;? cGJjcm;odzdkY vdktyfygw,f/
Sensor awGuay;ydkYwJh signal awGudk? PLC &JU input terminal awGu vufcH&,lygw,f/
Input terminal rSm qufoG,fvdkY&wJh devices awGudk Input Field Devices vdkY ac:ygw,f/
Output terminal rSm qufoG,fvdkY&wJh devices awGudk Output Field Devices vdkY ac:yg
w,f/ PLC &JU output terminal u xkwfay;wJh signal awGudk? Output Field Devices awGu
vufcH&,lygw,f/ Output Field Devices awGudk Actuators awGvdkYvnf; ac:Muygw,f/
Analog I/O &J U type qdw
k mu current vm;? voltage vm;? cGJjcm;odzdkY jzpfygw,f/
Analog I/O &J U size qdkwmuawmh signal &JU range udk ajymwmjzpfygw,f/
Oyrm? 0 to 20mA, 4 to 20mA, 0 to 5V, 0 to 10V pwJU dc signal awGjzpfMuygw,f/
'DpmtkyfrSm discrete I/O signal taMumif;ukdom a&;om;azmfjyrSm jzpfygw,f/
Programming Port uawmh data awG t0iftxGufvkyfwmjzpfvdkY Port vdkY ac:wJh ikwf
terminal jzpfygw,f/ PLC xJudk program a&;xnfhwJhtcg? Computer eJY qufoG,f&wJh port
jzpfvdkYrdkY Programming Port vdkY ac:wmjzpfygw,f/
Programming cable udk PLC xkwfvkyfwJh OEM qDu? 0,f,ltoHk;jyKMu&ygw,f/ PLC eJY
Computer udk Programming cable eJY qufoG,fNyD; PLC xJ a&;xnfhwJh Program udk User
Program vdkY ac:ygw,f/ Application Program vdkYvnf; ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
33
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
34
OD;pdk;wifh PLC vrf; nTef
PLC wdkif;rSmyg0ifwJh tajccHtydkif; 5 ykdif; uawmh yHkrSmjyxm;wJhtwdkif;
(1) Power Supply ykdif;?
(2) CPU ykdif;?
(3) Memory ykdif;?
(4) Input ykdif;? eJY
(5) Output ykdif;?wkdY jzpfMuygw,f/
'Dtydkif; 5ydkif;udk wpfpkwpfpnf;xJ wnfaqmufxm;wJh PLC rsdK;udk Integrated PLC,
'grSr[kwf Compact PLC vdkY ac:ygw,f/ Compact PLC rSm yg&SdwJh Power supply ydkif;?
CPU ydkif;? Input ydkif;? pwmawGudk wpfydkif;csif;pD jzKwfvdkY? wyfvdkY? r&ygbl;/
tpdwftydkif; wpfckcsif;pD jzKwfvdkY? wyfvdkY? &wJh PLC rsdK;udk Modular PLC vdkY ac:yg
w,f/ Modular PLC qdkwmu Power supply module u wpfck? CPU eJY Memory udk
aygif;xm;wJh CPU module u wpfck? Input module u wpfck? Output module u wpfck? 'D
4ck udk atmufcHjym; backplane (baseplate) ay:rSm wyfqifvdkufawmhrS PLC wpfvHk; jzpfvm
ygw,f/
Power Supply ykdif;
Power Supply ykdif; qkdwmu PLC xJudk tjyifuaeay;oGif;wJh 220VAC 'grSr[kwf
24VDC udk ajymwmr[kwfygbl;/ PLC xJrSm xnfhoGif;wnfaqmufxm;wJh power ykdif;ukd
ajymwm jzpfygw,f/ PLC wkdif;ukd vQyfppf"gwftm;ay;oGif;&ygw,f/
AC power ay;oGif;&wJh PLC u wpfrsdK;? DC power ay;oGif;&wJh PLC u wpfrsdK;?
qkdNyD; ESpfrsdK;ESpfpm; &Sdygw,f/
AC power ay;&wJh PLC rSmvnf; 100VAC eJY 220VAC qkdNyD; ESpfrsdK; uGJjym;ygao;
w,f/
DC power ay;&wJh PLC rSmawmh 24 VDC ay;&wJh PLC u tawGU&rsm;ygw,f/
jyifyuae AC ay;oGif;onfjzpfap? DC ay;oGif;onfjzpfap? ay;oGif;vkdufwJh vQyfppf
power ukd PLC xJrSm&SdwJh CPU wkdY? Memory wdkY?twGuf oifhawmfwJh DC Voltage jzpfatmif
PLC xJu Power Supply ykdif;u aqmif&Gufay;ygw,f/
PLC xJudk Power supply terminal uae? pD;0ifwJYvQyfppf current eJY CPU xJ, I/O
interface xJ? pD;wJYvQyfppf current wkdYudk woD;wjcm;pDjzpfatmif vkyfay;wJYtvkyf? galvanic
isolation udkvnf; Power Supply ykdif;u vkyfay;ygw,f/ 'g[m PLC xJrSmygwJY Power
Supply ydkif;&JUtvkyf function 2ck? jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
35
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
36
OD;pdk;wifh PLC vrf; nTef
Memory yk d i f ;
Memory is the area that holds the operating system and user program.
PLC xJrSm TefMum;csuf instruction code awG? owif;tcsuftvuf data awG?
qHk;jzwfcsuf logic result awG? pwmawGudk rSwo f m;odrf;qnf;xm;wJh ae&mukd Memory vkdY
ac:ygw,f/
Memory rSm ESpfrsdK;?ESpfpm; &Sdygw,f/ Volatile memory eJY non-volatile memory wkdY
jzpfMuygw,f/
Volatile memory vQyfppfyg0gtNrJ&&SdaerS a&;rSwfxm;wmawGudk raysmufrysuf
atmif odrf;qnf;xm;EkdifwJh memory trsdK;tpm; udk Volatile memory vkdY ac:ygw,f/
RAM (Random Access Memory) [m tJ'DtrsdK;tpm; jzpfygw,f/ vQyfppf"gwftm;r&Sd&if
RAM xJrSm a&;rSwfxm;wmawG tm;vHk; taiGUysHvGifhys,foGm;ovkd aysmufysufukefygw,f/
RAM twGuf power supply tNrJwrf;&aeapzkdY PLC xJrSm "gwfcJ battery xnfhay;xm;
&ygw,f/ tJ'D"gwfcJ&JU oufwrf;[m 25C rSmyJtNrJoHk;cJh&if 5ESpf MumatmifcHygw,f/
ylvGef;&ifyJjzpfjzpf? at;vGef;&ifyJjzpfjzpf? "gwfcJoufwrf;wkdygw,f/
Non-volatile memory Non-volatile memory uawmh a&;rSwfxm;wmawGukd
raysmufrysuf&atmif vQyfppf"gwftm;r&SdyJeJY Mum&Snfodrf;xm;Ekdifygw,f/ EEPROM
(Electrically Erasible Programmable ROM) [m tJ'Dvkd trsdK;tpm;jzpfygw,f/ tck
vloHk;rsm;aeNyDjzpfwJh memory stick vkdrsdK;? Flash Memory trsdK;tpm; jzpfygw,f/ EEPROM
ukd toHk;jyKxm;wJh PLC awGrSm "gwfcJxnfhzkdY rvkdtyfygbl;/
'gaMumifh "gwfcJygwJh PLC u wpfrsdK;? "gwfcJ rygwJh PLC u wpfrsdK; qkdNyD;
PLC ESpfrsdK;? ESpfpm;? &Sdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
37
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
38
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
39
OD;pdk;wifh PLC vrf; nTef
Omron PLC awGxJu CPM1A-20CDR rSm yg&SdwJh input image memory ukdusawmh
Input Bit vkdY ac:ygw,f/ Output image memory ukdawmh Output Bit vkdY ac:ygw,f/
Output terminal eJY wdkufdkufqufoG,frI r&SdwJh internal memory udk Work Bit vkdY ac:yg
w,f/
Omron PLC awGxJu CPM1A-20CDR rSm yg&SdwJh Physical I/O (IR 000/ IR 010) eJY
internal output (IR 200) wdkYudk atmufrSm azmfjyxm;ygw,f/
Simens PLC awGxJuS7-200 CPU224 rSmyg&SdwJh internal output ukd Bit Memory (M)
vkdY ac:ygw,f/ Input image memory ukdusawmh Process-Image Input Register (I) vkYd
ac:ygw,f/ Output image memory ukdusawmh Process-Image Output Register (Q) vkdY
ac:ygw,f/
Simens PLC awGxJu S7-200 CPU224 rSm yg&SdwJh Physical I/O (I/Q) eJY internal output (M)
udk atmufrSm azmfjyxm;ygw,f/
Siemens PLC S7-200 CPU 224
Process-image input register I0.0 to I15.7
Process-image output register Q0.0 to Q15.7
Bit memory (M) M0.0 to M31.7
The more you learn about PLCs, the more you will be able to solve other control problems.
40
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
41
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
42
OD;pdk;wifh PLC vrf; nTef
Input Interface
When two different objects are linked together the boundary is known as the Interface.
PLC rSm signal 0ifwJh tykdif;ukd input ykdif;vkdY ac:ygw,f/ PLC &JU input rSm qufoG,f
&wJh Device awGukd input field devices vkdY ac:ygw,f/ Input Device awG jzpfMuwJh sensor
awGeJY PLC ukd qufpyfay;wmjzpfvkdY Input Interface vkdY ac:wm jzpfygw,f/ Modular PLC
rSm Input Interface [m oD;jcm; module wpfck jzpfNyD; input module vkdY ac:ygw,f/
Compact PLC rSmawmh Input Interface [m PLC &JU ukd,fwGif;t*Fg tpdwftykdif; wpfckom
jzpfygw,f/
Input ydkif;&JU tvkyfuawmh Input Field Devices awGu ay;ydkYwJh signal udk CPU u
em;vnf vufcHEdkifwJh signal jzpfatmif ajymif;ay;wJhtvkyfu wpfck? input terminal rSm
vSnfhywfpD;qif;wJhvQyfppf eJY PLC xJ vSnfhywfpD;qif;wJhvQyfppfwdkYudk wpfoD;wpfjcm;pD
jzpfatmif vkyfay;wJh isolation tvkyfu wpfck? pkpkaygif; tvkyf 2ckudk vkyfygw,f/
PLC wkdif;&JU input interface tykdif;u 'Dtvkyf ESpfrsdK;udk vkyfaqmifMuygw,f/
Input terminal ukd signal strength rwefwq rSm;ay;rdcJh&if input interface tykdif;om
ysufpD; oGm;NyD; CPU ukd xdcdkufrI vHk;0r&Sdygbl;/ 'gaMumifh 24VDC signal ay;&r,fh Input
point rSm 220VAC ukd rSm;NyD;awmh qufoG,frdcJh&if CPU rysufygbl;/ Memory rysufygbl;/
Input interface yJ ysufoGm;ygr,f/ Modular PLC rSmqkd&ifawmh Input module topf wpfck
vJvS,fwyfqifvkdufHkeJY PLC [m e*kdtwkdif; tvkyfjyefvkyfEkdifygw,f/
Input interface rSm tajctaeajymif;vJrI ESpfrsdK;om &SdwJY Discrete Input eJY tajctae
ajymif;vJrI wqufxJ &SdwJY Analog Input qdkNyD; input ESpfrsdK; &Sdygw,f/ Discrete input udk
digital input vdkYvnf; ac:ygw,f/ PLC [m Computer jzpfwJY twGuf binary udkom
vufcHaqmif&Guf Edkifygw,f/ 'gaBumifh analog input interface rSm analog uae digital
signal (binary signal) udk ajymif;ay;wJY A/D Converter yg&Sdygw,f/
PLC &JU input signal ESpfrsdK;? ESpfpm; &SdwJYtxJu discrete input signal
taMumif;ukd 'DpmtkyfrSm tao;pdyf azmfjyoGm;rSm jzpfygw,f/
Discrete signal rSm signal &Sdaewmukd ON vkdY ac:ygw,f/ Signal r&Sdwmukd OFF vkdY
ac:ygw,f/ Signal &Sdjcif;eJY? Signal r&Sdjcif;? 'DESpfrsdK; om&Sdygw,f/ Discrete input interface
rSm signal type ESpfrsdK; &Sdygw,f/ AC signal eJY DC signal jzpfygw,f/
Modular PLC rSm AC input module eJY DC input module qkdNyD; oD;jcm;pDxkwfvkyf
ygw,f/ Compact PLC rSmvnf; AC input signal om ay;vkdY&wJh PLC eJY DC input signal
om ay;vkdY&wJh PLC &,fvkdY ESpfrsdK; cGJjcm;xkwfvkyfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
43
OD;pdk;wifh PLC vrf; nTef
Figure 9a
yHk(Figure 9a) rSm DC24V signal ukd vufcHaqmif&GufwJh discrete input interface &JU
functional circuit diagram ukd azmfjyxm;ygw,f/
Figure 9b
yHk(Figure 9b) rSm AC110V signal ukd vufcHaqmif&GufwJh discrete input interface &JU
functional circuit diagram ukd azmfjyxm;ygw,f/
yHkrSmjyxm;wJhtwkdif; AC input rSma&m? DC input rSmyg optocoupler ukd oHk;NyD;
isolation vkyfxm;ygw,f/ tajccHtusqHk;vnf;jzpf? tawGU&trsm;qHk;vnf;jzpfwJh 24VDC
input signal ay;&wJh Compact PLC ukd rlwnfNyD; input interface taMumif;udk a&;om;
azmfjy oGm;ygr,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
44
OD;pdk;wifh PLC vrf; nTef
Figure 9c
yHk (Figure 9c) rSm oHk;xm;wJh Opto-coupler (Photo-coupler) xJrSm tvif;a&mif xkwf
vTwfay;wJh LED diode ESpfckudk tNrD;jyef? acgif;jyef? tNydKifquf antiparallel qufxm;yg
w,f/ Current direction b,fvkdyJpD;pD;? LED wpfvHk;vHk; uawmh rD;vif;rSm aocsmyg
w,f/ tJ'D LED ESpfvHk;uxGufwJh tvif;a&mifukd photo-transistor &JU base ay: wkdufkduf
usa&mufatmif csdefxm;ygw,f/ LED eJY photo-transistor twGJukd opto-coupler vkdY
ac:ygw,f/ olUukd jyifyutvif;a&mif r0ifa&mufEkdifatmif tvHkydwf? tvif;ydwf?
wnfaqmufxm;ygw,f/ 'gaMumifh optocoupler xJu LED rD;vif;wmudk jyifyu rjrif
rawGUEkdifygbl;/
PLC &JU input point udk jzwfpD;vmwJhvQyfppf currrent [m opto-coupler xJu LED xJ
ukdvnf; jzwfoef;pD;qif;wmjzpfvkdY? tJ'D LED rD;vif;NyD; photo-transistor ay:udk tvif;
a&mif usa&mufygw,f/ tJY'DtcgrSm photo-transistor ukd ON jzpfapygw,f/ Photo-
transistor = ON jzpfoGm;wJhtcg internal circuit u PLC &JU input status indicator LED ukd
rD;vif;apygw,f/
Input point ukd signal a&mufvkdY ON jzpfwJhtcg tJ'D input eJY oufqkdifwJh input LED
rD;vif;wmjzpfvkdY? b,f point rSm signal &Sdw,fqkdwmukd tvG,fwul odEkdifygw,f/ Meter
eJY wkdif;MunhfzkdY rvkdygbl;/ Input point udk jzwfpD;wJh current eJY internal circuit xJ (photo-
transistor xJ) pD;wJh current wkdY[m woD;wjcm;pD jzpfMuygw,f/ tJ'gukd galvanically
isolated vkdY ac:ygw,f/ Input point u 0ifvmwJh signal ukd internal circuit xJ
a&mufatmif ydkYaqmifay;wmu tvif;a&mifeJY ykdYay;wm jzpfygw,f/ 'gaMumifh photo-
coupling (opto-coupling) vkdY ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
45
OD;pdk;wifh PLC vrf; nTef
Output Interface
Output ydkif;uawmh CPU u xkwfay;wJh signal udk Output terminal twGuf oifhawmfwJh
signal trsdK;tpm;jzpfatmif ajymif;ay;wJhtvkyfu wpfck? PLC xJvSnfhywf pD;qif;wJh
vQyfppfeJY Output terminal rSm vSnfhywfpD;qif;wJhvQyfppf wdkUudk wpfoD;wpfjcm;pD jzpfatmif
isolation vkyfay;&wJh tvkyfuwpfck? pkpkaygif; tvkyf 2ck udk vkyfygw,f/
PLC &JU output rS m vnf ; signal type ESpfrsdK; &Sdygw,f/
Discrete output signal eJY Analog output signal wkdY jzpfMuygw,f/ CPU u xGufvmwJY
signal u binary signal (digital signal) jzpfygw,f/ tJ'D digital signal udk D/A Converter eJY
analog tjzpf ajymif;ay;jyD;rS output terminal u analog signal ukd xkwfay;wm jzpfygw,f/
'DpmtkyfrSm discrete output signal taMumif;ukdom a&;om;azmfjyrSm jzpfyg
w,f/
PLC rSm discrete output type oHk;rsdK;&Sdygw,f/
(1) Relay Output
(2) Transistor Output
(3) TRIAC Output (SSR Output) wkdY jzpfMuygw,f/
tJ'DoHk;rsdK;pvHk;udk galvanic isolation &atmif wnfaqmufxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
46
OD;pdk;wifh PLC vrf; nTef
Relay Output
Relay contact
Relay coil
The more you learn about PLCs, the more you will be able to solve other control problems.
47
OD;pdk;wifh PLC vrf; nTef
Transistor Output
Transistor Output rSm PNP eJY NPN qkdNyD; ESpfrsdK; &Sdygw,f/ CPU u ckdif;vkdY internal
circuit u output signal xkwfay;vkdufwJhtcg?
(1) Output status indicator LED rD;vif;ygw,f/
(2) Optocoupler xJu LED rD;vif;vkdY phototransistor [m ON jzpfoGm;ygw,f/
(3) Output transistor vnf; ON jzpfoGm;ygw,f/
Output
Transistor
Photo-transistor
Output
Opto-coupler Transistor
Photo-transistor
Max. Switching Capacity: 50 mA at 4.5 VDC to 300 mA at 26.4 V
Figure 12. yHkrSm Transistor Output (PNP) eJY output point wdkY qufoG,fxm;yHkudk
azmfjyxm;ygw,f/
PNP yJjzpfjzpf? NPN yJjzpfjzpf? transistor &JU collector ukd output point eJY qufoG,f
xm;ygw,f/ PLC &JU Output Transistor [m open collector output type jzpfNyD;? DC vQyfppf
om jzwfoef;pD;qif;Ekdifygw,f/ PLC &JU output [m transistor output jzpfcJY&if PNP
'grSr[kwf NPN wpfrsdK;om ygavh&Sdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
48
OD;pdk;wifh PLC vrf; nTef
TRIAC Output
TRIAC Output ukd SSR (Solid State Relay) output vkdYvnf; ac:ygw,f/ Triac
output rSm oHk;xm;wJh opto-coupler xJrSm LED eJY photo-diac wkdY yg0ifygw,f/
CPU u apckdif;wJhtwkdif; internal circuit u output signal xkwfay;vkdufwJhtcg
(1) Output status indicator LED rD;vif; ygw,f/
(2) Photodiac ON jzpfoGm;ygw,f/
(3) Output Triac ON jzpfoGm;ygw,f/
Output Triac
Photo-diac
Opto-coupler
Max. Switching Capacity: 0.4 A at 100 to 240 VAC (50/60 Hz)
Figure 14. yHkrSm Triac Output eJY output point
wdkY qufoG,fxm;yHkudk azmfjyxm;ygw,f/
Triac Output ukd AC vQyfppfeJYom toHk;jyK&ygw,f/ tu,f DC vQyfppfeJY
qufoG,f toHk;jyKcJhr,fqkd&if ON jzpfNyD;wJh output point [m Triac &JU obm0t& OFF
jyefrjzpfawmhygbl;/
PLC &JU output type oHk;rsdK;udk atmufrSm,SOfwGJazmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
49
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
50
OD;pdk;wifh PLC vrf; nTef
Octal number
Octal number
eJYa&wGufvdkY eJYa&wGufvdkY
Output u
Input u 24ck
16ck jzpfyg
jzpfygw,f/
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
51
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
52
OD;pdk;wifh PLC vrf; nTef
Panel xJrSm PLC udk wyfqifwJhtcg High Voltage Equipment awGeJY twlwla&mNyD;
Panel 1 ckxJrSm rwyfqif&ygbl;/
AkdYtm;jrifh0g,m Power cable awGeJY teJqHk; &SpfvufrcefY 200mm uGmjcm;atmif
PLC udk xm;&ygr,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
53
OD;pdk;wifh PLC vrf; nTef
PLC eJYeH&HMum;
teJqHk;&dS&r,fh
tuGmta0;
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
54
OD;pdk;wifh PLC vrf; nTef
Advised Installation Practices
Shield the PLC
The most common method of shielding, is to install the PLC inside a grounded steel
enclosure.
Proper Cable Selection
Use twisted, shielded-pair cable for the power cable and field wiring. Properly terminate
the shields of all cables to a single-point high-quality ground.
Ground the PLC
The purpose of grounding the PLC is to protect the electronic equipment from electric
shock and harmful noise. To ground the PLC, connect a 12 to 16 gauge wire from the frame
ground terminal strip screw of the controller to a high quality earth ground (less then 2 ).
Since electrical currents always take the path of least resistance, the noise currents induced
by a magnetic field will flow through the PLC frame ground terminal screw to earth ground.
This essentially draws the noise away from the PLC modules.
The most effective method of grounding the PLC frame is to ground the PLC
independent of other equipment. Avoid grounding the PLC through a daisy chain of wire
connections with other equipment.
See figures below for good and bad examples:
'Dvdkqufyg 'DvdkrqufeJY
The length of the ground cable should not exceed 65 feet (20 m). For best results, the
resistance of the ground cable should be less than 2 .
Grounding (Earthing)
vQyfppfoHvkdufvdIif;rsm;aMumifh PLC udk taESmifht,Suf rjzpfapzkdYeJY ukdifwG,f toHk;
jyKwJhvludk vQyfppftE&m,frusa&mufatmif umuG,fzkdY twGuf Ground (Earth) aumif;
aumif; csxm;ay;&ygr,f/ Earth Resistance [m 100 (100 tkrf;) xuf rykdap&ygbl;/
Earth BudK;uvnf; 2mm (2 pwk&ef; rDvDrDwm) xufrao;i,fap&ygbl;/ Wire qufoG,f
wJhtcg wire lug (crimp connector) ukd toHk;jyK&ygr,f/ Terminal screw ukd wif;MuyfrI tight
vkyfwJhtcg wif;tm;u 0.5Nm to 0.6Nm twGif; &Sd&ygr,f/ Earth cswm&JU &nf&G,fcsufu
rawmfwq vQyfppf,kdpdrfhrI leakage jzpfcJh&if vludk tE&m,fuif;apzkdY jzpfygw,f/ Earth
terminal rSm PE (Protective Earth) vkdY a&;xm;avh &Sdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
55
OD;pdk;wifh PLC vrf; nTef
PLC &JU Input eJY Output awGrSm yg&SdwJh COM (common) terminal udk b,fawmhrS
earth rcs&ygbl;/ Shielded cable &JUtpGef; 2zufpvHk;udk ground cscJY&if yHkrSmjyxm;wJhtwdkif;
ground loop jzpfay:vmygw,f/
'D
udk
'Dvdk jzKwfNyD;
eJY
The more you learn about PLCs, the more you will be able to solve other control problems.
56
OD;pdk;wifh PLC vrf; nTef
Safety
In any industrial design, safety must be a first priority in that the designer(s) must take
all reasonable steps to ensure a person or persons cannot be harmed in any way whilst the
system is being operated.
There are now European Machinery Safety Standards, which also include the control
systems of the machinery. These can be summarised as follows:
1. All emergency circuits such as emergency stop buttons and safety guard switches
must be hardwired and not depend on software, i.e. PLCs or electronic logic gates.
2. A designer(s) must carry out a risk assessment procedure. In addition the procedure
must be documented for possible inspection at any time.
3. Implement any changes to the design to limit any risk, as far as possible.
4. Ensure that where there are remaining risks, the use of safeguards must be
implemented into the design.
Personal Safety
Personal Safety twGuf odxm;oifhwJh vQyfppf"gwfvkdufwJhtcg jzpfay:vmwJh
cHpm;& rI eJY tE&m,fawGukd atmufrSmazmfjyxm;ygw,f/
vlUcEmukd,fxJ vQyfppfjzwfoef; pD;qif;oGm;wJhtcg cHpm;&wJhcHpm;rIudk tqifh (7)
qifh cGJjcm;jyxm;ygw,f/
(1) 0 to 1 mA cHpm;od&SdrI? r&Sdyg/ Oyrm 5VDC
(2) 1 to 5 mA "gwfvkdufaMumif;? od&SdcHpm;&ygw,f/ Oyrm? 24VDC
(3) 10 to 20 mA tE&m,f&SdwJh "gwfvkdufrIvkdY owfrSwfygw,f/ Oyrm? 120VAC
(4) 20 to 50 mA taMumqGJNyD; tE&m,fBuD;ygw,f/ Oyrm? 220VAC
(5) 50 to 100 mA tjyif;txef emusifNyD; arharsmoGm;Ekdifygw,f/
(6) 100 to 300 mA ESvHk;ckef &yfoGm;Ekdifygw,f/
(7) 300 mA xuf ykdrsm;&if? toufI&yfoGm;wm? rD;avmifuRrf;wm? jzpfEkdifygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
57
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
58
OD;pdk;wifh PLC vrf; nTef
PLC uk d vH k N cH K atmif xk y f y k d ; rI t qih f owf r S w f c suf /
vHkNcHKatmif xkyfykd;rI tqifhtwef;udk IP eJYvnf; owfrSwfygw,f/ NEMA eJYvnf;
owfrSwfygw,f/
IP qkdwmu IEC (International Electrotechnical Commission) u owfrSwfwJh
standard jzpfygw,f/ IP udk Ingress Protection vkdYvnf; ac:ygw,f/ International
Protection vkdYvnf; ac:ygw,f/
IP 00 to IP 68 txd&Sdygw,f/
IP65 vkdY a&;om;xm;cJh&if a&SU*Pef;jzpfwJh 6 udk 1st characteristic vkdY ac:ygw,f/
aemuf*Pef;jzpfwJh 5 udk 2nd characteristic vkdY ac:ygw,f/
1st characteristic u xkyfykd;xm;wJh yHk;cGH? tdrfcGH? enclosure xJukd t&m0wKypnf;awG
r0ifa&mufEkdifatmif umuG,fwJh tqihftwef;ukd cGJjcm;owfrSwfazmfjyygw,f/
2nd characteristic u xkyfykd;xm;wJh enclosure xJukd a&awG? t&nfawG? r0ifa&muf
Ekdifatmif umuG,fwJh tqifhtwef;ukd cGJjcm;owfrSwfazmfjyxm;wm jzpfygw,f/
1st characteristic ud k 0 to 6 txd tqihftwef; (7) rsdK; cGJjcm;xm;ygw,f/
IP0_ rSm ygwJh 0 &JUt"dyg,fu? umuG,frI vHk;0rjyKbl; vkdY jzpfygw,f/
IP1_ rSm ygwJh 1 &JUt"dyg,fu? t&G,ftpm; 50mm xufykdBuD;wJh t&m0wKypnf;awG
r0ifa&mufEkdifatmif umuG,fxm;w,f vkdY jzpfygw,f/
IP2_ rSm ygwJh 2 &JUt"dyg,fu? t&G,ftpm; 12mm xufykdBuD;wJh t&m0wKypnf;awG
r0ifa&mufEkdifatmif umuG,fxm;w,f vkdY jzpfygw,f/
IP3_ rSm ygwJh 3 &JUt"dyg,fu? t&G,ftpm; 2.5mm xufykdBuD;wJh t&m0wKypnf;awG
r0ifa&mufEkdifatmif umuG,fxm;w,f vkdY jzpfygw,f/
IP4_ rSm ygwJh 4 &JUt"dyg,fu? t&G,ftpm; 1.0mm xufykdBuD;wJh t&m0wKypnf;awG
r0ifa&mufEkdifatmif umuG,fxm;w,f vkdY jzpfygw,f/
IP5_ rSm ygwJh 5 &JUt"dyg,fu? trIHY powder awG r0ifa&mufEkdifatmif umuG,f xm;
w,fvkdY jzpfygw,f/
IP6_ rSm ygwJh 6 &JUt"dyg,fu? trIeftrTm; dust awG vHk;0 r0ifa&mufEkdifatmif
umuG,fxm;w,f vkdY jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
59
OD;pdk;wifh PLC vrf; nTef
2nd characteristic ukd 0 to 8 txd tqifhtwef; ukd;rsdK;cGJjcm;xm;ygw,f/
IP_0 rSm ygwJh 0 &JUt"dyg,fu? a&r0ifEkdifatmifumuG,frI? vHk;0rjyKbl; vkdY jzpfyg
w,f/
IP_1 rSm ygwJh 1 &JUt"dyg,fu? tay:uusqif;wJh a&pufa&aygufawG r0ifa&muf
Ekdifatmif? umuG,fwnfaqmufxm;w,f vkdY jzpfygw,f/
IP_2 rSm ygwJh 2 &JUt"dyg,fu? 15 apmif;wJhae&mu pifusvmwJh a&puf a&ayguf
awG r0ifa&mufEkdifatmif? umuG,w f nfaqmufxm;w,f vkdY jzpfygw,f/
IP_3 rSm ygwJh 3 &JUt"dyg,fu? tay:ujzef;wJha&awG r0ifa&mufEkdifatmif?
umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
IP_4 rSm ygwJh 4 &JUt"dyg,fu tzufzufu jzef;yufwJha&awG r0ifa&mufEkdifatmif
umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
IP_5 rSm ygwJh 5 &JUt"dyg,fu? ykdufeJYxdk;yufwJha&awG r0ifa&mufEkdifatmif
umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
IP_6 rSm ygwJh 6 &JUt"dyg,fu? tiftm;oHk;NyD;xkd;oGif;wJha&awG r0ifa&mufEkdifatmif
umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
IP_7 rSm ygwJh 7 &JUt"dyg,fu? a&xJjyKwfusoGm;&ifvnf; a&awG r0ifa&muf
Ekdifatmif umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
IP_8 rSm ygwJh 8 &JUt"dyg,fu a&xJepfjrKyfae&ifvnf; a&awG r0ifa&mufEkdifatmif
umuG,f wnfaqmufxm;w,f vkdY jzpfygw,f/
Oyrm? IP00 vkdY a&;xm;&if? t&m0wKawG r0ifa&mufEkdifatmifvnf; umuG,f
rxm;bl;? a&r0ifEkdifatmifvnf; umuG,frxm;bl;? bmtumtuG,frS vkyfrxm;bl;? vkdY
qkdvkdygw,f/
Oyrm? IP20 vkdY a&;xm;&ift&G,ftpm; 12mm xufykdBuD;wJh t&m0wKypnf;awG r0if
a&mufEkdifatmifom umuG,fxm;NyD;? a&r0ifEkdifatmif umuG,frI vkyfrxm;bl;? vkdY
qkdvdkygw,f/
Oyrm? IP65 vkdY a&;xm;&if trIHtrTm;awGudk vHk;0r0ifEkdifatmif umuG,fxm;NyD;? ykdufeJY
xkd;yufwJha&udkvnf; r0ifEkdifatmif umuG,fxm;w,f? vkdY qkdvkdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
60
OD;pdk;wifh PLC vrf; nTef
NEMA 1 to NEMA 13 txd&Sdygw,f/
NEMA (National Electrical Manufactures Association) u owfrSwfxm;wJh vHkNcHK
atmifxkyfykd;rI tqihftwef; owfrSwfcsufukd atmufrSmazmfjyxm;ygw,f/
NEMA 1 qkdwmu trkd;tumatmuf Indoor rSmom wyfqiftoHk;jyKEkdifNyD;?
tay:u usvmwhJ trIHIUawG r0ifEkdifatmif? rawmfwqvufeJY xdrd? udkifrdvkdY r&atmif?
wnfaqmufxm;ygw,f vkdY t"dyg,f&ygw,f/
NEMA 2 qkdwmu Indoor rSm wyfqiftoHk;jyKEkdifNyD; tay:uusvmwJh trIHYawG?
tay:u usqif;vmwJh a&awGr0ifEkdifatmif? wnfaqmufxm;ygw,f/
NEMA 3 qkdwmu trkd;tumrygbJ Outdoor rSm wyfqiftoHk;jyKEkdifNyD; rkd;a& r0if
Ekdifatmif? ESif;uswJh'Pfukd cHEkdifatmif? trIHU powder eJY trIeftrTm; dust awG r0if
Ekdifatmif? wnfaqmufxm;ygw,f/
NEMA 3S qkdwmu NEMA 3 twkdif; umuG,fay;wJhtjyif a&cJwJh 'Pfudkyg cHEkdif
atmif? wnfaqmufxm;ygw,f/
NEMA 4 qkdwmu Indoor a&m? Outdoor rSmyg wyfqiftoHk;jyKEkdifNyD;? ykdufeJY yufwJh
a&udk cHEkdifatmif? wnfaqmufxm;ygw,f/
NEMA 4X qkdwmu NEMA 4 twkdif; umuG,fay;wJhtjyif "gwkavmifpm;rI
corrosion 'Pfukd cHEkdifatmif? wnfaqmufxm;ygw,f/
NEMA 6 qkdwmu Indoor a&m? Outdoor rSmyg wyfqiftoHk;jyKEdkifNyD;? trIHIUawGeJY
trIeftrTm;awG r0ifEkdifatmif? ykdufeJY a&xkd;yufwmudk cHEkdifatmif? a&xJjyKwfuswmudk
cHEkdifatmif? wnfaqmufxm;ygw,f/
NEMA 6P qkdwmu NEMA 6 twkdif; umuG,frIay;wJhtjyif a&xJrSm MumMum
epfaeNyD;rS jyefvnfq,f,l toHk;jyKwJhtcg ysufpD;rIr&Sdatmif? wnfaqmufxm;ygw,f/
NEMA 7 qkdwmu Indoor rSm wyfqiftoHk;jyKEkdifNyD;? aygufuGJapwwfwJh "gwfaiGU
awG? trIHU powder awG &SdwJhae&mrSm wyfqiftoHk;jyKEdkifygw,f/
NEMA 9 qkdwmu Indoor rSm wyfqiftoHk;jyKEkdifNyD; rD;avmifvG,fwJh trIeftrTm;
dust awG&SdwJh ae&mrSm wyfqifEkdifygw,f/
NEMA 12 qkdwmu Indoor rSm wyfqiftoHk;NyKEkdifNyD;? powder awG? dust awG?
yufjzef;wJh a&awG? pD;qif;vmwJh qDawG? r0ifEkdifatmif? wnfaqmufxm;ygw,f/
NEMA 13 qkdwmu Indoor rSm wyfqiftoHk;jyKEkdifNyD;? yufjzef;wJh qDawG r0ifEkdif
atmif? wnfaqmufxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
61
OD;pdk;wifh PLC vrf; nTef
IP eJ Y NEMA EIdif;,SOfcsuf/
IP eJY azmfjyxm;wJh enclosure &JU ae&mrSm NEMA standard eJY owfrSwfazmfjyxm;wJh
enclosue udk tpm;xkd;oHk;pGJr,fqkd&if?
IP 20 &JUae&mrSm NEMA 1 udk tpm;xkd;oHk;vkdY &ygw,f/
IP 22 &JUae&mrSm NEMA 2 udk tpm;xkd;oHk;vkdY &ygw,f/
IP 55 &JUae&mrSm NEMA 3, 3X, 3S, 3SX wdkYudk tpm;xkd;oHk;vkdY &ygw,f/
IP 24 &JUae&mrSm NEMA 3R, 3RX wkdYudk tpm;xkd;oHk;vkdY &ygw,f/
IP 66 &JUae&mrSm NEMA 4, 4X wdkYudk tpm;xkd;oHk;vkdY &ygw,f/
IP 53 &JUae&mrSm NEMA 5 udk tpm;xkd;oHk;vkdY &ygw,f/
IP 67 &JUae&mrSm NEMA 6 eJYtpm;xdk;oHk;vkdY &ygw,f/
NEMA Class No. eJY azmfjyxm;wJh enclosure &JU ae&mrSm IP Class No. eJY azmfjyxm;
wJh enclosure ukd tpm;xkd; oHk;pGJr,fqkd&if?
NEMA 1 &JUae&mrSm IP 10 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 2 &JUae&mrSm IP 11 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 3 eJY 3S wkdY&JUae&mrSm IP54 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 3R &JUae&mrSm IP14 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 4 eJY 4X &JUae&mrSm IP56 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 5 &JUae&mrSm IP52 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 6 eJY 6P wkdY&JUae&mrSm IP67 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 13 &JUae&mrSm IP54 udk tpm;xdk;oHk;vkYd &ygw,f/
NEMA 12 eJU 12K &JUae&mrSm IP52 wkdYudk tpm;xkd;oHk;vkdY &ygw,f/
IP Class No.eJY tpm;xkd;oHk;pGJvkdY r&wJh NEMA Class awGuawmh NEMA 7, 8, 9, 10,
eJY 11 wkdY jzpfMuygw,f/
IP class No. rSm "gwkavmifpm;rI corrosion 'Pfudk cHEkdifaMumif; azmfjyxm;wm
r&Sdygbl;/
NEMA 4 eJY 4P u corrosion 'Pfukd cHEkdifygw,f/
NEMA 6 eJY 6P u a&xJjyKwfuswJh 'Pfukd cHEkdifygw,f/
NEMA 6P u a&xJ tMumBuD; epfjrKyfwJh 'Pfukd cHEkdif&nf &Sdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
62
OD;pdk;wifh PLC vrf; nTef
PLC Specification
The more you learn about PLCs, the more you will be able to solve other control problems.
63
OD;pdk;wifh PLC vrf; nTef
'D PLC [m DVP series jzpfNyD; I/O 14 ck yg&SdaMumif;udk DVP14 eJY azmfjyxm;wm
jzpfygw,f/ DVP-14SS rSmygwJha&ShpmvHk; S uawmh PLC udk,fxnf[m yg;vswJhudk,fxnf
Slim type jzpfNyD; Standard Function MPU (Compact PLC) jzpfwmudk azmfjyygw,f/ SS udk
PLC &JU type tjzpf rSwf,l&ygr,f/
DVP-14SS rSmygwJh aemufpmvHk; S u MPU (Main Processing Unit) jzpfaMumif;udk
az:jyNyD;? DVP-14SM vdkY a&;xm;&if Input Point Expansion Unit jzpfygw,f/
11R qdkwmuawmh 24VDC udk power supply tjzpfay;&NyD; Relay output ygwJh PLC
jzpfaMumif; azmfjyxm;wm jzpfygw,f/
11T vdkY a&;xm;&if 24VDC udk power supply tjzpfay;&NyD; Transistor output ygwJh
PLC jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
64
OD;pdk;wifh PLC vrf; nTef
DVP-14SS-11R2 ukd 24VDC power supply ay;&ygw,f/ Clean and Regulated
24VDC ukd DVP-PS02 power supply unit u xkwfay; ygw,f/
Power supply &JU t&G,ftpm; capacity ukd a&G;cs,fwJh tcgrSm vuf&SdtoHk;jyKaewJh
power (watt) xuf tenf;qHk; 15% ykdNyD;wGuf&ygw,f/ aemifwkd;csJU wyfqifr,fh I/O Device
awGtwGufjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
65
OD;pdk;wifh PLC vrf; nTef
tJ'DrSmygwJh Program Capacity: 3792 Steps; Built-in EEPROM udk MunfhNyD;
"mwfcJxnfhp&m rvdkwJh PLC trsdK;tpm; jzpfaMumif; odEdkifygw,f/ 1 Step [m 1 Word (16
bits) eJY wlnDygw,f/
Input Point Electric Specifications qdkwmu tJ'D PLC &JU Input ydkif; taMumif;udk
azmfjyxm;wm jzpfygw,f/
Input Type qdkwmu signal [m DC24V jzpfNyD; S/S terminal udk positive (+ ) jzpfjzpf?
negative () jzpfjzpf Sink or Source qufoG,fvdkY&wJh taMumif;udk azmfjyxm;wmjzpfygw,f/
Motion Level qdkwmu switching voltage udk ajymwmjzpfygw,f/ ON signal jzpfzdkY
twGuf 16V xuf rsm;&rSm jzpfNyD; OFF signal jzpfzdkYtwGuf 14.4V xuf enf;&rSm jzpfyg
w,f/
Responding Time About 10ms qdkwmu Input terminal rSm ON signal a&mufNyD;
10ms MumrS PLC u signal udk &&dSwm? todtrSwfjyKwm? jzpfygw,f/ Input interface &JU
signal transfer delay udk 10ms rSm xm;&dSw,fvdkY ajymwmjzpfygw,f/ 10ms xuf
wdkawmif;wJh (jrefqefwJh) electrical noise voltage awGudk signal tjzpf todtrSwf rjyKcsifvdkY
aESmifhaES;atmif delay vkyfxm;ay;&wmjzpfygw,f/ tJ'D delay time udk Data Register
D1020 eJY D1021 xJrSm0ifNyD; jyifa&;vdkY &ygw,f/
Input Interface taMumif;udk 'Dpmtkyf&JU pmrsufESm (43) rSm azmfjyxm;ygw,f/
Input delay time &,f?Program Scan time &,f? Output delay time &,f oHk;ck aygif;
MumwJh pkpkaygif;tcsdefudk PLC &JU Total response time vdkY ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
67
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
68
OD;pdk;wifh PLC vrf; nTef
DC power supply ay;&wJh PLC trsm;pk[m 24VDC ukd power supply tjzpf
toHk;jyKMuygw,f/ Clean and Regulated 24VDC ukd oHk;wm taumif;qHk; jzpfygw,f/
Power supply &JU t&G,ftpm; capacity ukd a&G;cs,fwJh tcgrSm vuf&SdtoHk;jyKaewJh
power (watt) xuftenf;qHk; 15% ykdNyD;wGuf&ygw,f/ aemifwkd;csJU wyfqifr,fh I/O Device
awGtwGufjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
69
OD;pdk;wifh PLC vrf; nTef
Input Wiring
Warning
Emergency and interlocking circuits must be configured outside the PLC. If such a circuit
is configured inside the PLC, failure of the PLC may cause disorder of the control system,
damage, or accidents.
Caution
Use a power supply of the rated value. Use of a wrong power supply may cause fire
hazard.
Use an IEC127-approved fuse on the power line outside the PLC. This is required when
exporting equipment containing PLC to Europe.
Use an EU-approved circuit breaker. This is required when exporting equipment
containing PLC to Europe.
Do not connect to the ground directly from the PLC. Connect a protective ground to the
equipment containing PLC using an M4 or larger screw. This is required when exporting
equipment containing PLC to Europe.
If relays or transistors in the PLC output circuit fail, outputs may remain on or off. For
output signals which may cause heavy accidents, provide a monitor circuit outside of the
PLC.
PLC rSm Analog Input (AI) eJY Discrete Input (DI) vkdY 2rsdK; &SdwJhtxJu discrete input
wiring taMumif;ukd qufvufazmfjyygr,f/
Discrete input trsdK;tpm;rSmvnf; signal 2rsdK; uGJjym;ygao;w,f/ tJ'guawmh AC
input signal eJY DC input signal wkdY jzpfMuygw,f/ AC input signal ay;vkdY&wJh PLC &JU
signal range uvnf; 2rsdK; &Sdygw,f/ wpfrsdK;u AC100V signal jzpfNyD; aemufwpfrsdK;u
AC200V signal jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
70
OD;pdk;wifh PLC vrf; nTef
AC signal a&m? DC signal yg? BudKufwm ay;vkdY&wJh Omron PLC C200H-IM211 ukd
atmufrSm azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
71
OD;pdk;wifh PLC vrf; nTef
Power Supply ukd AC voltage ay;oGif;&NyD; input signal u DC type jzpfcJh&if tJ'D
DC voltage udk PLC xJuae xkwfay;avh&Sdygw,f/ tay:yHkrSmaz:jyxm;ygw,f/ tJ'D DC
voltage source udk sensor power output vkdYvnf; ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
72
OD;pdk;wifh PLC vrf; nTef
DC24V udk PLC &JU Power supply tjzpfay;oGif;&wJh PLC trsdK;tpm; jzpfcJh&if
olU&JU input signal uvnf; DC24V yJ jzpfavh&Sdygw,f/
DC24V
Power Input
Supply
DC24V
Output
for Output
sensors
The more you learn about PLCs, the more you will be able to solve other control problems.
73
OD;pdk;wifh PLC vrf; nTef
ay;oGif;&wJh PLC trsdK;tpm;awGrSm ay;oGif;&wJh input signal
DC input signal
range twkdif;twm[m trsdK;rsdK;&Sdygw,f/ OyrmtaeeJY azmfjy&&if Omron PLC jzpfwJh
CQM1-ID111 eJY ID112 wdkYrSm 12VDC ukd input signal tjzpf owfrSwfxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
74
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
75
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
76
OD;pdk;wifh PLC vrf; nTef
yHk(A) C200H-ID001 Source Input PLC yHk(B) C200H-ID002 Sink Input PLC
No-Voltage Contact Input Terminals of Omron PLC
atmufyHkrSm Internal 24VDC sensor supply ygwJh COM vdkY a&;xm;wJh source input
type PLC ukd azmfjyxm;ygw,f/
atmufyHkrSm Internal 24VDC sensor supply ygwJh COM vdkY a&;xm;wJh sink input
type PLC ukd azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
78
OD;pdk;wifh PLC vrf; nTef
PLC xJu qufxm;NyD;om; jzpfygw,f/ tJ'D PLC ukd tjyifuae aemufxyf
24VDC ay;p&m rvkdawmhaMumif; xif&Sm;ygw,f/
4/ tJ'D PLC &JU &Sd&SdorQ? t0ifikwfawGukd 24VDC &Sdr&Sd? wkdif;Munhfyg/ wdkif;Munhf
wkdif;vnf; DC voltmeter u 24V jyaeygvdrfhr,f/ 'gqkd&if 'D PLC [mtjyif
u 24VDC qufoG,fay;p&m rvkdwJh PLC trsdK;tpm; jzpfygw,f/ COM
ikwfu tzkd (+) positive vm;? tr (-) negative vm;? qkdwmukdyg DC
voltmeter u jyygvdrfhr,f/
5/ txufygenf;twkdif; DC voltmeter eJY wkdif;MunhfwJhtcgrSm b,ft0ifikwf
rSmrS? bm voltage rS? r&Sdbl;qkd&if (voltage rjybl;qkd&if) 'D PLC [m jyify
uae 24VDC ukd qufoG,fay;&r,fh PLC trsdK;tpm; jzpfygw,f/
6/ PLC 1vHk;udk power supply ay;NyD; input terminal awGukd DC voltmeter eJY
wkdif;MunhfvkdY voltage awGU&SdcJh&if jyifyuae 24VDC ukd xyfrHqufoG,f
ay;p&mrvdkwJh PLC trsdK;tpm;jzpfNyD;? wkdif;MunhfvkdY voltage rawGUcJh&if
jyifyuae 24VDC ukd xyfrHqufoG,f ay;&r,fh trsdK;tpm; jzpfw,f
qkdwmukd tvG,fwul cGJjcm;odEdkifygw,f/
eJY tvkyfvkyfwJh PLC u tawGU&rsm;wJhtwGuf 'DtrsdK;tpm;eJY
24VDC signal
qufpyfNyD; qufvufa&;om; azmfjyoGm;ygr,f/
24VDC ukd input signal tjzpfqufoG,fwJh ae&mrSm PLC type tay:rlwnfNyD;
uGJjym;jcm;em;rI&Sdygw,f/
PLC twGuf input signal awG &,lay;wJhypnf;awGukd input devices vkdY ac:ygw,f/
Input devices tcsdKUukd azmfjy&&if? Push Button awG? Toggle switch awG? Limit switch awG?
Porximitty switch (sensor) awG? Motor overload relay contact awG? Photo sensor awG?
Liquid level switch, Pressure switch, Temperature switch, Flow switch, pwhJ ON/OFF
vkyfay;wJh device awG jzpfMuygw,f/
Input device awGeJY PLC udk qufoG,fzkdY t0ifikwf input terminal awG PLC ay:rSm
yg&SdMuygw,f/ tJ'D t0ifikwfawGukd input point vkdYvnf; ac:ygw,f/ Input channel
vkdYvnf; ac:ygw,f/ IN0 (input zero), IN1 (input one) pojzifh 0 (zero) u pNyD;eHygwf
a&;xdk; wwfMuygw,f/ CH0 (channel zero), CH1 (channel one) pojzifhvnf; a&;avh
&Sdygw,f/ Input point awGeJY bHkoufqkdifwJh signal t0ifikwfukd COM0, COM1 pojzifh
a&;avh &Sdygw,f/
Input device awGeJY PLC ukd qufoG,fwJhtcg PLC &JU type ukd vkdufNyD; sink input
a&m? source input ukdyg? BudKufwm 1rsdK; a&G;qufvkdY&wJh PLC &Sdovkd? sink input om
qufvkdY&wJh PLC eJY source input om qufvkdY&wJh PLC qkdNyD; oHk;rsdK;oHk;pm; &SdMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
79
OD;pdk;wifh PLC vrf; nTef
yHkrSm
C1, C2, C3, C4 vkdY a&;xm;wmu COM1, COM2, COM3, COM4 wdkYjzpfNyD;
sink eJY source ajymif;qufvkdY&wJh COM awGjzpfMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
80
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
81
OD;pdk;wifh PLC vrf; nTef
AC Input
The more you learn about PLCs, the more you will be able to solve other control problems.
82
OD;pdk;wifh PLC vrf; nTef
OyrmtaeeJY azmfjy&&if Omron PLC jzpfwJh CPM1A-30CDR rSm input signal common
ikwfukd COM vkdY a&;xm;ygw,f/ Sink input tjzpf qufcsif&ifvnf; qufvkdY&ovkd source
input tjzpf qufcsif&ifvnf; qufvkdY&ygw,f/
Power supply
Input
Battery Output
yHkrSm azmfjyxm;wJUtwkdif;
sink input tjzpf qufoG,f
csif&if COM qkdwJh t0ifikwfukd
24VDC &JUtrikwf(-) Negative
eJY quf&ygw,f/
Source input tjzpf
qufoG,f csif&if COM ukd
24VDC &JUtzkdikwf (+) Positive
eJY quf&ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
83
OD;pdk;wifh PLC vrf; nTef
Sink input omqufvkdY&wJh Siemens PLC S7-200 CPU224 ukd atmufrSm azmfjy
xm;ygw,f/
Output
Input
The more you learn about PLCs, the more you will be able to solve other control problems.
84
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
85
OD;pdk;wifh PLC vrf; nTef
OyrmtaeeJY azmfjy&&if Delta PLC jzpfwJh DVP-32EH rSm input common ikwfukd S/S
vkdY a&;xm;wJhtwGuf sink input tjzpf qufcsif&ifvnf; qufvkdY&ovkd source input
tjzpf qufcsif&ifvnf; qufvkdY&ygw,f/
DVP-32EH [PLC]
The more you learn about PLCs, the more you will be able to solve other control problems.
86
OD;pdk;wifh PLC vrf; nTef
Output Wiring
PLC wkdif;rSm t0ifikwfeJY txGufikwfawGukd ae&mcGJjcm;NyD; wyfqifxkwfvkyfavh &Sdyg
w,f/ txGufikwfawGrSm 0g,mqufoG,fr,fqkd&if PLC &JU txGuftrsdK;tpm; Output
type ukd odatmift&if Munhf&ygr,f/
Discrete Output type PLC rSm Output trsdK;tpm; 3 rsdK;&Sdygw,f/ PLC 1vHk;rSm Output
type 1rsdK;om yg0ifavh &Sdygw,f/ PLC &JU Output type oHk;rsdK; uawmh (1) Relay output
(2) Transistor output eJY (3) TRIAC Output wkdY jzpfMuygw,f/
(1) Relay Output trsdK;tpm;
Relay output PLC &JU txGufykdif;rSm Miniature Electromechanical Relay awG yg&Sd
ygw,f/ Relay &JU coil ukd 5V ay;&NyD; N.O contact 1ckomygwJh relay awGukd oHk;pGJavh
&Sdygw,f/ Relay coil udk PLC &JU internal circuit uae energize jzpfapygw,f/ Energize
jzpfzkdY? rjzpfzkdYukd CPU u qHk;jzwfcsufay;ygw,f/ Output contact eJY output terminal ukd
pmrsufESm 47 rSmjyxm;wJhtwkdif; qufoG,fay;xm;ygw,f/ Output point 1cktwGuf Relay
1vHk; oHk;xm;ygw,f/ Output point 8ck &Sd&if tJ'D PLC xJrSm Relay 8vHk; yg&Sd ygw,f/ N.O
contact rSm 0g,mqufp&m tp 2p &Sdygw,f/ 1p udk Output terminal eJY qufxm;NyD;? usef
1p ukd COM (common) terminal eJY qufxm;ygw,f/ tJ'D 2p pvHk; PLC xJrSm qufxm;
wmjzpfygw,f/
COM terminal 2ck? 3ck? yg&SdcJh&if COM0, COM1, COM2, ..... pojzifh a&;rSwfxm;
ygw,f/ COM0 u b,ftxGufikwfeJY oufqkdifw,f? COM1 u b,ftxGufikwfeJY
oufqkdifw,f? qkdwm wdwdusus od&zdkYtwGuf PLC &JU specifications okdYr[kwf Hardware
Manual odkYr[kwf User Manual awGrSm &SmazGMunfhI&ygw,f/
Output relay &JU coil xJpD;wJh current eJY contact xJpD;wJh current wkdY[m woD;
wjcm;pD jzpfMuygw,f/ Relay output &JU capacity ukd contact rating eJY azmfjyMuygw,f/
awGU&avh&SdwJh wefzkd; typical value u 250VAC, 2A okYdr[kwf 30VDC, 2A jzpfygw,f/
Contact open uae close jzpfzkdY MumwJhtcsdefumvukd OFF to ON transition delay
vkdY ac:ygw,f/ Switching delay vkdYvnf; ac:ygw,f/
Relay output PLC rSm OFF to ON = 10 ms MumjrifhNyD;? ON to OFF = 10 ms Mumyg
w,f/ ON jzpfvkduf OFF jzpfvkduf tBudrfaygif; 300000 txd rysufrpD; toHk;jyK
Ekdifw,fvkdY specifications rSm a&;xm;ygw,f/ Relay Output [m voltage free contact
output jzpfvkdY output terminal udk AC eYJqufoG,f toHk;jyKvkdY&ovkd? DC eJYvnf;
qufoG,ftoHk;jyKvkdY &ygw,f/
(2) Transistor Output trsd K ;tpm;
Transistor output PLC &JU txGufykdif;rSm Transistor udk output device tjzpf
xnhfoGif; wnfaqmuf xm;ygw,f/ Output transistor 2rsdK; 2pm; &Sdygw,f/ wpfrsdK;u PNP
transistor jzpfNyD; usefwpfrsdK;u NPN transistor jzpfygw,f/ Transistor output type PLC &JU
txGufikwfawGudk qufoG,ftoHk;jyKwJh tcg DC wpfrsdK;wnf;udkom qufoG,fvkdY&ygw,f/
Internal circuit eJY output transistor Mum;rSm optocoupler ukd Mum;cH xnhfoGif;
wnfaqmufxm;ygw,f/ tJ'gudk electrically isolated, optically coupled vkdY ac:ygw,f/
Internal circuit xJrSm pD;wJh current eJY Output transistor xJrSm pD;wJh current wkdY[m woD;
wjcm;pD jzpfMuygw,f/ Typical output capacity uawmh 30VDC, 200mA jzpfygw,f/
Switching delay uawmh OFF to ON = 20s jzpfNyD; ON to OFF = 50s jzpfMuygw,f/
Output ikwfuae current pD;xGuf&if source output vkYd ac:NyD; Output ikwfxJukd current
pD;0if&if sink output vdkY ac:ygw,f/ yHkrSm jyxm;ovkd NPN output jzpfcJh&if sink output vdkY
ac:ygw,f/ COM terminal uae current pD;xGufNyD; Output terminal xJukd pD;0ifygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
89
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
91
OD;pdk;wifh PLC vrf; nTef
Compact PLC rSm yJjzpfjzpf? Modular PLC rSmyJjzpfjzpf PLC wiring eJY ywfoufNyD; jyefvnf
pkpnf; azmfjy&&if
(1) Power supply ay;wJhtcg AC eJY DC qkdNyD; 2rsdK; 2pm; uGJjym;ygw,f/ AC qkd&if
isolation transformer ukd oHk;oifhygw,f/
(2) Input signal ay;wJhtcg Analog eJY Discrete qkdNyD; signal type 2rsdK;uGJjym;
ygw,f/
(3) Discrete siganl ay;oGif;wJh ae&mrSmvnf; AC eJY DC qkdNyD; signal 2rsdK;2pm;
&Sdygw,f/
(4) DC signal ay;oGif;wJh tcgrSmvnf; Sink eJY Source qkdNyD; uGJjym;ygw,f/
(5) PLC &JU output rSmvnf; Analog eJY Discrete qkdNyD; output 2rsdK; &Sdygw,f/
(6) Discrete output rSm (1) Relay Output (2) Transistor Output PNP or NPN eJY
(3) TRIAC output qkNd yD; Output type 3rsdK; uGJjym;ygw,f/
(7) Relay Output udk AC okdYr[kwf DC eJY qufoG,ftoHk;jyK Ekdifygw,f/
(8) Transistor Output rSm PNP Output u source output jzpfNyD; NPN Output u
sink output jzpfygw,f/
(9) Transistor Output ukd DC eJYom qufoG,ftoHk;jyKEkdifygw,f/
(10) Triac Output ukd AC eJYom qufoG,ftoHk;jyKEkdifygw,f/
(11) Discrete Input rSma&m? Discrete Output rSmyg isolation yg&Sdygw,f/
(12) Isolation &JU obm0owdaMumifh Power supply ukd rSm;qufrdvkdYyJjzpfjzpf? I/O
wiring ukd rSm;qufrdwmyJjzpfjzpf? PLC ysufpD;oGm;cJh&if CPU eJY Memory wkdYukd
vHk;0rxdckduf rysufpD;apEkdifygbl;/
(13) Compact PLC rSm txufyg (12) rSmvkd rSm;vkdY PLC ysufcJh&if? PLC topf
1vHk; vJvS,fwyfqifNyD;? Configuration vnf; jyefvkyf&ygw,f/ Program
vnf; jyefa&;xnfh&ygw,f/
(14) Modular PLC rSm txufyg (12) rSmvkd rSm;vkdY PLC ysufcJh&if Power Supply
Module aMumifhqkd&if? Power Supply Module topf 1ck vJvS,f wyfqifHkeJY
PLC ukd jyefoHk;vkdY &Ekdifygw,f/ Output wiring aMumifh PLC ysufwmjzpfcJh&if?
tJ'D Output module udk topf vJvS,fwyfqifHkeJY PLC ukd jyefoHk;vkdY
&ygw,f/ Configuration jyefvkyfzkdYrvkdygbl;/ Program jyefa&;zkdY rvdkygbl;/
Modular System u Module wpfckcsif;pDom ysufpD;avh &SdwJh twGuf
troubleshoot vkyf&wmvnf; vG,fulygw,f/ jyKjyif&wmvnf; jrefqefygw,f/
'gaMumifh Process Control awGrSm Modular PLC ukdom toHk;jyKMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
92
OD;pdk;wifh PLC vrf; nTef
Control panel xJ r S m PLC ud k wwfqifxm;yHk
The more you learn about PLCs, the more you will be able to solve other control problems.
93
OD;pdk;wifh PLC vrf; nTef
+
qufoG,f ay;vkdufvkdY negative switching vkdY ac:wm
jzpfygw,f/ Sensor = ON jzpf&if Lamp = ON jzpfygw,f/
Sensor
OUT Lamp = ON jzpfwJhtcg Lamp xJu current pD;xGuf vmNyD;
sensor &JU OUT terminal xJukd pD;0ifoGm;ygw,f/ Sensor [m
transistor output jzpfcJY&if NPN type transistor udk toHk;jyK
0V
xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
94
OD;pdk;wifh PLC vrf; nTef
OUT terminal uae vQyfppf current pD;xGufvmwJh sensor rsdK;ukd source output sensor
vkdY ac:ygw,f/
OUT terminal xJ u k d current pD ; 0if o G m ;wJ h sensor rsd K ;uk d sink output sensor vk d Y
ac:ygw,f/
Sensor activate jzpf w J Y tcsd e f r S m output transistor u ON jzpf c J Y & if ol Y u d k N.O vd k Y
ac:ygw,f/
Sensor activate jzpf w J Y tcsd e f r S m output transistor u OFF jzpf c J Y & if ol Y u d k N.C vd k Y
owfrSwfygw,f/
PLC eJY wGJzuftoHk;jyK&wJh discrete sensor awG[m transistor output trsdK;tpm;
jzpfcJh&if open collector output trsdK;tpm; jzpfMuygw,f/ PNP transistor ukd output
transistor tjzpfoHk;cJh&ifvnf; tJ'D transistor &JU collector ukd output terminal eJY qufoG,f
xm;ygw,f/
tay:yHkrSm PNP transistor ukd output transistor tjzpf toHk;jyKxm;wJh source output
sensor ukd azmfjyxm;wm jzpfygw,f/ PNP transistor xJ pD;qif;wJh dc current direction [m
emitter to collector jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
95
OD;pdk;wifh PLC vrf; nTef
NPN transistor ukd output transistor tjzpf toHk;jyKxm;&ifvnf; tJ'D transistor &JU
collector ukd output terminal eJY qufoG,fxm;ygw,f/
tay:yHkrSm NPN transistor ukd output transistor tjzpf toHk;jyKxm;wJh sink output
sensor ukd azmfjyxm;wm jzpfygw,f/ NPN transistor xJ pD;qif;wJh dc current direction [m
collector to emitter jzpfygw,f/
PLC eJY qufoG,fwJh Sensor wpfck[m PNP vm;? NPN vm;? qdkwmudk cGJjcm;odzdkY
vdktyfygw,f/ 'grSom b,f PLC udk? b,fvdk sensor rsdK;eJY? qufoG,f&r,f qdkwmudk
odEdkifygw,f/
Contact output sensor qkd&if dc current a&m ac current yg jzwfoef;pD;qif;vkdY
&ygw,f/ Contact output ukd voltage free contact (potential free contact) vkdY ac:ygw,f/
Oyrmjy&&if Electromagnetic Relay &JU output contact jzpfygw,f/
Contact qkd&if current direction 2rsdK;pvHk; jzwfoef;pD;qif;vkdY &ygw,f/ 'gaMumifh
contact output trsdK;tpm;ukd sink jzpfap? source jzpfap? BudKufovkd qufoG,fvkdY &ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
96
OD;pdk;wifh PLC vrf; nTef
yHkrSm
limit switch ukd sink output tjzpf qufoG,fxm;ygw,f/ Sink output sensor ukd
source input PLC eJY qufoG,f&ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
97
OD;pdk;wifh PLC vrf; nTef
yHkrSm limit switch ukd source output tjzpfqufoG,fxm;ygw,f/ Source output
sensor udk sink input PLC eJY qufoG,f&ygw,f/
Sink / Source eJY N.O / N.C udk qufpyfNyD;? aumif;aumif; em;vnfoabmaygufzdkY
vdktyfygw,f/ 'grSom PLC program udk zwfwJYtcg rSefrSefuefuef bmomjyefEdkifrSm jzpfyg
w,f/
Sensor &JU specification rSm wcgw&H sink / source eJY azmfjyNyD;? rsm;aomtm;jzifh
PNP/NPN tjzpfeJYom azmfjyavh&Sdygw,f/
PLC eJY qufoG,fzkdY sensor ukd a&G;cs,fwJhtcgrSmyJjzpfjzpf? vuf&Sd sensor eJY PLC ukd
qufoG,fwJhtcgrSmyJjzpfjzpf? sensor &JU output type ukd odatmif t&ifvkyf&rSm jzpfygw,f/
Sensor type ukd odNyD;awmhrS sink yHkpHeJY qufoG,f&rSmvm;? source yHkpHeJY qufoG,f&rSmvm;
qkdwmukd a&G;cs,f pDpOfEkdifrSmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
98
OD;pdk;wifh PLC vrf; nTef
yHkrSm azmfjyxm;wJh proximity sensor [m source output type jzpfwJhtwGuf PNP
transistor ukd output tjzpfoHk;xm; ygw,f/
yHkrSm azmfjyxm;wJh proximity sensor [m sink output type jzpfwJhtwGuf NPN
transistor ukd output tjzpfoHk;xm;wJh trsdK;tpm; jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
99
OD;pdk;wifh PLC vrf; nTef
PLC &JU input rSmyg&SdwJh COM (common) terminal ukd sensor power supply &JU
negative (-ve) eJY wkdufkdufqufoG,fxm;&if sink input PLC jzpfNyD; COM terminal ukd sensor
twGufay;wJh power supply &JU positive (+ve) eJY wkdufkduf qufoG,fxm;&if source input
PLC jzpfw,fvkdY rSwfom;xm;Ekdifygw,f/
Sink input qkdwm input terminal xJukd DC current pD;0ifwmukd ac:wmjzpfNyD;? source
input qkdwm input terminal xJu DC current pD;xGufwmukd ac:wmjzpfygw,f/
Sink output qkdwm output terminal xJukd DC current pD;0ifwmukd ac:wmjzpfNyD;?
source output qkdwm output terminal xJu DC current pD;xGufwmukd ac:wm jzpfygw,f/
yHkrSm Flame sensor A, B, C 3ck pvHk;ukd PLC eJY qufoG,fxm;wJY yHkpH[m sink input
PLC yHkpH jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
100
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
101
OD;pdk;wifh PLC vrf; nTef
tcef; (7) Fail-Safe taMumif;/
'Dtcef;ukd zwf&IavhvmNyD;oGm;wJhtcgrSm?
1/ Fail-safe &JU t"dyg,fu b,fvkd&Sdw,f?
2/ Alarm system udk fail-safe jzpfatmif b,fvkd design jyKvkyf&r,f?
3/ Control system udk fail-safe condition &&Sdatmif b,fvkd pOf;pm;aqmif&Guf&r,f?
4/ N.O/N.C udk Fail-safe jzpfatmif b,fvkd pOf;pm;a&G;cs,f&r,f? qdkwmawGukd
aumif;pGm em;vnf oabmayguf oGm;ygvdrfhr,f/
Machine control rSma&m? process control rSmyg? control system csdKU,Gif;rIqdkwm
jzpfwwfygw,f/ tJ'DvkdcsKdU,Gif;wmukd system fail jzpfw,fvkdY ac:ygw,f/
Fail-safe qkdwmu csdKU,Gif;rIwpHkw&mjzpfay:cJh&if vla&m? pufyg xdckdufepfemqHk;HI;rI
tenf;qHk;jzpfatmif vkyfaqmifay;wmukd ac:ygw,f/ tJ'Dvkd fail-safe jzpfatmif tum
tuG,fay;wJh tpDtrHukd fail-safe design vkdY ac:wmjzpfygw,f/
csdKU,Gif;rI failure jzpfEkdifwJh tajctaeoHk;rsdK; &Sdygw,f/
yxrwpfrsdK;u power supply failure jzpfygw,f/ Power fail vkdY ac:ygw,f/ 'kwd,
wpfrsdK;u signal failure jzpfygw,f/ Signal fail vkdY ac:ygw,f/ wwd, wpfrsdK;u
xdef;ausmif;wJhpepfcsdKU,Gif;rI control system failure jzpfygw,f/ System fail vkdY ac:ygw,f/
pufHk? tvkyfHkawGrSm 'Dvdk csdKU,Gif;rI failure awG jzpfay:vmcJh&if vla&m? pufyg?
rxdckdufrysufpD;ap&atmif pDrHaqmif&GufrIawGukd BudKwifpOf;pm;? pDpOfvkyfaqmif xm;Mu&
ygw,f/ vHk;0 rxdckdufatmif? rysufpD;atmif? rvkyfEkdifcJh&ifawmifrS? xdckdufepfemqHk;IH;rI?
tenf;qHk;jzpfatmif pDrHxm;Mu&ygw,f/
Fail safe design taMumif ; uk d process control Oyrmwpf c k e J Y &Sif;vif;azmfjyay;ygr,f/
a&uae a&aEG;aiGUjzpfatmif jyKvkyfay;wJh steam generating plant (boiler) wpfckrSm
boiler tkd; steam drum xJukd a&jznfhoGif;wJh ykdufvkdif;rSm a&oGif;Am; control valve wyfqif
xm;ygw,f/ tJ'D valve udk boiler feed water control valve vkdY ac:ygw,f/ Boiler water
level udk automatic level controller eJY control vkyfxm;ygw,f/
owfrSwfxm;wJh water level rSm a&tNrJ&Sdaeatmif? vkdtyfwJh setpoint xuf avsmhenf;
oGm;&if? a&ukdykdjznfhay;NyD;? vkdtyfwJh setpoint xufykdrsm;vm&if a&jznfhoGif;wmukd avQmhay;
&ygw,f/ Control valve ukd enf;enf;zGifh? rsm;rsm;zGifhvkdY? ckdif;wJh signal ukd controller u
xkwfvTwf ay;ygw,f/ Control valve wkdif;rSm signal r&&if (signal fail jzpfcJh&if) open jzpf
oGm;wJh valve trsdK;tpm; eJY? signal r&&if close jzpfoGm;wJh valve trsdK;tpm;? qkdNyD; ESpfrsdK;
ESpfpm; &Sdygw,f/
Signal r&&if yGifhaewJh valve trsdK;tpm;ukd F.O (Failure Open) trsdK;tpm;vkdY ac:yg
w,f/ Signal r&Sd&if valve [myGifhaeNyD;? signal ay;rS valve ydwfoGm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
102
OD;pdk;wifh PLC vrf; nTef
Signal r&&if ydwfaewJh valve trsdK;tpm;ukd F.C (Failure Closed) vkdY ac:NyD;? signal
r&Sd&if valve [m ydwfaeygw,f/ Signal ay;rS valve yGifhoGm;ygw,f/
Fail-safe jzpfatmifvkdY boiler feed water control valve ukd F.O (Failure Open) trsdK;
tpm; valve ukdyJ oHk;Mu&ygw,f/ 'grSom control signal jywfawmufoGm;cJh&if (control valve
qDukd signal ay;ykdYwJh line csdKU,Gif;oGm;cJh&if) valve [m fully open jzpfoGm;rSmjzpfygw,f/
Boiler rSm a&awGjynhfNyD; vQHusoGm;&ifvnf; steam qufrxkwfEkdifawmhwJhtwGuf
xdckdufepfemrI jzpfrSmygyJ/ 'gayr,fh boiler rSm a&vHk;0cef;ajcmufoGm;vkdY jzpfay:vmr,fh
xdckdufepfem qHk;IH;rIu ykdNyD;awmh BuD;rm;ygw,f/ Boiler a&cef;vkdY boiler tube awG
uGJcJhMu&ygw,f/ 'gaMumifh fail-safe jzpfzkdY boiler feed water control valve ukd signal-to-close
(Failure Open) F.O trsdK;tpm;ukd a&G;cs,fwyfqif toHk;jyKMu&ygw,f/
Industrial alarm system awGtm;vHk;ukd fail-safe jzpfatmif pDrHxm;Muygw,f/ Power
supply rjywfawmuf&atmifvkdY UPS (Un-interruptable Power Supply) ukd toHk;jyKMu&yg
w,f/ tE&m,fBuD;rm;wJh pufHkawGrSmqkd&if UPS ESpfvHk;ukd hot stand-by pepfeJY wyfqif
xm;Muygw,f/ tJ'gukd redundancy vkdY ac:ygw,f/ UPS ESpfxyfuGrf; wyfqif xm;wm
jzpfygw,f/ Hk;oHk; computer eJY tdrfoHk; computer awGrSm wyfqif toHk;jyKavh&SdwJh UPS
pepfu Off-line UPS pepfjzpfygw,f/ Computer ukd ay;ykdYxm;wJh vQyfppf"gwftm; jywf
awmuf oGm;rS UPS u tpm;0ifa&mufNyD; power ay;wJh tvkyfukd vkyfwm jzpfygw,f/
pufHkawGrSm oHk;wJh UPS u Online UPS pepfjzpfygw,f/ UPS uae xkwfay;wJh power
supply udk control system rSm tNrJwrf;oHk;xm;wm jzpfygw,f/ vQyfppf"gwftm; jywfawmuf
oGm;rS UPS u power ukd ,loHk;wmr[kwfygbl;/ UPS rSmyg&SdwJh battery uae xkwfvkyfwJh
AC power udk tNrJoHk;aewm jzpfygw,f/ vQyfppf"gwftm;&&SdaewJhtcgrSm UPS &JU battery
ukd charge tNrJvkyfaeygw,f/ tJ'D battery u xkwfvkyfay;wJh AC power supply ukd control
system, eJY alarm system awGu tNrJ&,loHk;pGJaeMuwm jzpfygw,f/
Fail-safe alarm system wckukd Oyrmtjzpfjy&&if?
tylcsdefvGefuJvm&if toHjrnfNyD;? tcsufjyrD; vif;wJh Temperature High Alarm wckukd
pOf;pm;MunhfMu&atmif/
owfrSwfay;xm;wJhtylcsdefxuf ausmfvGefNyDjzpfaMumif;ukd temperature sensor for high
(TSH) u apmifhMunhfNyD; alarm system udk owif;ykdY&rSm jzpfygw,f/
Sensor uae alarm system ukd vQyfppftcsufjy signal eJY owif;ykdYwJhtcgrSm
enf;ESpfenf; eJY owif;ykdYvkdY&ygw,f/ wpfenf;u vQyfppfpD;aMumif;jzpfay:apwJh closed
contact (ON signal) eJY owif;ykdYwmjzpfygw,f/ aemufwpfenf;uawmh vQyfppfpD;aMumif;
jywfawmufapwJh open contact (OFF signal) eJY owif;ydkYwmjzpfygw,f/
Temperature Switch for High (TSH) u xkwfvTwfay;wJh alarm signal ukd &&SdwJh tcgrSm
alarm system u toHjrnfNyD; oufqkdif&m tcsufjyrD;jzpfwJh TSH qkdwJh annunciator lamp
rD;vif;&rSm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
103
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
104
OD;pdk;wifh PLC vrf; nTef
PLC program a&;wJh tcgrSmvnf; PLC &JU input device awGjzpfwJh sensor awGrSm N.O
output xkwfay;wJh sensor &,f? N.C output xkwfay;wJh sensor &,f? qkdNyD; ESpfrsdK;ESpfpm;? &Sdyg
w,f/ tJ'D sensor &JU N.O/N.C udk fail-safe jzpfatmifpOf;pm;NyD;? a&G;cs,f toHk;jyK&ygw,f/
N.O ukdoHk;rvm;? N.C ukdoHk;rvm;qkdwmukd t&ifOD;qHk;? pOf;pm;a&G;cs,fNyD;rS PLC program
ukd a&;&ygw,f/ N.O udk Form A contact, N.C udk Form B contact vdkYvnf; ac:Muygw,f/
OyrmtaeeJY ajym&&if? three phase motor control ukd PLC eJY aqmif&Gufapr,f qkd&if?
Start P.B ukd (N.O) oHk;NyD;? Stop P.B ukd (N.C) oHk;&ygw,f/ Motor ukd &yfcsifwJh tcgrSm
&yfvdkYr&wmu ab;tE&m,fykdBuD;w,fvkdY owfrSwfMuygw,f/ Motor ukd vnfcsifwJh tcg
rSm vnfvkdYr&wmeJY EIdif;pm&if motor ukd &yfcsifwJhtcgrSm &yfvdkYr&wmu ykdNyD;xdckduf epfem
qHk;IH;rIBuD;rm;w,fvkdY owfrSwfygw,f/
PLC &JU input point wpfck ukd Start P.B (N.O) eJY qufoG,fNyD;? Input point aemuf wck
rSm Stop P.B (N.C) ukd qufoG,f&ygw,f/ Motor vnfywfaewJh tcsdefrSm taMumif;
wpHkw&m aMumifh Stop P.B uvmwJh wire jywfawmufoGm;cJh&if Motor &yfoGm;ygvdrhfr,f/
tJ'Dvdk jzpfrS fail-safe jzpfygw,f/ tJ'Dvkd fail-safe jzpfatmif Stop P.B ukd N.C tjzpf
a&G;cs,f toHk;jyKcJhwm jzpfygw,f/
Fail-safe start/stop PLC program ukd 'Dpmtkyf&JU pmrsufESm (175) rSm Munhfyg/
N.O eJY N.C ukd Normally Open eJY Normally Closed vkdY ac:Muygw,f/ Oyrm?
electromagnetic relay wpfvHk;rSm N.O contact eJY N.C contact awG yg&SdMuygw,f/
Relay &JU N.O contact u relay ukd power ray;xm;&if open jzpfaewJh contact jzpfyg
w,f/
Relay &JU N.C contact uvnf; Relay ukd power ay;rxm;&if closed jzpfaewJh contact
jzpfygw,f/ 'gaMumifh t"dyg,fay:vGifatmif 'DvkdrSwfom;oifhygw,f/
N.O ukd No-energy Open, N.C ukd No-energy Closed vdkY rSwf&if ydkaumif;ygw,f/
N.O ukd Non-activate Open, N.C ukd Non-activate Closed vkdY rSwfxm;&ifvnf;
t"dyg,fay:vGifygw,f/
Normal qkdwJhpum;vHk;u t"dyg,f a&maxG;apEkdifygw,f/ ac:aeusjzpfvkdY N.O ukd
Normally Open, N.C udk Normally Closed vkdY ac:wmuawmh ac:&ajym&rSmjzpfayr,fh
b,fvkdtcgrSm Open jzpfwmvJ? b,fvkdtcgrSm Close jzpfwmvJ? qkdwmukd tvG,fwul
od&Sd rSwfrdzkdYtwGuf N.O ukd r&Sd&if Open, N.C ukd r&Sd&if Closed vkdY em;vnf&rSm jzpfyg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
105
OD;pdk;wifh PLC vrf; nTef
Oyrm? level alarm system wpfck rSm normal level qkdwmu yHkrSef&Sdae&r,fY level
jzpfygw,f/ High level qkdwmu tJ'D level ukd a&mufvm&if High Alarm jrnf&rSm jzpfyg
w,f/ Low level qkdwmu tJ'D level txd usqif;oGm;&if Low Alarm jrnf&rSm jzpfyg
w,f/ 'D level alarm system ukd design vkyfwJhtcg fail-safe jzpfatmif yxrpOf;pm;NyD;
level sensor awGukd N.O oHk;&rSmvm;? N.C oHk;&rSmvm;? qkdwmukd OD;pGm qHk;jzwf&ygw,f/
Fail-safe jzpfatmif tck pOf;pm;Munhf&atmif/ Low level sensor udk N.O oHk;&rvm;?
N.C oHk;&rvm;? b,fvkdqHk;jzwfrvJ/
Fail-safe jzpfatmif wnfaqmufr,fqkd&if alarm system [m open-to-alarm type
jzpf&ygr,f/ 'Dawmh level low jzpfcJh&if level sensor u OFF signal (open contact)
xkwfay;&rSm jzpfygw,f/ Level low qkdwmu avsmhenf;wm? &Sdoifhoavmufr&Sdwm ukd
ajymwm jzpfvkdYrkdY? r&Sd&if open jzpfwJh N.O ukd a&G;cs,f&rSmjzpfygw,f/
Normal level qkdwmu low level xufrsm;ygw,f? high level xufeJygw,f/
High level sensor ukd N.O oHk;&rvm;? N.C oHk;&rvm;qkdwm tck pOf;pm;Munhf&atmif/
Level high jzpf&if high alarm jrnfcsifwm jzpfygw,f/ Fail-safe jzpfatmifvdkY tckoHk;aewJh
alarm system u open-to-alarm jzpf&ygr,f/ 'gaMumifh level high jzpf&if high level sensor u
OFF signal (open contact) xkwfay;&rSmjzpfygw,f/
High level qkdwm normal level xuf rsm;wm jzpfNyD;? high level sensor txd level u
a&muf&Sdvmwm jzpfwJhtwGuf level &SdwmjzpfvkdY level high jzpf&if open jzpf&ygr,f/ Level
&Sd&if open qkdawmh? Level r&Sd&if close jzpfygw,f/ 'gaMumifh high level sensor twGuf
N.C ukd a&G;cs,f&rSm jzpfygw,f/
Normal level condition rSm level [m low vnf;rjzpf? high vnf;rjzpfwJhtwGuf low
level sensor u ON signal (closed contact) xkwfay;aeygw,f/ High level sensor uvnf;
ON signal (closed contact) xkwfay;aeygw,f/ Alarm system uvnf; OFF signal &rS
jrnf&wJh trsdK;tpm;jzpfaevkdY normal level rSm bm alarm rS rjrnfygbl;/
PLC &J U input
rSm qufoG,f&wJh discrete sensor awGukd a&G;cs,fwyfqifwJhtcg
N.O/N.C ud k Fail-safe eJ Y pOf ; pm;&ygw,f /
PNP/NPN uk d a wmh PLC &J U input [m sink vm;? source vm;? qk d w meJ Y pOf ; pm; a&G ; cs,f
&ygw,f/
Sink/Source taMumif;ukd pmrsufESm (94) rSm azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
106
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
107
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
108
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
109
OD;pdk;wifh PLC vrf; nTef
base
1000 100 10 1 weighted values of the position
4 6 2 9
base
8 4 2 1 weighted values of the position
1 0 1 1
= (8 1) + (4 0) + (2 1) + ( 1 1)
= 8 + 0 + 2 + 1 = 11 10
jzpfygw,f/ 'gaMumifh 1011 2 [m 11 10 eJY wefzkd;csif;wlnDygw,f/
1011 2 vkdY a&;xm;&if 1011 udk binary number eJY a&;xm;wmjzpfwJh taMumif;ukd
azmfjywJhtaeeJY nmtpGefrSm&SdwJh 1 &JU atmufrSm 2 ukd qGJxm;wmjzpfygw,f/ 11 10 vkYd
a&;xm;wmu 11 ukd decimal number eJY a&;xm;wmjzpfw,fvkdY ajymcsifvkdY nmtpGef rSm
&SdwJh 1 &JU atmufrSm 10 ukd qGJxm;wm jzpfygw,f/ 'D OyrmrSm ygwJh 1011 2 ukd Munhfr,f
qkd&if *Pef;av;vHk; 4 digits ukd toHk;jyKNyD; a&;om;xm;wmukd awGU&ygw,f/
1011 2 udk memory rSm a&;rSwfxm;csif&if 4 bits ukd toHk;jyK&rSm jzpfygw,f/ Bit
ae&m 4 ck udk ,loHk;&rSmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
110
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
111
OD;pdk;wifh PLC vrf; nTef
Double word ukdoHk;NyD; a&;rSwfr,f qkd&if LSB u b0 jzpfNyD; MSB u b31 jzpfyg
w,f/
Byte eJY a&;rSwf&if 8 bits ukd 4 bits pD tkyfpk 2 pk cGJNyD; nmbufu 4 bits tkyfpk ukd
Lower Nibble vkdY ac:ygw,f/ b,fbufu 4 bits &SdwJhtkyfpkukd Upper Nibble vkdY ac:yg
w,f/ Word eJY a&;rSwfcJh&if 16 bits ukd 8 bits pD tkyfpk 2 pk cGJNyD; nmbufu 8 bits
&SdwJhtkyfpkukd lower byte, b,fbufu 8 bits &SdwJhtkyfpkukd upper byte vkdY ac:ygw,f/
Double word ukd Dword vkdYvnf; ac:ygw,f/ Dword eJY a&;cJh&if b,fbufu 16 bits ukd
upper word, nmbufu 16 bits ukd lower word vkdY ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
112
OD;pdk;wifh PLC vrf; nTef
(3) Octal Number System (&S p f v D pepf jzifha&wGufjcif;)
0, 1, 2, 3, 4, 5, 6, 7 *Pef; &SpfvHk;udkom toHk;jyKvkdY Octal vkdYac:wmjzpfygw,f/
8 digits om&SdwJhtwGuf base 8 jzpfygw,f/
Octal pepfrSm 8 *Pef; eJY 9 *Pef; ukd vHk;0 roHk;ygbl;/
Oyrm? octal number eJY a&;xm;wJh 137 8 udk decimal number eJY a&;xm;wJh 137 10 eJY
EdIif;,SOf jyygr,f/ a&wGufyHka&wGufenf; rwlwJhtwGuf 1378 ukd wefbkd;nD decimal number
ajymif;&ygw,f/ vlu decimal udk uRrf;usifNyD;om;jzpfvkdY decimal ukd ajymif;NyD; a&;Munfh
wm jzpfygw,f/
137 8 ukd yHkpHcsNyD;a&;Munhf&if atmufygtwkdif;awGU&ygr,f/
power
2 1 0
8 8 8
base
64 8 1
1 3 7 = (64 1) + (8 3) + (1 7) = 64 + 24 + 7 = 95 10
&JU wefbkd;nD decimal number [m 95 10 jzpfygw,f/ 137 10 eJY wefbkd;csif;
137 8
rwlnDwmukd awGU&ygw,f/
137 8 ukd wefbkd;wl binary number &csif&if atmufygtwkdif; a&;&ygw,f/
1 3 78
421 421 421
001 0 1 1 1 1 1 = Binary Number 1011111 2
Octal number system rSm tBuD;qHk;*Pef;u 7 jzpfygw,f/ 7 ukd binary eJY a&;r,f
qkd&if 3 digits &Sd&if a&;vkdY&ygw,f/ 'gaMumifh octal rSmyg&SdwJh *Pef;wpfvHk;pDukd 3 digits
binary eJYajymif;a&;&wmjzpfygw,f/
tJ'D 1011111 2 udk decimal number ajymif;vkduf&if
26 25 24 23 22 21 20
64 32 16 8 4 2 1 placement values
1 0 1 1 1 1 1 = 64 + 0 + 16 + 8 + 4 + 2 + 1 = 95 10
95 10&ygw,f/
137 8 &JU decimal number uvnf; 95 10 yJjzpfygw,f/ 'gaMumifh 137 8 eJY 1011111 2
wkdY[m wefbkd;csif; wlnDMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
113
OD;pdk;wifh PLC vrf; nTef
Memory rSm 1011111 2 ukd a&;rSwfr,fqkd&if Byte Format eJYvnf; a&;vkdY&ygw,f/
Word Format eJYvnf; a&;vkdY&ygw,f/ Byte Format eJY a&;r,fqkd&if 0101 1111 2 jzpfyg
w,ff/ Word Format eJY a&;r,fqkd&if 0000 0000 0101 1111 2 jzpfygw,ff/
'gayr,fh? Octal number udk 3 digits eJY a&;r,fqdk&if? a&;vkdY&wJh tBuD;qHk;udef;u
777 8 jzpfygw,f/ 777 8 ukd binary ajymif;vkduf&if 111 111 111 2 &ygw,f/ tJ'gukdawmh
Byte Format eJY a&;vkdY rqHYawmhygbl;/ 9 digits jzpfaevkdY jzpfygw,f/ Word Format eJY
a&;rSom a&;vkdY&yg w,f/ 777 8 (111111111 2 ) ukd Word Format eJY a&;&if 0000 0001 1111
1111 2 jzpfygw,f/ 777 8 ukd memory xJrSmodrf;csif&if word eJY odrf;&ygw,f/
tckqkd&if numbering system xJu oHk;rsdK;udk tquftpyfeJYwuG ykdif;jcm;NyD; &Sif;jy
vkdY NyD;ygNyD/
'Dtxdudk em;vnfoabmaygufrS a&SUqufzwfoifh ygw,f/ pdwfxJrSmr&Sif;wm &Sdaeao;
&if decimal number system u pNyD; jyefzwfzkdY wkdufwGef;ygw,f/ tckqufvuf &Sif;jyr,fh
yHkpHu 'DtxdzwfINyD;vkdY aumif;aumif;em;vnf oabmaygufxm;NyD; jzpfwJholawG twGuf
&nf&G,f ygw,f/
(4) Hexadecimal Number System (q,f h a jcmuf v D p epf jzifha&wGufjcif;)
qkdwJh *Pef; 16 vHk;ukd toHk;jyKNyD;
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
a&wGufwJhocsFmpepf jzpfygw,f/ vlawGowfrSwfNyD; oHk;pGJaewJh*Pef;u 0 to 9 txd
q,fvHk;yJ &Sdygw,f/ usef*Pef; ajcmufvHk;twGuf A to F t*Fvdyftu&majcmufvHk;udk
*Pef;tjzpf owfrSwfoHk;pGJxm;wm jzpfygw,f/
Hexadecimal system rSm A ukd awGU&if 10 wpfq,f vkdY odrSwf&rSm jzpfygw,f/ B
ukd awGU&if 11 wpfq,hfwpf? C ukd awGU&if 12 wpfq,fhESpf? D ukd jrif&if 13 wpfq,fhoHk;
pojzifh odae&rSmjzpfygw,f/ *Pef; q,hfajcmufvHk;ukd toHk;jyKNyD; a&wGufwmjzpfvkdY
hexadecimal vkdY ac:wmjzpfygw,f/ Base 16 jzpfygw,f/ ae&mtvdkufwefbkd;u 16 q
pDuGmjcm;ygw,f/
Oyrm? 2AF 16 vkdY Hexadecimal eJY a&;xm;cJh&if olU&JUwefbkd;nD decimal number u
atmufrSm azmfjyxm;wJYtwkdif; 687 10 jzpfygw,f/
power
16 161 160
base
256 16 1 placement values
2 A F
= (256 2) + (16 A) + (1 F)
= (256 2) + (16 10) + (115)
= 512 + 160 + 15 = 687 10 jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
114
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
115
OD;pdk;wifh PLC vrf; nTef
= 0 + 256 + 0 + 64 + 0 + 0 + 0 + 4 + 2 + 0 = 326 10
326 10 ukd BCD ajymif;a&;&if 1100100110 BCD &ygw,f/
326 10 udk Binary ajymif;a&;&if 101000110 2 &ygw,f/
BCD eJY Binary rwlwmukd odapcsifvkdY a&;jywm jzpfygw,f/ 0 eJY 1 (2 digits) ukdom
toHk;jyKNyD; a&;om;Muwm jzpfayr,hf ae&mtvkduf wefzkd;owfrSwfyHkcsif; rwlnDMuwmukd
*kjyKrdapcsifygw,f/
BCD eJY a&;rSwf xm;wJh 0011 0010 0110 [m decimal number 326 10 ukd ukd,fpm;jyK
ygw,f/
Binary eJY a&; xm;wJh 0011 0010 0110 [m decimal number 806 10 ukd ukd,fpm;jyK
wm jzpfygw,f/
BCD eJY a&;wJh 0011 0010 0110 &JU ae&mtvdkufwefzkd;u
8421 8421 8421
0011 0010 0110 = 326 10 jzpfygw,f/
0 0 1 1 0 0 1 0 0 1 1 0 = 806 10 jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
116
OD;pdk;wifh PLC vrf; nTef
BCD
Decimal Octal Hexadecimal Binary
Binary Coded Hexadecimal
0 0 0 0 0
1 1 1 1 1
2 2 2 10 10
3 3 3 11 11
4 4 4 100 100
5 5 5 101 101
6 6 6 110 110
7 7 7 111 111
8 10 8 1000 1000
9 11 9 1001 1001
10 12 A 1 0000 1010
11 13 B 1 0001 1011
12 14 C 1 0010 1100
13 15 D 1 0011 1101
14 16 E 1 0100 1110
15 17 F 1 0101 1111
16 20 10 1 0110 1 0000
17 21 11 1 0111 1 0001
18 22 12 1 1000 1 0010
19 23 13 1 1001 1 0011
20 24 14 10 0000 1 0100
21 25 15 10 0001 1 0101
22 26 16 10 0110 1 0111
- - - -
- - - &m? q,f? ck? -
100 0001 0000 0000
The more you learn about PLCs, the more you will be able to solve other control problems.
117
OD;pdk;wifh PLC vrf; nTef
Logic AND
'D electrical circuit rSm Lamp = ON jzpfzdkY
+24V 0V
Sw 1 Sw 2 Lamp twGuf Sw 1 a&m Sw 2 yg ON jzpf&ygr,f/
tJ'D oabmt"dyg,fudk Boolean equation eJU
a&;r,f qdk&if Lamp = (Sw 1) AND (Sw 2)
vdkY a&;&ygw,f/
'Doabm t"dyg,fudkyJ Graphical symbol eJU azmfjyr,fqdk&if atmufygtwdkif;
azmfjyavh &Sdygw,f/
Sw 1 Sw 1
Lamp AND Lamp
Sw 2 Sw 2
The more you learn about PLCs, the more you will be able to solve other control problems.
118
OD;pdk;wifh PLC vrf; nTef
'gudk ON/OFF tpm; 0/1 eJU azmfjyr,f qdk&if 0 [m OFF jzpfaew,fqdkwmudk azmfjyyg
w,f/ 1 [m ON jzpfaew,fqdkwmudk azmfTef; 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
+24V 0V wpfck ON jzpfHk eJU Lamp = ON jzpfygw,f/
Sw 1 Lamp
'D oabmt"dyg,f udk Boolean equation
Sw 2 eJU a&;r,fqdk&if Lamp = (Sw 1) OR (Sw 2)
vdkY a&;&ygw,f/
Graphical symbol eJU azmfjyr,f qdk&if atmufygyHktwdkif; jzpfygw,f/
Sw 1 Sw 1
Lamp OR Lamp
Sw 1 Sw 2
The more you learn about PLCs, the more you will be able to solve other control problems.
119
OD;pdk;wifh PLC vrf; nTef
Logic XOR
XOR qdkwm Exclusive OR (oD;oefY OR ) jzpfygw,f/
Boolean equation: Lamp = (Sw 1) XOR (Sw 2)
The more you learn about PLCs, the more you will be able to solve other control problems.
120
OD;pdk;wifh PLC vrf; nTef
+24V 0V yHkrSm XOR function &atmif qufoG,f
Sw 1 Relay R1 xm;wJh Relay Circuit &,f? 2-input XOR &JU
R Logic Gate symbol eJY Truth table awGukd
MunhfI avhvmNyD;? XOR &JU function ukd
Sw 2 Relay R2 em;vnf Muygvdrfhr,f/
R
Graphical symbol u
R1 R2 Lamp
Sw 1
Lamp
Sw 2
R1 R2
Logic NOT
'D electrical circuit rSm Sw1 OFF
+24V 0V
jzpf&if Relay R u de-energize jzpfaeNyD;
Sw 1 Relay
relay &JU N.C contact u close jzpf aevdkU
R
Lamp = ON jzpfaeygw,f/ Sw 1 ON
The more you learn about PLCs, the more you will be able to solve other control problems.
121
OD;pdk;wifh PLC vrf; nTef
Bubble
Bubble u NOT qdkwJht"dyg,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/
The more you learn about PLCs, the more you will be able to solve other control problems.
122
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
123
OD;pdk;wifh PLC vrf; nTef
tcef; (10) PLC Program Overview
The more you learn about PLCs, the more you will be able to solve other control problems.
124
OD;pdk;wifh PLC vrf; nTef
PLC program a&;enf;ukd pmtkyfzwfHkeJY 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;oyfMunhfI&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;wJh 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 vkdufHkom
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 zwfINyD;
em;vnf Ekdifygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
125
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
126
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
127
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
128
OD;pdk;wifh PLC vrf; nTef
Code qkdwm t"dyg,fowfrSwfcsuf jzpfygw,f/ kyfyHkawG? tu&mpmvHk;awGeJY
t"dyg,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.
The more you learn about PLCs, the more you will be able to solve other control problems.
129
OD;pdk;wifh PLC vrf; nTef
X0
vkdY a&;xm;&if b,ftpGefrSm&SdwJh axmifvkdufrsOf; vertical line
( Y0 )
u instruction pwifa&;&r,fh ae&mvkdY rSwfxm;yg/
X0
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/
( Y0 ) qkdwm uawmh output Y0 ukd ON vkdufygvkdY ckdif;wJh instruction &JU code
jzpfygw,f/
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/
The more you learn about PLCs, the more you will be able to solve other control problems.
130
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
131
OD;pdk;wifh PLC vrf; nTef
Figure 2a
3. Double click on setup.exe
The more you learn about PLCs, the more you will be able to solve other control problems.
132
OD;pdk;wifh PLC vrf; nTef
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
The more you learn about PLCs, the more you will be able to solve other control problems.
133
OD;pdk;wifh PLC vrf; nTef
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/
The more you learn about PLCs, the more you will be able to solve other control problems.
134
OD;pdk;wifh PLC vrf; nTef
Figure 9a Click on [Next]
Figure 10a Click on [Next]
The more you learn about PLCs, the more you will be able to solve other control problems.
135
OD;pdk;wifh PLC vrf; nTef
Figure 11a Click on [Install]
Figure 12a
The more you learn about PLCs, the more you will be able to solve other control problems.
136
OD;pdk;wifh PLC vrf; nTef
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]
The more you learn about PLCs, the more you will be able to solve other control problems.
137
OD;pdk;wifh PLC vrf; nTef
Figure 15a
2. Delta WPLSoft vkdY a&;xm;wJh Software ay:vmwJhtcg File ukd click vkyfyg/
Figure 16a
The more you learn about PLCs, the more you will be able to solve other control problems.
138
OD;pdk;wifh PLC vrf; nTef
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
The more you learn about PLCs, the more you will be able to solve other control problems.
139
OD;pdk;wifh PLC vrf; nTef
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]
The more you learn about PLCs, the more you will be able to solve other control problems.
140
OD;pdk;wifh PLC vrf; nTef
5. Ladder Diagram Mode Screen tao;ukd tBuD;csJUzkdY Maximize udk click vkyfyg/
Figure 22a Click on [Maximize]
Figure 23a
The more you learn about PLCs, the more you will be able to solve other control problems.
141
OD;pdk;wifh PLC vrf; nTef
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/
The more you learn about PLCs, the more you will be able to solve other control problems.
142
OD;pdk;wifh PLC vrf; nTef
Figure 26a
8. <F7> ukdESdyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
143
OD;pdk;wifh PLC vrf; nTef
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 rS m built-in simulator yg&S d y gw,f /
wpfck a&;NyD;NyDqkd&if compile ukd t&ifvkyf&ygw,f/ vkyf&wJh taMumif;
Program
&if;u rdrda&;xm;wJh LD program [m PLC u em;vnfvufcHEkdifwJh code awGeJY rSefrSef
uefuefa&;xm;wm [kwfyg&Jhvm;qkdwmukd programming software ukd ppfaq;ckdif;wm jzpfyg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
144
OD;pdk;wifh PLC vrf; nTef
Figure 30a Click on [Compiler] [Ladder => Instruction] on the Menu Bar
Figure 31a Click on [OK]
The more you learn about PLCs, the more you will be able to solve other control problems.
145
OD;pdk;wifh PLC vrf; nTef
3. Simulator ukd ESdyfyg/ 'DtcgrSm yHk Fig. 33a rSmjyxm;wJhtwkdif; ay:vm&if Unblock
(Allow) ukd ESdyfyg/
Figure 35a Click on [Yes] button
Figure 36a
Virtual PLC udk RUN zkdYtwGuf Tool Bar ay:u Run ukdESdyfyg/
Figure 39a Click on [Yes] button
The more you learn about PLCs, the more you will be able to solve other control problems.
147
OD;pdk;wifh PLC vrf; nTef
X0 ukd ON MunhfzdkYtwGuf X0 ay:rSm Cursor csyg/ Right click ESdyfNyD; Set On vkyfyg/
Figure 42a
The more you learn about PLCs, the more you will be able to solve other control problems.
148
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
149
OD;pdk;wifh PLC vrf; nTef
X0
( Y10 ) vkdY a&;NyD;&if Compiler Ladder => Instruction
The more you learn about PLCs, the more you will be able to solve other control problems.
150
OD;pdk;wifh PLC vrf; nTef
Time Chart
tckjyxm;wJh Time Chart &JUt"dyg,fu
X0 = OFF jzpfcJh&if Y10 [m ON jzpfaeNyD;?
X0 = ON jzpfcJh&if Y10 [m OFF jzpfaewmukd azmfjywm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
151
OD;pdk;wifh PLC vrf; nTef
tck a&;xm;wJh program ukd PLC xJa&;xnfhwm download vkyfrvm;vkdY ar;wm jzpfyg
w,f/ Simulator ukd ON xm;NyD;rS Online Mode ukd ESdyf&rSm jzpfygw,f/
'DtcsdefrSm computer eJY bm PLC eJYrS wu,fqufoG,frxm;ygbl;/ Simulator software
xJrSm&SdwJh PLC vkdvkyfaqmifwJh Virtual PLC xJukd download vkyfrvm;vkdY ar;wm jzpfyg
w,f/
PLC ukd t&if RUN xm;NyD;rS Online Mode udk ESdyfyg/ Download vkyfrSmvm;vkdY ar;wJh
tcg YES ukd ESdyfvkduf&if aemufxyf Warning box 1ck xyfay:vmygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
152
OD;pdk;wifh PLC vrf; nTef
PLC ukd RUN aewHk; download vkyfcGifhr&Sdbl;vkdY ajymwmjzpfygw,f/ PLC xJukd program
a&;xnhfwJhtcg PLC xJrSm&SdNyD;om; program ukd tukefzsufNyD;rS program topfudk a&;wm
jzpfvkdY qufvkyfrSmvm;vkdY ar;wmjzpfygw,f/
qufvkyfr,fqkdNyD; Yes ukd ESdyfvkdufwJhtcg PLC udk t&if STOP vkyfygw,f/ NyD;rS
zsufwm delete udk vkyfygw,f/ NyD;rS program topfa&;ygw,f/
Yes ukd xyfESdyfvkduf&if atmufyHkrSm jyxm;wJh Write to PLC qkdwJh tjyma&mif wHk;
uav;awG zsyfceJay:vmNyD; virtual PLC xJrSma&;NyD;om; jzpfoGm;ygw,f/
PLC ukd jyef RUN rSmvm;vkdY ar;wmjzpfygw,f/ 'DtcgrSm Yes ukd ESdyfvkduf&if
Monitor Screen &JU atmufajctv,favmufrSm RUN qkdwJhpmukd tpdrf;a&mifeJYawGU&rSm
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
153
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
154
OD;pdk;wifh PLC vrf; nTef
Example program: 2 ukd Keyboard Shortcut awGoHk;NyD; a&;wJhenf;udk atmufrSmazmfjy
xm;ygw,f/
X0
a&;&r,fh program u ( Y0 ) jzpfygw,f/
WPLSoft ukd zGifhyg/ Menu Bar ay:rSm&SdwJh File New SS2 OK ukd
ESdyfNyD;wJhtcg Maximize ESdyfNyD; Screen ukd csJUyg/ Cursor ukd tpjyK&r,fhae&m initial point
rSm ae&mcsyg/
NyD;&if keyboard ay:u Enter ukd ESdyfyg/ ay:vmwJh box xJrSm LD vkdY kdufNyD; Space
bar ukd 1csuf ESdyfyg? X0 vkdY qufdkufNyD; Enter ukd ESdyfyg/ (O tkd eJY 0 oHknukd rrSm;ygapeJY)
Enter ukd xyfESdyfyg/ ay:vmwJh box xJrSm out vkdY dkufxnfhNyD; <space> ESdyf? Y0 vkdY dkufNyD;?
<Enter> ESdyfvkduf&if atmufyHkrSm jyxm;wJhtwkdif; ay:vmygw,f/
Compile vkyfzkdYtwGuf <Ctrl> eJU <F9> ukd wGJESdyfyg/ NyD;&if <Enter> ukd 1csuf ESdyfyg/
atmufyHkrSm jyxm;wJhtwkdif; END ay:vmygw,f/
NyD;&if Tool Bar ay:u Simulator icon udk ESdyfyg/ Task Bar rSm Simulator qkdwJh pm
ay:vmygvdrfhr,f/ NyD;&if virtual PLC xJ a&;xnfhzkdYtwGuf <Ctrl> eJY <T> ukd wGJESdyfyg/
<Enter> ukd 1csuf ESdyfyg/
Online Mode vkyfzkdYtwGuf <Ctrl> &,f? <Alt> &,f? <O> &,f? ukd wGJESdyfyg/ NyD;&if
virtual PLC ukd RUN zkdYtwGuf <Ctrl> eJY <F8> udk wGJESdyfyg/
Task Bar ay:rSm RUN qkdwJh tpdrf;a&mifpmwrf; ay:vmNyD; X0 [m Highlight jzpfaeyg
vdrhfr,f/ Y0 vnf; Highlight jzpfaeygvdrfhr,f/ t"dyg,fu X 0 [m X0 = OFF jzpfae
vkdY True jzpfwJhtwGuf Y0 [m ON jzpfaew,f vkdY azmfjywmjzpfygw,f/
X0 ay: Cursor csNyD;? right click ESdyf? Set On vkyfyg/ 'DtcgrSm X0 [m Highlight aysmuf
X0
oGm;NyD; Y0 vnf; Highlight aysmufoGm;ygw,f/ t"dyg,fu [m X0 = ON jzpfoGm;
The more you learn about PLCs, the more you will be able to solve other control problems.
155
OD;pdk;wifh PLC vrf; nTef
'Dtxd zwfvkdY em;vnfrS? oabmaygufrS? a&SUqufzwfzkdY wkdufwGef;ygw,f/
em;rvnfao;&if Computer ay:rSm program a&;NyD; apmapmu ajymcJhwmawGukd
xyfcgxyfcg prf;vkyfMunhfyg/ NyD;&if pOf;pm;yg/ a&;om; azmfjyxm;wmawGukd [kwfw,f?
rSefw,f? vkdY em;vnfvufcHNyD;rS a&SUqufwufoifhygw,f/
tjcm;ol wpfa,mufukd &Sif;jyEkdifwJhtxd ykdifEkdifatmifavhusihfyg/
Examine ON X0 [m X0 = ON jzpf&if True jzpfw,f/
Examine OFF X0 [m X0 = OFF jzpf&if True jzpfw,f/
Highlight u True jzpfwmukd azmfjywmyJvkdY &Sif;&Sif;vif;vif; odem;vnfxm;rSom
olrsm; a&;xm;wJh Program awGudk rSefrSefuefuef t"dyg,fazmfwwf? interpret vkyfwwf? rSm
jzpfygw,f/
aemufwqifhu Logic AND eJY Logic OR taMumif; qufNyD;avhvm&rSm jzpfyg
w,f/ AND eJY OR ukd rajymcif bmaMumifh X0 eJY Y0 vkdY a&;&wmvJqkdwmukd
t&if&Sif;jyygr,f/
tcka&;cJhwJh Example Program 3ck pvHk;udk Delta Electronics u xkwfvkyfwJh wu,fY
PLC jzpfwJh DVP-14SS2 xJukd a&;xnfhNyD; PLC ukd RUN vkdY &wJh WPLSoft vkdY ac:wJh
programming software eJY a&;NyD; WPLSoft xJrSm tqifoifhyg0ifNyD;om; Simulator software
eJY prf;oyfMunhfcJhwm jzpfygw,f/
PLC program 1ckukd a&;awmhr,fqkd&if toHk;jyKr,fY PLC &JU type udk t&ifa&G;cs,f
owfrSwf&ygw,f/ tcka&G;cs,fowfrSwfxm;wJh PLC u DVP-14SS2 jzpfygw,f/ tJ'D SS2
&JU Memory rSm ae&mawG cGJa0owfrSwfxm;yHkukd Memory Map of SS2 rSm azmfjyxm;yg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
156
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
157
OD;pdk;wifh PLC vrf; nTef
tJ'D Memory Map of SS2 udk Munhfvkduf&if Input terminal twGuf Input Image
Memory ukd X0 to X377 vkdY azmfjyxm;ygw,f/ Output terminal twGuf Output Image
Memory ukd Y0 to Y377 vkdY azmfjyxm;ygw,f/ DVP-14SS2 rSm Input terminal 8ck eJY
Output terminal 6ckyJ yg&Sdygw,f/ I/O eJY oufqkdifwJh memory rSmawmh X0 uae X377 txd
eJY Y0 uae Y377 txdvkdY azmfjyxm;ygw,f/ X eJY Y &JU memory ae&m ta&twGufukd
Octal Number System eJY a&wGufygw,f/ 'gaMumifh SS2 &JU memory xJrSm X twGufu 256
ae&m (256 bits) Y twGufu 256 ae&m (256 bits) &Sdygw,f/
X0
vkdY a&; xm;wJhtcg ukd Opcode (Operator) vkdY ac:ygw,f/ X0 udk
Operand (Address) vkdY ac:ygw,f/ X0 vkdY a&;xm;wJhtxJu X ukd Device name, 0 ukd
Device address vkdY ac:ygw,f/
Input ukd X vkdY owfrSwfNyD; Output ukd Y vkdY owfrSwfxm;wm jzpfygw,f/
Opcode qkdwm vkyf&r,fYtvkyfjzpfNyD;? Operand qkdwmvkyf&r,fYae&mudk qkdvkdyg
w,f/ X 0
&JU t"dyg,fu Input Image Memory xJu X0 qkdwJh bit [m ON jzpfae
ovm;vkdY ppfaq;ckdif;wm jzpfygw,f/ X0 = ON jzpfaewmawGU&if True jzpfygw,f/
( Y0 ) vkdY a&;wJhtcgrSm ( ) u Opcode jzpfNyD; Y0 u Operand jzpfygw,f/
( Y0 ) [m olU&JUb,fbufrSm&SdwJh condition eJY jynhfpHk&if Y0 ukd ON vkdufyg vkdY
ckdif;apwm jzpfygw,f/ Output image memory xJu Y0 qkdwJh bit ae&mrSm 1 (ON) vkdY
a&;rSwfvkdufygvkdY ckdif;apwm jzpfygw,f/
X0
'gaMumifh udk read instruction vkdY ac:NyD; ( Y0 ) udk write instruction vkdY
ac:ygw,f/
uvnf; read instruction trsdK;tpm;yJ jzpfygw,f/ Memory rSm a&;rSwf xm;
wmukd zwfMunhfckdif;wm read vkyfckdif;wmjzpfvkdY read instruction vkdY ac:wm jzpfygw,f/
PLC oHk;rsdK;rSm Basic Instruction Code &JU Operand owfrSwfxm;yHkcsif; rwlwmukd
atmufrSm EdkSif;,SOfazmfjyxm;ygw,f/
1. Delta PLC 2. Omron PLC 3. Siemens PLC
Model : DVP-14SS2 CPM1A-20CDR S7-200CPU224
Input : X0 to X377 0.00 to 9.15 I0.0 to I15.7
Output : Y0 to Y 377 10.00 to 19.15 Q 0.0 to Q 15.7
X0 0.00 10.00 I 0.0 Q 0.0
LD : ( Y0 ) ( )
Software: WPLSoft CX Programmer STEP 7-Micro/WIN
The more you learn about PLCs, the more you will be able to solve other control problems.
158
OD;pdk;wifh PLC vrf; nTef
1. Delta PLC
DVP-14SS2 rSm
X0 to X377 txd input memory bit aygif; 256 ck&Sdygw,f/ Y0 to
Y377 txd uvnf; output memory bit aygif; 256bits &Sdygw,f/ Octal number eJY azmfjywm
jzpfygw,f/ X u Input ukd &nfTef;NyD; Y u output ukd &nfTef;wm jzpfygw,f/ Program
a&;r,fqkd&if WPLSoft eJY a&;&ygw,f/
2. Omron PLC
CPM1A-20CDR rSm 0.00 to 9.15 txd input memory bit aygif; 160 bits &Sdygw,f/
0.00 rSmyg&SdwJh b,ftpGefu 0 [m word &JUeHygwf jzpfygw,f/ tJ'D 0 aemufu dot u word
eJY bit udk separate vkyf ykdif;jcm;xm;wJhoauFw jzpfygw,f/ Separator vkdY ac:ygw,f/ tJ'D
dot aemufu 00 [m bit &JU eHygwf jzpfygw,f/ 0.00 to 9.15 txd qdkawmh word 0 &JU bit 0
uae word 9 &JU bit 15 txd bit aygif; 160 &Sdygw,f/ Output tjzpf word 10 uae word
19 txd owfrSwfxm;wJhtwGuf output memory bit aygif; 160 &Sdygw,f/ Program a&;r,f
qkd&if CX-Programmer eJY a&;&ygw,f/
3. Siemens PLC
S7-200 CPU224 rSm I0.0 to I15.7 txd input memory bit aygif; 128 bits &Sdygw,f/
Q0.0 to Q15.7 txdvnf; output memory bit aygif; 128 bits &Sdygw,f/ I ukd input vkdY
owfrSwfNyD; Q ukd output vkdY owfrSwf xm;wm jzpfygw,f/ I0.0 qdkwmuawmh Input Byte 0
&JU bit 0 vkdY t"dyg,f&ygw,f/ I15.7 qkdwmu Input Byte 15 &JU bit 7 vkdY ajymwmjzpfygw,f/
'gaMumihf memory xJrSm Input twGuf Byte 16 bytes pm ae&m&Sdygw,f/ One byte rSm 8
bits &SdvkdY pkpkaygif; 128 bits jzpfygw,f/ Program a&;r,fqkd&if STEP 7-Micro/WIN eJY
a&;&ygw,f/
Output ukd ON ckdif;wJh instruction code &JUoauFw symbol ukdvnf; Delta eJY Semens
u ( ) 'DykHeJY azmfjyayrJh Omron uawmh 'DyHkeJY azmfjyygw,f/
xkwfvkyfol awmfawmfrsm;rsm;u input ukd X, output ukd Y vkdY owfrSwfMu
PLC
ygw,f/ toHk;jyKol User awGtwGuf LD eJY program a&;zkdY oif,l&mrSm vG,fulapygw,f/
'DpmtkyfrSm Program taMumif;&Sif;jywJhtcg DVP-14SS2 ukdoHk;NyD; &Sif;jy&wJh
taMumif;&if;u program a&;wJh software (WPLSoft) ukd Delta Automation &JU webiste
rSm w&m;0iftcrJh ay;xm;wmjzpfNyD;? Simulator ukdyg tJ'D WPLSoft xJrSm built-in
xnfhay; xm;vkdY jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
159
OD;pdk;wifh PLC vrf; nTef
'Dawmh PLC r&SdbJeJY program a&;NyD; virtual PLC eJY RUN MunhfvkdY &wJhtwGuf
instruction code awG&JU vkyfaqmifcsufukd ppfaq;MunhfvkdY &ygw,f/ OEM &JU Manual
awGrSmvnf; yHkESdyftrSm; printing error awG &Sdwwfygw,f/ Instruction code topf 1ck ukd
awGUwJhtcg OEM &JU Manual rSm olU&JU t"dyg,fowfrSwfcsufukd t&if&Smzwf&ygr,f/ NyD;&if
erlem program a&;prf; Munhf&ygr,f/ tJ'D code &JU function ukd taotcsmodNyDqkdrS
wu,fY Project awGrSm a&;NyD; oHk;oihfygw,f/ vufawGUvkyfief; aqmif&GufwJh ae&mrSm
jrefzkdYxuf? rSefzkdYu ykdta&;BuD; ygw,f/
Logical AND Function Program
tck Logical AND Function ukd LD eJY program b,fvkda&;&w,f qkdwmukd
qufvufazmfjyygr,f/ (vufawGUprf;oyfzdkY PLC r&SdwJholawGu tcka&;om;azmfjy xm;wm
awGukd pdwful;eJY yHkazmfMunhfNyD; Simulator eJY RUN MunfhvkdY &ygw,f)/
Logic AND &JU t"dyg,fu AND vkyfxm; wmawG tm;vHk; ON jzpfrS AND &JU Logic
Result u ON jzpfygw,f/
LD eJY program a&; NyD;vufawGUprf;MunhfzkdYtwGuf vkdtyfwJh ypnf;awGuawmh PLC
1vHk; = DVP-14SS2-11R, Pushbutton (N.O) 2ck? 24V, 3W Lamp 1vHk;? 24VDC power
supply 1ck wkdY jzpfMuygw,f/
P.B 1 Lamp 1
X0 Y0
+
P.B 2 24V
X1 Delta PLC = DVP14SS2-11R COM 0
24V
+ S/S
The more you learn about PLCs, the more you will be able to solve other control problems.
160
OD;pdk;wifh PLC vrf; nTef
'DvkdrsdK; pushbutton ukd momentary contact ygwJh pushbutton vkdY ac:ygw,f/ (Simulator
eJY prf;r,fh olawGu P.B1 ukd ESdyfwJh condition tjzpf X0 ukd Set On vkyfay;&ygr,f/
jyefvTwfwJh condition jzpfatmif X0 ukd Set Off jyefvkyfay;&rSm jzpfygw,f/ 'DvkdvkyfrS P.B1
ukd ESdyfNyD; jyefvTwfvkdufwJh function jzpfygw,f/)
yHk(A) Program
Y0
Time Chart
yHk(A)rSm azmfjyxm;wJhtwkdif; LD program ukda&;yg/ Program a&;NyD;&if compile vkyfyg/
DVP-14SS2-11R ukd 24VDC power supply eJY qufoG,fyg/ PLC ay:u PWR rD;
vif;vm&if programming cable ukd (PC PLC) qufoG,fyg/ 'Dae&mrSm tck program
a&;xm;wJh Computer u COM port (RS-232 port) rygwJh Computer rsdK;? Oyrm? (Laptop)
jzpfcJh&if RS-232 to USB Converter &SdrSom programming cable ukd qufvkYd&ygr,f/
USB Converter cable rsm;pGm&SdwJhtxJu oHk;&wmtqifajywJh cable uawmh ATEN
International Co. Ltd. u xkwfvkyfwJh UC-232A USB-to-Serial Converter jzpfygw,f/ olUukd
oHk;r,fqkd&if UC-232A cable ukd 0,f,lpOfu ygvmwJh driver CD ukd Computer xJxnhfNyD;
driver software ukd t&if install vkyf&ygw,f/ 'gu Computer eJY UC-232A cable ukd
rdwfqufay;wm jzpfygw,f/
Computer eJY PLC (DVP-14SS2-11R) ukd programming cable eJY qufoG,fNyD;&if
WPLSoft xJrSm a&;xm;wJh program ukd PLC xJ a&;xnhfzkdY Tool Bar ay:u Write to PLC
qkdwJh icon ukd ESdyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
161
OD;pdk;wifh PLC vrf; nTef
PLC xJukd a&;xm;wJh program a&mufoGm;NyDqkd&if
(1) PLC ay:u RUN rD;vHk; vif;ovm;? rvif;bl;vm;? qkdwmukd t&ifMunhfyg/
RUN LED rD; rvif;&if PLC ay:rSm yg&SdwJh RUN/STOP switch ukd Stop
ae&mrSm t&ifxm;vdkufNyD; RUN ae&mukd a&TUvkdufyg/ RUN LED rD; vif;
vmygvdrfhr,f/
(2) P.B1 ukd ESdyfxm;yg/ PLC ay:u X0 vkdY a&;xm;wJh LED udk Munfhyg/ LED rD;
vif;wmukd awGU&ygvdrfhr,f/ Y0 LED udk Munfhyg/ LED rD; rvif;yg/ P.B1 ukd
jyefvTwfvkdufyg/
(3) P.B2 ukd ESdyfxm;yg/ PLC ay:u X1 LED udk Munfhyg/ LED rD; vif;wmudk
awGU&ygvdrfhr,f/ Y0 LED udk Munfhyg/ LED rD; rvif;yg/ P.B2 ukd jyefvTwf
vkdufyg/
(4) P.B1 ukd ESdyfxm;yg/ P.B1 udk ESdyfxm;pOf P.B2 ukd xyfESdyfyg/ PLC ay:u X0
LED, X1 LED eJY Y0 LED oHk;vHk;pvHk; rD;vif;wmukd awGU&ygvdrfhr,f/ Output
terminal Y0 rSm Lamp1 ukd qufoG,fxm;wJhtwGuf Lamp1 yg rD;vif;wmukd
awGU&ygvdrfhr,f/
(5) WPLSoft &JU Tool Bar ay:u Online Mode ukd ESdyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
162
OD;pdk;wifh PLC vrf; nTef
Logical OR Function Program
Logic OR function qkw d mu OR vkyfxm;wmawGxJu 1ck ON &if OR &JU logic result
u ON jzpfygw,f/ OR vkyfxm;wmtm;vHk; ON jzpf&ifvnf; result u ON jzpfygw,f/
vufawGUprf;zdkYtwGuf AND function rSmwHk;u vdkyJ P.B1 ukd X0 eJY qufyg? PB2 ukd X1 eJY
qufyg? Lamp1 ukd Y0 eJY qufoG,fxm;yg/ OR function ukd LD eJY program a&;wJhtcgrSm
yHk(B) rSm jyxm;wJhtwkdif; a&;&ygw,f/ Vertical line ukd a&;csif&if X0 &JU nmbufrSm
Cursor csNyD; <F9> udk ESdyfyg/
yHk(B) Program
Y0
Time chart
yHk(B) utwkdif; WPLSoft rSm a&;NyD;&if Compile vkyfyg/ PLC (DVP-14SS2-11R) ukd
24VDC Supply ay;yg/ PLC eJY Computer ukd programming cable eJY qufoG,fyg/ PLC
ay:u PWR LED rD;? vif;aeNyDqkd&if <Ctrl> eJY <T> ukd wGJESdyfyg/ 'gu Write to PLC
vkyfckdif;wm jzpfygw,f/ PLC ay:u RUN LED rD;? rvif;&if <Ctrl> eJY <F8> ukd wGJESdyfyg/
PLC udk RUN ckdif;wm jzpfygw,f/ RUN LED rD;? vif;vmygvdrhfr,f/
OR function ukd prf;zkdYtwGuf P.B1 udk ESdyfxm;yg/ X0 = ON, eJY Y0 = ON jzpfNyD; terminal
Y0 rSm qufoG,fxm;wJh Lamp1 rD;vif;vmygvdrfhr,f/ P.B1 ukd jyefvTwfvkduf&if Y0 LED =
OFF jyefjzpfoGm;ygvdrhfr,f/ P.B2 ukd ESdyfMunhfyg/ Lamp1 rD;vif;wmukd awGU&ygvdrhfr,f/
jyefvTwfvkduf&if? Lamp1 rD; Nidrf;oGm;ygvdrhfr,f/
'Dwcg P.B1 eJY P.B2 ukd wGJESdyfyg/ Y0 = ON eJY Lamp1 = ON jzpfwmukd awGU&ygvdrfhr,f/
Time chart rSm azmfjyxm;wmeJY EdIif;,SOfMunhfyg/ pOf;pm;yg/ 'gqkd&if OR &JU vkyfaqmifcsuf
ukd em;vnfoabmaygufygvdrfhr,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
163
OD;pdk;wifh PLC vrf; nTef
PLC eJY vufawGUprf;oyfcGifh r&ao;olawGtwGuf Simulator eJY prf;oyfyHkukd
azmfjyygr,f/
LD eJY program a&;NyD;&if
(1) Compile vkyfyg/
(2) Simulator udk
ESdyfyg/ Task Bar rSm Simulator qkdwJh pmwrf;ay:vmygvdrfhr,f/
(3)Wirte to PLC vkyfyg/
(4)Online Mode ukd ESdyfyg/ Task Bar ukd Munhfyg/
(5)STOP qkdwJh teDa&mifpm ay:ae&if <Ctrl> eJY <F8> ukd wGJESdyfNyD; virtual PLC ukd
RUN vkdufyg/
(6) OR function ukd prf;MunhfzkdY X0 ay: Cursor csNyD;? Right Click ESdyfyg/
(7) NyD;&if Set On vkyfyg/ Y0 = ON jzpfoGm;wmukd tpdrf;a&mif Highlight eJY
awGU&ygvdrfhr,f/ X0 ay: Cursor csNyD;? R.C ESdyf? Set Off vkyfyg/
(8) X1 ay: Cursor cs? R.C ESdyf? Set On vkyfyg/ Y0 = ON jzpfwmukd Highlight eJY
jyaeygvdrhfr,f/ NyD;&if Set Off jyefvkyfyg/
(9) X0 ay: Cursor csNyD; R.C ESdyf? Set On vkyfyg/ NyD;&if X1 ay: Cursor cs? R.C ESdyf?
Set On vkyfyg/ Y0 = ON jzpfaeygw,f/
(10) X0 ay: Cursor cs? Set Off vkyfyg/ Y0 = ON jzpfaeqJygyJ/ X1 ay: Cursor cs?
Set Off vkyfvkdufawmhrS Y0 = OFF jzpfoGm;ygw,f/
tckqkd&if PLC &SdwJholawGu Programming cable qufNyD; PLC xJu vkyfaqmifcsuf
function awGukd Online Mode eJY MunhfwwfNyD jzpfygw,f/ PLC r&SdwJholawGuvnf;
Simulator ukd ON NyD; Online Mode eJY prf;MunhfwwfNyD jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
164
OD;pdk;wifh PLC vrf; nTef
yHk#1
Y0
Y0
Y0
yHk#1 rSm jrif&wJh AND Block 2ck ukd OR vkyfxm;wJh LD program udk WPLSoft eJY a&;NyD;
Simulator eJY prf;Munhf&if X0 eJY X1 2ckpvHk; ON jzpf&ifvnf; Y1 = ON jzpfygw,f/ X2 eJY
X3 2ckpvHk; ON jzpf&ifvnf; Y1 = ON jzpfygw,f/ X0, X1, X2 eJY X3 4ckpvHk; ON
jzpf&ifvnf; Y1 = ON jzpfygw,f/ 'Dtajctae oHk;rsdK;rSmom Y1 = ON jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
165
OD;pdk;wifh PLC vrf; nTef
yHk#2
Y0
Y0
Y0
yHk#2 rSm azmfjyxm;wJh program u OR Block 2ck ukd AND vkyfxm;wm jzpfygw,f/
tJ'gudk WPLSoft rSma&;NyD; Simulator eJY prf;Munhf&if?
(1) X0 eJY X2 2ckpvHk; ON jzpf&if? (2) X1 eJY X3 2ckpvHk; ON jzpf&if?
(3) X0 eJY X3 2ckpvHk; ON jzpf&if? (4) X1 eJY X2 2ckpvHk; ON jzpf&if?
(5) X0, X1 eJY X2 3ck pvHk; ON jzpf&if? (6) X0, X1 eJY X3 3ckpvHk; ON jzpf&if?
(7) X0, X2 eJY X3 3ckpvHk; ON jzpf&if? (8) X1, X2 eJU X3 3ckpvHk; ON jzpf&if?
(9) X0, X1, X2 eJY X4 4ckpvHk; ON jzpf&if? qkdwJh tajctae condition ukd;rsdK;rSm
Y1 = ON jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
166
OD;pdk;wifh PLC vrf; nTef
yHk#3
yHk#3 rSm azmfjyxm;wJh program u AND Block 2ck ukd OR vkyfxm;wmyJ jzpfygw,f/
'gayr,fh? PLC &JU input terminal X0 eJY X1 udkomoHk;xm;wJh 2-input XOR &JUvkyfaqmifcsuf
function twdkif;aqmif&GufwJh program jzpfygw,f/ 'D program udk WPLSoft rSma&;NyD;
Simulator eJY prf;Munhf&if?
(1) X0 = ON, jzpfNyD;? X1 = OFF jzpfcJh&if?
(2) X0 = OFF, jzpfNyD;? X1 = ON jzpfcJh&if? qkdwJh condition 2rsdK;rSmom Y2 = ON
jzpfygw,f/
'gudk Exclusive OR (XOR) vkdY ac:ygw,f/ XOR &JU Truth Table eJY wGJMunhf&if em;vnf
ygvdrfhr,f/ XOR function qkdwmu XOR vkyfxm;wmawGxJu 1ckxJ ON rS logic result u
ON jzpfygw,f/
tck&Sif;jycJhwJh program 3ck #1, #2 eJY #3 ukd 'DvkdyHkpHeJY ajymif;a&;NyD; Munhf&atmif/
ukd
IF [(X0 = ON) AND (X1 = ON)] OR [(X2 = ON) AND (X3 = ON)] THEN [(Y1 to be ON]
tu,f [X0 a&m X1 yg ON jzpf&if] okdYr[kwf [X2 a&m X3 yg ON jzpf&if]
'gukdvkyfyg [Y2 ukd ON vkdufyg ]
'DvkdyHkpHcsNyD; a&;Munfhvkduf&if AND 2ckukd OR vkyfxm;wJht"dyg,f ay:vGifvmyg
w,f/
ukd
IF [(X0 = ON) OR (X1 = ON)] AND [(X2 = ON) OR (X3 = ON)] THEN [Y2 => ON]
tu,f [X0eJYX12ckrSm1ckON] jzpfNyD; [X2eJYX32ckrSm1ckON] jzpfcJh&if [Y2ukdON] vkdufyg/
'DvkdyHkpHajymif;a&;MunhfwJhtcg OR Block 2ckukd AND vkyfxm;wJhyHkpHudk jrifawGU&rSm
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
167
OD;pdk;wifh PLC vrf; nTef
ukd
IF [(X0 = ON) AND (X1 = OFF)] OR [(X0 = OFF) AND (X1 = ON)] THEN [(Y2 => ON]
tu,f X0 = ON jzpfaewJhtcgrSm X1 = OFF jzpfaeNyD; 'grSr[kwf X0 = OFF
jzpfaewJhtcsdefrSm X1 = ON jzpfaecJhr,fqkd&if Y2 ukd ON vkdufyg/
'DvkdyHkpHcs Munfhvkduf awmh AND Block 2ckukd OR vkyfxm;wm awGU&ygw,f/
'DtxdzwfMunfhvdkYvnf;NyD;NyD? a&;xm;wJhtwkdif;vnf; vkdufvkyfMunhfNyD;NyD? 'gayr,fh
em;rvnfEdkifao;bl;qdk&if Logic taMumif;ukd jyefzwfMunhfyg/ tckqufvufa&;om;
azmfjyrSm awGuawmh LD program ukd a&;wwf? prf;wwfNyD; jzpfwJh olawGtwGuf &nf&G,fyg
w,f/
WPLSoft eJY LD program a&;enf;? PLC eJY prf;enf;? PLC rygbJ Simulator eJY prf;enf;
awGukd em;vnfatmif zwfMunhf? a&;prf;Munhf? NyD;rS a&SUqufzufzkdY wkdufwGef;ygw,f/
zwfMunhf? a&;prf;MunhfNyD;vkdYrS em;rvnfao;&if? ajz;ajz;jyefzwfNyD; pOf;pm;yg/ vufawGU
vkyfMunhfyg/ taMumif;eJYtusdK;qufpyfNyD;em;vnfrS oabmaygufwJhtqifhukd a&mufvmrSm
jzpfygw,f/
LD Program rSm a&;xm;wJh yHkpH Format u atmufyg twkdif; jzpfygw,f/
IF (Condition is True) THEN (Execute the Instruction)
tu,f (azmfjyxm;wJhtajctaetwkdif;&SdcJh?jzpfcJh&if) xkdYaemuf (TefMum;xm;wJhtwkdi f; aqmif&Gufyg )
Program xJrSmygwJh open contact eJY closed contact yHkawGukd jrifawGU&wJhtcg ON ovm;
vkdY ppfaq;ckdif;wm? eJY OFF ovm;vkdY ppfaq;ckdif;wJh instruction code awGvkdY od&rSm?
em;vnf&rSm? jzpfygw,f/ 'DvkdrSr[kwfbJ contact awGtjzpfeJYom jrifodaeao;&ifawmh
program ukd zwfNyD; em;vnfzkdY tvSrf;a0;aeygao;w,f/
Program qkdwm Software jzpfygw,f/ LD program xJrSm hardware jzpfwJh contact awG
r&Sdygbl;/ Software jzpfwJh Instruction Code awGyJ&Sdygw,f/ tJ'D code awGukd kyfyHkeJY
ukd,fpm;jyKNyD; azmfjyxm;wJh Open contact, Closed contact eJY Coil wk&Yd JU oauFw kyfyHk
awGudk xGif;azmufNyD; t"dyg,fudk oabmaygufatmif OmPfeJY Munhfjrif&rSm jzpfygw,f/
em;vnfw,f? oabmaygufw,f? qkdwm OmPf&JU tvkyfjzpfygw,f/ OmPfeJY Munhf rSom
trSefukdodygw,f/ trSefukd odrS ynm jzpfygw,f/ Examine ON qdkwJh instruction ukd LD
(Ladder Diagram) rSm kyfyHkeJY code vkyfygw,f/ IL (Instruction List) rSm pmeJY code vkyfyg
w,f/ Examine ON ukd LD rSm open contact kyfyHkeJY code vkyfNyD;? IL rSm LD qkdwJh pmvHk;eJY
code vkyfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
168
OD;pdk;wifh PLC vrf; nTef
'gukdvufawGUod&atmifvdkY LD eJY Program a&; Munhfygr,f/ WPLSoft rSm Program
topfa&;zkdY File New vkyfyg/
(1) b,ftpGefrSm Cursor csNyD;? Enter acguf?
(2) LD qkdwJh pmvHk; kdfufxnhf?
(3) Space Bar 1csuf acguf?
(4) X0 qkdwJh pmvHk;ukd kdufxnhfNyD;?
(5) Enter acgufvkduf&if?
yHk(B) txufygtwkdif;ay:vmygw,f/
WPLSoft rSm yHk(B) u twkdif; program ukd a&;NyD;&if compile vkyfyg/
yHk(C) txufygtwkdif;ay:vmygvdrhfr,f/
Tool Bar ay:u Instruction List qkdwJh icon ukd ESdyfyg/ 'grSr[kwf View
Instruction List ukd ESdyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
169
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
170
OD;pdk;wifh PLC vrf; nTef
Dominant-ON, Dominant-OFF
Relay control system eJY wnfaqmufxm;wJh ON/OFF circuit wpfckudk Fig. 1 rSm
azmfjy xm;ygw,f/ Stop-dominant &JU Status-Time Diagram udk Fig. 2 rSm azmfjy xm;yg
w,f/
+24V 0V
P.B 1 P.B 2 Relay K1
K1
Fig. 1 Electrical Circuit Diagram K1
Lamp L1
K1
1 ON
P.B1
0 OFF
1 ON
P.B.2
0 OFF
1 ON
Status
K1
0 OFF
1 ON
L1
0 OFF
t0 t1t2 Time
The more you learn about PLCs, the more you will be able to solve other control problems.
171
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
172
OD;pdk;wifh PLC vrf; nTef
Fig. 1 rSm Relay eJY vkyfaqmifcJhwJhtvkyf function udkyJ PLC eJY vkyfaqmif apr,f
qdk&if P.B1, P.B2 eJY L1 wdkYudk atmufrSmazmfjyxm;wJh Fig. 3 twdkif; qufoG,f&ygw,f/
P.B 1
Lamp L1
X0 Y0
+
P.B 2 Delta PLC: 24V
X1 COM 0
24V
+ S/S DVP14SS2-11R
The more you learn about PLCs, the more you will be able to solve other control problems.
173
OD;pdk;wifh PLC vrf; nTef
OFF-dominant Program
Start/Stop program ukd Stop dominant jzpfatmif LD eJY
a&;jyygr,f/
Fig. 2 Status-Time Diagram rSm azmfjyxm;wJh function udk MunfhNyD; LD eJY program
pa&;wJhenf; tqifhqifhudk awG;enf;a&m a&;enf;udkyg atmufrSm azmfjyxm;ygw,f/
P.B1 udk ESdyfvdkuf&if L1 = ON jzpfatmifvdkY atmufygtwdkif; p a&;ygw,f/
X0
(Y0)
Y0
t"dyg,fu X0 eJY Y0 2ck xJu 1ck ON jzpf&if Y0 udk ON vdkufyg vdkY nTefMum;csuf
instruction ay;xm;wm jzpfygw,f/ Boolean equation eJY a&;r,fqdk&if Y0 = (X0) OR (Y0)
jzpfygw,f/
IF.... THEN yHkpHeJY azmfjy&&if
The more you learn about PLCs, the more you will be able to solve other control problems.
174
OD;pdk;wifh PLC vrf; nTef
X0 X1
(Y)
0
Y0
The more you learn about PLCs, the more you will be able to solve other control problems.
175
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
176
OD;pdk;wifh PLC vrf; nTef
Software jzpfwJh LD eJY a&;wJh program xJrSm oufqdkif&m symbolic instruction code
awGudkudk,fpm;jyKwJh machine code awGyJ&Sdygw,f/ eJY awG[m program
a&;wJhvl programmer twGuf rSwfom;&vG,fatmif oauFwjyKxm;wm jzpfygw,f/
PLC u 'DoauFwawGudk em;rvnfygbl;/
'gaMumifh LD eJY program a&;NyD;wJhtcgwdkif; PLC em;vnfwJh machine code udk
ajymif;ay;&ygw,f/ tJ'Dvdkajymif;ay;wmudk compile vkyfw,fvdkY ac:ygw,f/ Convert
vkyfw,fvdkYvnf; ac:ygw,f/ Programming software u ajymif;ay;wm jzpfygw,f/
LD eJY program a&;NyD;wJhtcgwdkif; PLC u em;vnfvufcHEdkifwJh machine code tjzpf
ajymif;NyD;awmhrS PLC xJudk download (write to PLC) vkyf&ygw,f/
Version jrifhwJh programming software awGu LD program udk compile rvkyfbJ PLC
xJ download vkyfwmudk vufcHaqmif&Gufay;ygw,f/ tJ'D software u machine code udk
t&if ajymif;NyD;rS write to PLC vkyfay;oGm;wm jzpfygw,f/
tck a&;om;azmfjycJhwJh &Sif;vif;csufawGudk zwfMunfhNyD;? pOf;pm;MunfhNyD;? hardware
eJY software b,fvdkqufpyfNyD;? tvkyfvkyfovJqdkwmudk taMumif; eJY tusdK;? qifjcif odjrif
EdkifMur,fvdkY xifygw,f/
Fig. 1 rSm azmfjyxm;wJh electric circuit diagram u Stop dominant circuit jzpfyg
w,f/ Start dominant tjzpfqufoG,fxm;wJh electric circuit diagram udk atmufrSm Fig. 4
rSmazmfjyxm;ygw,f/
+24V 0V
P.B 1
Relay K1
K1
P.B 2
K1
K1 Lamp L1
The more you learn about PLCs, the more you will be able to solve other control problems.
177
OD;pdk;wifh PLC vrf; nTef
1 ON
P.B1
0 OFF
1 ON
P.B.2
0 OFF
1 ON
Status
K1
0 OFF
1 ON
L1
0 OFF
t0 t1t2Time
t3t4
+
P.B 2 Delta PLC: 24V
X1 COM 0
24V
+ S/S DVP14SS2-11R
The more you learn about PLCs, the more you will be able to solve other control problems.
178
OD;pdk;wifh PLC vrf; nTef
ON-dominant jzpfapwJh start/stop program udkawmh atmufrSm azmfjyxm;wJhtwdkif;
a&;&ygw,f/
X0
Y0
()
Y0 X1
Y0 X1 X0
eYJ udk AND vkyfNyD;&wJh result udk eJY xyfNyD; OR
vkyfxm;wmjzpfygw,f/ X0 = ON jzpfwJhtcg X 0 [m True jzpfNyD; OR &JU
oabmobm0t& Y0 eJY X1 wdkY&JU tajctae[m b,fvdkyJjzpfaeygap? xnfhoGif;pOf;pm;
p&mrvdkawmhwJh dont care jzpfwJh twGuf Y0 [m ON jzpfygw,f/
X0 = OFF jzpfoGm;wJhtcgrSmawmh Y0 a&m X1 yg? 2ckpvHk; ON jzpfaerS Y0 = ON
jzpfygw,f/
P.B1 a&m P.B2 udkyg rESdyfbJxm;&if? X0 u OFF jzpfNyD;? X1 u ON jzpfaeyg
w,f/ P.B1 u N.O jzpfNyD;? P.B2 u N.C jzpfygw,f/
P.B1 udk ESdyf&if X0 = ON jzpfNyD;? jyefvTwfvdkuf&if? X0 = OFF jyefjzpfoGm;ygw,f/
'DtcgrSm Y0 = ON jzpfusefcJhygw,f/ P.B2 udk ESdyf&if X1 = OFF jzpfNyD;? jyefvTwfvdkuf&if
X1 = ON jyefjzpfoGm;ygw,f/ 'DtcgrSm Y0 = OFF jzpfoGm;ygw,f/
'gu Start/Stop function udk yHkrSeftwdkif; vkyfaqmifaMumif;udk azmfjyygw,f/
xl;jcm;wmu P.B1 udk ESdyfxm;vdkU Y0 uvnf; ON jzpfaewJhtcsdefrSm P.B2 udk
ESdyfayrJYvnf; Y0 u OFF rjzpfwmudk awGU&ygw,f/
'gaMumifh 'D program udk ON-dominant vdkY ac:ygw,f/
Program &JU oabmobm0? Instruction code awG&JU oabmobm0? Boolean Logic
awGjzpfMuwJh AND eJY OR &JU oabmobm0? awGudk &Sif;&Sif;vif;vif;odapzdkY &nf&G,fNyD;
ON-dominant udk LD eJY program a&;jywmjzpfygw,f/
vufawGUtm;jzifh industrial control system awG[m fail-safe jzpfatmif wnfaqmuf
Mu&wmjzpfvdkY Start/Stop program udk OFF-dominant tjzpfom toHk;jyKMuygw,f/
&yfcsifwJhtcsdef? &yfvdkY&rSom ab;uif;w,f? safe jzpfw,fvdkY owfrSwfxm;Muygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
179
OD;pdk;wifh PLC vrf; nTef
tcef; (12) Scan Cycle taMumif;/
'Dtcef;ukd zwf&IavhvmNyD;oGm;wJhtcg? atmufygtaMumif;t&mawGukd aumif;pGm
em;vnf oabmayguf oGm;ygvdrfhr,f/
1/ PLC ukd RUN vkdufawmhrS Input Scan, Program Scan, Output Scan tvkyfawGukd
tpOftwkdif;? xyfcg? xyfcg? r&yfrem;? qufwkdufvkyfaqmifygw,f/
2/ Input Scan tvkyfukd vkyfaqmifaewJhtcsdefrSm PLC &JU Input terminal awGrSm
signal &Sd? r&Sd? ukd zwf&INyD; Input Memory rSm rSwfom;xm;ygw,f/
3/ Program Scan tvkyfukd vkyfaecsdefrSm User Program xJu TefMum;csuftwkdif;
aqmif&GufNyD; &&SdvmwJh Result awGukd oufqkdif&m Memory awGrSm rSwfom;xm;ygw,f/
4/ Output Scan tcsdefa&mufawmhrS Output Memory rSm rSwfom;xm; wJhtwkdif;
PLC &JU output terminal awGukd signal xkwfay;ygw,f/
5/ PLC ukd STOP vkyfxm;&if User Program ukd execute rvkyfygbl;/ Input Scan
vnf; rvkyfygbl;/ Output Scan vnf; rvkyfygbl;/
6/ PLC ukd STOP vkyfxm;wJhtcsdefrSm PLC &JU Output terminal awG tm;vHk; OFF
jzpfaeygw,f/
7/ PLC [m t&ifckdif;wmukd? t&ifvkyfygw,f/ aemufrS ckdif;wmukd? aemufrS vkyfyg
w,f/
PLC Scan Process
OUTPUT IMAGE MEMORY
INPUT IMAGE MEMORY
OUTPUT INTERFACE
X0 X1
Output Terminals
INPUT INTERFACE
Input Terminals
(Y)
0
Y0
[ END ]
Program
Input Output
Scan Program Scan Scan
The more you learn about PLCs, the more you will be able to solve other control problems.
180
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
181
OD;pdk;wifh PLC vrf; nTef
Input Scan
Input Scan &JUtvkyfuawmh PLC &JU Input Terminal awGrSm signal &Sd? r&Sd? ukd ppfaq;
ygw,f/ ppfaq;vkdY awGU&SdwJhtwkdif; Input Image Memory rSm a&;rSwfygw,f/ tJ'gukd Input
Memory udk update vkyfw,fvkdYvnf; ac:ygw,f/ PLC &JU Input terminal tm;vHk;ukd ppfaq;
a&;rSwfvkdY NyD;oGm;&if Input Scan &JUtvkyf NyD;qHk;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
182
OD;pdk;wifh PLC vrf; nTef
Program Scan
Input Scan &JUtvkyfNyD;&if Program Scan &JUtvkyfukd pwifvkyfygw,f/ Program Scan
&JUtvkyfu User Program vkdY ac:wJh LD program xJrSmygwJh TefMum;csufawGeJY ukdufnDrI
&Sd? r&Sd? wkdufqkdifppfaq;rIvkyfNyD; Logic Result tajzxkwfygw,f/ Program Execute vkyf
w,fvkdY ac:ygw,f/ &&SdvmwJh logic result awGukd oufqkdif&m Memory rSm a&;rSwf yg
w,f/
Program ukd execute vkyfwmu jrefrmpm? t*Fvdyfpm? awGudk zwfovkdrsdK; Scan
vkyfoGm;wm jzpfygw,f/ tay:qHk; b,ftpGefu instruction code ukd pNyD; execute vkyf
ygw,f/ NyD;&if nmbufukdwkd;NyD; execute qufvkyfoGm;ygw,f/ tay:pmaMumif; NyD;qHk;&if
atmufpmaMumif;rSm&SdwJh b,ftpGefu instruction code ukd pNyD; execute vkyfygw,f/ NyD;&if
nmbufu instruction code ukd execute qufvkyfygw,f/ nmtpGefu instruction code udk
execute vkyfNyD;wkdif;? oufqkdif&m memory rSm a&;rSwfNyD;awmhrS atmufpmaMumif; ukd
qif;NyD; execute qufvkyfoGm;wmjzpfygw,f/ LD eJY a&;wJh program wkdif;&JU atmufqHk;
pmaMumif;rSm END qkdwJh instruction code yg&Sd&ygw,f/ tJ'D END qkdwJh instruction code
udk a&mufwJhtcgrSm Program Scan &JU tvkyfNyD;qHk; oGm;ygw,f/
Output Scan
Program Scan NyD;&if (3) jzpfwJh Output Scan &JU tvkyfukd vkyfygw,f/ Output Scan &JU
tvkyfu Output Image Memory (Output Image Table) rSma&;rSwfxm;wJhtwkdif; PLC &JU
output terminal awGukd ON oifhwmukd ON vkyfay;NyD;? OFF oifhwmukd OFF vkyfay;
ygw,f/ 'Dvkdvkyfwmudk Output Update vkyfw,fvkdY ac:ygw,f/
PLC tvkyfvkyfyHk Scan cycle ukd twdkcsKyfNyD; azmfjy&&if
(1) Input Scan [m input memory ukd update vkyfygw,f/
(2) Program Scan [m program ukd execute vkyfNyD; output memory udk update
vkyfygw,f/
(3) Output Scan [m output terminal udk update vkyfygw,f/
'Dae&mrSm oHk;xm;wJh execute vkyfw,fqkdwmu program xJrSm TefMum;xm;wJh control
logic awGtwkdif; aqmif&Gufwmjzpfygw,f/
PLC tvkyfvkyfyHk Scan cycle ukd aemufwpfrsdK; ajym&&if
(1) Input Scan qkdwm Reading the physical inputs jzpfygw,f/
(2) Program Scan qkdwm Executing the control logic in the program jzpfygw,f/
(3) Output Scan qkdwm Writing to the physical outputs jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
183
OD;pdk;wifh PLC vrf; nTef
X0
#2 (Y 1
)
yHk (u)
yHk(u) rSmazmfjyxm;whJtwkdif; LD program ukda&;yg/ atmufrSm azmfjyxm;whJ yHkukd
Munfhyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
184
OD;pdk;wifh PLC vrf; nTef
atmufrSm azmfjyxm;whJ yHkukd Munfhyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
185
OD;pdk;wifh PLC vrf; nTef
NyD;&if PLC ukd RUN yg/
yHkawGukd Munhfyg/
X0 ay: Cursor wif? Right Click ESdyfNyD; Set On vkyfyg/ rsufjrifrSmawmh computer
screen ay:rSm Y1 wckxJ ON jzpfaewmukd awGU&ygvdrfhr,f/ 'Dawmh Y0 u vHk;0 r ON cJh
bl;vm;/ trSefu Y0 = ON jzpfcJhygw,f/ Y0 [m 1-scan time Mumatmif ON jzpfcJhygw,f/
'gukd rsufped JYrjrif vkduf&ygbl;/
The more you learn about PLCs, the more you will be able to solve other control problems.
186
OD;pdk;wifh PLC vrf; nTef
yHk (c)
X0 ay: Cursor wif? Right Click ESy d fNyD;? Set On vkyfyg/ Y0 = ON jzpfwmudk rjrif
vkduf&yJ Y1 eJY Y2 wkdY ON jzpfoGm;Muwmukd awGUjrif&ygvdrfhr,f/
Y1 = ON jzpfwmuawmh X0 = ON jzpfaevkdY jzpfygw,f/
Y2 = ON jzpfwmuawmh X1 u wcsdefvHk; OFF jzpfaeNyD;? Y0 u ON 1cg jzpfcJhvkdY
jzpfygw,f/
X0 = ON jzpfNyD;vQifNyD;csif;? yxrqHk; 1st Scan rSm
X0 Y1
#1 (Y 0 ukd
) Munhf&if X0 [m ON jzpfNyD; Y1 [m OFF jzpfae wHk;
rkdYvkdY Y0 [m ON jzpfoGm;ygw,f/
X0
1st Scan rSmyJ #2 (Y 1 udk Munhf&if X0 [m ON jzpfvkdY
)
Y1 vnf; ON jzpfoGm; ygw,f/
#1 ukd execute vkyfaewHk;u (#1 ukd execute vkyfaewJhtcsdefrSm) #2 ukd execute
rvkyf& ao;ygbl;/
#1 ukd t&ifvkyfNyD;awmhrS #2 ukd p vkyfrSm jzpfygw,f/ 'gaMumifh #1 ukd execute
Y1 Y1
vkyfwJhtcg ukd ppfMunhfawmh Y1 u OFF jzpf aewmukd awGUvkdY uTrue
X0
jzpfygw,f/ X0 uvnf; ON jzpfaevkdY [mvnf; True jzpfygw,f/
'gaMumifh #1 rSm True eJY True udk AND vkyfvkdufawmh logic result u True jzpfvkdY
Y0 = ON jzpfoGm;ygw,f/
X0 = ON jzpfNyD;vsif? NyD;csif; 1st Scan rSmyJ Y0 [m ON jzpfoGm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
187
OD;pdk;wifh PLC vrf; nTef
Y0 X1
#3 Y2
() ukd Munhf&if #1 eJY #2 wkdYukd tpOftwkdif; execute
vkyfNyD;rS #3 ukd execute vkyfwJhtcsdefrSm Y0 [m ON
Y2
jzpfaeNyD;om;? jzpfvkdYrkdY Y 0 [m True jzpfyg
w,f/
Y2
Y2 [m OFF jzpfaeqJrkdY [m False jzpfygw,f/
tJ'D Y 0 True eJY Y2
False udk OR vkyfvkdufwJhtcg logic result u
True jzpfygw,f/ &vmwJh logic result ukd temporary memory rSm cPrSwfxm;ygw,f/
NyD;awmhrS X 1 ukd execute vkyfygw,f/
X1
X1 [m tNrJwrf; OFF jzpfaeygw,f/ 'gaMumifh [m True jzpfygw,f/
'D True eJY apmapmu temporary memory rSmrSwfxm;wJh OR Block &JU logic result u
True wkdYukd AND xyfvkyfvkdufawmh logic result u True &ygw,f/ 'gaMumifh Y2 ukd ON
vkdufygw,f/
Y0 Y2
# 3 udk execute vkyfwJhtcgrSm eJY ukdt&ifqHk; OR vkyfygw,f/ 'D
X1
OR Block &JU logic result eJY udk xyfNyD; AND vkyfygw,f/ Final logic result u
True jzpfrS Y2 ukd ON vkyfay;wmjzpfygw,f/ X0 = ON jzpfNyD;vsif? NyD;csif; 1st Scan
rwkdifcifu? X0 [m OFF jzpfaevkdYrkdY Y0, Y1 eJY Y2 wkdYyg OFF jzpfaecJhMuygw,f/
X0 = ON jzpfNyD;vsif? NyD;csif; 1st Scan rSm Y0 = ON, Y1 = ON eJY Y2 = ON jzpfoGm;
Muygw,f/
X0 Y1
1st Scan NyD;vdkY 2nd Scan a&mufawmh #1 Y 0 udk Munhf&if
()
X0
u True jzpfNyD; 1st Scan rSmwHk;u Y1 = ON jzpfcJhwm rkdYvkdY Y 1 u False
jzpfygw,f/ 'D X 0 True eJY Y 1 False udk AND vkyfvkdufwJhtcg logic result u
False jzpfNyD; Y0 [m OFF jzpfoGm;ygw,f/
Y0 [m 1st Scan rSm ON jzpfNyD;? tck 2nd Scan rSm OFF jyefjzpfoGm;ygw,f/
X0
2nd Scan rSm #2 (Y 1 ukd Munhf&if X0 = ON jzpfaevkdY
)
X0
[m True jzpfNyD; Y1 vnf; ON qufjzpf aeygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
188
OD;pdk;wifh PLC vrf; nTef
Y0 X1
#3 (Y
2 ) Y0
ukd Munhf&if
#3 u ( Y0 = OFF ) jzpfae
Y2
vkdY False jzpfNyD; Y 2 u ( Y0 = ON ) jzpfae
vkdY True jzpfygw,f/ 'D False eJY True ukd OR vkyfvkdY &wJh logic result u True jzpfygw,f/
X1
u (X1= OFF) jzpfaevkdY True eJY apmapmu OR Block &JU logic result True
wkdYukd AND xyfvkyfwJhtcg logic result u True &NyD; Y2 qufNyD; ON jzpfygw,f/
twkdcsKyfNyD; ajym&&if 1st Scan rSm Y2 = ON jzpf&wmu Y0 = ON jzpfaevkdY
jzpfygw,f/
2nd Scan rSm Y2 = ON qufjzpf&wmu Y2 [m 1st Scan rSm ON jzpfcJhvkdY jzpfygw,f/
tJ'gukd self hold, self-latched, sealed-in vkyfw,fvkdY ajymMuygw,f/
X0 Y1
3rd Scan rSm #1 udkMunhf&if X0 = ON eJY Y1 = ON
Y0
()
Y0 X1
#3 Y2
()
Y2
The more you learn about PLCs, the more you will be able to solve other control problems.
189
OD;pdk;wifh PLC vrf; nTef
Y2
tckvkd a&;cJh&if?
#1 rSm Y0 [mb,fawmhrS ON rjzpfawmh ygbl;/ Y0 is never ON jzpfygw,f/
#3 rSm Y0 is never ON jzpfvkdU Y2 [mvnf; b,fawmhrS ON rjzpfawmhygbl;/
'gukdvufawGUprf;MunfhzkdY yHk(*) rSm jyxm;ovkd LD program ukd a&;yg/ Simulator ukd
ON NyD; Write to PLC vkyfyg/ NyD;&if? txufrSm azmfjycJhwJhtwkdif;? wpfausmhjyefNyD; prf;Munhf
yg/ X0 udk ON &ifyJjzpfjzpf? OFF &ifyJjzpfjzpf? Y0 [m b,fawmhrS ON rjzpfEkdifawmhygbl;/
taMumif;uawmh X0 ukd ON vkyfNyD;p 1st Scan rSm #2 ukd pNyD; execute vkyfygw,f/ NyD;rS #1
udk execute vkyfygw,f/ #1 udk execute vkyfwJh tcsdefrSm Y1 u ON jzpfNyD;om; &Sdaeygw,f/
#2 ukd t&if execute vkyfwmrkdYvkdY Y1 u ON NyD;om; jzpfaewm jzpfygw,f/ Y1 = ON jzpfae
wm awGUvkdY Y 1 u False jzpfygw,f/ Y0 vnf; OFF jzpfygw,f/
LD program 1ckukd t"dyg,fazmfwm rSefuefzkdYtwGuf PLC &JU tvkyfvkyfyHkudk Scan
by Scan yHkazmf awG;Munhfwwf &ygr,f/ PLC &JU vkyfyHkukdifyHk trltusihf behaviour udk em;
vnfrSom qkdvkd&if;trSefukd bmomjyefwwfrSm jzpfygw,f/
atmufrSm 1-scan pulse output udk toHk;jyKNyD; toggle output (flip-flop) &atmif
a&;xm;wJh LD program ukd wqifhcsif; &Sif;jyxm;ygw,f/ yHk(C) rSm jyxm;wJh LD program
ukd WPLSoft rSm File New SS2 ukda&G;NyD; vufawGUa&;prf;Munhfyg/
X0 Y1
#1 Y0
()
X0
#2 Y1
()
Y0 Y2 yHk (C)
Y2
()
#3
Y0 Y2
yHk(C) rSm azmfjyxm;wJh program ukda&;NyD;wJhtcg Simulator ukd ON NyD; Write to PLC
vkyfyg/ Online Mode vkyfyg/ PLC u STOP jzpfae&if PLC ukd RUN yg/
X0 ay: Cursor wif? Right click ESdyfNyD; Set On vkyfyg/ Y1 eJY Y2 wkdY ON jzpfoGm;wm
udk awGUjrif&ygvdrfhr,f/
X0 ay: Cursor wif? Right click ESdyfNyD; Set Off vkyfyg/ Y0 eJY Y1 u OFF jzpfNyD; Y2
uquf ON jzpfaeygvdrfhr,f/
aemufwBudrf X0 ukd Set On vkyfyg/ Y0 = OFF, Y1 = ON eJY Y2 = OFF jzpfoGm;
wmudk awGUjrif&ygvdrfhr,f/ X0 ukd Set Off vkyfyg/ Y0 = OFF, Y1 = OFF eJY Y2 = OFF
jzpfaeygvdrfhr,f/
X0 ukd Set On, Set Off 5Budrf avmufvkyfMunhfyg/
X0 = OFF to ON jzpfwkdif; Y2 &JUtajctae ajymif;oGm;wmukd owdjyKMunhfIyg/
tcka&;NyD;prf;MunhfaewJh program udk Toggle Output vkdYvnf; ac:ygw,f/ Push-ON/Push-
OFF vkdYvnf; ac:ygw,f/
#1 eJY #2 ukd waygif;wnf; tpOftwkdif; a&;rS Y0 u one scan pulse output
xGufygw,f/ #1, #2 eJY #3 ukd aygif;a&;rS Y2 u toggle output jzpfygw,f/
P.B 1 Lamp 1
Delta PLC = DVP14SS2-11R
X0 Y0
X0 Y1
#1 Y0
() +
P.B 2 X0 24V
#2 Y1
()
X1 COM 0
Y0 Y2
24V Y2
()
+ S/S #3
Y0 Y2
The more you learn about PLCs, the more you will be able to solve other control problems.
191
OD;pdk;wifh PLC vrf; nTef
Scan
2rd Scan
Scan
Scan
3rdScan
3 Scan
3rdScan
3rdScan
1stScan
1stndScan
1stScan
1stScan
2nd
2nd
2nd
1 ON
X0
0 OFF
1ScanTime
1 ON
Y0
0 OFF
1 ON
Y1
0 OFF
1 ON
Y2
0 OFF
t0t1t2t3t4t5t6t7t8
The more you learn about PLCs, the more you will be able to solve other control problems.
192
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
193
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
194
OD;pdk;wifh PLC vrf; nTef
Y0 Y2
NyD;rS TefMum;csuf #3 &JU b,fbufjcrf;u atmufykdif;jzpfwJh udk
Y0 Y2
qufNyD; execute vkyfygw,f/ u False jzpfNyD;? uvnf; False jzpfygw,f/
tJ'D False 2ck ukd AND vkyfvkdY&wJh Logic result uvnf; False yJjzpfygw,f/ tck&wJh False
eJY apmapmurSwfxm;wJh True ukd OR vkyfvkdufwJhtcg logic result u True jzpfygw,f/
'gaMumifh Y2 = ON jzpfoGm;ygw,f/
yHk(C)(1) Toggle Output Status-Time Diagram ukd Munhfyg/
TefMum;csuf#3 ukd execute vkyfNyD;wJhtcg atmufupmaMumif;udk qif;NyD; execute
vkyfygw,f/ TefMum;csuf#3 ukd execute vkyfNyD; atmufrSm&SdwJh END qkdwJh instruction code
ukd awGUawmhrS Program Scan &JU 1st Scan tvkyf[m NyD;qHk;oGm;ygw,f/ Program Scan &JU 1st
Scan tvkyfNyD;wJh tcg Output Scan ukd ajymif;vkyfygw,f/ Output Scan rSm output terminal
awGjzpfwJh Y0, Y1, Y2 wkdYudk ON ckdif;vkdufygw,f/ 1-scan time [m 1ms rjynhfygbl;/ 0.3ms
avmufyJ Mumygw,f/ Computer Screen &JU atmufajcrSm&SdwJh Task Bar ay:rSm Scan Time
0.3 ms qkdwmukd awGUjrif&ygvdrfhr,f/
1st Scan &JU Output Scan NyD;oGm;&if 2nd Scan ukd Input Scan tvkyfu? pNyD;
vkyfygw,f/ X0 [m ON jzpfaeqJrkdY ON vkdYawGUNyD; input memory rSm rSwfxm;ygw,f/
NyD;&if 2nd Scan &JU Program Scan tvkyfudkpvkyfygw,f/ tay:qHk; instruction pmaMumif;
X0 Y1 X0
#1 Y 0 ukd execute vkyfwJhtcg X0 = ON jzpfaevkdY
() [m
True jzpfygw,f/ 1 Scan program execute vkyfwHk;u Y1 = ON jzpfoGm;vkdY Y 1 uawmh
st
False jzpfygw,f/ tJ'D True eJY False ukd AND vkyfvkdufawmh logic result u False jzpfNyD;
Y0 = OFF jzpfoGm;ygw,f/
X0
vuf&Sd tcsdef 2nd Scan rSm #2 Y1 ukd execute vkyfawmh
()
X0 = ON jzpfaewmrkdYvkdY Y1 = ON qufjzpfygw,f/ vuf&Sdtcsdef 2nd Scan rSm
Y0 Y2
Y2
() ukd execute vkyfwJhtcg b,ftpGef tay:ykdif;jzpfwJh
#3 Y0 Y2
Y0 Y2 rSm eJY Y1 = ON jzpf
Y0 = OFF
aewJh twGuf False AND False jzpfNyD; result uvnf;
False yJjzpfygw,f/ 'D logic result jzpfwJh False ukd temporary memory rSm acw rSwfxm;yg
Y0 Y2
w,f/ NyD;&if #3 &JUb,ftpGefatmufykdif;jzpfwJh ukd execute vkyfwJhtcg
Y0 = OFF eJY Y2 = ON jzpfaewJhtwGuf True AND True jzpfygw,f/ Logic result uvnf;
True jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
195
OD;pdk;wifh PLC vrf; nTef
tck&wJh True eJY apmapmu temporary memory rSmrSwfxm;wJh False udk OR
vkyfvkdufawmh logic result u True jzpfygw,f/ 'gaMumifh Y2 [mqufNyD; ON jzpfaeygw,f/
#3 ukd execute vkyfNyD; END ukd execute vkyfygw,f/ 'Dtcsdefa&mufrS Output Scan &JU
tvkyfjzpfwJh output terminal Y0 udk OFF vkyfygw,f/ Y1 udk ON qufvkyfygw,f/ Y2
ukdvnf; ON qufvkyfygw,f/
'Dae&mrSm (tcktcsdefrSm) aoaocsmcsm pOf;pm;yg/
Y0 = ON jzpfwJh tcsdefu 1-scan time yJ Mumygw,f/ X0 = ON jzpfNyD; 1st Scan rSm
Y0 = ON jzpfygw,f/ NyD;awmh 2nd Scan rSm Y0 = OFF jyefjzpfoGm;ygw,f/
'D program ukd WPLSoft eJY a&;NyD; Simulator eJY virtual PLC udk RUN MunhfwJh tcg
1-scan time [m 0.3ms yJMumw,fvkdY WPLSoft u azmfjyygw,f/
'kwd, ausmh 2nd Scan &JU Output Scan tvkyfNyD;awmh wwd, ausmh 3rd Scan &JU
Input Scan tvkyfukd qufvkyfygw,f/ X0 udk ON tjzpf? awGUvkdY awGUwJh twkdif; Input
memory rSm rSwfxm;vkdufygw,f/ Input Scan NyD;wJhtcg wwd,ausmh&JU Program Scan ukd
qufvkyfygw,f/
X0 Y1
#1 ukd execute vkyfwJhtcg X0 [m ON jzpfaeNyD; Y1
Y0
()
uvnf; 'kwd,ausmhrSmwHk;u ON jzpfaecJhvkdY X 0 u True jzpfNyD; Y 1 u False
jzpfMuygw,f/ True eJY False ukd AND vkyfvkdY&wJh logic result uvnf; False yJjzpfwJh
twGufaMumifh Y0 [m OFF yJqufjzpfaeygw,f/
X0 X0
#2 Y1
() udk execute vkyfwJh tcg [m True jzpf vkdY
Y1 = ON qufjzpfygw,f/
#3 udk vkyfwJhtcg tay:ykdif; AND
execute
Y0 Y2 Block rSm (Y0 = OFF) jzpfNyD; (Y2 = ON)
Y2
()
#3 jzpfaewm aMumifh Y 0 u False
Y0 Y2
eJY Y 2 u False ukd AND vkyfvkdufwJhtcg
logic result u False jzpfygw,f/
'D result jzpfwJh False ukd temporary memory rSmcPrSwfxm;ygw,f/ atmufykdif;
Y0
AND Block rSm ( u True) eJY ( Y 2 u True) wkdYukd AND vkyfvkdufawmh logic
result u True jzpfygw,f/
tck&wJh True eJY apmapmu temporary memory rSmrSwfxm;wJh False udk OR vkyf
vkdufawmh logic result u True jzpfygw,f/ 'Dawmh Y2 [m ON qufjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
196
OD;pdk;wifh PLC vrf; nTef
yxrtBudrf X0 = ON jzpfwJhtcg
1st Scan rSm Y0 = ON, Y1 = ON eJY Y2 = ON jzpfMuygw,f/
nd
2 Scan rSm Y0 = OFF, Y1 = ON eJY Y2 = ON jzpfMuygw,f/
rd
3 Scan rSm Y0 = OFF, Y1 = ON eJY Y2 = ON jzpfMuygw,f/
yHk(C)(1) Toggle Output Status-Time Diagram ukd Munfhyg/
X0 = OFF jzpf o G m ;wJ h t cg Y0 = OFF, Y1 = OFF eJ Y Y2 = ON jzpf N yD ; usef c J h y gw,f /
aemufwBudrf X0 = ON jyefjzpfwJhtcg 1st Scan rSm (#1) Y0 = ON, eJY (#2) Y1 = ON
jzpfMuygw,f/ (#1) eJY (#2) ukd execute vkyf NyD;rS?
Y2
#3 ukd execute vkyfwJhtcg tay:ykdif; AND Block rSm
Y0
Y2
() Y0 u True jzpfNyD; Y 2 u False jzpfyg
#3
Y0 Y2 w,f/ 'gaMumifh logic result u False jzpfygw,f/
'D AND Block &JU logic result jzpfwJh False ukd
temporary memory rSm cPrSwfxm; ygw,f/
atmufykdif; AND Block ukd execute vkyfawmh Y 0 u False jzpfNyD; Y 2 u True
jzpfvkdY AND Block &JU logic result u False jzpfygw,f/
tck &wJh False eJY apmapmurSwfxm;wJh False ukd OR vkyfvkdufawmh logic result u
False yJjzpfygw,f/ 'gaMumifh Y2 = OFF jzpfoGm;ygw,f/ tck 'kwd,tBudrf X0 = ON
jzpfwJhtcgrSm 1st Scan rSm Y0 = ON, Y1 = ON eJY Y2 = OFF jzpfMuygw,f/
X0 Y1 X0
2nd Scan rSm #1 Y0
() #1 udk execute vkyfwJhtcg
The more you learn about PLCs, the more you will be able to solve other control problems.
197
OD;pdk;wifh PLC vrf; nTef
'kwd,tBudrf X0 = ON jyefjzpfwJhtcg
1st Scan rSm Y0 = ON, Y1 = ON eJY Y2 = OFF wkdYjzpfMuygw,f/
nd
2 Scan rSm Y0 = OFF, Y1 = ON eJY Y2 = OFF wkdYjzpfMuygw,f/
rd
3 Scan rSm Y0 = OFF, Y1 = ON eJY Y2 = OFF wkdYjzpfMuygw,f/
X0 Y2 +
Y2
() 24V
COM 0
X0 Y2
24V
+ S/S
The more you learn about PLCs, the more you will be able to solve other control problems.
198
OD;pdk;wifh PLC vrf; nTef
Program a&;NyD;&if Compile vkyfyg/ Simulator ukd
yg/ Write to PLC
ON
vkyfyg/ Online Mode ukdESdyfyg/ Task Bar ay:rSm Simulator qkdwJhpm eJY RUN qkdwJh
tpdrf;a&mifpm ay:ae&ygr,f/ wu,fvkdY STOP qkdwJh teDa&mifpm ay:ae&if PLC ukd
RUN vkdufyg/
Click on Simulator icon
Write to PLC
PLC to RUN
Online Mode
tckcsdefxd wu,fh PLC eJY qufoG,frxm;&ao;ygbl;/ Virtual PLC eJY prf;oyf
MunfhrSm jzpfygw,f/
X0 ay: Cursor wif? Right Click ESdyfNyD; Set On vkyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
199
OD;pdk;wifh PLC vrf; nTef
Y2 [m ON vkduf? OFF vkduf? jzpfaewmukd Computer Screen ay:rSm awGU&yg
vdrfhr,f/
trSefwu,fu Y2 [m 1-scan time ON, 1-scan time OFF jzpfNyD;? oscillate jzpfaeyg
w,f/
1st Scan ON, 2nd Scan OFF, Next Scan ON, Next Scan OFF jzpfaeygw,f/
Y2 = ON jzpfNyD;wnf&dSaewJh tcsdef[m 1-scan time yJMumjrifhygw,f/
Task Bar rSm Munhf&if Scan Time : 0.6ms vkdY awGU&ygvdrfhr,f/ 'D program udk RUN
wJhtcg 1 scan cycle &JU MumjrifhwJh tcsdefudk0.6ms vkdY az:jywm jzpfygw,f/
Computer Screen ay:rSm Y2 ukd ON aeaMumif; Highlight vkyfjywJh tpdrf;a&mif
ay:aewJh tcsdefumv u 1s avmufMumygw,f/
0.6ms yJ Highlight vkyfjy? pdrf;jy? w,fqkd&ifvnf; 0.6ms Mumatmifay:NyD;? 0.6ms
MumatmifaysmufuG,foGm;wJh tpdrf;a&mif ON/OFF jzpfaewmukd vlU&JU rsufpdu cGJjcm;NyD;
odEkdifpGrf; r&Sdygbl;/
'gukd rSefuefaMumif; twnfjyKEkdifzkdYtwGuf wu,fh PLC eJY vufawGU prf;oyf
MunhfzdkY vkdtyfygw,f/
yHk(C)(2) rSm jyxm;wJhtwkdif; pushbutton (N.O) 1ck jzpfwJh P.B1 &,f? rD;vHk; (24V,
1W) Lamp1 &,fukd wu,fh PLC (DVP-14SS2-11R) rSm qufoG,fwyfqifyg/
yHk(C)(2) rSmazmfjyxm;wJh LD program ukd WPLSoft eJYa&;NyD; PLC xJukd download
vkyfyg/ PLC ukd RUN yg/ P.B1 ukd ESdyfxm;NyD; PLC ay:u Y2 qkdwJh Output LED ukd
Munhfyg/ LED (Y2) vif;aewmukd jrifawGU&ygvdrfhr,f/
Online Mode ukd ESdyfNyD; Computer Screen ay:u Y2 ukdMunhfyg/ Y2 ae&mrSm tpdrf;
a&mif Highlight ay:vkduf^aysmufvkduf jzpfaewmukd awGUjrif&ygvdrfhr,f/ P.B1 ukd ESdyfxm;
oa&GU tpdrf;a&mif Highlight u ay:vmvkduf^aysmufoGm;vkduf jzpfaeNyD; PLC ay:rSm &SdwJh
Output LED (Y2) uawmh tNrJvif;aewmudk awGUjrif&ygvdrfhr,f/
trSefwu,fjzpfaewmu Y2 [m 0.6ms ON jzpfNyD;? 0.6ms OFF jzpfaewmom jzpfyg
w,f/ P.B1
1
X0 ON
Y2 0 OFF
X0
Status
Y2
() 1 ON
0 Y2 OFF
X0 Y2 1 ON
P.B1 X0
0 OFF
1ScanTime
1 ON
0 Y2 OFF
t0 t1t2t3t4 Time
ykHukdMunhfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
200
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
201
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
202
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
203
OD;pdk;wifh PLC vrf; nTef
PLCtvkyfvkyfyHk scanning process ukd English vkdzwfcsifolawGtwGuf &SmazG&orQukd
atmufrSm EdIif;,SOf azmfjyay;xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
204
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
205
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
206
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
207
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
208
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
209
OD;pdk;wifh PLC vrf; nTef
+
24V
PLC
COM 0
24V
+ S/S
NyD;&if PLC xJukd download vkyfyg/ PLC ukd RUN vkdufyg/ Pushbutton ukd ESdyfMunhf
yg/ jyefvTwfMunhfyg/ rsufjrifrSmawmh aESmif;aES;MuefYMumw,fvkdY od&SdcHpm;&rSmr[kwfygbl;/
The more you learn about PLCs, the more you will be able to solve other control problems.
210
OD;pdk;wifh PLC vrf; nTef
wu,fwrf; PLC u vkyfaqmif&mrSmawmh pushbutton ukd ESdyfvkdufvkdY contact close
jzpfoGm;wJhtcsdefeJY Input Image Memory rSm X0 = ON vkdY a&;rSwfvkdufwJh tcsdefMum;rSm
10ms Mumjrihfygw,f/ Input delay jzpfygw,f/ Contact bounce aMumifhjzpfwJh noise eJY
electromagnetic interference aMumifhjzpfwJh noise awGudk ppfxkwfNyD; csefxm;cJhcsifvkdY wrif
delay jzpfatmif vkyfxm;wmjzpfygw,f/ 'gukd Input response time vkdYvnf; ac:ygw,f/ 'D
delay time ukd jyifcsif&if D1020 rSm oGm;jyifvkdY&ygw,f/ omreftoHk;jyKoltaeeJY rjyifoifh
ygbl;/ aemufxyf 1scan time delay jzpfygao;w,f/
LD program ukd tckvkdcyfwkdwkda&;xm;&ifawmh 1scan time [m 0.3ms Mumygw,f/
tckoHk;wJh PLC (DVP-14SS2-11R) u relay output jzpfwJhtwGuf relay contact &JU traveling
time 10ms xyfMumygw,f/ pkpkaygif; 20.3ms delay jzpfygw,f/ Pushbutton uk d ES d y f v k d u f v k d Y
terminal X0 rS m signal a&muf N yD ; 20.3ms MumrS terminal Y0 u signal xk w f a y;ygw,f /
yHk(Ex. 1) rSm jyxm;ovkd Pushbutton eJY Lamp ukd PLC rSmqufoG,fNyD; LD program
ukd Examine OFF X0 eJY a&;cJh&if P.B1 ukd rESdyfbJxm;wJhtcgrSm Y0 = ON (Lamp = ON)
jzpfNyD; P.B1 ukd ESdyfvkdufawmhrS Y0 = OFF (Lamp = OFF) jzpfygw,f/ I/O responding time
uawmh 20.3ms yJjzpfygw,f/
PLC tvkyfvkyfyHktqihfqihfukd Scan Cycle taMumif; pmrsufESm (180) rSm
azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
211
OD;pdk;wifh PLC vrf; nTef
Exercise Program 2
Exercise Program 2 ukd vufawGUprf;zkdY yg0ifwJh ypnf;awGuawmh
(1) P.B1 (N.O contact) 1ck?
(2) P.B2 (N.C contact) 1ck?
(3) Lamp 24VDC, 3W 1ck?
(4) DVP-14SS2-11R PLC 1ck? eJY
(5) 24VDC, 1A power supply unit 1ck? wkdYjzpfMuygw,f/
Pushbutton 2ck eJY Lamp 1ck ukd yHkrSm jyxm;wJhtwkdif; qufoG,fyg/
P.B 1
Lamp
X0 Y0
+
P.B 2 24V
PLC
X1 COM 0 X0 X1 Y0
()
24V
+ S/S [END]
The more you learn about PLCs, the more you will be able to solve other control problems.
212
OD;pdk;wifh PLC vrf; nTef
Exercise Program 3
Logic OR ukd vufawGUprf;MunhfzkdY twGuf yg0ifwJhypnf;awG uawmh
(1) N.O pushbutton 2ck
(2) Lamp 24V, 3W 1ck?
(3) 24VDC, 2A power supply 1ck? eJY
(4) DVP-14SS2-11R PLC 1vHk;? wkdYjzpfMuygw,f/
+
P.B 2 24V
X1 PLC COM 0
24V
+ S/S
LD program udk WPLSoft eJY a&;NyD; PLC xJ download vkyfxm;yg/ PLC ukd RUN
vdkufyg/ Pushbutton awGukd ESdyfNyD;prf;Munhfyg/ P.B1 eJY P.B2 b,f[mudk ESdyfESdyf Lamp
rD;vif;NyD;? 2ck wGJESdyf&ifvnf; rD;vif;ygw,f/ 'gukd Logic OR vkdY ac:ygw,f/
IF (X0 = ON) OR (X1 = ON) THEN (Y0 => ON) vkdY ckdif;xm;wmjzpfygw,f/
'D program udk a&;csif&if? b,ftpGef Initial point rSm Cursor csNyD;? <Enter> <L> <D>
<Space> <X> <0> <Enter> <O> <U> <T> <Space> <Y> <0> <Enter> <L> <D>
<Space> <X> <1> <Enter> Vertical line udk a&;csif&if? X0 ab;uyfvsufnmbufrSm
Cursor csNyD; <F9> udkEdSyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
213
OD;pdk;wifh PLC vrf; nTef
Exercise Program 4
Logic XOR ukd vufawGUprf;MunhfzkdYtwGuf yg0ifwJh ypnf;awGuawmh
(1) N.O pushbutton 2ck?
(2) N.C pushbutton 2ck?
(3) Lamp 24V, 3W 1ck?
(4) 24V, 2A DC power supply 1ck? eJY
(5) DVP-14SS2-11R PLC 1vHk;? wkdY jzpfMuygw,f/
P.B 1
Lamp
X0 Y0
P.B 2
+
X1 24V
COM 0
P.B 3 PLC
X2
P.B 4
X3 X0 X1
Y0
()
24V
+ S/S X0 X1
yHk(A) yHk(B)
yHk(A) rSmjyxm;wJhtwkdif; qufoG,fNyD; program ukd yHk(B) rSmjyxm;wJhtwkdif; a&;yg/
'D program uawmh Logic XOR jzpfygw,f/ P.B1 1ckxJ ESdyf&ifvnf; Y0 = ON jzpfygw,f/
P.B2 1ckxJ ESdyf&ifvnf; Y0 = ON jzpfygw,f/ P.B1 a&m P.B2 yg aygif;ESdyf&ifawmh Y0 =
OFF jzpfygw,f/
IF [(X0 = ON) AND (X1 = OFF)] OR [(X0 = OFF) AND (X1 = ON)] THEN [(Y0 => ON)]
vkdY a&;xm;wm jzpfygw,f/
AND Block 2ck udk OR vkyfxm;wmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
214
OD;pdk;wifh PLC vrf; nTef
Exercise Program 5
Pushbutton 4ck? eJY Lamp udk yHk(A) twdkif; qufoG,fyg/
yHk(C)
yHk(C) twkdif; program ukd a&;yg/ 'gvnf; XOR yJjzpfygw,f/ P.B2 eJY P.B3 ukd
1ckcsif; pD ESdyfrS Y0 = ON jzpfygw,f/ 2ck wGJESdyf&ifawmh Y0 = OFF jzpfygw,f/
IF [(X1 = ON) AND (X2 = ON)] OR [(X1 = OFF) AND (X2 = OFF)] THEN (Y0 => ON)
vkdY a&;xm;wm jzpfygw,f/ AND Block 2ck ukd OR vkyfxm;wm jzpfygw,f/
P.B2 u N.O pushbutton jzpfNyD; P.B3 u N.C pushbutton jzpfw,fqdkwmudk owdjyKyg/
Exercise Program 6
Pushbutton 4ck? eJY Lamp udk yHk(A) twdkif;qufoG,fyg/
yHk(D)
yHk(D) twkdif; program ukd a&;yg/ P.B1 eJY P.B2 ukd wGJESdyf&ifvnf; Y0 = ON
jzpfygw,f/ P.B3 eJY P.B4 udk wJGESdyf&ifvnf; Y0 = ON jzpfygw,f/ P.B 1ckcsif;pD ESdyf&ifawmh
Y0 = OFF jzpfaeygvdrhfr,f/
IF [(X0 = ON) AND (X1 = ON)] OR [(X2 = OFF) AND (X3 = OFF)] THEN [(Y0 => ON)]
vkdY a&;xm;wm jzpfygw,f/
AND Block 2ckukd OR vkyfxm;wm jzpfygw,f/
P.B1 eJY P.B2 u N.O pushbutton jzpfNyD; P.B3 eJY P.B4 u N.C pushbutton jzpfw,f
qdkwmudk owdjyKyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
215
OD;pdk;wifh PLC vrf; nTef
Exercise Program 7
Pushbutton 4ck? eJY Lamp udk yHk(A) twkdif; qufoG,fyg/
yHk(E)
yHk(E) twkdif; LD program udka&;yg/ Y0 udk ON jzpfapr,fh condition awGuawmh
(1) P.B1 eJY P.B2 ukdwGJESdyf&if?
(2) P.B1 eJY P.B4 ukd wGJESdyf&if?
(3) P.B3 eJY P.B2 ukdwGJESdyf&if?
(4) P.B3 eJY P.B4 ukdwGJESdyf&if?
(5) P.B 4ckpvHk;udk wGJESdyf&if? wkdYjzpfMuygw,f/
IF [(X0 = ON) OR (X2 = OFF)] AND [(X1 = ON) OR (X3 = OFF)] THEN [(Y0 => ON)]
vkdY a&;xm;wm jzpfygw,f/
OR Block 2ckukd AND vkyfxm;wmjzpfygw,f/
Exercise Program 1 to 7 udk wu,fh PLC, rSm wu,fh Pushbutton awGeJY qufoG,fNyD;
vufawGU prf;Munhf NyD;&if?
(1) PLC &JU Input Device (sensor) awGrSm N.O/N.C qkdwJh obm0ukd xnhfoGif;
pOf;pm; &r,fqkdwm&,f?
(2) tJ'D N.O/N.C awGeJY qDavsmfatmif LD program xJrSm open contact, closed
contact awGudk a&G;cs,ftoHk;NyD; instruction code tjzpfa&;&w,f? qkdwmukd
em;vnf oabmayguf avmufNyDvkdY xifygw,f/
PLC xJrSm &SdwJh CPU u PLC &JU input terminal rSm wwfqifxm;wJh sensor awG[m N.O
vm;? N.C vm; qkdwmukd odEkdifpGrf;r&Sdygbl;/ Input terminal rSm signal &Sdw,f? r&Sdbl;?
qkdwmukdom odEkdifygw,f/
Signal &SdrS output ukd ON jzpfapcsif&if open contact ukd oHk;&ygw,f/
Signal r&SdrS output ukd ON jzpfapcsif&if closed contact ukd oHk;&ygw,f/
Open contact [m ON jzpfae&if True jzpfNyD; Open contact [m OFF
jzpfae&if False jzpfygw,f/ Closed contact [m OFF jzpfae&if True jzpfNyD; Closed
contact [m ON jzpfae&if False jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
216
OD;pdk;wifh PLC vrf; nTef
X0
( Y0 )
X0
( Y0 )
The more you learn about PLCs, the more you will be able to solve other control problems.
217
OD;pdk;wifh PLC vrf; nTef
tcef; (14) PLC xJu Counter taMumif ; /
PLC wkdif;rSm Internal Counter awG yg&SdMuygw,f/ tJ'D Counter awG[m Output terminal
eJU qufoG,frIvHk;0 r&SdvdkU internal counter vdkU ac:wmjzpfygw,f/
trsdK;tpm; type rwl&if yg0if wJh Counter ta&twGuf rwlMuygbl;/ Counter
PLC
trsdK;tpm; type vnf; uGmjcm;Muygw,f/ 'gaMumihf rdrdvufxJrSm&SdwJh PLC rSm b,fvkd
Counter trsdK;tpm; awGygovJqkdwm odxm;zkdU vkdtyfygw,f/ odcsif&if OEM &JU
Programming Manual xJu Memory Map ukd &SmMunhf&rSm jzpfygw,f/ PLC rSmygavh&SdwJh
Counter awGuawmh
(1) Up Counter (Incrementing Counter)
(2) Down Counter (Decrementing Counter)
(3) Up-Down Counter (Reversible Counter) eJY
(4) High Speed Counter wkdY jzpfMuygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
218
OD;pdk;wifh PLC vrf; nTef
Up Counter
atmufrSm erlem programawGa&;NyD; &Sif;jyxm; ygw,f/ vufawGUtoHk;jyKwJh PLC u
Delta Electronics Ltd. u xkwfvkyfwJh DVP-14SS2-11R2 jzpfygw,f/
yHkrSm jyxm;wJh program ukd WPLSoft eJY a&;NyD; Simulator ukd ON vkdufyg/
Task Bar rSm Simulator qkdwJh pm ay:vmwJhtcg Wirte to PLC vkyfyg/ PLC ukd RUN yg/
Online Mode ukd ON NyD; X0 ay: Cursor cs? Right Click ESdyf? Set On vkyfyg/ NyD;&if X0 ukd Set
Off vkyfxm;cJhyg/ tckvkyfcJhwmu C0 ukd reset vkyfwmjzpfygw,f/
X1 ay: Cursor cs? Right Click ESdyfNyD; Set On vkyfyg/ teDa&mifeJY ay:aewJh K0 uae
K1 ukd ajymif;oGm;ygvdrhfr,f/ 1 digit count vkyfvkdufwm jzpfygw,f/ X1 u counting input
jzpfygw,f/ tJ'D counting input &JU Logic condition u False-to-True jzpfrS Counter 1csuf
wuf oGm;wm jzpfygw,f/
txufygtwkdif; a&;NyD;prf;Munhfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
219
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
220
OD;pdk;wifh PLC vrf; nTef
yHkrSm yg&dSwJh SV qkdwmu Set Value jzpfNyD; PV u Present Value jzpfygw,f/ 'D Counter
ukd Up Counter vkdY ac:ygw,f/
Counter eJY ywfoufNyD; aemufxyfodxm;&rSmu General Counter eJY Latched Counter
qkdwmjzpfygw,f/
General Counter u PLC ukd RUN-to-STOP vkyfvkduf&if pkrdNyD;om; wefzkd; accumulated
value tm;vHk; reset (clear) jzpfoGm;ygw,f/ PLC ukday;xm;wJh power jywfoGm;&ifvnf;
accumulated value tm;vHk; reset jzpfoGm;ygw,f/ Count vkyfxm;orQ tm;vHk; oHknjzpfoGm;
ygw,f/
Latched Counter
Latched Counter trsdK;tpm;uawmh RUN-to-STOP yJ vkyfvkyf? Power yJ jywfjywf?
accumulated value awGukd rSwfxm;NyD;om;twkdif; raysmufrysufatmif odrf;xm;ygw,f/
Power jyef&NyD; PLC udk RUN vkduf&if count vkyfNyD;om;wefzkd;uae a&SUqufwkd;NyD; count
vkyfoGm;ygw,f/ Resume vkyfoGm;ygw,f/
Counter [m ON NyD;om;?jzpfae&ifvnf; PLC ukd STOP vkyfvkdufwJhtcg PLC &JU output
tm;vHk;u OFF jzpfoGm;ayrJh ON jzpfNyD;om;? Latched Counter uawmh ON qufjzpfaeyg
w,f/ PLC udk jyef RUN vkdufwJhtcg ON NyD;om;? Latched Counter eJY qufpyfywfoufwJh
output awGvnf; ON jyefjzpfygw,f/
DVP-14SS2-11R2 xJrSm C0 u General Counter jzpfNyD;? C112 u Latched Counter jzpf
ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
221
OD;pdk;wifh PLC vrf; nTef
atmufrSmjyxm;ovdk program udka&;NyD; prf;Munfhyg/
C0 to C111 eJY C128 to C199 wkdY[m 16-bit General Up Counter awG jzpfMuygw,f/
C112 to C127 txdu 16-bit Latched Up Counter awG jzpfMuygw,f/
C233 to C242 txd[m 32-bit Latched Up/Down Counter awG jzpfMuygw,f/ if;wkdY[m
32-bit Software High-Speed Counter awG jzpfMuygw,f/
C243 to C254 txd[m 32-bit Latched Up/Down Counter awG jzpfMuygw,f/ if;wkdY[m
32-bit Hardware High-Speed Counter awG jzpfMuygw,f/
16-bit Counter awG&JU Set value ukd trsm;qHk;a&;EkdifwJh wefzkd;u 1 to 32767 jzpfygw,f/
32-bit Up/Down Counter awG&JU Set value ukd -2,147,483,648 to +2,147,483,647 txd
a&;Ekdifygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
222
OD;pdk;wifh PLC vrf; nTef
yHkrSm jyxm;wJh program twkdif;a&;xm;NyD;? Kn1 ukd K30000 vkdY a&;r,f? Kn2 ukd
K20000 vkdY a&;cJhr,f qdk&if? pkpkaygif; Set value (SV) [m n1 x n2 = (30000 x 20000 =
600000000) jzpfoGm;ygw,f/ C5 [m n1 (i.e 30000) wefbkd;jynhfrS 1cg ON jzpfygw,f/ C5 =
ON jzpfoGm;&if C6 ukd 1 digit count-up vkyfckdif;NyD;aemuf C5 ukd reset vkyfypfygw,f/ C6 u
awmh X14 = ON jzpfrS reset jzpfygw,f/
Up/Down Counter
DVP-14SS2-11R2 rSm Up/Dn Counter (C200 to C232) pkpkaygif; 33ck yg&Sdygw,f/
K5 qkdwmu udef;aowefzkd; constant value ukd decimal number eJY a&;wm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
224
OD;pdk;wifh PLC vrf; nTef
Counter C0 ukd 10 cg count vkyfckdif; csif&if 10 cg ukd decimal number eJY a&;r,fqkd&if
K ukd toHk;jyKNyD; [CNT C0 K10] vkdY a&;&ygw,f/
wu,fvkdY [CNT C0 D2] vkdY a&;xm;cJh&ifawmh t"dyg,fu Counter C0 ukd count
vkyfckdif;wJh ta&twGuf Set value (SV) uddk D2 xJrSm&SdwJh wefbkd;twkdif; a&wGufygvkdY
ckdif;xm;wm jzpfygw,f/ D2 u udef;&Sifwefzkd; variable jzpfygw,f/ Data register ukd D eJY
owfrSwfazmfjyygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
225
OD;pdk;wifh PLC vrf; nTef
tcef; (15) PLC xJu Timer taMumif ;
PLC wkdif;rSm Internal Timer awG yg&SdMuygw,f/ Output terminal eJU qufoG,frIvHk;0
r&SdvdkU internal timer vdkU ac:wmjzpfygw,f/ Timer 2rsdK; 2pm;&Sdygw,f/ Non-retentive timer
eJY Retentive timer wdkY jzpfMuygw,f/
DVP-14SS2-11R qkdwJh PLC xJrSm 2rsdK;pvHk;ygygw,f/
DVP-14SS-11R qkdwJh PLC xJrSmawmh non-retentive timer trsdK;tpm; 1 rsdK;om yg&Sd
ygw,f/
CPM1A-20CDR qkdwJh Omron PLC xJrSmvnf; non-retentive trsdK;tpm; 1 rsdK;om
yg&Sd ygw,f/
Timer rSm tcsuftvuf parameter oHk;rsdK; &Sdygw,f/
1/ Time base jzpfygw,f/ 1 digit ajymif;zdkY MumwJhtcsdefudk Time Base vdkY ac:yg
w,f/
2/ a&wGuf&r,fh tcsdefyrmPudk azmfjywJh Preset Value jzpfygw,f/ Set Value
(SV) vdkYvnf; ac:ygw,f/
3/ a&wGufNyD;om;wefzdk; accumulated value jzpfygw,f/ Current value vdkYvnf;
ac:yg w,f/ vuf&Sdwefzdk; present value (PV) vdYkvnf; ac:ygw,f/
Timer &JU vkyfudkifaqmif&GufyHkudk erlem program awGa&;NyD; &Sif;jyxm;ygw,f/
#1
#2
Timer Program Status-Time Diagram
yHkrSm Status-Time Diagram eJY 'Doabmudk ay:vGifatmif azmfjyxm;ygw,f/
yHkrSm PV qdkwm vuf&Sdwefbdk; Present Value jzpfygw,f/ yHkrSm SV qdkwm a&wGuf
&r,fY wefbdk; Set Value jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
227
OD;pdk;wifh PLC vrf; nTef
'D
program udk a&;csif&if?
<Enter> acgufNyD; LD vdkY dkuf? <Space> 1csuf acguf? X0 vdkY dkufyg/ <Enter>
acgufyg/ NyD;&if TMR vdkY dkuf? <Space> 1csuf acguf? T0 vdkY dkuf? <Space>
1csuf acguf? K100 vdkY dkufxnfhNyD; <Enter> acgufyg/
#1
a&;xm;wJh program #1 &JU t"dyg,fu X0 = ON jzpfrS T0 udk time counting vkyfygvdkY
cdkif;xm;ygw,f/ tcsdefa&wGufNyD;om;*Pef; time counted value 100 jynfhrS T0 udk ON
vdkufygvdkY cdkif;xm;wm jzpfygw,f/
#2
Program &JU 'kwd,pmaMumif; #2 udk a&;csif&if? <Enter> acgufNyD; LD vdkY dkuf? <Space>
1csuf acguf? T0 vdkY dkufyg/ <Enter> acgufyg/ NyD;&if OUT vdkY dkuf? <Space>
1csuf acguf? Y0 vdkY dkufNyD; <Enter> acgufyg/
WPLSoft rSm PLC type udk SS2 vdkY a&G;NyD; 'D program udk a&;yg/ Simulator udk ON
NyD; Write to PLC vkyfyg/ Online mode udk ON yg/ X0 ay: Cursor csNyD; right
click ESdyf Set On vkyfyg/
'DtcgrSm [TMR T0 K100] &JU tay:rSm K0 uae K100 txd *Pef;awG ajymif;ae
wmudk awGU&ygvdrfhr,f/ K0 rSmyJ &yfae&if Task Bar rSm RUN qdkwJh tpdrf;a&mifpmvHk;&Sd?
r&Sd? udk Munfhyg/ STOP qdkwJh teDa&mifpmvHk;? ay:ae&if PLC udk RUN vkdufyg/ RUN qdkwJh
tpdrf;a&mifpmvHk;? ay:aeygvsufeJY K0 rSmyJ &yfwHhae&if Write to PLC xyfvkyfyg/
tcka&;jywJh tqifhawGudk rvkyfwwf&if pmrsufESm (137) uae (148) txd jyefzwf
Munfhyg/ yHkawGeJY &Sif;jyxm;ygw,f/
teDa&mif K0 uae K100 jzpfoGm;wJhtcg T0 = ON jzpfoGm;ygw,f/ Time counting
vkyfcdkif;wJh ta&twGuf (K100) jynfhoGm;vdkY Timer ON oGm;wmjzpfygw,f/ 'DtcsdefrSm X0
[m ON yJ qufjzpfaeayrJh time counting vkyfwmuawmh K100 rSmyJ &yfaeygw,f/
teDa&mif K100 qdkwmu accumulated value a&wGufNyD;om;wefbdk; time counted value
jzpfygw,f/
X0 udk Set Off vkyfNyD;? aemufwpfcg Set On vkyfMunfhyg/ 'Dwpfcgawmh 100 rjynfhcif
5s avmuftMumrSm X0 udk Set Off jyefvkyfvdkufyg/ Accumulated value awG 0 (zero)
jzpfoGm;wmudk awGU&ygvdrfhr,f/ 'g[m Non-Retentive Timer &JU obm0 trltusifh
jzpfygw,f/ T0 [m Non-retentive timer trsdK;tpm; jzpfyg w,f/
T0 tpm; T250 udk ajymif;a&;NyD; prf;Munfhyg/ pmrsufESm 230 rSm yHkawGeJY &Sif;jyxm;yg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
228
OD;pdk;wifh PLC vrf; nTef
'D program &JU 'kwd,pmaMumif;udk IF [(T0 = ON)] THEN [(Y0 to be ON)] vdkY a&;xm;
wm jzpfygw,f/
t"dyg,fu T0 = ON jzpfrS Y0 = ON jzpfatmifvkyfygvdkY cdkif;wmjzpfygw,f/
DVP-14SS2-11R rSm WPLSoft eJY [TMR T0 K100] vdkY a&;wmudk CPM1A-20CDR rSm
CX-Programmer eJY a&;r,f qdk&if [TIM 000 #100] vdkY a&;&ygw,f/
CPM1A rSm time counting vkyfwmu #100 vdkY a&;xm;&if 100, 99, 98, - - -, 1, 0.
'Dvdk avsmhusoGm;NyD; 0 a&mufrS Timer TIM 000 [m ON jzpfygw,f/ Decrementing Timer
vdkY ac:ygw,f/ DVP-14SS2 xJrSm yg&SdwJh Timer awGu Incrementing Timer awG jzpfMuyg
w,f/
PLC xJ u Timer awG e J Y ywf o uf N yD ; od x m;&rJ h tcsuf a wG u awmh
(1) Retentive Timer eJY Non-retentive Timer udk cGJjcm;NyD; odxm;&ygr,f/
(2) Timer Number eJY Time Base udk wGJNyD; odxm;&ygr,f/
(3) Timer Function Code udk odxm;&ygr,f/
(4) Set Value eJY Accumulated Value udk tquftpyfeJYwuG odxm;&ygr,f/
'Dvdk em;vnfzdkY Delta Elecronics, Ltd. u xkwfwJh DVP-14SS2-11R qdkwJh PLC udk
tajcjyKNyD; a&;om;azmfjyxm;ygw,f/ SS2 xJrSm Timer b,fESpfrsdK; ygovJqdkwm od&
atmif OEM &JU Programming Manual xJu Memory Map udk atmufrSm azmfjyxm; yg
w,f/
SS2 rSm xl;jcm;wmu T64 to T126 udk 'Dtwdkif;oHk;&if olY&JU time base u 100ms jzpfNyD;?
M1028 udk ON xm;NyD;rS oHk;&if olU&JU time base u 10ms jzpfygw,f/ M1028 [m special
bit jzpfygw,f/ T200 to T245 udk 'Dtwdkif;oHk;&if olY&JU time base u 10ms jzpfNyD;? M1038 udk
ON xm;NyD;rS oHk;&if olU&JU time base u 1ms jzpfygw,f/ M1038 vnf; special bit
yJjzpfygw,f/ Special bit qdkwm special code vkyfxm;wJh bit jzpfygw,f/
Retentive Timer awGxJrSm T240 to T245 txdu time base = 10ms jzpfNyD;? T246 to
T249 txdu time base = 1ms trsdK;tpm;jzpfygw,f/ T250 to T255 txdu time base =
100ms jzpfygw,f/
DVP-14SS2-11R2
Time Base Non-Retentive Timer Retentive Timer
T0 to T126,
100ms T250 to T255
T128 to T183
T200 to T239
10ms T64 to T126 T240 to T245
When M1028 = ON
T127 T246 to T249
1ms T200 to T239 T240 to T245
When M1038 = ON When M1038 = ON
yHkrSm &Sif;atmif trsdK;tpm;cGJjyxm;ygw,f/
Oyrm Delta PLC DVP-14SS2-11R2 rSm yg&SdwJh T250 [m Retentive Timer trsdK;
tpm; jzpfygw,f/
#1
#2
'Dprogram rSm a&;xm;wmu IF [(X0 is ON)] THEN [TMR T250 K100] vdkY jzpfyg
w,f/ X0 = ON jzpfrS T250 udk 100 txd time count vkyfygvdkY cdkif;xm;wm jzpfygw,f/
X0 = ON jzpfawmhrS T250 [m time counting p vkyNf yD; 10s Mum&if T250 = ON jzpf
oGm;ygw,f/ T250 = ON jzpfzdkYtwGuf 10s ausmfMumatmif X0 = ON jzpfaezdkYawmh vdkyg
w,f/
atmufpmaMumif;rSm a&;xm;wmu IF [(T250 is ON)] THEN [(Y0 to be ON)] vdkY
jzpfygw,f/ T250 = ON jzpfrS Y0 udk ON vkdufygvdkY cdkif;xm;wm jzpfygw,f/
T250 = ON jzpfNyD;wJhtcsdefrSm X0 = OFF jzpfoGm;&ifvnf; T250 uawmh qufNyD; ON
jzpfaeygw,f/ T250 udk OFF jzpfzdkYtwGuf RST qdkwJh instruction code udk oHk;NyD; reset vkyf
ay;&ygw,f/ yHkrSm X1 = ON jzpfrSom T250 reset jzpfNyD; T250 = OFF jzpfygw,f/ T250 reset
jzpfoGm;rS accumulated value vnf; 0 (zero) jzpfoGm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
231
OD;pdk;wifh PLC vrf; nTef
atmufrSm toHk;0ifwJh erlem Timer program awGa&;NyD; &Sif;jyxm;ygw,f/
tJ'gawGuawmh
(1) ON-delay Timer Function
On-delay qdkwmu
Input = ON jzpfwJh
tcg Output u
OUT
csufcsif; ON rjzpf
ao;bJeJY owfrSwf
xm;wJh tcsdefjynfhrS ON jzpfwmudk ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
232
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
233
OD;pdk;wifh PLC vrf; nTef
omrefrsufpdeJY rjrif? rawGUEdkifygbl;/ Y4 = OFF jzpfoGm;wmudk taMumif;jyKNyD;awmhom T6
[m ON jzpfcJhw,fqdkwmudk odEdkifygw,f/
'D program rSm Y4 udk ON cdkif;wmu T5 eJY jzpfygw,f/ Y4 udk OFF cdkif;wmu T6 eJY
jzpfygw,f/ Start/Stop program yHkpHyJ jzpfygw,f/ Y4 = ON jzpfaewHk; X0 = OFF jzpfoGm;rS
T6 [m time counting p vkyfygw,f/ Set value K30 (3s) jynfhoGm;rS T6 = ON jzpfoGm;yg
w,f/ Next Scan a&mufrS Y4 = OFF jzpfoGm;ygw,f/ Y4 = OFF jzpfwmeJY wNydKifeuf T6
vnf; OFF jyefjzpfoGm;ygw,f/ 'gaMumifh Status-Time Diagram rSm T6 = ON jzpfwJhumvudk
T eJY azmfjyxm;wm jzpfygw,f/ T u 1 scan time udk ajymwm jzpfygw,f/ 'D program udk
a&;NyD; prf;Munfh&if 1 scan time [m 0.3ms yJ Mumygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
234
OD;pdk;wifh PLC vrf; nTef
Timer &JU Set value [m tuefYtowf&Sd ygw,f/ DVP-14SS2-11R2 qdkwJh PLC rSm Set
Value udk K1 to K32767 txdyJ a&;vdkY &ygw,f/ 100ms time base &SdwJh T0 udk oHk;r,fqdk&if
3276.7s (54minutes and 36.7seconds) txdom time counting vkyfckdif;vdkY &ygw,f/
tJ'Dxuf ydkMumwJh tcsdefudk time counting vkyfckdif;csif&if Timer awGudk cascade csdwfquf
NyD; oHk;&ygw,f/
Oyrm X0= ON jzpfNyD; 1 em&D 10 rdepfMumrS Output Y1 udk ON jzpfapcsif&if
Kn1 = 30000, Kn2 = 12000, xm;NyD;
IF [(X0 = ON)] THEN [TMR T11 K30000] eJY IF [(T11 = ON)] THEN [TMR T12 K12000] vdkY
a&;&ygw,f/
K30000 u 3000s = 50 minutes jzpfygw,f/ K12000 u 1200s = 20 minutes jzpfyg
w,f/ pkpkaygif; MumjrifhwJh tcsdefumv [m (n1 = 50 minutes) + (n2 = 20 minutes) jzpfwJh
twGuf 1Hr 10Min jzpfoGm;ygw,f/
Programa&;enf;? prf;Munfhenf;udk pmrsufESm (137) rSm tao;pdyf azmfjyxm;yg
w,f/
Timer awG[m 16 bits &SdwJh Word Device awGjzpfMuygw,f/ Timer &JU Set Value udk
K100 vdkY a&;xm;&if 100 vdkY decimal value eJU a&;xm;wmjzpfNyD; 100 txd time counting
vkyfckdif;wm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
236
OD;pdk;wifh PLC vrf; nTef
#2
vkdY a&;xm;cJh&if X1 = OFF jzpfrS Y1 = ON jzpfygw,f/ X0 = ON jzpf&if Y1 = OFF
jzpfygw,f/ tJY'Dvkd a&;csif&if? Enter LDI X1 Enter OUT Y1 Enter ESdyf yg/
Oyrm?
#3
vkdY a&;xm;cJh&if X0 = ON jzpfrS Timer T0 ukd execute vkyNf yD; time counted value =
50 jzpfoGm;rS T0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD X0 Enter TMR T0 K50 Enter ESdyf yg/
The more you learn about PLCs, the more you will be able to solve other control problems.
237
OD;pdk;wifh PLC vrf; nTef
#4
vkdY a&;xm;cJh&if X1 = OFF jzpfrS Timer T0 ukd execute vkyfNyD; time counted value =
50 jzpfoGm;rS T0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LDI X1 Enter TMR T0 K50 Enter ESdyf yg/
#5
vkdY a&;xm;cJh&if X1 = ON to OFF 1cg jzpfwkdif; counter C0 u 1 digit count up
vkyfNyD; counted value = 10 jzpfoGm;rS C0 = ON jzpfygw,f/ tJY'Dvkd a&;csif&if? Enter LDI
X1 Enter CNT C0 K10 Enter ESdyf yg/
#6
vkdY a&;xm;&if X2 = ON jzpfaeoa&GU? scan wkdif;? scan wkdif;? C1 &JU set value (SV)
xJukd K20 a&;xnfhay;aeygw,f/
tJY'Dvkd a&;csif&if? Enter LD X2 Enter MOV K20 C1 Enter ESdyf yg/
#7
vkdY a&;xm;cJh&ifawmh X2 = OFF to ON jzpfwdkif; C1 &JU set value (SV) xJukd K20
a&;xnfhay;ygw,f/
tJY'Dvkd a&;csif&if? Enter LDP X2 Enter MOV K20 C1 Enter ESdyf yg/
#8
vkdY a&;xm;cJh&ifawmh X2 = ON to OFF jzpfrS C1 &JU set value (SV) xJukd K20 a&;
xnfhay;ygw,f/
tJY'Dvkd a&;csif&if? Enter LDF X2 Enter MOV K20 C1 Enter ESdyf yg/
#9
The more you learn about PLCs, the more you will be able to solve other control problems.
238
OD;pdk;wifh PLC vrf; nTef
#10
vkdY a&;xm;cJh&if D0 xJu wefzdk; value [m 5 eJU nDrS Y0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD= D0 K5 Enter OUT Y0 Enter ESdyf yg/
#11
vkdY a&;xm;cJh&ifawmh D0 xJu wefzdk;u 5 xufBuD;rS Y0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD> D0 K5 Enter OUT Y0 Enter ESdyf yg/
#12
vkdY a&;xm;cJh&ifawmh D0 xJu wefzdk;u 5 xufi,frS Y0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD< D0 K5 Enter OUT Y0 Enter ESdyf yg/
The more you learn about PLCs, the more you will be able to solve other control problems.
239
OD;pdk;wifh PLC vrf; nTef
#13
tJY'Dvkd a&;csif&if? Enter LD X0 Enter CMP K7 C0 Y0 Enter ESdyf yg/
X0 = ON jzpfae&if 7 eJY? counter C0 xJu count vkyfNyD;om;wefzdk; counted value eJY? ukd
scan wkdif;? EdIif;,SOfrI compare vkyfNyD;? C0 xJu count vkyfNyD;om;wefzdk;xuf 7 u BuD;&if Y0
= ON jzpfygw,f/ C0 xJu count vkyfNyD;om;wefzdk;eJY? 7 eJY? nD&if Y1 = ON jzpfygw,f/ C0
xJu count vkyfNyD;om;wefzdk;xuf 7 u i,f&if Y2 = ON jzpfygw,f/
'Dvkd a&;xm;&if?
S 1 (Source 1) xJuwefzdk; eJY? S 2 (Source 2) xJuwefzdk; wkdYukd EdIif;,SOfvkdY&wJh Result
uawmY? yHkrSmjyxm;wJhtwkdif;? S 1 u BuD;&if D (Destination) u ON jzpfNyD;? S 1 eJY S 2 nD&if
D+1 u ON jzpfygw,f/ S 1 u i,f&if D+2 u ON jzpfygw,f/
#14
vkdY a&;xm;cJh&if X0 = OFF to ON jzpfrS first scan om M0 = ON jzpfygw,f/
aemufwenf;ajym&&if X0 = OFF to ON jzpfaeckduf rSmom M0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD X0 Enter PLS M0 Enter ESdyf yg/
#15
vkdY a&;xm;cJh&if X0 = ON to OFF jzpfrS M0 u one scan time Mumatmif ON
jzpfygw,f/ aemufwenf;ajym&&if X0 = ON to OFF jzpfaeckduf rSmom M0 = ON
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
240
OD;pdk;wifh PLC vrf; nTef
#16
vkdY a&;xm;cJh&if X0 = ON to OFF jzpfrS one scan time Mumatmif M0 = ON jzpfyg
w,f/ aemufwenf;ajym&&if X0 = ON to OFF jzpfaeckduf rSmom M0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD X0 Enter PLF M0 Enter ESdyf yg/
#17
vkdY a&;xm;cJh&if X0 = OFF to ON jzpfrS one scan rQom M0 = ON jzpfygw,f/
aemufwenf;ajym&&if X0 = OFF to ON jzpfaeckduf rSmom M0 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LDI X0 Enter PLF M0 Enter ESdyf yg/
#18
vkdY a&;xm;cJh&if X0 = OFF to ON jzpfaeckduf one scan rQom Y10 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LDP X0 Enter OUT Y10 Enter ESdyf yg/
#19
vkdY a&;xm;cJh&if X0 = OFF to ON jzpfrS one scan rQom Y10 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LD X0 Enter PLS Y10 Enter ESdyf yg/
#20
vkdY a&;xm;cJh&if X1 = ON to OFF jzpfrS one scan rQom M1 = ON jzpfygw,f/
tJY'Dvkd a&;csif&if? Enter LDF X1 Enter OUT M1 Enter ESdyf yg/
#21
The more you learn about PLCs, the more you will be able to solve other control problems.
241
OD;pdk;wifh PLC vrf; nTef
#22
#23
#24
The more you learn about PLCs, the more you will be able to solve other control problems.
242
OD;pdk;wifh PLC vrf; nTef
yHkrSmjyxm;ovdk program ukd a&;xm;cJh&if
#22 X0 = OFF to ON jzpfNyD; first scan rSmom Y10 = ON jzpfygw,f/
#23 X1 vnf; ON jzpfae&r,f/ X2 vnf; OFF to ON jzpf&r,f/ tJ'DESpfrsdK; NydKifwl
jzpfaeckduf rSmom Y11 = ON jzpfygw,f/
#24 (X3 or X4) = OFF to ON jzpfaeckduf rSmom Y12 = ON jzpfygw,f/
#25
tJ'Dvkd a&;csif&if? Enter LDP X0 Enter ALT Y10 Enter ESdyf yg/
#26
#27
vkdY a&;xm;cJh&if
#26 X0 = OFF to ON jzpfrS Y10 = ON jzpfwm one scan rQom Mumygw,f/
#27 X1 = ON to OFF jzpfrS Y11 = ON jzpfwm one scan rQom Mumygw,f/
Input Instruction = False to True jzpf a eck d u frSmom PLS ukd execute vkyfygw,f/
Input Instruction = True to False jzpf a eck d u f rS m om PLF uk d execute vk y f y gw,f /
The more you learn about PLCs, the more you will be able to solve other control problems.
243
OD;pdk;wifh PLC vrf; nTef
#28
#29
The more you learn about PLCs, the more you will be able to solve other control problems.
244
OD;pdk;wifh PLC vrf; nTef
#30
Explanation of example
#31
The more you learn about PLCs, the more you will be able to solve other control problems.
245
OD;pdk;wifh PLC vrf; nTef
Description
The SET instruction executes when the trigger is turned on. Output turns on and holds on
even if the triggers state changes.
The RST instruction executes when the trigger is turned on. Output coil turns off and stays
off even if the triggers state changes.
yHk
#31 rSmjyxm;ovdk program ukd a&;csif&if? Enter LD X0 Enter SET Y30
Enter LD X1 Enter RST Y30 Enter ESdyf yg/
X0 = ON jzpf&if Y30 = ON jzpfoGm;NyD; X0 = OFF jyefjzpfoGm;&ifvnf; Y30 u ON jzpf
usefcJhygw,f/ X1 = ON jzpfrS Y30 u OFF jyefjzpfoGm;ygw,f/ X1 = ON qufjzpfaecdkufrSm
X0 = ON jzpfayrJhvnf; Y30 u ON r jzpfygbl;/ yHk #31 rSmvdk program udk a&;xm;&if
Reset-dominant jzpfygw,f/ Set-dominant jzpfcsif&if RST Y30 udk tay:rSma&;NyD;rS SET
Y30 udk atmufrSm a&;&ygw,f/ pmrsufESm 249 rSmvnf; &Sif;jyxm;ygw,f/
#32
yHk #32 rSmjyxm;ovdk program ukd a&;xm;cJh&if? X1 = ON jzpfrS C100 udk reset vkyfyg/
X0 wpfBudrf ON jzpfwdkif; count up wpfcg vkyfyg? 10Budrf txd vkyfygvdkY C100 udk cdkif;xm;
wm jzpfygw,f/
X0 = OFF to ON wpfBudrfjzpfwkdif; Counter C100 u count-up wpfcg vkyfygw,f/
Count vkyfwm 10Budrf jynhfwJhtcg C100 = ON jzpfygw,f/ C100 = ON jzpfrS Y31 [m ON
jzpfygw,f/ X1 udk ON vdkufvdkY Counter reset jzpfawmhrS C100 a&m Y31 yg OFF jzpf oGm;yg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
246
OD;pdk;wifh PLC vrf; nTef
(n1 * 0.1) sec Mumatmif Y1 = ON jzpfvkduf? (n2 * 0.1) sec Mumatmif Y1 = OFF jzpf
vkduf? eJU X0 = ON jzpfaeoa&G hoscillate jzpfaeygw,f/
'gaMumifh X0 = ON jzpfoGm;NyD;
(n1 x T) sec + (n2 x T) sec MumrS
Y1 = ON jzpfygw,f/
Timer resolution: T qdkwmu
Time Base udk ajymwm jzpfygw,f/
'DtaMumif;udk pmrsufESm 235 rSm
&Sif;jy xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
248
OD;pdk;wifh PLC vrf; nTef
The counting range of a 16-bit counter is 0 ~ 32,767. The above circuit uses two
counters to increase the counting range as n1*n2. When value in counter C6 reaches n2, the
pulses counted from X13 will be n1 * n2.
X13 = OFF to ON jzpfwm? tBudrf n1 jynhfrS C5 = ON jzpfNyD; C6 udk 1Budrf count up
vkyfygw,f/ C6 udk 1Budrf count up vkyfNyD;rS C5 udk reset vkyfvkdufvkdY C5 = OFF jyefjzpfoGm;
ygw,f/ C5 = OFF to ON jzpfwJhtBudrf n2 jynhfrS C6 = ON jzpfygw,f/ 'gaMumifh C6 = ON
jzpfzdkY X13 = OFF to ON tBudrfaygif; (n1 * n2) jzpf&ygw,f/
#39 Set-dominant and Reset-dominant program
#39
Reset dominant program Set dominant program
Stop first qdkwmu Reset-dominant udk ajymwm jzpfygw,f/ X1 eYJ X2 wkdY NydKifwl ON
jzpfcJh&if Y1 = OFF jzpfygw,f/
Start first qdkwmu Set-dominant udk ajymwm jzpfygw,f/ X1 eYJ X2 wkdY NydKifwl ON
jzpfcJh&if Y1 = ON jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
249
OD;pdk;wifh PLC vrf; nTef
#40 Retentive program
M512 [m retentive memory bit jzpfygw,f/ M512 udk latched memory bit vdkYvnf;
ac:ygw,f/ PLC udk RUN to STOP yJ vkyf? vkyf? Power udkyJ jzwf? jzwf? M512 [m &dS&if;pGJ
tajctaetwdkif; quf&dSaeygw,f/ qdkvdkwmu M512 [m ON NyD;om;? jzpfae&if quf
ON aeNyD;? OFF NyD;om;? jzpfae&ifvnf;? qufNyD; OFF jzpfaeygw,f/
Y1 u t&if ON jzpfaerSom? Y2 udk ON vkdY&ygw,f/ Y1 = OFF jzpfoGm;&if Y2 yg OFF
jzpfoGm;ygw,f/ Output ESpfckudk tpOftwdkif;? wpfck ON NyD;rS aemufwpfckudk ON csifwJh
tcgrSm oHk;avY&Sdygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
250
OD;pdk;wifh PLC vrf; nTef
#42Interlocking Circuit
Y1 = ON t&ifjzpfae&if? X2 = ON jzpfayrJh? Y2 u ON rjzpfygbl;/ Y2 u t&if ON
jzpf ae&ifvnf;? X1 = ON jzpfayrJh? Y1 u ON rjzpfygbl;/ Y1 eYJ Y2 Output 2ck OD;pm;ay;
r&dSyJ? NydKifwl ON rjzpfapcsif&if program udk txufrSmvdk a&;&ygw,f/
X0 Y1
#1 Y0
()
X0
#2 Y1
()
Y0 Y2
Y2
()
#3
Y0 Y2
The more you learn about PLCs, the more you will be able to solve other control problems.
252
OD;pdk;wifh PLC vrf; nTef
The PLC requires regular inspection and maintenance for proper operation. The following
items should be checked every six months.
Test
Item What to Check Criteria
Equipment
Does the voltage
measured within the Voltage must fall within
Supplied
power terminal fall the power module input Voltmeter
Power
within the specified voltage specifications.
range?
Does the temperature fall
within the specified 0 to 55C (32 to 131F) Thermometer
range?
Does the humidity fall
Environment Humidity levels below
within the specified Hygrometer
20% RH.
range?
Is there any dust Present? No dust. Visual
Does the control voltage Control voltage must fall
supplied to the I/O within the input and
I/O Power Voltmeter
modules fall within the output modules
specified limit? specifications.
Are all of the modules
Module secure?
Mounting Is the connection cable All should be firmly
Screwdriver
and secure? secured.
Wiring Is the external wiring
screw loose?
The more you learn about PLCs, the more you will be able to solve other control problems.
253
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
254
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
255
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
256
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
257
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
258
OD;pdk;wifh PLC vrf; nTef
Terminology
This section introduces some terminology you should know.
address. (1) The location in a computers memory where particular information is stored.
(2) The alphanumeric value used to identify a specific I/O rack, module group, and
terminal location.
analog signal. A continuous signal that changes smoothly over a given range, rather than
switching suddenly between certain levels as discrete signals do.
AND. A logical operator that requires all input conditions to be logic 1 for the output to be
logic 1. If any input is logic 0, then the output will be logic 0.
arithmetic instructions. Computer programming codes that give a PLC the ability to
perform mathematical functions, such as addition, subtraction, multiplication, division,
and square root, on data.
ASCII code. (American Standard Code for Information Interchange) A standard computer
code used to facilitate the interchange of information among various types of data-
processing equipment.
backplane. A base to which Units are mounted to form a Rack. Backplanes provide a series
of connectors for these Units along with wiring to connect them to the CPU and Power
Supply. Backplanes also provide connectors used to connect them to other Backplanes.
In some Systems, different Backplanes are used for different Racks; in other Systems,
Racks differ only by the Units mounted to them.
backup. A device or system that is kept on hand to replace a device or system that fails.
battery backup. A battery or set of batteries that will provide power to the processors
memory in the event of a power outage.
baud rate. Transfer speed between two devices in a system measured in bits per second.
binary coded decimal (BCD). A binary number system in which each decimal digit from 0
to 9 is represented by four binary digits (bits). The four positions have a weighted value
of 1, 2, 4, and 8, respectively, starting from the least significant (right-most) bit.
Conversion of BCD values can be done in hexadecimal calculations. For example, the
BCD representation of decimal 27 would be two sets of 4 bits: 0010 0111.
binary number system. A base 2 number system that uses only the numbers 0 and 1 to
express all values. Each digit position of a binary number has a weighted value of 1, 2,
4, 8, 16, 32, 64, and so on, starting with the least significant (right-most) digit.
bit. For binary digit. The smallest piece of information that can be represented on a
computer. A bit has the value of either zero or one, corresponding to the electrical
signals ON and OFF. A bit is one binary digit.
The more you learn about PLCs, the more you will be able to solve other control problems.
259
OD;pdk;wifh PLC vrf; nTef
Boolean operators. Logical operators, such as AND, OR, NAND, NOR, NOT, and
exclusive-OR, that can be used singly or in combination to form logical statements that
have output responses of TRUE or FALSE.
byte . A byte is made up of 8 bits. It can hold data values from 0 to 255. In base 16, or
hexadecimal, a byte can be expressed as 0 to FF. You cannot have a value greater than
255 when using one byte.
central processing unit (CPU). The part of a programmable controller responsible for
reading inputs, executing the control program, and updating outputs. Sometimes
referred to as the processor, the CPU consists of the arithmetic logic unit,
timing/control circuitry, accumulator, scratch pad memory, program counter, address
stack, and instruction register.
code. (1) A binary representation of numbers, letters, or symbols that have some meaning.
(2) A set of programmed instructions.
coil. A ladder diagram symbol that represents an output instruction.
communication cable. Cable used to transfer data between components of a control system
and conforming to the RS-232C or RS-422 standards.
contact. A ladder diagram symbol that represents an input condition.
control panel. A panel that contains instruments used to control devices.
Control System. All of the hardware and software components used to control other
devices. A Control System includes the PLC System, the PLC programs, and all I/O
devices that are used to control or obtain feedback from the controlled system.
counter instructions. Computer programming codes that allow a PLC to perform the
counting functions (count up, count down, counter reset) of a hardware counter.
edge . An edge is defined as the point when an input changes state. For example, a rising
edge occurs during the very first scan after the input has changed from OFF to ON. A
falling edge occurs after the input has changed from ON to OFF.
EEPROM . EEPROM is electronically erasable and programmable memory that retains its
data even through loss of power. The PLC program is stored in EEPROM and will be
retained when power is off.
ethernet. A specification for local communication networks that employs coaxial cable as a
passive communications medium to interconnect different kinds of computers,
information processing products, and office equipment at a local site.
exclusive-OR (XOR). A logical operation, which has only two inputs, that yields a logic 1
output if only one of the two inputs is logic 1 and a logic 0 output if both inputs are the
same, either logic 1 or logic 0.
execute. To perform a specific operation by processing either one instruction, a series of
instructions, or a complete program.
gate. A circuit having two or more input terminals and one output terminal, where an output
is present only when the prescribed inputs are present.
ground loop. A condition in which two or more electrical paths exist within a ground line.
The more you learn about PLCs, the more you will be able to solve other control problems.
261
OD;pdk;wifh PLC vrf; nTef
Hex (Hexadecimal) . A hexadecimal number is a value expressed in Base 16. A base 16
number system that uses the numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 and the letters A, B,
C, D, E, and F to represent numbers and codes. In a byte, word, or double word, each
set of 4 bits corresponds to a single hex digit. For example, the binary value 0100 1111
would correspond to the hex value 4F, and a decimal value of 79.
host. A central computer in a network system.
host computer. A computer attached to a network that provides such services as
computation, database access, or special processes or programming languages.
internal output. A program output that does not drive a field device and is used for internal
purposes only. It provides interlocking functions like a hardwired control relay. An
internal output may also be referred to as an internal storage bit or an internal coil.
interrupt. The act of redirecting a programs execution to perform a more urgent task.
The more you learn about PLCs, the more you will be able to solve other control problems.
262
OD;pdk;wifh PLC vrf; nTef
I/O. This term is used to describe the total number of inputs and outputs allocated to a
particular PLC.
isolation transformer. A transformer that protects its connected devices from surrounding
electromagnetic interference.
ladder diagram language (LD). A graphical set of instructions that implements basic relay
ladder functions in a PLC.
ladder relay instructions. Computer codes that implement relay coils and contacts and
their corresponding functions in a PLC.
language. A set of symbols and rules for representing and communicating information
between people and machines.
latch. To retain a state even when the input conditions change.
least significant bit (LSB). The bit representing the smallest value in a nibble, byte, or
word.
light-emitting diode (LED). A semiconductor diode whose junction emits light when
current passes through it in a forward direction.
Limit Switch. A switch that detects when an object has reached the limit of its movement
by actually making contact with the object. Limit Switches are fitted to electric
elevators, traveling cranes, etc. to indicate when a certain part of the equipment has
traveled to the specified limit.
load. The power used by a machine or apparatus.
location. A storage position or register in memory identified by a unique address.
logic. The process of solving complex problems through the use of simple functions that can
be either true or false.
logic diagram. A drawing that uses interconnected AND, OR, and NOT logic symbols to
graphically describe a systems operation or control.
The more you learn about PLCs, the more you will be able to solve other control problems.
263
OD;pdk;wifh PLC vrf; nTef
microprocessor. A digital, electronic logic package (usually on a single chip) capable of
performing the program execution, control, and data-processing functions of a central
processing unit. A microprocessor usually contains an arithmetic logic unit, temporary
storage registers, instruction decoder circuitry, a program counter, and bus interface
circuitry.
most significant bit (MSB). The bit representing the greatest value of a nibble, byte, or
word.
octal number system. A base 8 number system that uses eight numbers 0, 1, 2, 3, 4, 5, 6,
and 7 to represent all values.
off-line. The state of not being in continuous direct communication with the processor.
one shot. A programming technique that sets a storage bit or output to a certain state for
only one scan.
on-line. The state of being in continuous communication with the processor.
The more you learn about PLCs, the more you will be able to solve other control problems.
264
OD;pdk;wifh PLC vrf; nTef
operand. The register address numbers that identify the elements in a program.
optical coupler. A device that couples signals from one circuit to another by means of light
radiation.
OR. A logical operator that yields a logic 1 output if any input is logic 1 and a logic 0
output if all inputs are logic 0.
output. Information sent from the processor to connected field devices.
output device. Any connected equipment, such as control devices (e.g., motors, solenoids,
and alarms) or peripheral devices (e.g., line printers, disk drives, and color displays),
that receives information or instructions from the central processing unit. Each type of
output device has a unique interface to the processor.
output table. The area of a PLCs memory where information about the status of output
devices is stored.
panel enclosure. The physical enclosure that houses a PLCs hardware and components.
peripheral. Those devices which support but are not directly involved in the control
operation.
Photoelectric Switch. A switch that uses light to detect the presence of an object.
PLC. An abbreviation for Programmable Logic Controller. It is used in the automatic
control of machinery and plant equipment. The great advantage of a PLC is that it can
be programmed using software, such as Gx-Developer, Cx-Programmer, to carry out a
wide variety of tasks.
Port. A communication channel between two devices.
power supply. The unit that supplies the necessary voltage and current to a systems
circuitry.
Program. A sequence of instructions to be executed by the programmable controller
processor to control a machine or process.
program. A planned set of instructions stored in memory and executed in an orderly
fashion by the central processing unit.
programming device. A peripheral device used to write programs and to input a program to
a PLC or to alter or monitor a program already stored in the PLC. There are dedicated
programming devices, such as Programming Consoles, and there are nondedicated
programming devices, such as a host computer.
program scan. The time required by the processor to evaluate and execute the control logic.
This time does not include the I/O update time. The program scan repeats continuously
while the processor is in the run mode.
The more you learn about PLCs, the more you will be able to solve other control problems.
265
OD;pdk;wifh PLC vrf; nTef
random-access memory (RAM). A volatile, alterable memory that provides storage for the
application program and data.
read. (1) To acquire data from a storage device. (2) The transfer of data between devices,
such as a peripheral device and a computer.
read-only memory (ROM). A type of memory that permanently stores an unalterable
program or set of instructions.
redundancy. Duplication of either hardware or software for reliability assurance.
reset. 1) To turn off and back on. 2) To clear. 3) To restore the default parameters.
resolution. The smallest detectable increment of measurement.
RS232. A serial communications system used for transferring information. Used in a PLC
system for downloading and uploading instruction programs.
SCADA. Abbreviation for Supervisory Control And Data Acquisition.
scan. The process of reading all inputs, executing the control program, and updating all
outputs.
scan time. The time necessary to completely execute the entire PLC program one time,
including update of I/O, communications, and other housekeeping tasks.
Scan Time . The CPU follows a procedure in which it 1) reads the inputs, 2) processes the
ladder program, and 3) updates the outputs. It continually repeats this process. This 3-
step process is called a scan, and the time it takes to complete this process is the
scan time. In a typical PLC application, most of the scan time is used to process the
program. When programming, keep in mind that the scan time will increase as you
increase the number of inputs and outputs and/or the size of the program.
sensor. A device that produces a voltage or current output representative of some physical
property being measured (speed, temperature, flow, etc.). Generally, the output of a
sensor requires further processing before it can be used elsewhere.
sequential function charts (SFC). An object-oriented programming framework that
organizes actions written in IEC 61131-3 programming languages (ladder diagram,
instruction list, function block diagram, and structured text) into a unified sequential
control program.
sink. A term, which describes the direction of current flow into or out of either an input or
an output terminal of a PLC. To operate a PLC sink input, the direction of current flow
will be from a positive voltage supply through a closed input switch/ proximity
detector and then into the PLC input terminal.
software. The programs that control the processing of data in a system.
source. A term, which describes the direction of current flow into or out of either an input
or an output terminal of a PLC. To operate a PLC source input, the direction of current
The more you learn about PLCs, the more you will be able to solve other control problems.
266
OD;pdk;wifh PLC vrf; nTef
flow will be out of the PLC input terminal through a closed input switch/ proximity
detector and then into a COM (common) terminal.
structured text (ST). A high-level, text-based PLC programming language, resembling the
BASIC and PASCAL computer languages, that allows a control program or any other
complex task to be broken down into smaller tasks.
switch. An input device that sends either an ON or OFF signal to the Control System. A
switch can be operated either by a person or by the movement of a piece of equipment
or material.
switching capacity. The voltage/current that relay can switch ON and OFF.
system. A set of one or more PLCs, I/O devices and modules, computers, associated
software, peripherals, terminals, and communication networks that together provide a
means of performing information processing to control a machine or process.
thumbwheel switch. A rotating switch used to input numeric information into a controller.
time base. A unit of time generated by the system clock and used by software timer
instructions. Typical time bases are 0.01, 0.1, and 1.0 seconds.
timer instructions. Computer codes that allow a PLC to perform the timing functions (ON-
delay, OFF-delay, reset) of a hardware timer.
triac. A semiconductor device that functions as an electrically controlled switch for AC
loads.
TRUE. As related to PLC instructions, a set logic state associated with a binary 1.
truth table. A table that shows the state of a given output as a function of all possible input
combinations.
twisted pair. A communications medium consisting of two insulated wires loosely twisted
together.
upload. To transfer data from a device.
USB. An abbreviation for Universal Serial Bus. A modern type of communications system
for connecting peripherals, i.e. mouse, printer, scanner, internet modem, to a computer.
There are adapters available, which enable a Mitsubishi Electric SC09 communication
cable to be connected to the USB port of a computer.
volatile memory. A memory that loses its information if the power is removed from it.
weighted value. The numerical value assigned to any single bit as a function of its position
in a word.
word . A word is made of 16 bits. It can hold data values from 0 to 65,535. In base 16 a
word can be expressed as 0 to FFFF.
write. To enter data into a storage device.
The more you learn about PLCs, the more you will be able to solve other control problems.
267
OD;pdk;wifh PLC vrf; nTef
Reference
1. PLCs Theory and Implementation 2nd Ed (L. A. Bryan) 1997
2. Lessons In Industrial Instrumentation (Tony R. Kuphaldt) 13 June 2012
http://openbookproject.net/books/socratic/sinst/book/
3. Beginners Guide to PLC Programming (Neal Babcock) 2008
4. A PLC Primer www.industrialtext.com
5. Basics of PLC Programming - Industrial Control Systems, Fall 2006
6. DVP-PLC Application Examples of Programming, April 2012
7. FX-Series PLC Training Manual using GX-Developer, 2006
8. Micro PLC Self Teach Manual GFK-0811, June 1993
9. NAIS FP series PLC Programming Manual, 2000
10. GE Fanuc Micro PLC Programmers Guide, April 1994
11. FX PLC Applications and Programming (John Ridley) 2004
12. EC Series Micro-PLC Programming Manual (Emerson) 2007
13. Programmable Controllers - An engineers guide 3rd Edition (E.A. Parr) 2003
14. IEC 61131-3 Programming - Industrial Automation Systems (Karl-Heinz John)
2010
15. PLC Programming Methods and Applications (John R. Hackworth)
16. Industrial Electronics (Frank D. Petruzella) International Editions 1996
The more you learn about PLCs, the more you will be able to solve other control problems.
268
OD;pdk;wifh PLC vrf; nTef
Omron PLC Example Programs
1. Packaging Line Control
yHk (1)
Operation
When PB1 (START Push Button) is pressed, the box conveyor moves. Upon
detection of box present, the box conveyor stops and the Apple conveyor starts. Part sensor
will count for 10 apples. Apple conveyor stops and box conveyor starts again. Counter will
be reset and operation repeats until PB2 (STOP Push Button) is pressed.
yHk (2)
The more you learn about PLCs, the more you will be able to solve other control problems.
269
OD;pdk;wifh PLC vrf; nTef
CNT003
The more you learn about PLCs, the more you will be able to solve other control problems.
270
OD;pdk;wifh PLC vrf; nTef
yHk (4)
The more you learn about PLCs, the more you will be able to solve other control problems.
271
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
272
OD;pdk;wifh PLC vrf; nTef
2. Filling/Draining Control Operation
yHk (8)
Operation procedure
1. As the PB1 is pressed, MV1 opens and the water begins to fill the tank. At the same
time, the stirring motor M starts operations.
2. When the water level passes TLB2 and reaches TLB1, the MV1 closes and the stirring
motor stops.
3. Next, MV2 opens and starts draining the water. When the water levels drops below
TLB2, MV2 closes.
4. When the cycle of operation has repeated four times, the operation END indicator
illuminates, and the filling and draining operation will not restart even if PB1 is pressed.
The more you learn about PLCs, the more you will be able to solve other control problems.
273
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
274
OD;pdk;wifh PLC vrf; nTef
yHk (10) IL - Instruction List Program Program Mnemonics
The more you learn about PLCs, the more you will be able to solve other control problems.
275
OD;pdk;wifh PLC vrf; nTef
Siemens PLC Example Programs
1. Packaging Line Control
Operation
When PB1 (START Push Button) is pressed, the box conveyor moves. Upon
detection of box present, the box conveyor stops and the apple conveyor starts. Part sensor
will count for 10 apples. Apple conveyor stops and box conveyor starts again. Counter will
be reset and operation repeats until PB2 (STOP Push Button) is pressed.
Input Devices Output Devices
I0.0 START Push Button (PB1) Q0.0 Apple Conveyor
I0.1 STOP Push Button (PB2) Q0.1 Box Conveyor
I0.2 Apple Sensor
I0.3 Box Sensor
I0.0
I0.1
I0.2
I0.3
M0.0
C3
Q0.0
Q0.1
Status-Time Diagram
Siemens PLC S7-200 twGuf program udk LD eJY a&;NyD;? FBD, STL wkYdeJY ajymif;Munfh
vdkY &ygw,f/ Symbolic address qdw
k mu memory location awGudk Label uyfNyD;? emrnfay;
address a&;xm;wmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
276
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
277
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
278
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
279
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
280
OD;pdk;wifh PLC vrf; nTef
2. Filling/Draining Control Operation
Operation procedure
1. As the PB1 is pressed, MV1 opens and the water begins to fill the tank. At the same
time, the stirring motor M starts operations.
2. When the water level passes TLB2 and reaches TLB1, the MV1 closes and the stirring
motor stops.
3. Next, MV2 opens and starts draining the water. When the water level drops below
TLB2, MV2 closes.
4. When the cycle of operation has repeated four times, the operation END indicator
illuminates, and the filling and draining operation will not restart even if PB1 is pressed.
Siemens PLC S7-200 udk program a&;r,fqdk&if STEP 7-Micro/WIN eJY a&;&ygw,f/
Omron PLC CPM1A udk program a&;r,fqdk&if CX-Programmer eJY a&;&ygw,f/
CX-Programmer xJrSmygwJY DIFU, DIFD qdkwJY instruction code awGeJYwlnDwJY instruction
code awG STEP 7-Micro/WIN xJrSm ryg&dSvdkY function wlatmif yHk(15) rSmvdkyJ a&;vdkY &yg
w,f/
STEP 7-Micro/WIN xJrSm yg&dSwJY eJY wdkY eJY wlnDwJY instruction code
awGvnf; CX-Programmer xJrSm ryg&Sdygbl;/
The more you learn about PLCs, the more you will be able to solve other control problems.
281
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
282
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
283
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
284
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
285
OD;pdk;wifh PLC vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
286