Hướng Dẫn Kết Nối PLCSIM Với SCADA Bằng KEPSeverEX5 Và Nettoplcsim _ Joedalton's Blog

6
30/3/2015 Hướng dẫn kết nối PLCSIM với SCADA bằng KEPSeverEX5 và Nettoplcsim | joedalton's blog https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 1/6 Hướng dẫn kết nối PLCSIM với SCADA bằng KEPSeverEX5 và Nettoplcsim Posted on 08/03/2014 Trong bchương trình SIMATIC STEP 7 chương trình PLCSIM giúp mô phng hot đng ca chương trình trên PLC. Khi thi ết kế hSCADA đđi u khi n và giám sát, đki m tra hot đng ca hthng ta có thsdng PLCSIM đmô phng mt PLC kết ni và trao đi dli u vi SCADA. Nếu chương trình sdng đthi ết kế hSCADA là WinCC ca hãng Siemens thì đi u này rt đơn gi n vì WinCC htrPLCSIM. Bài vi ết này shướng dn cách kết ni PLCSIM vi bt kì hSCADA nào. Công ccn có: Bchương trình SIMATIC STEP 7 V5.5 bao gm PLCSIM phiên bn 5.4. Chương trình OPC Server được sdng là KEPServerEX 5 : Chương trình này có thsdng không cn license, khi đó sau khong 2 ti ếng nó sreset và cn phi khi chy li tđu. Chương trình Nettoplcsim–S7o mi n phí, download ti đa chhttp://nettoplcsim.sourceforge.net/ (phiên bn hi n ti là 0.9.2) Các bước thc hin: 1. Đt đa chIP ca card mng trên máy tính, ví d192.168.0.101 2. Cu hình đa chIP trong Project Step 7. Click đúp vào phn Hardware trong project Step7, shi n ra ca sHW Config. joedalton's blog đcác th Theo dõi

description

SSSSSSSSSSSSSSSS

Transcript of Hướng Dẫn Kết Nối PLCSIM Với SCADA Bằng KEPSeverEX5 Và Nettoplcsim _ Joedalton's Blog

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 1/6

    Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v NettoplcsimPosted on 08/03/2014

    Trong b chng trnh SIMATIC STEP 7 chng trnh PLCSIM gip m phng hot ng ca chng trnh

    trn PLC. Khi thit k h SCADA iu khin v gim st, kim tra hot ng ca h thng ta c th s

    dng PLCSIM m phng mt PLC kt ni v trao i d liu vi SCADA. Nu chng trnh s dng thit

    k h SCADA l WinCC ca hng Siemens th iu ny rt n gin v WinCC h tr PLCSIM. Bi vit ny s

    hng dn cch kt ni PLCSIM vi bt k h SCADA no.

    Cng c cn c:

    B chng trnh SIMATIC STEP 7 V5.5 bao gm PLCSIM phin bn 5.4.

    Chng trnh OPC Server c s dng l KEPServerEX 5 : Chng trnh ny c th s dng khng cn

    license, khi sau khong 2 ting n s reset v cn phi khi chy li t u.

    Chng trnh NettoplcsimS7o min ph, download ti a ch http://nettoplcsim.sourceforge.net/

    (phin bn hin ti l 0.9.2)

    Cc bc thc hin:

    1. t a ch IP ca card mng trn my tnh, v d 192.168.0.101

    2. Cu hnh a ch IP trong Project Step 7. Click p vo phn Hardware trong project Step7, s hin ra ca

    s HW Config.

    joedalton's blog cc th

    Theo di

    https://joedalton89.files.wordpress.com/2014/03/image001.jpghttps://joedalton89.wordpress.com/https://joedalton89.wordpress.com/author/joedalton89/http://nettoplcsim.sourceforge.net/https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/javascript:void(0)

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 2/6

    Chn 1 module Industrial Ethernet ko th vo project, v d bm chn module CP 343-1 6GK7 343-

    1EX00-0XE0 Product Version 1-5, s hin ra bng thuc tnh ca module ny. Ta cn in ng a ch

    IP address v Subnet mask ging nh trn card mng ca my tnh. Sau Save li v ng ca s HW

    Config.

    3. Chy chng trnh NetToPLCSim.exe, nu ln u chy s hin ra thng bo sau

    Bm Yes dng service s7oiehsx ca STEP7. Giao din ca chng trnh s nh sau:

    Follow

    joedalton's blog

    Get every new post delivered

    to your Inbox.

    Enter y our email address

    Sign me up

    Build a website with WordPress.com

    https://joedalton89.files.wordpress.com/2014/03/image002.jpghttps://joedalton89.files.wordpress.com/2014/03/image004.jpghttps://joedalton89.files.wordpress.com/2014/03/image0031.jpghttps://vi.wordpress.com/?ref=lofjavascript:void(0)

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 3/6

    Bm Add, in tn ty chn vo phn Name, cn phn Network IP Address v Plcsim IP Address in

    a ch IP ca my. Sau bm OK.

    4. M chng trnh PLCSIM ln, chn phn giao din kt ni ti s xung l PLCSIM (TCP/IP)

    chng trnh Nettoplcsims7o bm Start all, nu hin trng thi RUNNING th vic kt ni thnh cng.

    5. M chng trnh KEPServerEX 5 Configuration (Start Menu All Programs Kepware

    KEPServerEX 5 KEPServerEX 5 Configuration). Bm vo biu tng to mt project mi. Mt

    thng bo s hin ln, bm Yes, Update tip tc. Bm vo Click to add a channel.

    https://joedalton89.files.wordpress.com/2014/03/image0061.jpghttps://joedalton89.files.wordpress.com/2014/03/image005.jpghttps://joedalton89.files.wordpress.com/2014/03/image007.jpghttps://joedalton89.files.wordpress.com/2014/03/image008.png

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 4/6

    Ti cc ca s tip theo hin ln, in tn Channel name ty , ti phn Device Driver chn Siemens

    TCP/IP Ethernet, phn Network Adapter chn card mng trn my tnh ca mnh, cc ca s sau chn

    mc nh. Sau khi hon tt bm vo Click to add a device. Ca s mi hin ln, in tn Device name ty ,

    phn Device model chn S7-300, ti phn Device ID in a ch IP ca card mng, trong trng hp ny l

    192.168.0.101, cc ca s sau lm theo mc nh. Ch phn CPU Settings tham s Rack (0-7) v CPU

    Slot(1-31) tng ng trong phn HW Config.

    https://joedalton89.files.wordpress.com/2014/03/image010.jpghttps://joedalton89.files.wordpress.com/2014/03/image011.jpghttps://joedalton89.files.wordpress.com/2014/03/image009.jpg

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 5/6

    Ca s chng trnh KEPServerEX-Runtime s hin ln nh sau:

    Vic kt ni coi nh hon tt, by gi ta c th thm cc tag vo.

    Sau khi thm cc tag cn thit, bm lu li. kim tra xem cc tag c hot ng ng khng, bm vo biu

    tng Quick Client trn thanh cng c ca KEPServerEX Runtime.

    https://joedalton89.files.wordpress.com/2014/03/image014.jpghttps://joedalton89.files.wordpress.com/2014/03/image015.jpghttps://joedalton89.files.wordpress.com/2014/03/image013.jpghttps://joedalton89.files.wordpress.com/2014/03/image012.jpg

  • 30/3/2015 Hng dn kt ni PLCSIM vi SCADA bng KEPSeverEX5 v Nettoplcsim | joedalton's blog

    https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/ 6/6

    kim tra 1 tag no y, trc ht cn download chng trnh trong STEP 7 xung PLCSIM, cho PLCSIM

    chy, thay i mt bin no bng PLCSIM ri quan st xem trong ca s OPC Quick Client tag tng ng vi

    bin c thay i gi tr hay khng. V d trong PLCSIM set MD16=20 th trong ca s Quick Client tag

    plcsim.S7.Setpoint c s c Value=20.

    Vic kt ni KEPServerEX vi PLCSIM hon tt, by gi c th m chng trnh SCADA v kt ni vi OPC

    Server ca Kepware.

    joedalton

    Share this:

    Twitter Facebook Google

    This entry was posted in Works. Bookmark the permalink.

    joedalton's blog

    About these ads

    Like

    Be the f irst to like this.

    Related

    Nhng phn mm c bn cho mi my tnh Kho phn mm ngun m Sourceforge Chia s mt s ti liu hay v chuyn ngnh

    iu khin - t ng haIn "PC&Softwares" In "PC&Softwares"

    In "Works"

    The Twenty Ten Theme. Blog at WordPress.com.

    https://joedalton89.wordpress.com/2013/05/15/kho-phan-mem-nguon-mo-sourceforge/https://joedalton89.wordpress.com/category/works/https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/?share=twitter&nb=1http://wordpress.com/about-these-ads/https://wordpress.com/themes/twentyten/https://joedalton89.wordpress.com/2013/12/28/chia-se-mot-so-tai-lieu-hay-ve-chuyen-nganh-dieu-khien-tu-dong-hoa/https://joedalton89.wordpress.com/2013/12/31/nhung-phan-mem-co-ban-cho-moi-may-tinh/https://joedalton89.wordpress.com/https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/?share=google-plus-1&nb=1https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/?share=facebook&nb=1https://joedalton89.wordpress.com/2014/03/08/huong-dan-ket-noi-plcsim-voi-scada-bang-kepseverex5-va-nettoplcsim/https://joedalton89.files.wordpress.com/2014/03/image016.jpghttps://vi.wordpress.com/?ref=footer_blog