patsec / ot-sim

Operational Technology (OT) Simulator
GNU General Public License v3.0
20 stars 5 forks source link

Node-Red "ot-sim out" modules don't affect tag value #8

Open SleepyHIpster opened 1 month ago

SleepyHIpster commented 1 month ago

I'm trying to use Node-Red to modify tag values. When testing, I've found that the 'ot-sim out' nodes don't actually affect the value of tags in the message bus. When using the tags in the same node-red flow, they appear to be changed, but the values do not change for other ot-sim modules.

activeshadow commented 1 month ago

Hi @SleepyHIpster I would need to see a way to reproduce this. We have many examples of the ot-sim out node successfully affecting tag values within other OT-sim modules via the message bus.

SleepyHIpster commented 1 month ago

Specifically, I'm having issues with messages updating across node-RED instances. For example, I'm trying to use one instance to modify input data, and another as an HMI of sorts.

Instance 1: ot-sim in [tag1] --> ot-sim out [tag2]

Instance 2: ot-sim in[tag2] --> debug

When looking at the debug, there are messages coming through, but the value is 0.