node-red-contrib-cip-ethernet-ip icon indicating copy to clipboard operation
node-red-contrib-cip-ethernet-ip copied to clipboard

Add my changes to the code

Open Thomas-Oliv opened this issue 5 years ago • 0 comments

Hi, this is my first time really using github so sorry If I made I mistake during the pull request. Your library for node red is awesome but I felt like the ethernet-in node was lacking in features, specifically towards handshaking between the PLC and the reader/writer. I added another option so that several values can be sent at once at the update of only a single value. When the selected value which I refer to as the flag is changed, all the variables within the configuration node for that node are sent. Rather than those values being in msg.payload, I moved them to msg.values and I kept msg.payload reserved to store the value of the flag, although this could be reversed. Let me know if you guys need anything else from me.

Thanks,

AverageWeeaboo

Thomas-Oliv avatar Mar 11 '20 19:03 Thomas-Oliv