Uploaded September 2016 | Updated September 2026, 2 weeks ago
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
wget repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget repo.mosquitto.org/debian/mosquitto-jessie.list
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
sudo npm install -g npm@2.x
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:
wago.com/infomaterial/pdf/60245884.pdf
Raspberry Pi DIN Rail Mount (Available on Amazon) dinrplate.com
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
wget repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
cd /etc/apt/sources.list.d/
sudo wget repo.mosquitto.org/debian/mosquitto-jessie.list
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
sudo npm install -g npm@2.x
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:
wago.com/infomaterial/pdf/60245884.pdf
Raspberry Pi DIN Rail Mount (Available on Amazon) dinrplate.com










