1. Trang chủ
  2. » Khoa Học Tự Nhiên

Hệ thống mô hình dây chuyền sản xuất tự động sử dụng giao tiếp profinet giữa các plc siemens s7 1200 lập trình bằng tia portal

5 14 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 905,94 KB

Nội dung

Hệ thống mô hình dây chuyền sản xuất tự động sử dụng giao tiếp profinet giữa các PLC Siemens S71200 lập trình bằng tia portal Võ Như Thành ... et.al Khoa học Công nghệ Đại học Đà Nẵng 2014, số 1 tr.5458. 2014 Đặng, Phước Vinh; Ngô, Thanh Nghị; Đoàn, Lê Anh;

54 VO Nhkr Thanh, Deng Phkrac Vinh, Ng6 Thanh Nghj, Doan Le Anh Ht THONG MO IHNH DAY CHUAN SAN XUAT BONG Sir DUNG GIAO TIEP PROFINET GIUA CAC PLC SIEMENS S7-1200 LAP TRINH BANG TIA PORTAL AUTOMATIC PRODUCTION LINES MODEL USING PROFINET COMMUNICATION BETWEEN PLC SIEMENS S7-1200S PROGRAMMED BY TIA PORTAL Vo NIur Thanh', Ding Phuav Vinh', Ngti Thanh Nghit, Doan Le Anh2 Truong Dal hQc Bach khoa, flgi hQc Da Nang; Email: thanhvous@gmail.com, dangphuocvinh@gmail.com 2Truong Cao eking Cong nghe, Doi hoc Da Nang Tom tat: Bai bao gi&i thiau ye m6 hinh san xuet tkr dOng sir dung cac tram chine nang hang Net duqc ket nei bang Profinet MO hinh gem khau thutmg gap mOt day chuyen san xuet thkrc to di IA khau Ikra chon san pham, khau gan linh khan vao san pham, khau lap ghip san pham da cb linh kien, va khau sap xep san pham vao ke china M6i khau dm day chuyen duqc dieu khign bang mOt PLC S7-1200 Cac khau duvc kat nai trtrc tier) ved bang giao tap Profinet qua hai mOdun m6 rOng Siemens CSM 1227 theo giao this kieu hinh Cac PLC di& khien duvc lap trinh bang phan mem TIA Portal sir dung eft ngetn ng& FBD, LAD, va SCL M8 hinh da duvc kiem tra hoot Ong thkrc to va the hien duvc str an dinh cua timg khau cong nhu' qua trinh giao tier) gicka cac PLC Thanh ding dm m6 hinh cho phep thiet ke the tao day chuyen san xuet tkr Ong bang each ghee cac tram riding re nham tiet kiam th6i gian thiet ke the tao Abstract: This paper introduces the model of automatic production lines using Profinet connection between Programmable Logic Controllers (PLCs) This model includes four commonly used stations in industrial production lines which are products assortment station, components attachment station, assembly station, and products storage station Each station is controlled by a Siemens PLC S7-1214 DC/DC/DC These stations are directly communicated to each other via Profinet through Ethernet switches CSM 1227 using "star topology" The PLCs are programmed in TIA Portal software using Function Block Diagram (FBD), Ladder Logic Diagram (LAD), and Structure Control Language (SCL) languages The model has been tested in practical operation, and it demonstrated the stability of each station as well as the communication process between PLCs The success of the model allows us to build the completed production lines by assembling their substations to save the time for design and fabrication Tip khoa: Profinet; PLC; FBD; LAD; SCL; TIA Portal; day chuyen san xuat; giao thipc hinh Key words: Profinet; PLC; FBD; LAD; SCL; TIA Portal; production line; star topology Phien men din He thong to deng hea tech hop la he thong quan dieu khien, gifim sat va thu thep du lieu duqc sir dung rOng rai nhieu link Arc va dec biet la qua trinh san xuat cong nghiep [1),[3],[4],[5] Thong thuemg phAn tir dieu khien 114 thong ttr Ong hoa la cac PLC yeti cac tinh nang tru viet ve tinh On dinh, kha nang chOng nhieu cao va kha nang mar reng cao bang str ket hqp veti cac module ma reng [9],[10],[11] Mei gian gAn day cong voi str phat trien PLC the he mai dm Siemens sir dung he thOng truyen th8ng Profinet da tao dieu kien cho phep thiet ke he thong ttr Ong hOa tich hqp giao tiep trtrc tiep giaa cac PLC voi thay vi he thong Master-Slave nhu tru6c [6],[7] Chuan truyen thong mei Profinet ten dung loi the cua giao tiep bang Ethernet nen c6 the ling dung de thiet lip nhieu kieu giao tiep khfic nhu kieu yang (ring topology), kieu hinh cay (tree topology), kieu hinh (star topology) [12] Hien dOng PLC S7-1200 v6i gifi re va de On dinh tot dang dan thay the cho cac (long PLC S7-200 cila Siemens va cac (long PLC thip cap ciia cfic, hang ttr deng hoa khfic Vic sir dung ding Ethernet „ ket not v6i may tinh Nth ket not tivc tiep giaa cac PLC mer htremg thiet ke he thong san xuat ttr Ong theo giao tithe ket not hinh gicra cac PLC Chuan Profinet cho phep tao giao tiep then gian thvc khoing 1ms; ngoii ra, veri str nang cap ciia he thong Profinet len V2.3 thi c6 the tao duqc died gian ket not 31.25 his Ngoiti died gian ket not Nth giao tiep nhanh, Profinet co lqi the nffa la On dinh va it bi gi [12] Bfii bfio chit tong vao giao tiep giva cac PLC He thong m6 hinh day chuyen san xuat ttr deng gom4 khau thuOng gap de khau Iva chon san pham, khau gan linh kien, khau lap ghep san pham, va khau sap xep san phim vat), kho china Cfic khau duqc tic gifi the tao rieng roi sau de se ket not lai yeti thinh met he thong ttr deng hoin chinh thong qua he thong Profinet sir dung giao thirc hinh Ket qui khao sat ve nghien din 2.1 Gioi thifu cac trem chtic nang srr dtmg mo hinh ddy chuydn san xuat ty etfing 2.1.1 Tram Itta chQn san phtim theo nhMu lieu chi kluic nhau- mau sac, chat lieu, clink huong, va thin ty (tram 1)11] }Chung bang tai duqc the tao bang hqp kim nhom, bang tai bang n cao su tong hop kich thuac 680mm, x 50 mm va duqc dan deng bang deng ca DC 24V.,Khoi cap san pham goIll cet hinh tru vuong duce lam bang nhom tong hop kich thuac 230mm x 80mm va c6 the china duqc 10 phoi met 16c.[1] (Hinh 1.) 55 TAP CHI KHOA HOC VA CONG NGHe, DAI HQC DA NANG - S6 1(74).2014, Quyen Hinh Mo hinh czia tram Ara chpn san philm He then cam bien sir dung mo hinh bao gom cam bien tir cam IFM-105597 de phan loaf vit lieu dm san pham, nguyen lY lam viec cua cam bien la dO thay dOi ft& khing Z duqc mo to bed phtrcmg trinh (1) \fen R la dien tro thuan vi jcoL la trer Bing tir dm cam Wen Z= R + koL (I) Ngoii tram co cic cam Win mau sic, cam bien sieu am, cam bien h8ng ngoai 2.1.2 Trpm lay san pham va clang vit vao san phjrn (trgm 2) Khi san phlim duqc dua tri diu cuoi cha bang tai se co met cam bien hang npai tai phia cuoi bang tai nhin biet co san pham tai dO de ngtlmg bang tai va xuat tin hieu qua PLC oh tram tiep theo dieu khien canh tay robot lay san pham qua tram dOng vit vao san pham Tram lay san phim bao gom canh tay gap hang kieu RTT (quay, tinh tien, tinh tien) ba hie tv Om Ong ca DC 24V dieu khien chuyen Ong quay va piston de nang va co dui tay may de den vi tri san pham O phia dau tay may la met ca cau but chan khong de but san pham Kich thuac cha tay may vuan toan be li 500mm x 400mm x 450 mm Cinh tay lai tiep tuc chuyen san phim sang tram tiep theo de eh& lip rap Khitii mau trang tir tram ducc earth tay dua true tiep den tram khong qua khau Ching vit De xic dinh dfing goc quay can thi6t cha canh tay, met encoder 16 xung/day, be truyen bfinh rang hinh tinh co ti s8 truyen 102:1 vi be birth rang co ti so truyen 2:1 duqc sir dung Ti so truyen chung la 204:1 vi encoder duqc dit tai vi tri Ong ca nen Wang ung vai yang quay cha earth tay se la 204 x 16 =3264 xung/day, nhien dung be dem toe d8 cao (HSC) thi no se dem eh xung duang am vi viy se tr.& thinh 6528 xung dem duqc cho day channel A channel B mOi day Encoder vac, be dem dem HSC 4y tits 13056 xung duqc dem duqc cho met vong quay 360 O Nhu 4y de quay 180 de hay 90 dO thi chinh ngO cua HSC xuat tin hieu ean luqt li 6528 va 3264 2.1.3 Thom lizp rap san pham (from 3) Cfic san phim sau duqc canh tay cha tram (tong vit chuyen den va dit tren gii der oh tram lap rap se duce mgt ca cau canh tay twang nhu ca cau tram &rig vit gap ep san pham mau len vi chuyen vao khoang den (co vit) huang len vao san pham trang Wong xuting Tin hieu tha san pham ctla canh tay o tram chinh tin hieu cho earth tay b tram hoat Ong Hirsh Tram kip rap Hinh Tram tha clang vit vao san pham Ca cau Ong vit san phim bao g6m piston Or ben, co tin hieu vao thi eh piston dm piston se vtrcm Op chit vit vao san pham Luc tren khuon cua khoang ep co hai nim chong len Khuon Op duqc cho vao khoang Op bang met ca cau piston 05 khoang ep thi piston khic phia tren se ep chit xuong va gift ltrc ep giay de hart toan lap san phim lai yeti (Hinh 4.) Sau lip rap xong thi san phim duqc earth tay hitt len chuyen qua tram cuoi ding de vac* kho 2.1.4 Thom luu kho (Thom 4) Sau san pham da dugc lip rap hinh (Hinh 5.) thi san pham se duqc chuyen sang tram cuoi cimg de luu vao kho Tram cuoi ding bao gom met gii der co 4s hang mai hang c6 vi tri luu san pham Tong c6ng bao Om 28 vi tri tren kg china san pham Hinh San phcim da &roc along vit 56 V6 Nhix Thanh, Ding Phvat Vinh, Ng8 Thanh Nghi, Doan La Anh hoin toan to Ong can phai thiet lap ket not va giao tiep giaa cac PLC nay, phan mem TIA Portal cho phep thiet lap ket not giaa cac PLC met cach de ding CS day module CSM 1277 dirge sir dung ket not tat ca cac tram h tren lai voi nhau, cac module co the duqc thay the b6i cac switch thong dung vi ket not giira cac PLC bang giao tiep Profinet theo chuan Ethernet Cac tram 1, tram 2, tram 3, va tram Ian luqt duqc thiet lap cac IP tucmg 1mg la 192.168.111.211, 192.168.111.212, 192.168.111.213, Ad 192.168 111.214 de chuan bi cho viec thiet lap giao tiep two tiep giva cac tram v6i a Hinh San phcim da duvc ap rap HIM Thib lap kOt not giau cac PLC sir dung module ma rang Siemens CSM 1277 a Rink Tram slip xep sin pham Sau san pham (la duqc xep len ke thl o Watch table (Hinh chucmg trinh PLC se cap nhat vi tri da co san pham, va san pham tier, theo duqc xep vao ke se vi tri tiep theo Name Address Display format •sapxer vitri10 01 %0822.DBX0.0 Bool •s prer.vitritO, 11 %DB22.DBX0.1 Bool 's pxer.vitri10 21 %0822.0BX0.2 Bool 'saper.vitri10, 31 %0822.08X0.3 Boot •s a pxer.wtri10, 41 %0822.DBX0.4 Bool •s apxep' vier40 51 %0822.DBX0.5 Boo] •s a pxer Nitn10, 61 %DB22.DBX0.6 Boo' 'sapxegi.viteill 01 %DB22.DBX1.0 Bool •s a pxer vrtnr1, 11 %01322DBX1.1 Boo! Hinh Watch table cUa khoi sap xep Thuat toan sap xep len Ice duqc vier bang ngon nge SCL PLC de tiet kiem thori gian lap trinh ding nhu tOi uu hos nang sap xep cult tram Nem nga., SCL cho phep tao cac yang lap NIA cap nhat lieu sau mai chu trinh, cho pile!) xay dung thuat toan sap xep met cach tOi uu va tiet kiem tiled gian rat nhieu so vai cach rap trinh bang FBD hay LAD nhu tnr6c 2.2 Cdc b(1 dau khan PLC S7-1200 va giao tiep Profinet glika cac trgm vdi 2.2.1 Kdt not gat, cac bfi dau khan PLC CO tat ca PLC Siemens S7-1214 DC/DC/DC sir dung cho tram rieng biet Vi the de mo hinh hoot Ong Cac ngon ngar sir dung lap trinh cho hg thong bao gem FBD va SCL Ng& ner FBD hay LAD rat hay duqc sir dung lap With PLC vi tinh don gian ca lap trinh Cita chung; ngon nga• thu6ng img dung de giii cac bai toan Logic don gian hay lap trinh cac 1mg dung co cac hoot Ong cite cac ca ,cau chap hanh theo trinh tu [2] Trong de SCL Igi rat Vol uu cho lap trinh cac qua trinh lap di lap Igi lien tic 2.2.2 That kip he thong giao tap gifra cac PLC Qua trinh ket not ce the &roc - sir dung nhieu phuong thirc khac nhung day de tan dung lqi the cita chuan Ethernet, ket not truc tiep gift cac PLC sir dung Ichei ham di sin phan mem TIA Portal la TSEND_C %/a TRCV_C Cfng vai m6i giao tiep tir PLC sang PLC thi met cap ham TSEND_C duqc vitt PLC girl va TRCV_C duqc vitt a PLC nhan Nhu da not h tren thi cac tram se ket not yeti de truyen tin hieu san pham da ket thitc tram Mr& va tram tiep theo co the bat d'au hogt Ong Ngoai thi tin hieu tram truck cling phai ch6 tin hieu cua tram sau de trinh trutorn? hcrp san pham duqc chuyen qua ma tram sau chua het chu ky thi qua trinh san xuat to dOng se bi I8i So giao tiep cua cac PLC duqc the hien er Hinh Station —> Station —> Station Station 1 inh Sado t'n hieu gittu cac PLC a Theo so Hinh thi se co tat ca la giao tiep giaa cac tram v6i V6i giai han cua bao cao nen chi neu giao tiep gift tram va tram De thiet lap giao tiep se sir dung khoi TSEND_C "open user communication" cita phan mem TIA Portal 57 TAP CHI KHOA HOC VA CONG NGHE DAI HQC DA NANG - SO 1(74).2014, Quy6ri Ket luhn Trong mo hinh nay, cac tram dugc lip trinh rieng biet roi.sau chi sir dung phuang thirc ket not Profinet de truyen va nhin du lieu qua lai tao met mo hinh day chuyen san xuit to Ong hoan chin!' TSEND_C W33 sano,rs —c•REO CONT LEN am3) CONNECT DONE — BUS' — DATA —COMRST STATI7S — ENO %DEUS :um., • WAB1S Hinh 10 Kit& TSEND_C a tram dui- (Tram lira chat?) Trong khoi TSEND_C (Hinh 10.) tin hieu REQ tin hieu vac) de cho PLC c6 the truyen tin hieu dugc Met ca nha co tin hieu ban diu bang va liy phis dinh cua no de lam tin hieu vio cho khoi TSEND_C Tin bleu ciing chinh tin hieu cua khoi truyen xong d>1 lieu DONE Nguyen ljr hoat Ong IA ban dau tin hieu vio "sendsignal" bang vi viy dao bit a ngo REQ se trer nghia la tin hieu se dugc cho phep truyen sang PLC nhin Sau PLC a tram nhin dirge tin hieu thi se cho tin hieu ng8 DONE bing 1, lim cho tin hieu "sendsignal" 16c lai bang va dao bit oh no tai ngo REQ Ific IA bang va ket not tam theri bi ngat KM thi tai ngo DONE tin hieu lai bang din den tin hieu tai REQ se tra lai va dio bit dm no se la va tin hieu lai dugc truyen di Qua trinh nhu vix lip lai lien tvc, co nghia tin hieu se lien tic dugc truyen tir PLC giri den PLC nhin Ngoai thi da lieu thiet I p lc& not dugc ghi khoi data block "%DB25" cua PLC girl Ira "%DB29" cua PLC nhin Du lieu tir cac tin hieu hoic cua PLC girl (theo bit) se dugc ghi visa cis nha "%MB15" Sau do, du lieu cua ca nh6 "%MB15" dugc girl co lin byte (LEN =1) se dugc ghi vacs ca nha "%MB7" cua PLC nhin Sau do, cac tin hieu se dugc chuyen lai theo bit dm cac ngo hoic vac) cua PLC nhin de lam tin hieu dieu khien hoot Ong dia tram nhin a 1.0830 Hinh 12 me, hinh hoar, chinh vd dugc chay thie nghiem Dieu cho phep the tao va thiet ke cac giai doan rai rac cua met he thong hob chinh beri nhieu be phin hoic nhieu nhom lam viec khac nhau, sau d6 thi cac giai doan rai rac se duqc ket not th8ng qua chuin Profinet tao met day chuyen on dinh Viec chia nhieu nh6m lam viec tao nen nang hoin cong viec nhanh han Ngoai can mer reng them day chuyen san xuit thi ding chi can the tao them be phin mer reng rieng biet Bong can can thiep N/A() he thong chinh dang hoat Ong, nhu viy nang suit lao Ong se !thong bi anh Wong nhieu Ngoii chufin Profinet cho phep mer reng giao tiep vii may tinh, cac man hinh HMI nham tao met he SCADA hoar' chinh va hoan toan tiet kiem dugc Uri gian thiet ke che too Huangphat trien de tan img dung tieu chuin Profinet V2.3 de co giao tiep arm nhanh giRa cac bo dieu khien PLC nham toi uu nang suit cho cac img dung phirc tap han Thi lieu tham khtio [1] •TRCV_C_DB TRCV C —EN TRUE — EN _R TRUE — CONT 1—LEN 1D829 ion2tor — CONNECT 'AMB7 'Tag_1' — DATA — COM RST [2] DONE — BUSY — ERROR— STATUS — RCVD_LEN — ENO — [3] [4] HMIs 11 Khai TRCV C a tram :hit (Tram clOng vit) 2.2.3 Ket qua dux nghiem Sau ket not hoin tit cac PLC vii va thiet lip cac giao tiep cho he' thong hoot Ong, thi he thong dugc chay thir nhieu Ian va cho dugc hoat Ong chinh xac giao tiep cua cac khiu Tuy chuang trinh lip trinh cho tirng h'e thong chua dugc t8i uu nhung he thong di hoat dengtot chirng to duce tinh uu viet cua phucmg thirc giao tiep bang Profinet la dan gian, de irng dung va tin dung dugc uu the cua chuin Ethernet [5] [6] [7] [8] Vo Nhu Thanh, Vo Nhu Tien, Prototype of complex sorting station for categorizing products by color, material, orientation, and in sequence using siemens plc s7-1200 family controller, UD's Journal of Science and Technology, Vol 6(67) Pg 75-69, 2013 Vo Nhu Thanh, Transformation Method from Hi-Graph Language to FBD (Function Block Diagram) using SR (Set-Reset) Block in Siemens Simatic Software for PLC (Programmable Logic Controller) Programming, UD's Journal of Science and Technology, Vol 6(67) pg.64-67, 2013 Boyer, Stuart, A SCADA: Supervisory Control and Data Acquisition, Instrument Society of America, Research Triangle, NC 1993 Ezell, Barry, Supervisory Control and Data Acquisition Systems for Water Supply and Its Vulnerability to Cyber Risks, available on the interne at: http://watt.seas.virginia.edu/—bce4k/home.html (August 1997) C.T Jones, Step in Steps, Patrick-Turner Publishing, 2nd edition (2006) Siemens Co., Ethernet Communication: Data Exchange S7-1200 S7-1200, Configuration Example X17, September 2010 Siemens Co., SIMATIC T1A Portal Step Basic V10.5, Siemens AG, 12/2009 C Clarke, D Reynders, E Wright Practical Modern SCADA Protocols: DNP3, 60870.5 and Related Systems (2004) K Gowri Shankar, Control of Boiler Operation using PLC — SCADA, IMECS 2008, 19-21 March, 2008, Hong Kong 58 V6 Nhu Thanh, Deng Phtterc Vinh, Ng6 Thanh Nghj, Doan Le Anh [10] Doan Anh Twin, Phom Van TWmg, Xay dt,mg m8 hinh dieu khien va giam sat van hanh tram hien ap 110kV sir ding phan mem Scada WinCC va thiet bj dieu khien l4, trinh PLC, Tgp chi Khoa hpc Cong nghe Dgi hpc Der Ming, So 11 quOn I, trang 24-29 (2005) [11] Nguyen Kim Anh, Lam Tang Dire, Throng Hoing, Nguyen Nhtr 1($,, Nguyen Ngoc Dinh, Thiel ke hg thong scada cho nha may yang Bong Mieu ten nen PCS7, Top chi Khoa hpc Cong nghe Dgi hpc Der Wing, SO 32, trang 1-6(2009) [12] Automation Today, "Profinet the leading industrial Ethernet standard", Page 14-15, August, 2012 (BBT nhan bai: 11/10/2013, Olin bi n xong: 06/11/2013)

Ngày đăng: 22/08/2023, 11:47

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w