st-one-io / node-red-contrib-s7

A Node-RED node to interact with Siemens S7 PLCs
GNU General Public License v3.0
108 stars 55 forks source link

Dynamic configuration (address, port) change #126

Open abhronil opened 5 months ago

abhronil commented 5 months ago

Is your feature request related to a problem? Please describe. I prefer encapsulating certain functionalities within discrete blocks, essentially creating a black box. However, in some instances, the S7 control block is contained within this ostensibly self-contained unit. Consequently, the PLC configuration is fixed within this block, necessitating manual intervention to access and modify the configuration parameters.

Describe the solution you'd like Is it possible to include configuration data, such as address and port, in the msg object to dynamically change these parameters

Describe alternatives you've considered The current workaround to the best of my knowledge involves manually accessing the block to modify the configuration or opt for an alternative pre-configured PLC.