Skip to content

Eventfully/nodered-plc-spike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodered-plc-spike

Spike to work with Node-RED and PLC sources and MQTT

Flow Overview

pre-requisites

  • A git client
  • A Siemens PLC
  • Docker 17.03.1-ce or later
  • Docker Compose 1.11.2 or later (Included with Docker for Windows and Docker for Mac, separate install on Linux)

Windows

Install Docker for Windows

Mac

Install Docker for Mac

Others

Other installations, Linux etc.

Running the spike

  1. Start your console
  2. Clone this repository: git clone git@github.com:Eventfully/nodered-plc-spike.git
  3. Change dir to the cloned repo: cd nodered-plc-spike
  4. Run docker-compose to start the services: docker-compose up (it builds the images first time it runs)
  5. Point your browser to port 1880 - http://localhost:1880
  6. Change the IP of your Siemens PLC and probably also the variables/datablocks
  7. Test and have fun!

Mysql

Available on port 3306, user: root, password: password, in the flow, available as hostname db

Mqtt - Mosquitto

Available on port 1883, no credentials, in the flow, available as hostname mqtt A great tool for testing MQTT is MQTT.fx, requires a Java Runtime.

About

Spike to work with Node-RED and PLC sources and MQTT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published