I have a question, I read data of the sensors from API by S7 node, and I send this data to a database that I created. What I want to do is that if I add a sensor, I want it to be added without modifying my node or add variable. Is that possible with node S7, or if you have a proposition I would be glad.
Yes of course this is possible I actually do this myself. In the PLC is ladder that buffers sensor data in a FIFO and presents it for collection in one fixed/known memory area that node-red polls. When future sensors are added to the PLC, we simply add a line of ladder to push its value into the the FIFO buffer and the existing framework collects this data.
This is a slightly more descriptive post here...