Hello. I am new to the world of Node-Red and could use some help setting it up for our facility. From what I have read so far it seems like it should work for this application.
I have approx 40 machines I need to collect various points of data from through out the day. Some Data points include:
Data points are listed under name.
We are using the Productivity Series PLCs from Automation Direct, which has a MQTT function to publish and subscribe to a broker. I have Node-Red running on our data collection server and installed the MySQL Node and the Aedes MQTT Broker.
I uploaded a test I set up to make sure I was connecting to the server and inputting blank data into the SQL database, which did work.
I am looking for some help with setting up the MQTT to the broker and the MQTT in node to the SQL node so it populates the data base.
***Would all the machines communicate to one SQL node or each MQTT node to its own SQL node?
***Do all the flows tabs run simultaneously or just the flow thats pulled up is the one that s running and have to have all machines querying on one flow sheet? Would like to keep things organized for future additions or debugging.
Also will need to be able to pull data from an SQL database and export via MQTT to the machine controllers, but I can look at that after I get the data collection set up unless it makes more sense to do it at the same time. Thanks for the help!!!