Title: PLC????
1 PLC????
???? PLC?????????????????????
?? ?????????????
?? ??????????
2??? PLC????
?? PLC?????? ?? ????????? ?? PLC???????? ??PLC???
? ?PLC????? ?? PLC????????????
3?? PLC??????
- ??????PLC
- 1969??????????(DEC)??????????(GE)????????
- ??
- 1968?????????(GE),?????????????,???????????,
???????????,?????????????,????????????????????????
?,?????,?????
4- ????
- ??????????????
- ? ???????????????????????????????????,?????????
???,?????????? - ? ??????????(???)?????,?????
- ? ??????????????????????,??????????????????(?
??)
5- ?70???? ???????????????????,??????????????,??????
??????(Programmable Logic Controller) - ?70???? ?????????PLC?,?PLC??????????,????????????
????????? - ?80?????????????????????????????,16??32????????PL
C?,?PLC???????PLC????????,???????,???????,????,???
??????????,???????????????????????
6- ???PLC????
- PLC???(????????)??????????????????,?????????
????? PLC????????????????????,????????? - PLC????????????????(PLC?????CAD/CAM)???
7?? ?????????
- ??
- ???????(IEC)?1987???????????????????????????
?????? - ????????????????????,???????????????????????
??,????????????????????????????????????,??????????
??????,?????????????????????????????,?????????????
???,?????????????
8- ?? PLC????????
- 1969?????????(DEC)??????PLC,??PLC?????
- ???????,??AB?GE?MODICON?TI,??OMRON??????,???
??????????????,???????????????????
9- PLC????
- ????????(SIEMENS)?AEG????TI??
- ??A-B(Allen-Bradly)(???????PLC??50????
- )?GE(General Electric)????(MODICON)???????(T1)???
??(Gould)??????? - ??????(Mitsubishi Electric)? ???(OMRON)? FUJI
(?????????PLC,?????PLC???, ???????70???????,OMRO
N?????????) - ??????????????PLC????????????????PLC,???????,????
??
10 ???PLC???
10
2006-3-3
S7-200??PLC
S7-300??PLC
S7-400??PLC
11 ??PLC???
11
2006-3-3
Q??PLC
FX2N??PLC
FX1N??PLC
FX1S??PLC
12 ???PLC???
CPM1A?CPM2A??PLC
C200H??PLC
13 1974?????????????PLC??,??????????????????????19
77?,????????????????PLC,???????????????????
??????????,???,????????,????,????,????,?????,????
,????
14(No Transcript)
15- (1)??????????????
- (CPU????nS???2M??)
- (2)??????????????
- (???????)
- (3)???????????
- (????????PLC)
- (4)????????????????I/0
- (5)??????????
- (6)??????????????OMAC(open Modular Architecture
for Control)
16- ?????????????????????????,PLC??????????????????
???????????PLC??????,??????????,???PLC????????????
??? - ???PLC?????????PC???????????,?????????PLC?????
???????PLC???????????PLC?PC????????????
17 ??PLC???
- ????,????
- ???,????
- ????,??????
- ?????????????
- ??????,????
- PLC???????????????????.?????????????.????????
- ???????????
18??PLC?????
1 ?????? 2 ?????? 3 ?????? 4 ?????? 5
?????? 6 ?????? 7 ?????? 8 ???? 9
?????? 10 ??????
19PLC?????????
201 ??????
???????PLC???????,?PLC????????,?????????????,??
?????????? ????????????????????????????????
?????????????????????????????????????????????????
?(???????????)????????????????????????????
212 ??????
???????PLC????????? PLC??????????????,????
?????????????? ???????(????)????????,?????????
????????,??????? ??PLC????????????,?????????
223 ??????
???????PLC????????? PLC??????????,????????
???,????????(????),????????????????????
???????????????,??????????????????
235 ??????
PLC????????????,???????????????????????????????
?????????PLC??????????,??????PID??????????,????CRT
??????,??????????????
248 ????
PLC??????????? ?????????,???????PLC???????
??????? ?????,???????????????????,?????????PLC
??????????????????,???????????????
259 ??????
PLC????????????RAM?????????(?????),???????????
???????????? ????????,???????????,???PLC??????
????? PLC?????,??????????????
2610 ??????
PLC???????????????????????????,??????,?????????
??,?????????????? PLC????????,?????PLC?????????
????
27??PLC????????????
- ????????
- ????????????????????????????????????
- PLC?????????????????????????,?????????????????
,??????? - PLC?????????????,?????????
- ?????????????????????????,??????????????
- PLC??????????
- ????????????????,??????????
- PLC??????????????????,????????????
- ???????????????????????????????????????PLC????
28??? PLC????
- 2.1 PLC????????????
- 2.2 PLC?????????????
- 2.4 PLC??
292.1 PLC????????????
2.1.1 PLC??? PLC?????? ??????(CPU?)?????(I/O)
????????
30- PLC??????????????????????????????????????
- PLC???????????????
- PLC????????(CPU)???????????????????????
- PLC????????????
312.1.2 PLC????????
1. PLC??CPU????? CPU?????????????,??PLC??????????
?????????????
1)???????????????????????
2)?????PLC????????????????
3)??????????(??)???????????
4)????????????????,??????????
5)??????,????????????,???????????????????????
32- PLC?????CPU???
- 1) ??????(?Z80?8086?80286?)
- 2) ??????(?8031?8096?)
- 3) ???????(?AMD29W?)
- ??PLC????8??????????????
- ??PLC????16??????????????
- ??PLC?????????????(32?)
- ??PLC??CPU??
- ????PLC?????CPU??CPU??
- ???CPU??,???????,????8??16??32????????????,??????
??????????
332.???????
- ??????
- PLC?,???????????????????
- ??????
- ? ??/?????????RAM
- ? ?????ROM?PROM?EPROM?E2PROM
344. ??/????(I/O??)
- ??/????????I / O ???I / O ??,?PLC???????????????
- PLC????-----???????PLC???????,????????????????????
???????????????????(???????????)?,????????????????
????????????????,???????PLC?????????????? - PLC????-----???????????????????????????????,??????
??????????????????
35- ? I / O ?????
- ????????????????????????????????,?PLC??CPU???????
??????? - ?????????,???PLC??????,????????,??????,?????
- I / O ?????
- ?????/????
- ?????/????
36- ? ??/??(I/O)??
- PLC?I/O????PLC?I/O????????????????????????
- I/O?????PLC????????
- ?I/O?????,???PLC?I/O????????????
375.PLC??????
???????????????????,??????PLC???????,?PLC?????
?? ??????????PLC????????
386. PLC???????
- PLC?????????,??????????
- ???????,PLC?????????????????,????????????????,????
?????????15??????? - ??PLC???????24V????,??????? ????
- ??????
39- ?PLC???????????????
- ??????,????????????????
- ??????,????????????
- ?PLC??,???????????,????????
- ??????,???????????,????????
- ?????(???)??
- ??????????????????????????,?????CPU????????????PLC
??????????PLC???????????,????????????????????????
?????? - ??????
40PLC?????
??
1??????
PLC
PLC
PLC
1????
2????
??
PLC
PLC
????
PLC
PLC
???
????
A)??????
B)??????
C)????
41A)??????
42B)??????
43C)????
44? ? ?
????PLC??????,??PLC?????????????????????????
???????????????????? ?????????????,????PLC????
????
45???????
?????
46???????
478???????????
- ???????(?A/D??)???????
- ???????(?D/A??)???????
- ????/???? ????????
- ??????? ??????????
- ?????? ??????
- PID??
- ??I/O?? ??I/O????
- ???? ???PLC?????????
482.1.4 PLC?????
1 ????2 ????3 ????
- ????
- ????,????????????????????????????????????????
? - ????,?PLC????????,?PLC?????????,??PLC???????,
????PLC???? - ????,???????????????ROM?PROM?EPROM?,?????????
?
49- ? ????
- ???????????????????????????????????PLC???????????
- ???????????,????????CMOS??RAM?,??????????,????????
????? - ??????RAM??????,???????????,?????,??????EPROM??
- ?????PLC????EEPROM????????
50PLC?????
?PLC???????????,PLC???????????,????????
?????????????????????????????????????????????????
? ?????????,??????????,????????????????????????
?????????????????(BASIC?C???)??
????????????????PLC????????
51 1. ???????
???(Ladder diagram)???????????
,??????????????????,???????,????,?PLC?????????????
??
??????????????
52(1)????????
PC???????????,??PC???????,????????????????,????
?????
PLC???????????????????,???1??,?????????0??
,??????????
53(2)??????????
??
??
54 (3) ???????????
?????
?????????
??????
??????????????
PLC???
?????????
??????
PLC??????? ??????
55??
???????
PLC??????
????
???????
???????????????????
?PLC????????,???????
562????????
???????????
?????PLC?????????
??????????????? ??
LD 00000,???????? OR
01000 ??????01000???????? AND NOT 00001
??????00101???????? OUT
01000??????????????01000 END ??????
????? ?????
57- (3)?????
- ????????????????,??????????????????????????????
??????????????????????????????????????????????????
?????????
58(4)???? ?????????????????????,????????????????
????,??????????????,???????,????????????????,???
?????? ???????,???????????
592.2 ???????????????????
2.2.1 ????????
- ?PLC???,?????????,?PLC?CPU????????????,
???????????? - ?????????????
- ????????CPU?????????,????????,PLC???????????????,
??????????????????
60 PLC???????????????,??????????,?????????????,?
??????????????????????
????
????
????
61 2.2.2 PLC???????????????????????????????????????
??
??CPU?????,??????(WDT)????????
???????(?????????)????
????????????????,????????
????????? ,????????????
????????????,???????,????????
62 2.2.2 PLC??????????
? PLC???,???????????
???,??????????,????????
? ????????,???????????
??????????, ?????????????
? ???????
??
63? I/O????
??????????????????
????????????????????????????
? ??????
??????????????
644. PLC?????????
? ???????????????????
? ????????????
???????
???????
? ???????????????????
???????????????????
???????????????????
? ??????I/O????????/????
65(3)PC?????????(??????)
?????????????????
00000
00001
01000
?
???????
???????
?
??????
??????
?????
?
????
? ? ? ?
?
????
????
01001
01000
?
??????
663. PLC?????
?????
???
????
????
???
???
67????
????
00000 ??
????
????
SB1??
????
68????
????
00001 ??
????
????
SB2??
????
692.3?????I/O????
PLC????????,??????????????????????????1-100ms
?
- I/O?????????????,??PLC??????????????????????
??????????????????
701. ??I/O???????
(1) ??PLC????????????
PLC?????????I/O????????/??,???????????????
(2) ??????????????
?????????,?????????????
??PLC??????????????????
71(3) ??????????(??????PLC)?
??????ON??????ON??????
??ON???
??????????
????????????PLC?
(4)?????????????
I/O????,????????????
?????????,????I/O?????
722. I/O???????
?20????????CPM1A???
???ON???8?? ?????I/O?????2?? ?????????14?? ??ON???
15??
????????????????????
??I/O????
????????????????????
??I/O????
73??I/O???????
??ON??
????
????
????
??ON??
????
I/O????
??I/O???? ??ON?? (???? I/O????)
?????? ??ON?? 8 2 14 15 39 ms
74 ??I/O???????
??ON??
??ON??
I/O????
??I/O???? ??ON?? (???? I/O??????)2
??ON?? 8 (2 14) 2 15 55 ms?
75???????I/O?????????
?SB??,??????,????????I/O??? 00000??????ON?
??????????,01000?OFF?
01000???????????????ON?
76????????????????,???
?SB??,??????,???????? 00000?????? ON?
01000 ?????????????ON ?
??,????????I/O??????? ?
773?PLC???????
1 ???????
2 ??????????? Tc2.6ms
3 ??????(?????PLC???)Tl
Tl PLC??????? 08ms
Tl PLC???????? 0ms
4 ????TP ?????? TP ????X????
5 I/O??
Tr
???????? ?? 0.07ms/8?
?? 0.04ms/8?
???????????,1.3msnX0.2ms
786 ????(?????)To
To0.8ms (TTcTlTpTr13ms)
To0.06 T(TTcTlTpTr gt13ms)
7???????????????????????I/O???????PLC?????Ts PLC??
??? TsTcTlToTpTr
79????
- 1?PLC????????????????????,??????????????,???????
- 2?PLC????????10ms?,????????????????50HZ(???????10H
Z??)?
80? 31
- ?C200H?PLC??,?????????????????3?16?????,2?12??
????????????3?16?????,??12?????????5000???,???????
?????????,???????0.94PS? - ????????????????????????
81- ???????Tc2.6m??????????,?????????Tl0??????
,????????To0? - ?????Tp0.9450004.7103(ms)4.7ms?
- ?????3?16??????6?8?????,2?12????????4?8??????
???????3?16??????1?12????????4??????,I/O???? - Tr0.0760.044(1.30.24)2.68(ms)
- ??,?PLC???????????,????????????
- TsTcTlToTpTr2.64.72.710(ms)
822.4 PLC????????
1.I/O??
?PLC???????????
2.????????
????PLC????????????
3.????
???1000??????????,?ms/??????
4.??????
?PLC?????????????????????????,???????
5. ????? 6. ?????
832.5 ?????????
1.??????? ???PLC?????PLC?CPU?????I/O?????????
?????,????,????I/O??????????,????I/O??????PLC?????
????????????????,?????????,?????,??PLC????????
84(No Transcript)
85 ???PLC???PLC????????????,??????,???????(?CPU?
?????????????????)????????? ???PLC?????????????
???,????????????????PLC,????????PLC?
86???PLC
87(No Transcript)
88? ?
????
CPU??
IO??
???
89?????PLC???
90 3)???PLC ????PLC????????????????
???PLC?CPU????I/O????????????,?????????????,??????
??????????,??????????,?????????
912.??????? ????????,???I/O??,???PLC????????????,???
???PLC???,??? 1.??PLCI/O????,?256????PLC? 2.??PL
CI/O????,?256????2048????PLC? 3.??PLCI/O????,?20
48????PLC? ?????PLC??????????,PLC?I/O?????????????
921)???
OMRON???SP??
932)???
OMRON??? CPM1A?CQM??
?????FP1??
943)???
OMRON???C200H
??????S7-300
954)???
OMRON???C1000H
COMRON???2000H
?????FP3
96COMRON???2000H
975)????
??GE???9070?,?????24000?,????8000??????
983?PLC???(?????)
1)??PLC ????????????????????????????,??????????/?
???????????????????????????????????????????????
2)??PLC ????PLC???,??????????/??????????????????
?????I/O?????????????????????PID?????
3)??PLC ????????,????????????????????????????????
?????????????????PLC????????????,?????????????????
?????,????????