Cov txheej txheem:

Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED: 13 Cov Kauj Ruam
Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED: 13 Cov Kauj Ruam

Video: Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED: 13 Cov Kauj Ruam

Video: Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED: 13 Cov Kauj Ruam
Video: Шокирующая правда о нечеловеческих НЛО: Джон Гриневальд раскрывает все 2024, Kaum ib hlis
Anonim
Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED
Kev koom ua ke Platform Ubidots Nrog LOGO! Siemens Siv Node-RED

ap Rau qee lub lis piam kuv tau ua qee qhov kev sim nrog LOGO! (cov qauv txheej txheem) los ntawm Siemens, ob peb lub hlis kuv tau pom tias lawv siv nws hauv cov ntawv thov kev lag luam yooj yim, txawm hais tias kuv tsis yog tus kheej xav txog nws 100% lub PLC, nws yooj yim ua ke rau hauv kev saib xyuas thiab tswj cov ntawv thov rau cov txheej txheem yooj yim.

Duab
Duab

Kauj ruam 1: LOGO! los ntawm Siemens

Koj tuaj yeem hais tias cov cuab yeej no yog qhov pheej yig tshaj lossis pheej yig "PLC" uas Siemens muaj hauv kuv lub tebchaws muaj tus nqi kwv yees li 200 USD, rau qhov laj thawj yooj yim uas ua Siemens lub npe yog ua ke nrog kev ntseeg siab thiab ua tau zoo rau Domotica cov ntawv thov.

Duab
Duab

Txij li cov lus qhia hauv qab no yog me ntsis ntxiv nws tau muab faib ua 5 ntu uas peb yuav pom tom ntej.

Kauj Ruam 2: 1. IoT Platform Ubidots

Peb tus as khauj ntawm Ubidotsplatform

Tom ntej no peb yuav ua qhov kev xeem zaum kawg ntawm pab pawg no ua tiav kev koom ua ke nrog IoT Industrial Ubidots platform, ua ntej pib kuv pom zoo lwm qhov kev sim thiab nthuav kev sib koom nrog Ubidots.

Duab
Duab

Pom zoo: PDAControl / Ubidots

Lub Vev Xaib: Ubidots.com

Kauj Ruam 3: 2. Rov tshuaj xyuas LOGO! 12/24 RCE Siv 6ED1052-1MD00-0BA8

Qhov no LOGO version! 12/24 RCE 6ED1052-1MD00-0BA8 muaj cov yam ntxwv nthuav, feem ntau yog Ethernet kev sib txuas lus uas nthuav tawm qhov muaj peev xwm ntawm kev sib koom ua ke, muaj zog thiab ntseeg tau kho vajtse.

Duab
Duab

Pom zoo Tutorial: cov yam ntxwv thiab cov ntaub ntawv pov thawj

Kauj Ruam 4: 3. Kev Tsim Kho thiab Kev Tsim Kho LOGO! Nrog LogoSoft

Cov cuab yeej siv no muaj cov software software "LOGOSoft", nws tau tsim los ntawm kev siv cov txheej txheem los yog Cov Txheej Txheem Block Diagram lossis FBD, yav dhau los peb tau tsim ua piv txwv, txhua qhov tso tawm yuav pom qhov hloov xim ntawm lub vijtsam LCD thiab nyeem cov lus sib piv.

Rub tawm qhov piv txwv LogoSoft ntawm qhov kawg ntawm kab lus

Duab
Duab

Cov tswv yim tsim vaj tsev rau kev ua haujlwm thiab teeb tsa

Duab
Duab

Pom zoo Tutorial: Rub tawm LogoSoft Demo version.

pdacontrolen.com/download-and-installation-software-logo-soft- Comfortability-v8-2-siemens-demo/

Lus pom zoo: saib tag nrho cov vis dis aus ntawm qhov kev xeem no kom nkag siab tias nws ua haujlwm li cas: Kev koom ua ke LOGO! Siemens nrog Ubidots Platform IoT.

Node-RED hauv Raspberry Pi 3

Duab
Duab

Ua kom muaj kev koom ua ke ntawm LOGO! thiab Ubidots platform peb yuav siv Raspberry Pi 3 tus qauv B uas peb tau teeb tsa yav dhau los Node-RED.

Duab
Duab

Yuav nws ntawm no: Raspberry Pi 3 Qauv B lossis B+ nrog Case

Duab
Duab

Kauj Ruam 5: 4. Kev sib txuas lus LOGO! thiab Node-RED Los ntawm S7Comm

LOGO! Cov qauv lawv siv S7Comm cov txheej txheem rau kev sib txuas lus nrog cov ntawv thov nyob deb, ua tsaug rau Node-RED tus tsim tawm zej zog, lawv tau tsim S7 nodes rau kev sib txuas lus ethernet siv TSAP.

Duab
Duab

Xav paub ntau ntxiv Cov: node-red-contrib-s7

Duab
Duab

Cov tswv yim tsim vaj tsev: LOGO! Kev koom ua ke thiab Node-RED.

Duab
Duab

Pom zoo Tutorial: LOGO kev koom ua ke! thiab Node-RED dhau S7Comm.

Kauj Ruam 6: 5. Kev Sib Txuas Node-RED thiab Ubidots

Kev sib txuas lus ntawm Node RED thiab Ubidots tau ua tiav siv MQTT raws tu qauv, ua kev sib txuas rau Ubidots Broker, muaj 2 txoj hauv kev los ua cov ntawv sau npe thiab MQTT tshaj tawm

Lus pom zoo: saib tag nrho cov vis dis aus ntawm qhov kev xeem no kom nkag siab tias nws ua haujlwm li cas: Kev koom ua ke LOGO! Siemens nrog Ubidots Platform IoT.

MQTT ntawm Ubidots: pab txhawb lossis ua kom yooj yim rau kev teeb tsa

Duab
Duab

cov ntaub ntawv los ntawm

Basic Node-RED tus kheej MQTT nodes: Lawv xav tau kev txawj ntau ntxiv rau kev teeb tsa

Duab
Duab

cov ntaub ntawv los ntawm

Architecture tau thov kev txuas Node-RED thiab Platform Ubidots

Duab
Duab

Ua tiav cov ntaub ntawv: Kev Sib Txuas Ubidots thiab Node RED

Duab
Duab

help.ubidots.com/articles/1440402-connect-node-red-with-ubidots

Raspberry Pi Zero Wireless 1GHz 512Ram
Raspberry Pi Zero Wireless 1GHz 512Ram

Yuav nws ntawm no: Raspberry Pi Zero Wireless 1GHz 512Ram

Kauj Ruam 7: Video Kawg: Kev koom ua ke LOGO! Siemens Nrog Ubidots Platform

Image
Image

Txhawm rau pab kom nkag siab thiab nthuav dav ntawm daim ntawv thov kuv pom zoo kom ua tiav nrog cov vis dis aus hauv qab no, txhawm rau pab kom cov lus piav qhia, hauv cov vis dis aus no kuv yuav piav qhia ntxaws txog daim ntawv thov tag nrho.

Kauj Ruam 8: Kuaj

Los ntawm Ubidots peb yuav ua tus tswj thiab saib xyuas LOGO! los ntawm Node-RED.

Architecture Siv rau qhov kev xeem no

Duab
Duab

LOGO! Kev sib txuas

Cov kev sib txuas hauv qab no tau ua:

  1. 3-txoj haujlwm xaiv hluav taws xob kom qhib 2 qhov tawm ntawm 24VDC
  2. Potentiometer 10k simulate analog input ntawm 0-10VDC

Kev Siv Hauv Node-RED

Kev sib txuas lus ob tog ntawm LOGO! thiab Ubidots hauv qab no, peb yuav pom qee qhov yuav tsum tau teeb tsa hauv Node-RED, Rub tawm lub node-liab ntshuam piv txwv ntawm qhov kawg ntawm kab lus.

Lus pom zoo: saib tag nrho cov vis dis aus ntawm qhov kev xeem no kom nkag siab tias nws ua haujlwm li cas: Kev koom ua ke LOGO! Siemens nrog Ubidots Platform IoT.

Ua kom tiav cov nodes

Duab
Duab

Configuration LOGO! TSAP kev sib txuas lus ntawm S7Comm.

Duab
Duab

Configuration TSAP LOGO! hauv LogoSoft.

Duab
Duab

Cov npe ntawm qhov hloov pauv ntawm LOGO!

  • 4 digital outputs to Release (Q0, Q1, Q2, Q3).
  • 2 cov tswv yim digital (I3, I4).
  • 1 Analog input (I8 = DB1 INT1118) 0-1000 ntsiab lus, 0-10VDC.
Duab
Duab

Nkag mus nyeem thiab lim los ntawm LOGO! thiab xa mus rau Ubidots, siv JSON Object.

Duab
Duab

Txhua cov ntaub ntawv nyeem (JSON Object).

Duab
Duab

Peb tshem tawm cov txiaj ntsig digital rau kev xa mus rau Ubidots ntawm cov khoom siv digital / analog inputs nkaus xwb.

Duab
Duab

Nyeem los ntawm Ubidots thiab sau hauv 4 Digital outputs (Relay) LOGO!, peb yuav siv qhov yooj yim MQTT ntawm.

Duab
Duab

Kauj Ruam 9: Dashboard Ubidots

Tswj vaj huam sib luag los ntawm Ubidots

Sab saum toj Tswj ntawm 4 Cov Lus Qhia

Duab
Duab

Qhov nruab nrab ib feem pom ntawm kev hloov pauv ntawm 2 cov tswv yim digital thiab tsim LOGO! hauv "Canvas" html, javascript

Duab
Duab

Hauv qab sau cov analog input tus nqi

Duab
Duab

Kauj Ruam 10: Tswj Nrog Cov Txheej Txheem hauv Ubidots

Ubidots tso cai rau koj teeb tsa cov xwm txheej uas tshwm sim los ntawm qhov xwm txheej, hauv qhov no cov xwm txheej hauv qab no tau tsim:

Yog tias ADC> 500 rau ntau dua 1 feeb = qhib (digital output 02) xim Liab LCD

Duab
Duab

Kev tshwm sim nquag

Duab
Duab

Cov ntaub ntawv ntau ntxiv: Cov xwm txheej ceeb toom hauv Ubidots

Duab
Duab

Kauj Ruam 11: Cov lus pom zoo

Feem ntau kuv pom zoo kom pib saib cov lus qhia yav dhau los ntawm LOGO! cov no qhia meej cov kauj ruam hais txog kev teeb tsa.

S7Comm cov nodes yog cov uas tso cai sib koom ua ke, txawm hais tias peb tsis tau tshawb fawb txog lawv li hauv cov ntawv thov uas nyuaj dua, Kuv pom zoo rau kev txiav txim siab hauv kev coj ua nyuaj heev, tom qab ntawd kuv yuav qhia qee qhov ua tau.

Case 1: Kuv txiav txim siab tias ntau lub cuab yeej siv rau ib leeg Raspberry Pi, yuav tsis siv tau muab lub peev xwm RAM thiab ua, hauv qhov Raspberry Pi 3, Kuv vam tias yuav ua qhov kev sim yav tom ntej nrog Tshiab Raspberry Pi 4.

Duab
Duab

Case 2: Cov qauv no muaj zog dua vim nws muaj server lossis PC nrog cov txheej txheem zoo dua thiab ntau lub cim xeeb RAM, tejzaum nws tso cai rau tswj cov cuab yeej ntau dua.

Duab
Duab

Lus ceeb toom: peb tsis tau ua ib qho ntawm cov kev xeem uas tau thov hauv cov xwm txheej dhau los yog li peb tsis paub txog qhov muaj txiaj ntsig thiab kev ua haujlwm ntawm S7Comm nodes nrog ntau LOGO! Cov cuab yeej, peb tsuas yog tshuaj xyuas thiab xav tias muaj peev xwm ua tau.

Kauj Ruam 12: Cov lus xaus

Hauv qhov no kev tswj hwm thiab tshuaj xyuas tau ua tiav, thiab Ubidots txheej xwm txheej txheem tau siv, uas muaj ntau yam ntxwv.

Nov yog qhov kev xeem yooj yim, koj yuav tsum coj mus rau hauv tus lej ntau yam ua ntej yuav siv nws hauv cov ntawv thov tiag tiag, muaj kev nyab xeeb hais txog kev ua haujlwm ntawm cov txiaj ntsig.

LOGO! Kuv txiav txim siab lawv zoo tshaj plaws rau kev thov siv lub tsev hauv tsev thiab kev siv tshuab yooj yim lossis cov txheej txheem tsis yooj yim thiab lawv pheej yig heev.

Qhov kev sim no tau ua los qhib qhov muaj peev xwm ntawm cov cuab yeej kho vajtse thiab IoT platform hauv qhov no Ubidots, uas muaj txiaj ntsig ntau.

Lus pom zoo: saib tag nrho cov vis dis aus ntawm qhov kev xeem no kom nkag siab tias nws ua haujlwm li cas: Kev koom ua ke LOGO! Siemens nrog Ubidots Platform IoT.

Ua tsaug rau Ubidots !!!

Ua tsaug rau Smart-Tech ua ib feem ntawm ST-Ib qhov haujlwm, tus tsim ntawm S7Comm Nodes rau Node RED.

Pom zoo: