Datn le minh tuong 49 ddtfsf

Download Datn le minh tuong 49 ddtfsf

Post on 16-Aug-2015

14 views

Category:

Documents

2 download

Embed Size (px)

TRANSCRIPT

  1. 1. i L I C M N Tr i qua b n nm h c i h c y cng th ng v th v , em v cc b n trong l p 49DDT c cc th y c trong b mn cng nh ton th gi ng vin trong ton tr ng truy n th nh ng ki n th c th t qu gi v b ch cho t t c chng em. V v y l i u tin em xin chn thnh c m n ton b nh ng gi ng vin truy n t ki n th c cho chng em trong nh ng nm qua. Ti p theo em mu n g i l i c m n n th y Bi Thc Minh, ng i tr c ti p v t n tnh h ng d n em trong su t th i gian lm n. Em xin chn thnh c m n th y. Em cng xin chn thnh c m n b m , ng i thn v b n b. Nh ng ng i gip v m t tinh th n cng nh v t ch t r t nhi u em c th hon thnh t t n ny. Xin chn thnh c m n m i ng i. Nha Trang, thng 6 nm 2011 Sinh vin L Minh T ng
  2. 2. ii M C L C L I C M N ............................................................................................................. i M C L C.................................................................................................................. ii DANH M C CC K HI U, CC CH VI T T T..............................................v DANH M C CC HNH......................................................................................... vi M U.................................................................................................................. vii CHNG 1: T NG QUAN V THANG MY.......................................................1 1.1 Gi i thi u chung................................................................................................................ 1 1.2 Phn lo i thang my......................................................................................................... 2 1.2.1 Phn lo i theo ch c nng........................................................................................ 2 1.2.2 Phn lo i theo t c di chuy n ............................................................................ 3 1.2.3 Phn lo i theo t i tr ng............................................................................................ 3 1.2.4 Theo h th ng v n hnh.......................................................................................... 3 1.3 Trang thi t b c kh c a thang my ............................................................................ 4 1.3.1 T ng th thang my.................................................................................................. 4 1.3.2 Thi t b l p t trong bu ng my.......................................................................... 6 1.3.2.1 C c u nng .........................................................................................6 1.3.2.2 T i n .................................................................................................6 1.3.2.3 Puli d n h ng 2..................................................................................6 1.3.2.4 B ph n h n ch t c 4.....................................................................6 1.3.3 Thi t b l p t trong h gi ng thang my.......................................................... 7 1.3.4 Cc thi t b l p trong gi ng thang......................................................................... 7 1.3.4.1 Ray d n h ng.....................................................................................7 1.3.4.2 Cabin v cc thi t b lin quan.............................................................7 1.3.4.3 H th ng cn b ng trong thang my ....................................................9 1.3.4.4 Thi t b an ton c kh .......................................................................10 1.3.4.5 C m bi n v tr ...................................................................................11 1.4 Nguyn t c ho t ng v s d ng thang my ......................................................... 13 1.4.1 Nguyn t c ho t ng c a thang my................................................................. 13
  3. 3. iii 1.4.2 Cch s d ng thang my....................................................................................... 14 1.4.2.1 G i thang my t bn ngoi bu ng thang..........................................14 1.4.2.2 G i thang t bn trong bu ng thang ..................................................15 CHNG 2: GI I THI U PLC SIMATIC S7-300 ................................................17 2.1 M u............................................................................................................................... 17 2.2 C u trc ph n c ng c a PLC S7-300 ......................................................................... 18 2.2.1 Gi i thi u PLC S7-300 ........................................................................................... 18 2.2.2 Gi i thi u cc module PLC S7-300..................................................................... 18 2.2.3 C u trc b nh CPU .............................................................................................. 22 2.3 Ph n m m STEP 7........................................................................................................... 24 2.3.1 Ch c nng c a ph n m m STEP 7 ...................................................................... 24 2.3.2 Ngn ng l p trnh................................................................................................... 24 2.3.3 Cc b c th c hi n vi t m t chng trnh i u khi n ............................. 24 2.4 u i m v cc ng d ng c a h th ng i u khi n PLC..................................... 27 2.4.1 u i m c a h th ng i u khi n PLC ............................................................. 27 2.4.2 Cc ng d ng c a h th ng i u khi n PLC ................................................... 28 CHNG 3: GI I THI U PH N M M WINCC..................................................29 3.1 Gi i thi u............................................................................................................29 3.1.1 Cc c i m chnh................................................................................................. 29 3.1.2 Cc thi t l p trong WinCC ................................................................................... 31 3.1.3 Giao di n h a trong WinCC Explorer......................................................... 33 3.1.4 Cc cng c h tr c a WinCC........................................................................... 33 3.2 Giao ti p gi a WINCC v PLC S7-300 ................................................................... 35 3.3 Cc tnh nng n i tr i c a phin b n WinCC 7.0 .................................................. 36 CHNG 4: CHNG TRNH I U KHI N THANG MY TRN SIMATIC S7-300......................................................................................................37 4.1 Yu c u ho t ng c a thang my............................................................................. 37 4.2 Lu thu t ton i u khi n thang my.................................................................. 38 4.2.1 Lu Reset bu ng thang khi h th ng b t u ho t ng ........................ 38 4.2.2 Lu ho t ng c a thang my........................................................................ 39
  4. 4. iv 4.2.3 Lu ng m c a bu ng thang...................................................................... 40 4.2.4 Lu d ng h th ng bu ng thang v s c .................................................. 41 4.3 Cc t p l nh dng trong chng trnh i u khi n thang my............................. 41 4.3.1 Cc ti p m v cu n dy trong Bit Logic....................................................... 41 4.3.2 L nh so snh b ng trong nhm l nh so snh COMPARATOR ................. 45 4.3.3 L nh chuy n i BCD_I trong nhm l nh CONVERTER ........................ 46 4.3.4 B m ln-xu ng S_CUD trong nhm l nh COUNTER........................... 47 4.3.5 L nh MOVE............................................................................................................. 48 4.3.6 B nh th i gian S_ODT (On Delay S5 Timer) trong b TIMER........... 49 4.4 Chng trnh l p trnh Lader trn Simatic S7_300............................................... 50 4.4.3 Cc b c th c hi n trn Simatic S7-300 .......................................................... 54 4.4.4 Chng trnh i u khi n thang my hon ch nh v gi i thch ho t ng c a cc Network ....................................................................................................... 56 CHNG 5: GIAO DI N V M PH NG THANG MY TRN WINCC .......57 5.1 T ng th v giao di n m ph ng thang my........................................................... 57 5.2 Cc b c th c hi n trn WinCC ................................................................................ 58 5.1.2 Cc b c t o lin k t gi a WinCC v S7-300 ................................................ 58 5.1.2 Thi t k giao di n m ph ng chng trnh...................................................... 62 5.3 Ch y m ph ng v i WinCC ........................................................................................ 71 K T LU N V KI N NGH ...................................................................................88 1. K t lu n................................................................................................................................. 88 2. Ki n ngh .............................................................................................................................. 88 TI LI U THAM KH O PH L C
  5. 5. v DANH M C CC K HI U, CC CH VI T T T 1. Danh m c cc k hi u v V n t c a Gia t c Q T i tr ng L Cu n c m 2. Danh m c cc ch vi t t t PLC Programmable Logic Control WINCC Window Control Center SCADA Supervisory Control And Data Acquisition CB C m bi n CPU Kh i x l trung tm BT Bu ng thang YC Yu c u C ng c CTHT Cng t c hnh trnh GT G i thang DCDK ng c i u khi n DC ng c a MC M c a ANSI-C American National Standardization Institute DDE Dynamic Data Exchange OLE Object Linking and Embeding OPC OLE for Process Control ODBC Open Data Base Connectivity ERP Enterprise Resource Planning
  6. 6. vi DANH M C CC HNH Hnh 1.1: Hnh dng t ng th c a thang my .............................................................1 Hnh 1.2: Cc thi t b c a m t thang my.....