Cov txheej txheem:

Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv: 3 Cov Kauj Ruam
Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv: 3 Cov Kauj Ruam

Video: Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv: 3 Cov Kauj Ruam

Video: Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv: 3 Cov Kauj Ruam
Video: Modicon M340 Modbus TCP/IP communication With Visual C# 2024, Kaum ib hlis
Anonim
Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv Muaj
Modbus TCP Kev Sib Txuas Ntawm Arduino thiab Cov Khoom Siv Muaj

Ib txoj hauv kev los tswj hwm Arduino board nrog industrial HMI thiab txuas nws mus rau kev lag luam network nrog Modbus TCP kev sib tham.

Kauj Ruam 1: Cov cuab yeej txuas rau Network

Cov cuab yeej txuas rau Network
Cov cuab yeej txuas rau Network

Txhawm rau ua qhov kev ua tau zoo no kuv tau ua lub txee hluav taws xob uas suav nrog PLC S7-1200 thiab HMI KTP700 Basic (SIEMENS) raws li qhia hauv daim duab. Kuv muab koj cov schematic ntawm lub txee no.

Kuv siv Schneider HMI zoo li HMISTU655 nrog ethernet/USB.

Kuv tau dhau los ua Arduino clone board raws li Atmega 1284p (saib ib qho ntawm kuv cov lus qhia).

Kauj Ruam 2: Cov software siv

Kuv siv ntau lub software tab sis tsuas yog 2 ntawm lawv yog dawb xwb. Txhua qhov kev teeb tsa hluav taws xob no kim heev thiab nws yog lub sijhawm zoo kom muaj nws hauv kuv qhov chaw ua haujlwm.

Cov software rau dab tsi:

  • AdvancedHMI (DAWB) los saib xyuas PLC S7-1200 thiab Arduino pawg thawj coj
  • TIA PORTAL V13 (EXPENSIVE) rau program PLC S7-1200 thiab HMI KTP700
  • Grafcet Studio PRO (EXPENSIVE) yog txoj hauv kev rau phiaj xwm PLC S7-1200 nrog SFC cov phiaj xwm. Koj yuav tsum ua haujlwm nrog txoj haujlwm (npaj siv hauv TIA PORTAL) muab los ntawm Grafcet Studio thiab hu ua GRAFCET ENGINE uas yuav tsum rub tawm hauv PLC. Tom qab ntawd Koj tuaj yeem rub tawm daim duab kos los ntawm Grafcet Studion rau hauv PLC ncaj qha.
  • VIjéo Designer 6.2 (EXPENSIVE) los ua haujlwm HMI MAGELIS HMISTU655 (Schneider).
  • Arduino 1.8.x (DAWB) nrog 3 lub tsev qiv ntawv zoo: MightyCore (kom muaj peev xwm siv atmegas 40DIP), av nkos (tswj ModbusTCP nrog ethernet shield) kawg SMlib (kom khiav lub xeev cov tshuab haum rau kev siv tshuab).

Kuv muab 2 cov lus qhia: (ua lus Fab Kis, tsis muaj txhais lus tab sis nws yooj yim to taub, thov txim)

  • Piv txwv S7-1200: qee cov ntaub ntawv siv

    TIA PORTAL V13+S7-1200+AdvancedHMI+Grafcet Studio, TIA PORTAL V13+S7-1200+AdvancedHMI+Grafcet Studio (txoj hauv kev yooj yim dua los tswj nrog modbus tcp)

    TIA PORTAL V13+S7-1200+KTP700 Basic+Grafcet Studio

    TIA PORTAL V13+KTP700 Basic+Arduino Clone Ethernet Shield

    VIJEO DESIGNER+MAGELIS HMISTU655+S7-1200

  • TUTO MAGELIS HMI: yuav siv Vijéo Designer 6.2 thiab tswj Arduino board li cas.

Kuv muab cov ntawv khaws cia: _FILES EXAMPLES.zip, cov ntaub ntawv siv los ua haujlwm.

Kauj Ruam 3: Txhawm Xaus:

Raws li rau kuv, SIEMENS kev daws teeb meem yog qhov nyuaj me ntsis rau qhov program dua li Schneider daws. Tab sis nws tseem tseem kim heev.

Ua tsaug rau txhua qhov kev qhia uas ntseeg tau Kuv tau nyeem los tswj txoj haujlwm no.

Zoo siab qhia.

Pom zoo: