Documente Academic
Documente Profesional
Documente Cultură
3aOJE:~~'ilrfifly:y~5
~:9~ (~ - O~OO?)
~G:OJ)G<>p8?~~o~051
~~G0)')8[l~oS, 9~0(~[l!'
~dlG01l
~:9~ (~ - 099 00)
~G:OJ)OJGOI
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!'
CIP - 006
PLC roG:26~
C'
JOO?"
~(,,):OJ)OJGOI
J6)~ -OJI
PLC roG:26~
t>:IDC
L
Instrumentation Engineer
July 2013
OD;pdk;wifh
PLC
vrf; nTef
pmrsufESmtTef;
taMumif;t&m
pma&;ol&JU oabmxm; tjrif
tcef; (1) PLC jzpfay:vmyHktaMumif;/
tcef; (2) PLC udk jcHKiHkavYvmoHk;oyfjcif;/
Size of PLC
PLC Architecture
Todays PLC applications
pmrsufESm
6
8
18
20
22
24
30
32
34
35
35
36
37
39
43
46
47
48
49
50
52
55
55
57
59
62
63
The more you learn about PLCs, the more you will be able to solve other control problems.
OD;pdk;wifh
PLC
vrf; nTef
68
68
70
87
87
89
90
94
102
108
109
110
113
(q,fhajcmufvDpepfjzifha&wGufjcif;)
114
115
118
124
128
130
132
145
150
152
157
160
163
171
174
178
The more you learn about PLCs, the more you will be able to solve other control problems.
OD;pdk;wifh
PLC
tcef; (12)
tcef; (13)
tcef; (14)
Programming Exercises 1 to 7
tcef; (17)
vrf; nTef
180
182
183
183
203
210
218
219
221
223
226
232
232
233
234
234
235
236
237
252
253
254
255
257
259
268
aemufqufwJG
269
276
The more you learn about PLCs, the more you will be able to solve other control problems.
OD;pdk;wifh
PLC
vrf; nTef
OD;pdk;wifh
PLC
vrf; nTef
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.
OD;pdk;wifh
PLC
vrf; nTef
Unimate vkdY
ac:wJh
Robot
The more you learn about PLCs, the more you will be able to solve other control problems.
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
10
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
11
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
12
OD;pdk;wifh
PLC
vrf; nTef
Bedford
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
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
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
#1 Relay System
#2
The more you learn about PLCs, the more you will be able to solve other control problems.
18
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
19
OD;pdk;wifh
PLC
vrf; nTef
PLC
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 /
Size of 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/
PLC
The more you learn about PLCs, the more you will be able to solve other control problems.
20
OD;pdk;wifh
PLC
vrf; nTef
Communication
Module
Microprocessor
PLC
Output Module
Input Module
Actuator
Process
Sensor
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
&JU
Communication Module
I/O type
Discrete Sensor
Analogue Sensor
Discrete Actuator
Analogue Actuator
u ESpfrsdK;ESpfpm; &Sdygw,f/
jzpfMuyg
w,f/
Electric signal
rSm
discrete signal
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
PLC
eJY qufoG,ftoHk;jyKwJh
Discrete sensor
Pushbuttons,
Selector switch,
Motor starter contacts,
Relay contacts,
Thumbwheel switch,
Limit switch,
Photoelectric eyes,
Proximity switches,
Liquid level switch,
Temperature switch,
Pressure switch
pwmawG
PLC
awGuawmh
jzpfMuygw,f/
PLC
vrf; nTef
pwmawG jzpfMuygw,f/
PLC
The more you learn about PLCs, the more you will be able to solve other control problems.
23
OD;pdk;wifh
PLC
vrf; nTef
Assembly machines
Building automation
Burner control
Chemical plants
Conveyor systems
Cranes
Electro-plating plants
Factory automation
Food-processing plants
Material handling
Off-shore drilling
Packaging machine
Steel mills
Tobacco industries
Tire manufacturing
TV manufacturing plant
Water treatment
Warehouse automation
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
eJY
control
vkyfwmESpfrsdK;&Sdygw,f/
Machine control
ygw,f/
Machine control qkdwmu pufudkxdef;ausmif;ay;wm jzpfygw,f/ ykvif;xJ t&nf
jznfhwJhpuf filling machine ukd control vkyfwmrsdK;? ykvif;awGudk 6 ykvif; 1 xkyf?
xkyfwJhpuf packaging machine ukd control vkyfwmrsdK;? yvyfpwpfypnf;awG yHkoGif;?
xkwfvkyfwJhpuf plastic injection molding machine ukd control vkyfwmrsdK;awGukd machine
control vdkY ac:wm jzpfygw,f/
Process control qkdwmrSmygwJh process qdkwmu t&m0wKwpfckudk kyfqif; oPmef
tm;jzpfap? physically 'grSr[kwf? "gwkzGJUpnf;yHktm;jzpfap? chemically ajymif;vJ atmif
vkyfaqmifwmukd process vkdY ac:ygw,f/
Oyrm? *sHKrIHUukd aygifrkefYjzpfatmifvkyfwm ukdvnf; process vkdY ac:ygw,f/ BuHuae
oMum;jzpfatmifvkyfwm ukdvnf; process vkdY ac:ygw,f/ acsmif;a&? jrpfa&ukd oHk;a&?
aomufa&jzpfatmifvkyfwm udkvnf; process vkdY ac:ygw,f/ a&&,f? av&,f? obm0
"gwfaiGU&,f oHk;rsdK;udk aygif;pyfNyD; Urea "gwfajrMoZm jzpfatmifvkyfwm ukdvnf; process
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
rSmyJjzpfjzpf
wire
qufvdkY
&atmif azmfjyygr,f/
PLC qdkwm Computer wpfrsdK;jzpfwmrdkYvdkY
w,f/
yxrqHk; avhvm&rSmuawmh
PLC
rSm
hardware
a&m?
software
yg? yg&Sdyg
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/
Type and Size
The more you learn about PLCs, the more you will be able to solve other control problems.
32
OD;pdk;wifh
PLC
udk
power supply
vrf; nTef
tjzpf qufoG,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/
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
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
PLC
vrf; nTef
35
OD;pdk;wifh
PLC
vrf; nTef
aqmifygw,f/
CPU &JU vkyfief;aqmifwmudk twdkcsKyfajym&&if PLC &JU input terminal awGrSm csdwf
qufxm;wJY sensor awGuay;ydkYwJY signal awGudk vufcH&,lw,f/ NyD;awmh PLC &JU
rSwfOmPf memory rSm a&;rSwfxm;wJY nTefBum;csufawG user program twdkif; aqmif&Guf
w,f/ NyD;&if tJ'Daqmif&Gufcsufu&wJY program result awGudk PLC &JU output terminal
awGqDudk ydkYvTwfay;ygw,f/
Modular PLC awG&JU CPU module xJrSm memory eJY microprocessor udk wGJNyD; xnfhoGif;
wnfaqmufxm;ygw,f/ PLC &JUvkyfief;aqmifwmawGukd b,fvdkaqmif&Gufyg vdkY owfrSwf
ay;xm;wJY control program (operating system) [mvnf; tJ'D memory xJrSm yg&Sdygw,f/
'gaMumifh CPU module ysufpD;cJhvkdY&Sd&if CPU module ukd topfvJvS,f wyfqifHkeJYawmh
PLC [m e*dktwkdif; tvkyfrvkyf Ekdifao;ygbl;/ jyefvnfae&mcsxm; ay;&ygao;w,f/
tJ'gukd configure vkyfw,fvkdY ac:ygw,f/ Program jyefa&;xnfh ay;&ygao;w,f/
Compact PLC awGrSmawmh CPU ykdif;[m PLC &JUtpdwftykdif; wpfckrQom jzpfvkdY CPU
ysuf pD;cJh&if PLC topf wpfvHk;eJY vJvS,fwyfqif&ygw,f/ Program ukdvnf; jyefa&;xnfh
ay;&ygw,f/
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
PLC
u wpfrsdK; qkdNyD;
The more you learn about PLCs, the more you will be able to solve other control problems.
37
OD;pdk;wifh
PLC
vrf; nTef
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)
internal output (IR 200) wdkYudk atmufrSm azmfjyxm;ygw,f/
eJY
awGxJu
ac:ygw,f/
Simens PLC awGxJu S7-200 CPU224 rSm
CPU 224
I0.0 to I15.7
Q0.0 to Q15.7
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
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/
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
functional circuit diagram ukd azmfjyxm;ygw,f/
&JU
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/ Phototransistor = 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 (phototransistor 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 photocoupling (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
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/
w,f/
'DpmtkyfrSm
PLC
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
wdkY qufoG,fxm;yHkudk
azmfjyxm;ygw,f/
&JU qHk;jzwfcsufeJYtnD internal circuit u output signal xkwfay;vkdufwJhtcg
(1) Output status indicator LED rD;vif;ygw,f/
(2) Relay coil energize jzpfygw,f/
(3) Relay &JU N.O contact [m close jzpfoGm;ygw,f/
Output wpfckpD rSm internal circuit wpfck? status LED wpfck? relay wpfck?wkdY yg&Sdygw,f/
Relay coil eJY tJ'D relay &JU contact wkdY[m galvanically isolated jzpfNyD; magnetically
coupled vkyfxm;ygw,f/
Relay coil xJpD;qif;wJh current eJY contact xJpD;qif;wJh current wkdY[m woD;wjcm;pD
jzpfygw,f/
PLC Output Relay [m N.O contact wpfckomygwJh Miniature Relay jzpfygw,f/
Voltage free contact jzpfvkdY AC a&m? DC yg jzwfoef;pD;qif;Ekdifygw,f/
CPU
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
yHkrSm
wdkY qufoG,fxm;yHkudk
azmfjyxm;ygw,f/
Output
Transistor
Opto-coupler
Photo-transistor
yHkrSm
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/
Photo-diac
Output Triac
Opto-coupler
yHkrSm
Output Type
Switching Time
Relay
Transistor
30VDC, 300 mA
The more you learn about PLCs, the more you will be able to solve other control problems.
49
OD;pdk;wifh
PLC
vrf; nTef
tvkyfjyefvkyfEkdifygw,f/
PLC Status Indicators and I/O Status Indicators
PLC wdkif;&JU rsufESmpmay:rSm PLC &JU tajctaeawGudk azmfjywJh Status Indicator
awG yg&SdMuygw,f/ LED indicator lamp awGeJY azmfjyavh&Sdygw,f/ Status Indicator 3rsdK;&Sdyg
w,f/
Input signal awG&JU tajctaeawGudk azmfjywJh LEDs awGudk Input Status LED vdkY
ac:ygw,f/ Input terminal ta&twGuf&Sdoavmuf Input Status LED ta&twGuf yg&Sd
ygw,f/ PLC &JU input terminal rSm signal &Sd&if Input LED rD;vif;ygw,f/
Output signal &JUtajctaeudk azmfjywJ LEDs awGudk Output Status LED vdkY ac:yg
w,f/ Output terminal ta&twGuf&Sdoavmuf Output Status LED ta&twGuf yg&Sd
ygw,f/ CPU u signal xkwfay;vdkuf&if output LED rD;vif;ygw,f/
NyD;awmh PLC Status LED vdkY ac:wJh power &&Sd&ifvif;wJh Power LED &,f? PLC udk
RUN vdkufrS vif;wJh RUN LED &,f? rSm;aeNyD Error vdkY azmfjywJh ERR LED &,f?
'DoHk;rsdK;?oHk;pm;?uawmh PLC wdkif;rSmyg&SdMuygw,f/
tcsdKU PLC awGrSm PLC xJudk program a&;xnfhwJhtcg rD;vif;wJh Communication
LED ygwwfygw,f/
tcsdKU PLC awGrSm PLC xJu battery &JU tajctaeudk azmfjywJh Battery LED vnf;
yg&SdwwfMuygw,f/
User program u ckdif;xm;wJhtwdkif; PLC [m vkyfaqmifaeNyDqdk&if RUN LED
rD;vif;aeygw,f/
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
eJYa&wGufvdkY
Input u 24ck
jzpfygw,f/
Octal number
eJYa&wGufvdkY
Output u
16ck jzpfyg
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
'gaMumifh
(1) aea&mifjcnfeJY wkdufkdufxdawGU EkdifwJhae&mrSm PLC udk rwyfqif&ygbl;/
(2) tylcsdef 0C xufavsmheJwJh ae&meJY 55C xufykdrsm;wJh ae&mawGrSm PLC ukd
rwyfqif&ygbl;/
(3) a&aiGUpkdxkdif;q 10%RH xufavsmheJwJh ae&meJY 90%RH xufydkrsm;wJh ae&m
awGrSmvnf; PLC ukd rwyfqif&ygbl;/
(4) tylcsdef kwfw&uf ajymif;vJrIaMumifh aiGU&nfzGJUwwfwJh ae&mawGrSmvnf; PLC
udk rwyfqif&ygbl;/
(5) avmifpm;wwfwJh "gwfaiGU corrosive gas awG? qm;aiGUawG? rD;avmifvG,fwJh
"gwfaiGUawG? &SdwJhae&mrSmvnf; PLC udk rwyfqif&ygbl;/
(6) qDwkdY? a&wkdY? "gwkaq;&nfwkdY? eJY jzef;yufcH&EdkifwJh ae&mrSmvnf; PLC ukd rwyf
qif&ygbl;/
(7) wkefcgrI? cg&rf;rI? jzpfay:EkdifwJh ae&mrSmvnf; PLC udk rwyfqif&ygbl;/
'gawGuawmU PLC ukd wyfqifzkdYtwGuf OEM &JU Manual awGxJu xkwfEIwfazmfjy
xm;wm jzpfygw,f/ tck azmfjycJhwJh ae&mrsdK;rSm PLC ukd rwyfqifbJ? vGwfuif;wJh ae&m
rSm wyffqiftoHk;jyKr,f qkd&if PLC &JUoufwrf;&SnfMumpGm toHk;jyKEkdifrSm jzpfygw,f/
PLC &JU vHkNcHKatmif xkyfykd;rItqifh[m IP20 om &SdwJhtwGuf Panel 'grSr[kwf
Cabinet xJrSmom wyfqiftoHk;jyK&rSm jzpfygw,f/
tJ'Dvdk wyfqiftoHk;jyKwJh tcgrSm tylcsdefvGefuJrI'Pfudk rcH&atmif? av0if
avxGuf rQwrI &Sd&ygr,f/ 'DtwGuf tjcm;ypnf; awGeJY PLC &JUtMum;rSm&SdwJh tuGmta0;
udk 50mm (2 vufrcefY) cGmNyD; wyfqif&ygw,f/ 'Dae&mrSm OEM u owfrSwfwJh Mum;
tuGmta0;xuf ydkreD;ap&ygbl;/
tyl[m atmufbufuae tay:bufukd vGifhysHwufavh&SdvkdY tylxkwfvTwfwJh
ypnf;awG&JU tay:bufrSm PLC udk wyfqifjcif; rjyK&ygbl;/ rvTJom? ra&SmifomwJh
tajctaeaMumifh 55C xufausmfvGefwJh ae&mrSm PLC udk wyfqif&r,fqkd&if tat;ay;
ud&d,mukdoHk;NyD;? PLC ukd 55C txd ra&mufatmif pDrHxm;&ygr,f/ 'Dae&mrSmvnf;
OEM u owfrSwfwJh tjrifhqHk;tyl'D*&D Temperature xuf rausmfvGefap&ygbl;/
The more you learn about PLCs, the more you will be able to solve other control problems.
52
OD;pdk;wifh
PLC
vrf; nTef
wwfqif&r,fhyHk jzpfygw,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 eJY
eH&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
'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
&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/
PLC
Ground loop
jzpfaeovm;qdkwmudk odcsif&if
'D
udk
'Dvdk jzKwfNyD;
eJY
'Dvdk wdkif;MunfhvdkY tkrf; ohm jycJh&if
ground loop &dSaeygw,f/
wdkif;yg
The more you learn about PLCs, the more you will be able to solve other control problems.
56
OD;pdk;wifh
PLC
vrf; nTef
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/
Personal Safety
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
txd&Sdygw,f/
1st characteristic ud k 0 to 6
The more you learn about PLCs, the more you will be able to solve other control problems.
59
OD;pdk;wifh
2nd characteristic
PLC
ukd
0 to 8
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
60
OD;pdk;wifh
NEMA 1 to NEMA 13
PLC
vrf; nTef
txd&Sdygw,f/
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/
NEMA (National Electrical Manufactures Association)
The more you learn about PLCs, the more you will be able to solve other control problems.
61
OD;pdk;wifh
PLC
EIdif;,SOfcsuf/
IP eJY azmfjyxm;wJh enclosure &JU ae&mrSm
enclosue udk tpm;xkd;oHk;pGJr,fqkd&if?
vrf; nTef
IP eJ Y NEMA
wJh
IP 20 &JUae&mrSm
IP 22 &JUae&mrSm
IP 55 &JUae&mrSm
IP 24 &JUae&mrSm
IP 66 &JUae&mrSm
IP 53 &JUae&mrSm
IP 67 &JUae&mrSm
NEMA standard
eJY owfrSwfazmfjyxm;wJh
&JU ae&mrSm
IP Class No.
eJY azmfjyxm;
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
DVP-14SS-11R2 &JU Specification udk
PLC
vrf; nTef
atmufrSmazmfjyxm;ygw,f/
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
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/
owfrSwfazmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
66
OD;pdk;wifh
PLC
vrf; nTef
MumwJh pkpkaygif;tcsdefudk
&,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
Mount
vkyf wyfqif&yg
eJY
DC power supply
ay;&wJh
PLC
AC power supply ay;&wJh PLC rSmvnf; voltage range 2rsdK; &Sdygw,f/ AC100V eJY
AC220V wkdY jzpfMuygw,f/ tJ'D 2rsdK; xJu 1rsdK; ukd a&G;cs,fwJh cvkwf selector switch
wyfqifNyD; xkwfvkyfwJh PLC vnf; &Sdygw,f/ Autovoltage tjzpf 100VAC eJY 240VAC Mum;
BudKufwJh voltage ay;vkdY&wJh PLC rsdK;ukdvnf; xkwfvkyfygw,f/
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)
wiring taMumif;ukd qufvufazmfjyygr,f/
discrete input
The more you learn about PLCs, the more you will be able to solve other control problems.
70
OD;pdk;wifh
PLC
vrf; nTef
ukd
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
olU&JU
trsdK;tpm; jzpfcJh&if
Input
DC24V
Output
for
sensors
Output
The more you learn about PLCs, the more you will be able to solve other control problems.
73
OD;pdk;wifh
PLC
vrf; nTef
atmufu ykHukd
Munfhyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
74
OD;pdk;wifh
PLC
vkdY&wJh
vrf; nTef
Input common ikwfukd S/S vdkYra&;yJ COM vkdY a&;xm;NyD; sink eJY source ajymif;quf
PLC awGvnf; &SdMuygw,f/ tay:ykHukdMunfhyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
75
OD;pdk;wifh
PLC
vrf; nTef
qufvkdY&wJh
t0ifikwf Input terminal eJY bHkoufqkdifwJhikwf COM Mum;rSm 24 VDC udk sensor eJY
series cHNyD; qufay;&wJh PLC u wpfrsdK;? Input terminal eJY COM terminal Mum;rSm Sensor
ukdom wkdufkdufqufay;&wJh PLC u wpfrsdK;? qkdNyD;awmh 2rsdK; &Sdygw,f/
PLC &JU jyifyuae 24VDC ay;p&mrvkdyJ input device udk t0ifikwf eJY COM ikwfMum;
wkdufkdufquf&wJh trsdK;tpm;ukd No-voltage contact input vkdY ac:ygw,f/
24VDC signal input type PLC
xm;&ygr,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
76
OD;pdk;wifh
PLC
vrf; nTef
COM
vdkY a&;xm;wJh
source input
77
OD;pdk;wifh
type
PLC
sensor supply
ygwJh
COM
vdkY a&;xm;wJh
vrf; nTef
sink input
78
OD;pdk;wifh
4/
5/
6/
PLC
vrf; nTef
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
sink eJY
wdkYjzpfNyD;
The more you learn about PLCs, the more you will be able to solve other control problems.
80
OD;pdk;wifh
PLC
vrf; nTef
atmufrSmjyxm;ovdk
atmufrSmjyxm;ovdk tjyifu
24VDC
eJYvnf;
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
Sink input
omqufvkdY&wJh
vrf; nTef
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
Source input
PLC
vrf; nTef
t0ifikwfrSm
MunfhI &ygr,f/
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]
atmufyHkrSm
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
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/
2ck? 3ck? yg&SdcJh&if COM0, COM1, COM2, ..... pojzifh a&;rSwfxm;
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/
COM terminal
ygw,f/ COM0 u
87
OD;pdk;wifh
PLC
vrf; nTef
Relay
The more you learn about PLCs, the more you will be able to solve other control problems.
88
OD;pdk;wifh
PLC
vrf; nTef
&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/
Output relay
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.
90
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
Compact PLC
(1)
(2)
vrf; nTef
rSm yJjzpfjzpf? Modular PLC rSmyJjzpfjzpf PLC wiring eJY ywfoufNyD; jyefvnf
pkpnf; azmfjy&&if
2pm; uGJjym;ygw,f/
AC
qkd&if
qkdNyD;
signal type
2rsdK;uGJjym;
eJY
qkdNyD;
ygw,f/
(3)
Discrete siganl
ay;oGif;wJh ae&mrSmvnf;
AC
DC
signal
2rsdK;2pm;
&Sdygw,f/
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
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
Control panel xJ r S m PLC ud k
vrf; nTef
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
Lamp
0V
+24V
Lamp
+
Sensor
0V
OUT
The more you learn about PLCs, the more you will be able to solve other control problems.
94
OD;pdk;wifh
PLC
vrf; nTef
xm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
95
OD;pdk;wifh
PLC
tJ'D
vrf; nTef
transistor
&JU
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
qufoG,fxm;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
The more you learn about PLCs, the more you will be able to solve other control problems.
98
OD;pdk;wifh
PLC
vrf; nTef
jzpfwJhtwGuf
PNP
type
jzpfwJhtwGuf
NPN
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
source output qkdwm output terminal xJu DC current pD;xGufwmukd ac:wm
PLC
ac:wmjzpfNyD;?
jzpfygw,f/
sink input
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
&Sif;vif;azmfjyay;ygr,f/
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/
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
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
pepf jzifha&wGufjcif;)
The more you learn about PLCs, the more you will be able to solve other control problems.
109
OD;pdk;wifh
PLC
vrf; nTef
102
101
100
1000
100
10
base
weighted values of the position
9
pepf jzifha&wGufjcif;)
jrifawGU&ygr,f/
23
22
21
20
power
base
8
1
4
0
2
1
1
1
= 11 10
110
OD;pdk;wifh
PLC
vrf; nTef
vkdY rSwfxm;Ekdifygw,f/
'gaMumifh 1011 2 &JU wefzkd;nD decimal number u 11 10 jzpfygw,f/ 4 bits ukd oHk;NyD;
trsm;qHk; a&;rSwfEkdifwmuawmh 1111 2 yJjzpfygw,f/ ae&mtvkdufwefzkd;u 8, 4, 2, 1 jzpfwJh
twGuf (8 1 ) 2 + (4 1) + (2 1) + (1 1) = 8 + 4 + 2 + 1 = 15 10 jzpfygw,f/
Memory rSm 4 bits ukdom toHk;jyKNyD;a&;rSwfr,fqkd&if 0 10 (decimal number zero)
uae 15 10 (decimal number fifteen) txdom a&;vkdY&ygw,f/ q,fhig;xufrsm;wJh ta&
twGufukd binary eJY a&;csif&ifawmh memory rSm 4 bits xufykdNyD;oHk;rS a&;rSwfvkdY &EkdifrSm
jzpfygw,f/
PLC &JU memory rSm 4 bits xufrsm;wJhtpku 8 bits &SdwJh byte jzpfygw,f/ 'gaMumifh
4 bits eJY a&;vkdYrqHh&if 8 bits oHk;NyD; a&;rSwf&ygw,f/ 8 bits eJY a&;vkdY rqHhwJh data ukd
a&;rSwfcsif&if 16 bits &SdwJh word ukd oHk;NyD;a&;rSwf&ygw,f/
8 bits oHk;NyD; trsm;qHk;a&;vkdY&wJh binary number u 1111 1111 2 jzpfygw,f/ olU&JU
ae&mtvkdufwefzkd;ukd atmufrSm yHkpHcsNyD;a&;jyxm;ygw,f/
27 26
25
24
23
22
21
20
128 64
32
16
1 = 128+64+32+16+8+4+2+1 = 255 10
placement values
txufrSm az:jyxm;wJh binary number xJu nmtpGefqHk;u bit ae&m (b0) udk LSB
vkdY ac:ygw,f/ LSB qkdwm Least Significant Bit ti,fqHk;udef;vkdY t"dyg,f&ygw,f/
b,ftpGefqHk;u bit ae&m (b7) udk MSB tBuD;qHk;udef; Most Significant Bit vkdY ac:yg
w,f/ Memory &JU wnfae&mukd azmfjywm jzpfwJhtwGuf 0 (zero) ukdvnf; ae&mwpfck&JU
trSwftom; tjzpf (b0) vkdY oHk;xm;wm jzpfygw,f/
'gaMumifh word ukd oHk;NyD; a&;rSwf xm;&if LSB u b0 jzpfNyD; MSB u b15 jzpfyg
w,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
111
OD;pdk;wifh
Double word
PLC
LSB
u b0 jzpfNyD;
MSB
vrf; nTef
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
pepf jzifha&wGufjcif;)
wm jzpfygw,f/
137 8 ukd yHkpHcsNyD;a&;Munhf&if atmufygtwkdif;awGU&ygr,f/
power
2
64
base
= (64 1) + (8 3) + (1 7) = 64 + 24 + 7 = 95 10
qkd&if
78
421
421 421
001
Octal number system rSm tBuD;qHk;*Pef;u 7 jzpfygw,f/ 7 ukd binary eJY a&;r,f
3 digits &Sd&if a&;vkdY&ygw,f/ 'gaMumifh octal rSmyg&SdwJh *Pef;wpfvHk;pDukd 3 digits
binary eJY
ajymif;a&;&wmjzpfygw,f/
tJ'D 1011111 2 udk decimal number ajymif;vkduf&if
26
25
24
23
22
21
20
64 32
16
placement values
= 64 + 0 + 16 + 8 + 4 + 2 + 1 = 95 10
&ygw,f/
137 8 &JU decimal number uvnf;
wkdY[m wefbkd;csif; wlnDMuygw,f/
95 10
95 10
yJjzpfygw,f/ 'gaMumifh
137 8
eJY
1011111 2
The more you learn about PLCs, the more you will be able to solve other control problems.
113
OD;pdk;wifh
PLC
vrf; nTef
vkdY NyD;ygNyD/
jzifha&wGufjcif;)
power
16
161
160
base
256
2
16
1
A
placement values
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
2AF 16
2
vrf; nTef
8421
8421 8421
0010
8421
8421 8421
0011
0010 0110
Decimal Number
BCD Number
The more you learn about PLCs, the more you will be able to solve other control problems.
115
OD;pdk;wifh
PLC
tjzpfajymif;a&;vkduf&if atmufyg
27
26
25
24
23
22
21
20
64
32
16
28
binary number
vrf; nTef
Binary Number
= 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
a&;wJh 0011
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
Number System
0
1
2
3
4
5
6
7
10
11
12
13
14
15
16
17
20
21
22
23
24
25
26
-
vrf; nTef
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
12
13
14
15
16
-
BCD
Binary Coded Hexadecimal
0
1
10
11
100
101
110
111
1000
1001
1 0000
1 0001
1 0010
1 0011
1 0100
1 0101
1 0110
1 0111
1 1000
1 1001
10 0000
10 0001
10 0110
Binary
0
1
10
11
100
101
110
111
1000
1001
1010
1011
1100
1101
1110
1111
1 0000
1 0001
1 0010
1 0011
1 0100
1 0101
1 0111
-
The more you learn about PLCs, the more you will be able to solve other control problems.
117
OD;pdk;wifh
PLC
vrf; nTef
rSmoHk;xm;wJh
logic
qkdwmu
Boolean Logic
ukd
ajymwm jzpfygw,f/
PLC eJYywfoufwJh Boolean logic function awGuawmh
(1) Logic AND,
(2) Logic OR, Logic XOR eJY
(3) Logic NOT wkdY jzpfMuygw,f/
Boolean Logic rSm Logical AND, Logical OR eJU Logical NOT
oHk;rsdK;udk wGJzuf aygif;pyfNyD; NAND eJY NOR wdkY jzpfay:vmygw,f/
Logic AND
+24V
Sw 1
Sw 2
Lamp
'Doabm t"dyg,fudkyJ
azmfjyavh &Sdygw,f/
Sw 1
Sw 2
0V
Graphical
Lamp
'DyHkudk
AND
Sw 2
ac:ygw,f/
Lamp
ON
jzpfrS
output
ON
The more you learn about PLCs, the more you will be able to solve other control problems.
118
OD;pdk;wifh
PLC
vrf; nTef
azmfjyr,f qdk&if
Inputs
Output
Inputs
Output
Sw 1 Sw 2
OFF OFF
OFF ON
ON
OFF
ON
ON
Lamp
OFF
OFF
OFF
ON
Sw 1 Sw 2
0
0
0
1
1
0
1
1
Lamp
0
0
0
1
'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
+24V
Sw 1
Lamp
0V
Sw 2
Sw 1
Sw 1
Lamp
Sw 1
'DyHkudk
Sw 2
2-input OR
OR
Lamp
vkdU ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
119
OD;pdk;wifh
PLC
Truth Table eJU
OR Truth Table
Inputs
Output
Sw 1
OFF
OFF
ON
ON
vrf; nTef
OR Truth Table
Inputs
Sw 2 Lamp
OFF
OFF
ON
ON
OFF
ON
ON
ON
Output
Sw 1 Sw 2 Lamp
0
0
1
1
1
1
1
Inputs
Output
Sw 1 Sw 2
Lamp
Sw 1 Sw 2 Lamp
OFF
ON
ON
OFF
1
1
OFF
OFF
ON
ON
OFF
ON
OFF
ON
Inputs
0
0
1
1
Output
0
1
The more you learn about PLCs, the more you will be able to solve other control problems.
120
OD;pdk;wifh
PLC
+24V
0V
Sw 1
Relay R1
R
Sw 2
Relay R2
R
R1
R2
Graphical symbol u
Lamp
Sw 1
R1
vrf; nTef
Sw 2
R2
Lamp
0V
Sw 1
Relay
R
Lamp
a&;&ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
121
OD;pdk;wifh
Truth Table eJU
PLC
vrf; nTef
Input
Input
Output
Sw 1
Lamp
1
Sw 1
OFF
ON
Output
Lamp
ON
OFF
Lamp
qdk&if
Sw 1
NOT
Lamp
Bubble
t"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/
tckazmfjycJhwJh
twkdcsKyfrSwfom;csif&if
udk ALL (tm;vHk;) vkdY rSwfom; xm;yg/ Input tm;vHk; ON jzpfrS Output u
ON jzpf&vkdY jzpfygw,f/
OR ukd ONE (1ck) vkdY rSwfxm;yg/ Input xJu 1ck ON jzpf&if Output u ON jzpf&vkdY
jzpfygw,f/
XOR ukd Only One (1ck wnf;om) vkdY rSwfxm;yg/ Input awGxJu 1ck wnf; ON
jzpfrSom Output u ON jzpf&vkdY jzpfygw,f/
NOT ukdawmh Invert (ajymif;jyef) vkdY rSwfxm;yg/ Input &JU ajymif;jyef[m Output
jzpfaevkdY jzpfygw,f/
AND
The more you learn about PLCs, the more you will be able to solve other control problems.
122
OD;pdk;wifh
PLC
yHkrSm
vrf; nTef
azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
123
OD;pdk;wifh
PLC
vrf; nTef
wwfEkdifwJh udpjzpfygw,f/
omrefvQyfppftif*sifeD,mrsm;twGuf machine language eJY PLC program a&;wwf
zkdY oif,l&wm tifrwefcufcJygw,f/ 'gaMumihfrkdYvkdY PLC ukd xkwfvkyfolawGu vG,fulpGm
oif,l wwfajrmufEkdifwJh Ladder Diagram Programming Language (LD) ukd wDxGifay;xm;
ygw,f/ 'DaeYacwftxd LD ukd toHk;jyKNyD; PLC program a&;om;Muwm[m 92% &Sdw,fvkdY
2004 ckESpfu aumuf,lxm;wJh ppfwrf;wpfckrSmawGU&ygw,f/
'DpmtkyfrSm LD eJY PLC program a&;om;enf;ukd vG,f&mrSonf cuf&mqDokdY wqifh
NyD;wqifh &Sif;vif;azmfjyxm;ygw,f/ PLC taMumif; vHk;0rodao;olawGudk OD;wnf &nf
&G,fNyD; a&;om;xm;wmjzpfygw,f/
Program qkdwm TefMum;csufawGukd ac:wmjzpfygw,f/ TefMum;csufukd instruction
vkdYvnf; ac:ygw,f/ Command vkdYvnf; ac:ygw,f/ ckdif;apcsufjzpfygw,f/ PLC ukd
ckdif;apr,fqkd&if PLC ukd xkwfvkyfwJh OEM u owfrSwfay;xm;wJh instruction code
awGukdom toHk;jyK&ygw,f/ PLC ukd xkwfvkyfol OEM u b,fvdkowfrSwf ay;xm;ovJ
qkdwmukd od&zkdY PLC programming manual ukd zwfIavhvm&ygw,f/
Ladder Diagram (LD) eJY PLC program (user program) a&;r,fqkd&if odxm;&r,fh
tajccHowfrSwfcsuf basic instruction code awGuawmh PLC wkdif;twGuf twlwlyJ
jzpfygw,f/ yg0ifwJh instruction code trsdK;tpm;? eJY ta&twGufteJtrsm; rSmom PLC
wpfrsdK;eJYwpfrsdK; uGmjcm;Muwm jzpfygw,f/
PLC trsdK;tpm;wpfckudk LD eJY program a&;wwf? zwfwwfoGm;NyDqkd&if wjcm; PLC
awGtwGuf LD eJY a&;xm;wJh program ukd zwfIem;vnfEkdifzkdY taxmuftul BuD;BuD;rm;rm;
jzpfapygw,f/ Oyrm? Mitsubishi PLC eJY LD program a&;enf;ukd oif,lwwf ajrmufxm;ol
wpfa,muftzkdY Omron PLC twGuf a&;xm;wJh LD program udk interpret vkyfEkdifzkdY
taxmuftul BuD;BuD;rm;rm; jzpfapygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
124
OD;pdk;wifh
PLC
vrf; nTef
125
OD;pdk;wifh
PLC
PLC
vrf; nTef
(rdrda&;wwfovkd?rdrdoabmaygufodjrifovkd?a&;xm;wmjzpfvkdY ynm&Sifrsm;u
jyKjyifp&mawG awGU&SdcJh&if axmufjy? jyKjyifay;yg&ef yefMum;tyfygw,f/)
'Dpmtkyfukd a&;om;&mrSm &nf&G,fcsuf 2ck &Sdygw,f/
wpfckuawmh PLC udk oifwef; wufNyD; vufawGUoif,laeMuolawG rSefrSefuefuef
awG;q odjrifwwfapzkdY jzpfygw,f/
aemufwpfckuawmh PLC taMumif;udk odcsifNyD; oifwef;wufzdkY tqifrajyao;ol
awG? twGuf PLC rygbJeJY LD program ukd a&;wwfapzkdY? rdrda&;xm;wJh Program ukd
Simulator Software eJY prf;oyfppfaq; wwfapzkdY jzpfygw,f/
LD eJY PLC program a&;r,fqkd&if Logic taMumif; t&ifodxm;zkdY vkdtyfygw,f/
Control taMumif;ukdvnf; odxm;oifhygw,f/
tck Control taMumif;ukd tenf;i,f &Sif;vif;azmfjyygr,f/ Control qkdwm xdef;
ausmif;ay;wmukd ac:wm jzpfygw,f/
xdef;ausmif;yHk? xdef;ausmif;enf;pepfukd Control System vkdY ac:ygw,f/ pufukd
xdef;ausmif;armif;ESif&if Machine Control vkdY ac:ygw,f/ ukefxkwfvkyfrI vkyfief;pOfukd
xdef;ausmif;armif;ESif&if Process Control vkdY ac:ygw,f/
'Dae&mrSmoHk;pGJwJh process &JU t"dyg,fu t&m0wKypnf;wpfckukd oGifjyifyHkoPmef
tm;jzifh physically jzpfap? "mwkzGJUpnf;rItm;jzifh chemically jzpfap? ajymif;vJ oGm;atmif
vkyfaqmifwmukd process vdkY ac:ygw,f/
Oyrmjy&&if jrpfa&? acsmif;a&ukd aomufa&? oHk;a&jzpfatmif ajymif;vkdufwm
Water Treatment vkyfwm ukdvnf; process vkdY ac:ygw,f/
BuHukd oMum;jzpfatmif vkyfwm? *sHKukd aygifrkefYjzpfatmif vkyfwmawGudkvnf;
process vkdY ac:ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
126
OD;pdk;wifh
PLC
vrf; nTef
'DpmtkyfrSm discrete
tao;pdyf &Sif;jyxm;ygw,f/
PLC
&JU
Output
rSmvnf;
input
om vufcHaqmif&GufwJh
Analog Actuator
eJY
PLC
Discrete Actuator
qkdNyD;
taMumif;ukd
Device
2rsdK;
&Sdygw,f/
ON/OFF signal input ukd PLC u vufcHNyD; ON/OFF signal output ukdom PLC u
xkwfay;wJh Discrete I/O omyg&SdwJh PLC taMumif;udk tao;pdyf avhvmzkdYqkd&if logic
taMumif;ukd &Sif;&Sif;vif;vif; odxm;zkdYvkdtyfygw,f/ 'g[m PLC rSm tajccH tusqHk; jzpf
ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
127
OD;pdk;wifh
PLC
vrf; nTef
jzpfwJh ( ) &,f? relay contact &JU symbol jzpfwJh | | eJY | / | &,f? wkdYukd
toHk;jyKNyD; program a&;&wmjzpfygw,f/
Open contact &JU symbol jzpfwJh
'DvkdyHkukd ON jzpfaeovm;vkdY ppfaq;
Munhfyg vkdY ckdif;wJh (TefMum;wJh) instruction code tjzpf toHk;jyKygw,f/ Examine ON vkdY
ac:ygw,f/
Closed contact &JU symbol jzpfwJh
'DvkdyHkukd OFF jzpfaeovm;vkdY ppfaq;
Munhfyg vkdY ckdif;wJh instruction code tjzpf toHk;jyKygw,f/ Examine OFF vkdY ac:ygw,f/
Coil &JU symbol jzpfwJh
okdYr[kwf ( ) 'DvkdyHkudkawmh Output ukd ON vkd ufyg
vkdY ckdif;wJh instruction code tjzpftoHk;jyKygw,f/ Output ON vkdY ac:ygw,f/
'Dpmtkyfukd ,aeYacwfvli,fawGtwGuf &nf&G,fNyD; a&;om;xm;wmjzpfygw,f/
acwfvli,fawG[m computer eJY &if;ESD;uRrf;0ifNyD;om; jzpfygw,f/ PLC [m industrial
computer wrsdK;jzpfwJhtwGuf PLC ukd computer vkdY jrifatmif? Munhfwwfatmif? avhvm
wwfatmif? BudK;pm;yHkazmfxm;ygw,f/
Software jzpfwJh PLC program (User Program) ukd a&;wJhtcg software udk software
tjzpfjrifatmif Munhfwwf&ygr,f/
Software qkdwmu rsufpdeJYvnf; rjrif&wJh? xdvkdY? ukdifvkdYvnf; r&wJh? OmPfeJYom
awG;MunhfNyD; odEkdifwJht&m jzpfygw,f/
Relay &JU coil qkdwmu rsufpdeJYvnf; jrifatmifMunhfvkdY &ygw,f/ vufeJYvnf; xd
MunhfvkdY &wJh hardware jzpfygw,f/ Open contact eJY closed contact awGuvnf; hardware
awGyJ jzpfMuygw,f/
symbol
Electrical circuit diagram awG r S m a&;om;azmf j ywJ h relay &J U contact symbol eJ Y
coil symbol awG u k d LD program rS m instruction code &J U symbol tjzpf e J Y toH k ; jyKxm;wm
jzpfygw,f/
128
OD;pdk;wifh
PLC
vrf; nTef
1
2
3
4
5
Graphical Language
Graphical Language
Text-based Language
Text-based Language
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
Example program: 1
X0
tckvkd jrifcsif&if
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
1/
(www.delta.com.tw/product/em/download)
Zip file jzpfygw,f/
uae
1.
Download the WPLSoft_V2.20.07.Zip from
http://www.delta.com.tw/product/em/download/download_main.asp?act=3&pid=3&cid=
1&tpid=3
2/
3/
2.
(Fig. 2a)
Figure 2a
3.
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
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/
8/ ay:vmwJh
box awG
Finish (Fig. 12a)
udk Next (Fig. 9a) Next (Fig. 10a) Install (Fig. 11a)
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
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 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
'gqkd&if
w,f/
ay:aewmukd awGU&ygvdrhfr,f/
txufrSm azmfjycJhwJh Example
qufvuf a&;om; azmfjyoGm;ygr,f/
program: 1
ukd
Computer
ay:rSma&;enf;ukd tck
On the Desktop
137
OD;pdk;wifh
PLC
vrf; nTef
Figure 15a
2. Delta WPLSoft vkdY
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
ukd
click
vkyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
139
OD;pdk;wifh
PLC
vrf; nTef
a&G;NyD; OK udk
The more you learn about PLCs, the more you will be able to solve other control problems.
140
OD;pdk;wifh
PLC
vrf; nTef
Figure 23a
rSm&SdwJh
ukd ESdyfyg/ tJ'DtcsdefrSm av;axmifhuGuf Cursor [m
b,fbufu axmifvkdufrsOf;eJY xduyfae&rSm jzpfygw,f/ Fig. 23a ukd Munhfyg/
6. Task bar
The more you learn about PLCs, the more you will be able to solve other control problems.
141
OD;pdk;wifh
PLC
vrf; nTef
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
9. Output coil ukd Y0 (Device Name rSm Y, Device Number rSm 0) vkdY
vrf; nTef
a&G;cs,fNyD; OK
ukdESdyfyg/
Figure 20a
tcka&;xm;wJh
azmfjyygr,f/
program
ukd
simulator
eJY
RUN
MunhfyHkMunhfenf;ukd qufvuf
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
2.
ESdyfyg/
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
3. Simulator ukd
(Allow) ukd ESdyfyg/
Figure 32a
Unblock
Click on [Unblock]
ukd ESdyfyg/
Figure 34a
5. Yes
ay:vm&if
Figure 33a
4. Online Mode
vrf; nTef
ukd ESdyfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
146
OD;pdk;wifh
PLC
vrf; nTef
Figure 35a
Figure 36a
Virtual PLC udk RUN zkdYtwGuf Tool Bar ay:u Run ukdESdyfyg/
Figure 38a
Figure 39a
Simulator
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 41a
Click on [Set On ]
Figure 42a
X0 = ON, jzpfwmeJU Y0 = ON, jzpfwmukd tpdrf;a&mif Highlight eJY
tpdrf;a&mif Highlight &JU t"dyg,fu True vkdY jzpfygw,f/
Figure 43a
azmfjywm jzpfygw,f/
148
OD;pdk;wifh
PLC
vrf; nTef
w,f/
Figure 44a
X0
( Y0 )
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
The more you learn about PLCs, the more you will be able to solve other control problems.
150
OD;pdk;wifh
PLC
vrf; nTef
X0 = OFF
jzpfcJh&if
Y10
ukd
ON
vkdufygvkdY
Time Chart
tckjyxm;wJh
t"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
ESdyfvkdufwJhtcg
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
Write to PLC
Confirm box
xyf
ay:vmygw,f/
PLC ukd
Monitor Screen
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
Example program: 2
ukd
Keyboard Shortcut
vrf; nTef
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/
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
oGm;NyD;
vkdY
False
t"dyg,fu
X0
[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
olrsm; a&;xm;wJh
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/
Model :
Input :
Output :
LD :
Software:
1. Delta PLC
2. Omron PLC
3. Siemens PLC
DVP-14SS2
X0 to X377
Y0 to Y 377
CPM1A-20CDR
0.00 to 9.15
10.00 to 19.15
S7-200CPU224
I0.0 to I15.7
Q 0.0 to Q 15.7
X0
WPLSoft
0.00
10.00
( Y0 )
CX Programmer
I 0.0
Q 0.0
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
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/
DVP-14SS2
rSm
2. Omron PLC
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/
CPM1A-20CDR
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/
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
Lamp 1
Y0
X0
P.B 2
X1
COM 0
+
24V
24V
+ S/S
Input Terminal
Output Terminal
yHk(u) Wiring
yHk(u)rSm jyxm;wJhtwkdif; wiring jyKvkyf&ygr,f/ Output terminal Y0 rSm 24V, 3W
lamp udk qufoG,fxm;&ygr,f/ P.B1 ukd Input terminal X0 rSmqufoG,fNyD; P.B2 ukd
Input terminal X1 rSm qufoG,fxm;&rSm jzpfygw,f/ P.B1 eJY P.B2 wkdY 2ck pvHk;[m
ESdyfvkdufrS close jzpfwJh N.O contact trsdK;tpm; pushbutton awG jzpfMuygw,f/ P.B1 ukd
ESdyf&if X0 = ON jzpfNyD;? ESdyfxm;wmukd jyefvTwfvkduf&if X0 = OFF jzpfoGm;ygw,f/
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;
yHk(A) Program
Y0
Time Chart
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
162
OD;pdk;wifh
PLC
vrf; nTef
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
Simulator
vrf; nTef
eJY prf;oyfyHkukd
(1)
(2)
(3)
(4)
(5)
Compile vkyfyg/
Simulator udk
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]
ukd
IF [(X0 = ON) OR (X1 = ON)] AND [(X2 = ON) OR (X3 = ON)] THEN [Y2 => ON]
167
OD;pdk;wifh
PLC
vrf; nTef
ukd
IF [(X0 = ON) AND (X1 = OFF)] OR [(X0 = OFF) AND (X1 = ON)] THEN [(Y2 => ON]
168
OD;pdk;wifh
'gukdvufawGUod&atmifvdkY LD eJY Program a&; Munhfygr,f/
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?
PLC
vrf; nTef
rSm
Program
WPLSoft
yHk(C) txufygtwkdif;ay:vmygvdrhfr,f/
Tool Bar ay:u Instruction List qkdwJh icon ukd ESdyfyg/ 'grSr[kwf
Instruction List ukd ESdyfyg/
View
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
P.B 1
P.B 2
Relay K1
0V
K1
K1
K1
Lamp L1
1
0
ON
OFF
P.B.2
1
0
ON
OFF
K1
1
0
ON
OFF
L1
1
0
ON
Status
P.B1
OFF
t0 t1t2
Time
oGm;ygw,f/
ESdyfvdkufwmudk Activate vkyfw,fvdkY ac:ygw,f/ rESdyfwmudk Non-activate vdkY ac:yg
w,f/
N.O udk Non-activate Open vdkY rSwfxm;oifhygw,f/ Activate rvkyf&if Open jzpfae wJh
contact qdkwJh t"dyg,feJY rSwfom;&rSm jzpfygw,f/ N.O udk No energy Open vdkY rSwf
xm;&ifvnf; t"dyg,fay: vGifxif&Sm;ygw,f/
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
qdk&if
PLC
P.B 1
Lamp L1
X0
Y0
P.B 2
24V
Delta PLC:
X1
24V
+
vrf; nTef
COM 0
S/S
DVP14SS2-11R
Input Terminal
Output Terminal
rSmyg&SdwJh X0, X1, S/S qdkwmawGu PLC &JU Input terminal awG jzpfMuygw,f/
X0 rSm P.B1 N.O Pushbutton udk qufoG,fxm;ygw,f/
X1 rSm P.B2 N.C Pushbutton ukd qufoG,fxm;ygw,f/
S/S [m input twGuf common terminal jzpfNyD; sink or source tjzpf qufoG,f
Edkifygw,f/
Fig. 3 rSm S/S udk -24V eJY qufoG,fxm;wJhtwGuf sink input tjzpf qufoG,f
xm;wm jzpfygw,f/
Y0 eJY COM 0 uawmh PLC &JU output terminal awG jzpfMuygw,f/
Y0 rSm Lamp L1 ukd qufoG,fxm;NyD; COM 0 rSm -24V eJY qufoG,f xm;wJhtwGuf
sink output qufoG,fenf;eJY qufoG,fxm;wmjzpfygw,f/
PLC &JU type u DVP-14SS2-11R jzpfvdkY PLC twGuf power supply udk 24Vdc
ay;&NyD; output u relay output trsdK;tpm;jzpfygw,f/
Fig. 3
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
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
IF [(X0 = ON)] OR [(Y0 = ON)] THEN [(Y0 ON)]
jzpfygw,f/
r,f/
b,fawmhrS OFF jyefrjzpfawmhygbl;/
om Y0 [m OFF jzpfoGm;ygvdrfhr,f/
PLC
udk
RUN
uae
STOP
udk ajymif;vdkufrS
The more you learn about PLCs, the more you will be able to solve other control problems.
174
OD;pdk;wifh
PLC
vrf; nTef
X1
(Y)
0
Y0
result
u True,
u True jzpfygw,f/
Y0
False,
jzpfvdkY
True
eYJ
False
udk
OR
vkyf&if &wJh
X1
The more you learn about PLCs, the more you will be able to solve other control problems.
175
OD;pdk;wifh
PLC
vrf; nTef
176
OD;pdk;wifh
PLC
vrf; nTef
Software jzpfwJh LD eJY a&;wJh program xJrSm oufqdkif&m symbolic instruction code
eJY
awG[m program
awGudkudk,fpm;jyKwJh machine code awGyJ&Sdygw,f/
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
P.B 2
K1
K1
K1
Lamp L1
udk
Fig. 5
rSm azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
177
OD;pdk;wifh
PLC
1
0
ON
OFF
P.B.2
1
0
ON
OFF
K1
1
0
ON
OFF
L1
1
0
ON
Status
P.B1
vrf; nTef
OFF
t0 t1t2Time
t3t4
ac:ygw,f/
ON-dominant Program
tJ'D
Lamp L1
Y0
X0
P.B 2
Delta PLC:
COM 0
X1
24V
+
24V
S/S
DVP14SS2-11R
Input Terminal
Output Terminal
The more you learn about PLCs, the more you will be able to solve other control problems.
178
OD;pdk;wifh
PLC
ON-dominant
jzpfapwJh
start/stop program
vrf; nTef
a&;&ygw,f/
X0
Y0
Y0
()
Y0
X1
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/
w,f/
jzpfNyD;?
X1
ON
jzpfaeyg
The more you learn about PLCs, the more you will be able to solve other control problems.
179
OD;pdk;wifh
PLC
vrf; nTef
Input
Scan
(Y)
0
Y0
[ END ]
Program
Program Scan
Output Terminals
X1
OUTPUT INTERFACE
X0
INPUT INTERFACE
Input Terminals
Output
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
&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/
Input Scan
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/
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/
Program
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
&Sif;jyygr,f/
#1
X0
X0
#2
Y1
)
(Y
0
(Y
)
1
yHk (u)
yHk(u) rSmazmfjyxm;whJtwkdif;
Munfhyg/
Simulator eJY
prf;MunhfzkdYtwGuf
LD program
The more you learn about PLCs, the more you will be able to solve other control problems.
184
OD;pdk;wifh
PLC
vrf; nTef
The more you learn about PLCs, the more you will be able to solve other control problems.
185
OD;pdk;wifh
PLC
vrf; nTef
RUN yg/
yHkawGukd Munhfyg/
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;/
X0
The more you learn about PLCs, the more you will be able to solve other control problems.
186
OD;pdk;wifh
PLC
Y0 = ON
program
vrf; nTef
azmfjyxm;ygw,f/
#1
#2
Y1
X0
X0
(Y
)
0
(Y
)
1
X1
Y0
#3
(Y)
2
Y2
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
#1
X0
Y1
(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
Y0
#3
Y2
PLC
X1
()
Y2
vrf; nTef
[m OFF jzpfaeqJrkdY
[m False jzpfygw,f/
Y2
tJ'D Y 0 True eJY
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
[m True jzpfygw,f/
X1 [m tNrJwrf; OFF jzpfaeygw,f/ 'gaMumifh
'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/
Y2
Y0
# 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/
Y1
X0
()
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/
Y2
The more you learn about PLCs, the more you will be able to solve other control problems.
188
OD;pdk;wifh
PLC
Y0
vrf; nTef
X1
(Y
2 )
#3
Y0
ukd Munhf&if
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/
#3
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/
3rd Scan
#1
X0
Y1
udkMunhf&if X0 = ON eJY Y1 = ON
Y1
jzpfaevkdY X 0 u True jzpfNyD;
u False wdkYjzpfMuygw,f/
'DESpfckudk AND vkyfvkdY&wJh logic result u False jzpfvkdY Y0 [m 3rd Scan rSm OFF
qufjzpfygw,f/ tJ'Dawmh Y0 = ON jzpfwJhtcsdefumv[m X0 = ON p jzpfcgp 1st Scan
tcsdefwdk uav;om Mumjrifhygw,f/ 1-scan time yJ oufwrf;&SnfwJh ON jzpfygw,f/ 'gudk
1-scan pulse output vkdY ac:ygw,f/
#1
rSm
()
Y0
X0
Y1
X0
Y0
()
Y0
()
Y1
X1
#3
()
Y2
Y2
tckvkd a&;rS
Y0
[m
1-scan time
Mumatmif ON jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
189
OD;pdk;wifh
PLC
#2
X0
()
Y1
#2
X0
Y1
()
Y0
#1
Y0
yHk (*)
vrf; nTef
X1
()
Y2
#3
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
X0
()
Y1
#2
#3
()
Y0
Y0
Y2
Y0
Y2
yHk (C)
()
Y2
190
OD;pdk;wifh
PLC
vrf; nTef
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/PushOFF 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
X0
Y1
X0
X0
P.B 2
24V
+ S/S
()
Y1
#2
#3
Input Terminal
Y0
Y2
Y0
Y2
LD Program
COM 0
+
24V
()
Y2
yHk
PLC
Y0
()
Y0
#1
X1
Lamp 1
Output Terminal
(AA)
The more you learn about PLCs, the more you will be able to solve other control problems.
191
OD;pdk;wifh
X0
Y0
Y1
Y2
1
0
vrf; nTef
1stScan
Scan
2nd
3rdScan
1stScan
2nd
Scan
3rdScan
1stndScan
2rd Scan
3 Scan
1stScan
2nd
Scan
3rdScan
PLC
ON
OFF
1ScanTime
ON
OFF
ON
OFF
ON
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
X0
Y1
()
Y0
()
Y1
ukd
X0
#2
execute
qufvkyfygw,f/ tck
1st Scan
rSm
Y1
vnf; ON jzpfoGm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
193
OD;pdk;wifh
PLC
vrf; nTef
()
Y1
#2
Y0
Y2
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
u False jzpfNyD;?
uvnf; False jzpfygw,f/
qufNyD; execute vkyfygw,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;
Y1
X0
X0
[m
#1
()
Y 0 ukd execute vkyfwJhtcg X0 = ON jzpfaevkdY
st
True jzpfygw,f/ 1 Scan program execute vkyfwHk;u Y1 = ON jzpfoGm;vkdY Y 1 uawmh
False jzpfygw,f/ tJ'D True eJY False ukd AND vkyfvkdufawmh logic result u False jzpfNyD;
Y0 = OFF jzpfoGm;ygw,f/
X0
Y2
()
Y2
ukd
execute vkyfwJhtcg
Y2
Y0
eJY Y1 = ON jzpf
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/
Y0
Y2
rSm
b,ftpGef tay:ykdif;jzpfwJh
Y0 = OFF
The more you learn about PLCs, the more you will be able to solve other control problems.
195
OD;pdk;wifh
PLC
vrf; nTef
Y1
X0
#2
()
Y0
()
Y1
X0
Y1 = ON qufjzpfygw,f/
udk
execute
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?
#3 ukd execute vkyfwJhtcg tay:ykdif; AND Block rSm
Y2
Y0
Y0
()
Y2
u True jzpfNyD; Y 2 u False jzpfyg
#3
w,f/ 'gaMumifh logic result u False jzpfygw,f/
Y0
Y2
'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/
Y1
X0
X0
2nd Scan rSm #1
#1 udk execute vkyfwJhtcg
()
Y0
'gaMumifh logic result u False jzpfNyD;
u True jzpfNyD; Y 1 u False jzpfygw,f/
X0
#2 ukd execute vkyfwJh
Y0 = OFF jzpfoGm; ygw,f/
()
Y1
#2
X0
tcg
u True jzpfvkdY Y1 = ON quf jzpfygw,f/
Y0
#3 ukd execute vkyfwJhtcg tay: AND Block rSm Y0 = OFF jzpfoGm;vkdY
u
Y2
False eJY
u (1st Scan rSm Y2 = OFF jzpfoGm;cJhvkdY) True ukd AND vkyfvkdY &vmwJh
logic result jzpfwJh False ukd temporary memory rSm cP rSwfxm;ygw,f/
atmufykdif; AND Block ukd execute vkyfwhJtcg Y 0 u True eJY Y 2
u
False ukd AND vkyfvkdY&wJh logic result u False jzpfygw,f/
tJ'D AND Block 2ck &JU result awGjzpfMuwJh False 2ck udk OR vkyfvkdufawmh result
u False yJ&ygw,f/ 'gaMumifh 2nd Scan rSmvnf; Y2 [m OFF yJqufjzpfygw,f/
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/
'D Toggle Output Program udk a&;NyD; prf;MunhfwJhtcgrSm?
yxrtBudrf X0 = ON jzpf&if Y2 = ON jzpfNyD;?
'kwd,tBudrf X0 = ON jyefjzpfrS Y2 = OFF jzpfygw,f/
wwd,tBudrf X0 = ON jyefjzpfwJhtcg Y2 u jyefNyD; ON jzpfoGm;ygw,f/
'D program ukd PLC u b,fvkd Scan by Scan execute vkyfw,f qkdwmukd em;vnf
oabmayguf oGm;&if LD eJY a&;xm;wJh b,fvkd program rsdK;ukdyJjzpfjzpf t"dyg,f rSefatmif
bmomjyefwwfoGm;NyD jzpfygw,f/
tenf;qHk; 1st Scan, 2nd Scan, eJY 3rd Scan txd analyze vkyfwwfzkdY vkdygw,f/
odNyD? wwfNyD? em;vnfNyD? vkdY rdrdukd,frdrd,HkMunf&if atmufrSmazmfjyxm;wJh program ukd
a&;prf;MunfhNyD; Status-Time Diagram ukd a&;qGJMunhfyg/
P.B 1
X0
Y2
X0
Y2
Lamp 1
Y2
()
Y2
COM 0
+
24V
24V
+ S/S
Input Terminal
LD Program
Output Terminal
yHk (C)(2)
yHk(C)(2) rSm azmfjyxm;wJhtwkdif; pushbutton eJY Lamp1 ukd PLC eJY qufoG,fNyD;
txufrSmaz:jyxm;wJhtwkdif; WPLSoft eJY LD program ukd a&;yg/ yxrOD;pGm Simulator udk
ON NyD; prf;Munhfyg/
The more you learn about PLCs, the more you will be able to solve other control problems.
198
OD;pdk;wifh
PLC
a&;NyD;&if
Compile
vkyfyg/
Simulator
ukd
vrf; nTef
ON
Write to PLC
PLC to RUN
Online Mode
PLC
eJY prf;oyf
The more you learn about PLCs, the more you will be able to solve other control problems.
199
OD;pdk;wifh
Y2
PLC
[m
ON
vkduf?
OFF
vkduf? jzpfaewmukd
Computer Screen
vrf; nTef
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;/
X0
X0
Y2
Y2
()
Y2
Status
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
1
w,f/
ON
X0
P.B1
1
0
1
P.B1
0
1
0
ykHukdMunhfyg/
OFF
ON
OFF
ON
OFF
Y2
X0
1ScanTime
ON
OFF
Y2
t0 t1t2t3t4
Time
The more you learn about PLCs, the more you will be able to solve other control problems.
200
OD;pdk;wifh
PLC
vrf; nTef
rSdwfvkduf? jzpfaeygw,f/
tNrJvif;aew,fvkdY awGUjrif&wmuawmh vlUrsufpd&JU tjrifpGJNrJrIobm0aMumifh jzpf
ygw,f/ vlU&JUrsufpd[m 1/24 second MumwJhtxd tjrifpGJNrJrI &Sdygw,f/
t&ifjrifNyD;om; jrifuGif;yHk&dyfukd tJ'DyHk&dyfaysmufuG,foGm;NyD; 1/24 sec (41.6ms) Mum
onf txd vlUrsufpdu qufNyD; jrifaewwfygw,f/
'gaMumifh ,aeYacwf rD;ajy;pmvHk; LED signboard udk pmvHk;awG a&GUaew,fvkdYyJ
awGYjrif ygw,f/ ay:vkdufaysmufvkduf jzpfaew,fvkdY rjrif? rawGUMuygbl;/
LED signboard awGrSm LED awGudk ae&mtaowyfqifxm;wm jzpfygw,f/ LED
awG[mae&m ra&GUMuygbl;/ LED signboard udk pmvHk;awG a&GUaew,fvkdYyJ awGYjrif&wm[m
rsufpd&JU tjrifpGJNrJrI obm0aMumifh jzpfygw,f/
P.B1 ukd ESdyfxm;oa&GU tcsdefumvrSm PLC &JU Output LED Y2 tNrJvif; aew,fvkdY
awGUjrif&wm[m rsufpd&JUtjrifpGJNrJrI obm0aMumifh jzpfNyD; Lamp 1 rD;rvif;&wmuawmh
Relay &JU contact traveling time aMumifhjzpfygw,f/
You can try this program functionality using any PLC brand with relay output.
The more you learn about PLCs, the more you will be able to solve other control problems.
201
OD;pdk;wifh
PLC
vrf; nTef
ay;csifvkdY jzpfygw,f/
Scan Cycle taMumif;ukd pmrsufESm (180) rSm azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
202
OD;pdk;wifh
PLC
vrf; nTef
vkyfygw,f/
I, P, O wpfausmhNyD;atmifvkyfwmukd one scan vkdU ac:ygw,f/
I P O wpfausmhNyD;atmifMumwJhtcsdefukd 1-scan time vkdY ac:ygw,f/
PLC ukd STOP vkyfxm;vkduf&if output tm;vHk; OFF jzpfaeygw,f/ Output terminal
wkdif;rSm signal r&Sdwmukd OFF vdkY ajymwm jzpfygw,f/
PLC ukd RUN vkdufawmhrS I u p?vkyfygw,f/
I (Input Scan) vkyfaecsdefrSm PLC &JU input terminal tm;vHk;&JU tajctaeawGukd
zwfNyD; signal &dS^r&Sdukd input image memory rSm rSwfxm;ygw,f/ I NyD;rS P vkyfygw,f/
P (Program Scan) vkyfwJhtcg tay:qHk; yxr instruction pmaMumif;&JU
b,ftpGefu instruction code upNyD; pmzwfovkdrsdK; wpfckNyD;wpfck execute vkyfygw,f/
&vmwJh logic result awGukd oufqkdif&m memory rSm a&;rSwfxm;ygw,f/ tay:qHk;
203
OD;pdk;wifh
tvkyfvkyfyHk scanning process ukd
atmufrSm EdIif;,SOf azmfjyay;xm;ygw,f/
PLC
PLC
English
vrf; nTef
vkdzwfcsifolawGtwGuf &SmazG&orQukd
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
&rSm jzpfygw,f/
+24V P.B 1
Lamp
0V
Lamp
X0
Y0
PLC
COM 0
+
24V
24V
+ S/S
Input Terminal
Output Terminal
yHk
(Ex. 1)
tJ'gukd od&Sdem;vnfzkdYtwGuf yHk(Ex. 1) rSmjyxm;wJhtwkdif; P.B1
terminal X0 rSm qufoG,fxm;yg/ Lamp ukd output terminal Y0 rSm
program udk yHkrSmjyxm;wJhtwkdif; WPLSoft eJY a&;yg/
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
'Dvkd
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
P.B 1
Lamp
Y0
X0
P.B 2
X1
PLC
COM 0
+
24V
X0
X1
Y0
()
24V
+ S/S
Input Terminal
[END]
Output Terminal
LD Program
xnhfoGif;pOf;pm;&ygw,f/
tJ'DtaMumif; tao;pdyfukd pmrsufESm 103
a&;om;&mrSm azmfjyxm;ygw,f/
taMumif;
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
(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/
PLC rSm
qufoG,fvdkufyg/
Lamp 1
X0
Y0
P.B 2
X1
uawmh
PLC
COM 0
+
24V
24V
+ S/S
Input Terminal
Output Terminal
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
Y0
X0
Lamp
P.B 2
X1
P.B 3
X2
PLC
COM 0
P.B 4
+
24V
X3
X0
X1
24V
+ S/S
X0
X1
()
Y0
yHk(B)
yHk(A)
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)]
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?
yHk(C)
yHk(C) twkdif; program ukd a&;yg/ 'gvnf; XOR yJjzpfygw,f/ P.B2 eJY
1ckcsif; pD ESdyfrS Y0 = ON jzpfygw,f/ 2ck wGJESdyf&ifawmh Y0 = OFF jzpfygw,f/
P.B3
ukd
IF [(X1 = ON) AND (X2 = ON)] OR [(X1 = OFF) AND (X2 = OFF)] THEN (Y0 => ON)
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)]
P.B4
N.C pushbutton
jzpfw,f
The more you learn about PLCs, the more you will be able to solve other control problems.
215
OD;pdk;wifh
Exercise Program 7
Pushbutton 4ck?
PLC
vrf; nTef
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)]
The more you learn about PLCs, the more you will be able to solve other control problems.
216
OD;pdk;wifh
PLC
vrf; nTef
( Y0 )
( 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
Counter taMumif ; /
PLC wkdif;rSm Internal Counter awG yg&SdMuygw,f/ tJ'D Counter awG[m Output terminal
qufoG,frIvHk;0 r&SdvdkU internal counter vdkU ac:wmjzpfygw,f/
b,fvkd
toHk;jyKawmhr,fqkd&if odxm;&r,fYtcsufawGu
(1)
(2)
(3)
PLC
wGJNyD;odxm; &ygr,f/
Set value (Preset value) ukd b,f PLC rSm b,fvkda&;&w,fqkdwm PLC type eJY
wGJNyD; odxm;&ygr,f/
(4) Set value &JU twdkif;twm range ukd Counter trsdK;tpm;eJYwGJNyD; odxm;& yg
r,f/ NyD;awmh ta&;tBuD;qHk;tcsufu rdrdoHk;r,fh Counter &JU tusihfpkduf
character ukd vufawGUa&;prf;Munhfxm;&rSm jzpfygw,f/ 'grSom ukd,fa&;wJh
program [m ukd,farQmfrSef;xm;wJhtwkdif; rwdrf;rapmif;bJ vkyfaqmif ay;wm
ukd awGU&rSmjzpfygw,f/ pmzwfNyD; odxm;wJhtodeJY rvkHavmufygbl;/ Counter
taMumif; odatmif? em;vnfatmif? vufawGUa&;prf;MunhfzkYd vkdtyfygw,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
PLC
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/
'D
Program rSm Examine ON X1 eJY a&;xm;wmjzpfvkdY X1 = OFF-to-ON jzpfrS Falseto-True jzpfNyD; 1 digit count up jzpfygw,f/
wu,fvkdY Examine OFF X1 vkdY a&;cJhr,fqkd&if X1 = ON-to-OFF jzpfrS False-to-True
jzpfNyD; 1 digit count up jzpfygvdrhfr,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
yHkrSm yg&dSwJh
PLC
vrf; nTef
'D
Counter
xJrSm
C0
General Counter
jzpfNyD;?
C112
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
DVP-14SS2-11R2 rSm
yg&SdwJh
Counter trsdK;tpm;awGudk
atmufrSmaz:jyxm;ygw,f/
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
rsm;aer,f qkd&if
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/
yHkrSm
The more you learn about PLCs, the more you will be able to solve other control problems.
223
OD;pdk;wifh
PLC
vrf; nTef
jzpfygw,f/
PV = (-6) to (-5) increase
jzpfoGm;&if
C200 = ON
jzpfygw,f/
(-5)
(-6)
xufBuD; yg
w,f/
PV = (-5) to (-6) decrease jzpfoGm;rS C200 = OFF jzpfygw,f/
K5 qkdwmu
udef;aowefzkd;
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
cg ukd
vrf; nTef
a&;r,fqkd&if
txd yg&Sdygw,f/
Data register
[m
16
225
OD;pdk;wifh
PLC
vrf; nTef
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/
program udk a&;xm;cJh&if TMR qdkwmu timer tvkyfudk vkyz
f dkY cdkif;wJh timer
function instruction code jzpfygw,f/ T0 qdkwmu timer &JU eHygwfjzpfygw,f/ K100 qdkwm
u Set value (SV) jzpfygw,f/
PLC xJu timer udk tcsdefudka&wGufcdkif;wJhae&mrSm oHk;&ygw,f/ Time counting
vkyfw,fvdkY ac:ygw,f/ K100 vdkY a&;xm;wmu tBudrf 100 txd a&wGufygvdkY 100
digits txd time counting vkyfcdkif;xm;wm jzpfygw,f/
tck program rSm X0 = ON jzpfrS T0 udk time counting vkyfyg? 100 digits txd
counting vkyfyg? vdkY cdkif;xm;wm jzpfygw,f/ 1 digit ajymif;zdkYMumwJhtcsdefudk Time Base vdYk
ac:ygw,f/ T0 &JU Time Base u 100ms jzpfygw,f/
X0 = ON jzpfwmeJY T0 [m K0 upNyD; K1, K2, K3, --- pojzifh wdk;wdk;NyD; count
vkyfoGm;ygw,f/ Set value jzpfwJY K100 a&mufawmhrS T0 [m ON jzpfoGm;ygw,f/ K1 to
K2, K2 to K3, - - - , K99 to K100 tJ'Dvdkajymif;zdkY digit 1ckcsif;pDtwGuf MumwJhtcsdefudk
Time Base vdkY ac:wmjzpfygw,f/ T0 &JU Time Base [m 100ms (100 rDvDpuefY) jzpfyg
w,f/ 'gaMumifh [TMR T0 K100] vdkY a&;xm;wm[m T0 udk 100ms aygif; 100 txd
yHkrSmvdk
a&wGufygvdkY cdkif;xm;wmjzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
226
OD;pdk;wifh
PLC
vrf; nTef
#1
#2
&r,fY
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
wefbdk; Set Value jzpfygw,f/
a&wGuf
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
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/
Non-retentive Timer
The more you learn about PLCs, the more you will be able to solve other control problems.
229
OD;pdk;wifh
PLC
vrf; nTef
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
T240 to T245
T64 to T126
When M1028 = ON
T127
T246 to T249
1ms
T200 to T239
T240 to T245
When M1038 = ON When M1038 = ON
Oyrm Delta
tpm; jzpfygw,f/
Retentive Timer
trsdK;
#1
#2
yHkrSm
azmfjyxm;ygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
230
OD;pdk;wifh
PLC
vrf; nTef
program rSm a&;xm;wmu IF [(X0 is ON)] THEN [TMR T250 K100] vdkY jzpfyg
X0 = ON jzpfrS T250 udk 100 txd time count vkyfygvdkY cdkif;xm;wm jzpfygw,f/
'D
w,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
vrf; nTef
PLC
OUT
OUT
wJh tcg
Output u ON jzpfNyD;usefcJhygw,f/ owfrSwfxm;wJhtcsdef set value jynfhawmhrS
OFF jzpfoGm;wmudk OFF-delay vdkU ac:wmjzpfygw,f/
rSmawmh
Output u
The more you learn about PLCs, the more you will be able to solve other control problems.
232
OD;pdk;wifh
PLC
vrf; nTef
jzpf&if Y0 u csufcsif;
aESmifhaES; MuefYMumrI delay jzpfNyD;rS Y0 =
jzpfygw,f/
X0 = ON
qdkwmu
Input = ON jzpfwJhtcgrSm Output
ON
OUT
u aESmifhaES; MuefYMumrI delay
OFF
jzpfNyD;rS ON jzpfygw,f/
Input = OFF jzpfoGm;&ifvnf; Output u csufcsif; OFF rjzpfbJ delay jzpfNyD;rS OFF
jzpfygw,f/
IN
ON/OFF-delay
OFF
233
OD;pdk;wifh
PLC
vrf; nTef
ON
IN
OFF
ON
OUT
OFF
ON
IN
OFF
OUT
ON
OFF
234
OD;pdk;wifh
PLC
vrf; nTef
w,f/
(6)
Pulse Train Output qdkwmu Input = ON jzpfwmeJY Output u ON vdkuf? OFF vdkuf?
jzpfaeygw,f/ ON-time eJY OFF-time udk rdrd&JU vdktyfcsuftwdkif; owfrSwfay;xm;vdkY
&ygw,f/ yHkrSm Kn1 eJY Kn2 qdkwm ON-time eJY OFF-time udk owfrSwfwJh wefzdk;t&Sif
variable awG jzpfMuygw,f/ n1 udk 20 xm;NyD; n2 udk 30 vdkY owfrSwfNyD;a&;cJh&if Kn1=K20
jzpfNyD;? ON time = 2s, Kn2=K30 jzpfNyD;? OFF time = 3s jzpfygw,f/
X0 u ON jzpfNyD;? T2 u OFF jzpfcJh&if T1 [m time counting pwif vkyfygw,f/ Set
value Kn1 jynfhoGm;rS T1 = ON jzpfoGm;ygw,f/ T1 = ON jzpf&if T2 [m time counting
pwif vkyfNyD; Set value Kn2 jynfhoGm;rS T2 = ON jzpfoGm;ygw,f/ T2 = ON jzpf&if T1 [m
reset (T1 = OFF) jzpfoGm;ygw,f/ T1 = OFF jzpf&if? T2 vnf; reset (T2 = OFF) jzpfoGm;yg
w,f/ X0 = ON jzpfNyD;? T1 = OFF jzpf&if Y1 [m ON jzpfygw,f/ X0 = ON jzpfNyD; T1 =
ON jzpf&if Y1 [m OFF jzpfoGm;ygw,f/
X0 u qufNyD; ON jzpfae&if (Kn1 x 100ms) Mumatmif Y0 = ON jzpfvdkuf (Kn2 x
100ms) Mumatmif Y0 = OFF jzpfvdkuf qufcg? qufcg? jzpfaeygw,f/ wu,fvdkU Kn1 u
K20 jzpfNyD;? Kn2 u K30 jzpfchJ&if? (K20 x 100ms = 2000ms) 2s Mumatmif Y0 = ON
jzpfvdkuf? (K30 x 100ms = 3000ms) 3s Mumatmif? Y0 = OFF jzpfvdkuf xyfcg? xyfcg?
qufwdkuf? jzpfaeygw,f/ 'Dvdkqufwdkuf? ON/OFF jzpfaevdkU Pulse Train Output vdkU
ac:wm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
235
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
Kn1 = 30000, Kn2 = 12000, xm;NyD;
em&D 10 rdepfMumrS
eJY
Output Y1
udk
ON
jzpfapcsif&if
vdkY
a&;&ygw,f/
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/
K30000
The more you learn about PLCs, the more you will be able to solve other control problems.
236
OD;pdk;wifh
PLC
vrf; nTef
eJY
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
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/
vkdY a&;xm;cJh&if
#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
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
'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 = ON
jzpfygw,f/ aemufwenf;ajym&&if
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
ON
jzpfygw,f/
twlwlyJjzpfygw,f/
#20
= ON
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
241
OD;pdk;wifh
PLC
vrf; nTef
twlwlyJjzpfygw,f/
#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
tJ'Dvkd a&;csif&if? Enter LDP X0 Enter ALT Y10 Enter ESdyf yg/
jzpfygw,f/
#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/
243
OD;pdk;wifh
PLC
vrf; nTef
#28
Operation is as follows with a program like the one shown above.
jzpfygw,f/
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
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
#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
w,f/
#34 Flashing Circuit
247
OD;pdk;wifh
PLC
vrf; nTef
w,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
X1
X1
eYJ
eYJ
X2
wkdY NydKifwl ON
X2
wkdY NydKifwl
ON
The more you learn about PLCs, the more you will be able to solve other control problems.
249
OD;pdk;wifh
PLC
vrf; nTef
[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/
M512
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
X0
Y1
#1
X0
()
Y1
#2
#3
()
Y0
Y0
Y2
Y0
Y2
()
Y2
Y0
OFF
Y1
OFF
Y2
OFF
X0 = ON
1st scan
2nd scan
3rd scan
ON
OFF
OFF
ON
ON
ON
ON
ON
ON
X0 = OFF
1st scan
2nd scan
3rd scan
OFF
OFF
OFF
OFF
OFF
OFF
ON
ON
ON
X0 = ON
1st scan
2nd scan
3rd scan
ON
OFF
OFF
ON
ON
ON
OFF
OFF
OFF
jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
251
OD;pdk;wifh
PLC
vrf; nTef
Compile (Convert)
Write to PLC
PLC to STOP
PLC to RUN
Find/Replace
< F1 >
Examine ON instruction
< F2 >
< F7 >
-----(
< F6 >
-----[
Application instruction
< F3 >
< F4 >
< F8 >
Horizontal line
< F9 >
Vertical line
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.
Item
Supplied
Power
Environment
What to Check
Does the voltage
measured within the
power terminal fall
within the specified
range?
Does the temperature fall
within the specified
range?
Does the humidity fall
within the specified
range?
Criteria
Test
Equipment
Voltmeter
Thermometer
Hygrometer
Module
Mounting
and
Wiring
Visual
Voltmeter
Screwdriver
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
vla&mpufyg ab;uif;apzdkY
jzKwfxm;&ygr,f/
output terminal
rSm qufoG,fxm;wJh
wire
tm;vkH;udk
'DvkdjzKwfwJhtcg PLC udk power t&if ydwf&ygr,f/ NyD;&if output terminal awGrSm
voltage &Sd? r&Sd? udk voltmeter eJY wdkif;Munhfyg/ Voltage r&SdrS? wire awGudk rSwfom;NyD;
aqmif&GufwJhol ab;uif;atmif jzKwfxm;&ygr,f/ Terminal block type jzpfaecJh&if? tJ'D
terminal block udk jzKwfvkduf&if? tcsdefukefoufomygw,f/
qdkvkdwmu PLC udk power ay;vkduf&if? RUN rD; tNrJvif;aewwfwJh PLC twGuf
output terminal rSm bm wire rQ r&SdwJhtcgrSom tckaz:jywJhPLC &JU input interface
aumif;? raumif;? prf;oyfenf; udk vkyf&rSm jzpfygw,f/
PLC udk power ay;xm;ayrJhvnf; RUN rD; rvif;atmif vkyfvkdY&wJh PLC rSm
RUN/STOP switch udk awGUatmif&Smyg/ NyD;&if? STOP position rSmxm;NyD; RUN rD;? Nidrf;?
rNidrf;? aocsmatmifMunhfyg/ RUN/STOP switch udk STOP rSm xm;NyD; RUN rD; rvif;
wJhtcgrSom tckaz:jywJhPLC &JU input interface aumif;? raumif;? prf;oyfenf; udk
vkyf&rSm jzpfygw,f/
The more you learn about PLCs, the more you will be able to solve other control problems.
255
OD;pdk;wifh
PLC &J U input interface aumif ; ?
1/
PLC
vrf; nTef
raumif;? prf;oyfenf;/
The more you learn about PLCs, the more you will be able to solve other control problems.
256
OD;pdk;wifh
PLC
vrf; nTef
tckaz:jyrSmuawmh PLC &JU output LED rD;vif; aeNyD; tJ'D output terminal eJY
qufoG,fxm;wJh device awG tvkyfrvkyf wJhtcg tjypf&SmazGwJhenf; jzpfygw,f/
PLC &J U output interface aumif ; ?
raumif;? prf;oyfenf;/
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 dataprocessing 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.
data. A general term for any type of information.
debugging. The process of checking for errors in a program.
digital device. A device that processes and sends discrete (two-state) electrical signals.
digital signal. A noncontinuous signal that has a finite number of values.
discrete input interface. An input circuit that allows a PLC to receive data from digital
field devices.
discrete output interface. An output circuit that allows a PLC to send data to digital field
equipment.
documentation. An orderly collection of recorded hardware and software information about
a control system. These records provide valuable reference data for installing,
debugging, and maintaining the PLC.
The more you learn about PLCs, the more you will be able to solve other control problems.
260
OD;pdk;wifh
PLC
vrf; nTef
Double Word. A double word is made of 32 bits. It can hold data values from 0 to
4,294,976,295. In base 16 a double word can be expressed as 0 to FFFFFFFF. In the
PLC, a double word is made up of two consecutive word addresses.
download. To transfer data to a device.
downtime. The time when a system is not available for use.
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.
firmware. A series of instructions for internal use by the processor only.
flag. A signal device in a microprocessor system that alerts the operator, or the system itself,
to the occurrence of some desired or undesired event.
function block diagram (FBD). A graphical PLC programming language in which
instructions are programmed as blocks that are then used as needed to control process
elements.
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.
hard copy. A printed document.
hardware. All the physical components of a programmable controller, including
peripherals, as opposed to the software components that control its operation.
The more you learn about PLCs, the more you will be able to solve other control problems.
261
OD;pdk;wifh
PLC
vrf; nTef
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.
machine language. Processor instructions written in binary code.
master. A device used to control other devices.
master-slave. A mode of operation where one data station (the master) controls the network
access of one or more data stations (the slaves).
memory. The part of a programmable controller that stores data, instructions, and the
control program either temporarily or semipermanently.
memory map. Shows how a systems memory is allocated.
message. A group of data and control bits transferred as an entity from a data source.
The more you learn about PLCs, the more you will be able to solve other control problems.
263
OD;pdk;wifh
PLC
vrf; nTef
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 3step 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 (ONdelay, 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
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
270
OD;pdk;wifh
PLC
vrf; nTef
yHk (4)
yHk (5)
The more you learn about PLCs, the more you will be able to solve other control problems.
271
OD;pdk;wifh
PLC
yHk (6)
Rung
0
2
3
Step
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Instruction
LD
OR
ANDNOT
OUT
LD
LDNOT
OR
ANDLD
OUT
LD
ANDNOT
OUT
LD
AND
LDNOT
CNT
vrf; nTef
Comment
Start (N.O)
Run
Stop (N.O)
Run
Run
Box Sensor
Apple counter
10.01
200.00
10.01
10.00
10.00
0.02
0.03
003
#10
Box-conveyor
Run
Box-conveyor
Apple-conveyor
Apple-conveyor
Apple Sensor
Box Sensor
Apple counter
yHk (7)
Program Mnemonics
The more you learn about PLCs, the more you will be able to solve other control problems.
272
OD;pdk;wifh
PLC
vrf; nTef
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
yHk (9)
vrf; nTef
274
OD;pdk;wifh
PLC
Instruction awGudk
vrf; nTef
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
Devices
START Push Button (PB1)
STOP Push Button (PB2)
Apple Sensor
Box Sensor
Output
Q0.0
Q0.1
Devices
Apple Conveyor
Box Conveyor
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
k mu memory location awGudk Label uyfNyD;? emrnfay;
vdkY &ygw,f/ Symbolic address qdw
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
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
Devices
Start Button (PB1)
Stop Button (PB2)
Reset Button (PB3)
Upper Level Switch (TLB1)
Lower Level Switch (TLB2)
Output
Q0.0
Q0.1
Q0.2
Q0.4
Q0.5
Devices
Water Supply Valve (MV1)
Drain Valve (MV2)
Stirring Motor (M)
End Indicator
Buzzer
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
awGvnf; CX-Programmer xJrSm ryg&Sdygbl;/
eJY
instruction code
The more you learn about PLCs, the more you will be able to solve other control problems.
281
OD;pdk;wifh
PLC
vrf; nTef
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
285
OD;pdk;wifh
PLC
vrf; nTef
Services
HyperTech
PLC
Engineering
oifwef;udk tcsdefydkif;
PLC
oifwef;ESifh
HMI
PLCoifwef;udk
The more you learn about PLCs, the more you will be able to solve other control problems.
286