Raspberry Pi Node-RED Tutorial with Modbus & MQTT

preview_player
Показать описание
Tutorial showing how to use Node RED to develop an IoT web based application. Communication with WAGO Remote I/O using ModbusTCP and with WAGO PLC using MQTT (Mosquitto).

Mosquitto Install:
sudo apt-get update
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install mosquitto
sudo apt-get install mosquitto-clients

Node-RED Install:
sudo apt-get install npm
hash -r
cd ~/.node-red
npm install node-red-contrib-modbus
npm install node-red-dashboard

Then:
node-red-start
node-red-stop
http://(Pi IP Address:1880)/#

For Autostart:
sudo update-rc.d nodered defaults

WAGO PN's
Remote IO Node:
750-352 Ethernet Coupler
750-602 24VDC supply module
750-1506 8ch DI / 8ch DO 24VDC
750-461 2ch RTD Module
750-600 End Module

PLC Node:
750-8100 PFC100 controller
750-469 TC Module 2ch
750-600 End Module

Other:
787-1602 24VDC Power Supply
8002-025/000-007 USB Charging Station
IO Catalog for more PN's:

Рекомендации по теме
Комментарии
Автор

Took me a bit to understand whats going on here, since I am new to IoT, but now that I get it, WOW. Such and awesome video. Thanks for everything.

RobertBaindourov
Автор

Hi, Kurt. By the content of the title, you receive my like before I watch ... Thanks!

jeffthom
Автор

great video. you are a heck of a communicator.

rbr
Автор

Congrats! your videos are amazing and the speed you explain is excellent! Greetings from Argentina

AugustoBertoni
Автор

Thank you. I hadn't looked at the range node

skookmAF
Автор

Nice... This was really worth watching.

ddvelzen
Автор

Super, i am starting with this, What a possibilities, Thank you.

eriklaken
Автор

You are amazing !!! I'm going to try to replicate this application...but with S7-1500.
I'm going to try to connect to Bluemix..and use its nodered...im a pretty new on nodered...but let's try !!!!
Thanks for your video

NerdAutomacao
Автор

I fine it reallg interesting. Aside from Wago what othere PLC I/Os will it work with Raspberry Pi..?

lyndonjosephrealubit
Автор

Which app are you using to see the chart and buttons in the phone (13:27)? Is just the internet browser /node -red?

hugog
Автор

Thank you did you connect the android phone and raspberry pi directly using a Hotspot or via a router ?

dpdAL
Автор

Hello Kurt and thanks for a really good tutorial!
However I am having trouble using the function you describe to split the payload. No matter what the inputs are they always show as "0". Any hints?

miljume
Автор

Hey Kurt thank you for the helpful videos it is making it really easy to get a Scada system up and running with a 750-8100. I must be missing something though here, I have ModbusTCP enabled in the Wago web based management and all the IP address details are correct with the Modbus Read in Node Red but it doesn't appear that ModbusTCP is active in eCockpit? In this video your RTD value on the ModbusTCP read is immediately available in Node Red but I'm not seeing where you setup the PLC to share those inputs out via ModbusTCP. Please advise! Thanks

needtobuild
Автор

Great information, quick question, would a RPI3 running node red work with a Beckhoff EK1100 using existing nodes? Thanks!

darinschollmeyer
Автор

Hi Kurt, Which one of your videos is it that you reference to watch to set up Modbus TCP on a RPi. Thanks

peterevans
Автор

That looks great! You think this would work with an Arduino (using Modbus) as well?

tonverra
Автор

Is there any chance to get your help with CANopen protocol?I need to do a web based dashboard for CANopen data.

dawidsobaczynski
Автор

hi Kurt Braun, I am trying send data from register PLC ( fx-5u Mitsubishi ) using modbus, I use modbus master in PLC and I use node-red program like you but I can't se the data in node-red. In my modbus scan I see the data, How you make the node-red receive the data from your PLC ( wago )

darmawiss
Автор

Hi Kurt!
Nice tutorial!!
Where can I find the libmqtt_1.0_arm.ipk package for PFC100?

niclaskald
Автор

Dear Kurt,

I have set my plc and remote/io. In node red i can read the pt100 values just like in your example. The only thing is that I get timeout all the time and I cant get the active reading just like you. I just get : active, then: reading done and then:polling (poll time) and last: timeout... and doenst reconnect itself. I need to deploy it once again if I want to see the reading again. How can i make my reading constant without timing out?

Thank you in advance for your time.

Regards,

richymdr