Incoming MQTT message tags right back out to out going PLC tags

I have incoming Mqtt tags and I need to push them right back out to a PLC.
Its got to be easy to do .But for the life of me I cant figure it out and I cant find info to do it.

Tag change scripts with system.tag or system.opc write calls?

1 Like

If your inbound tags and your outbound tags are arranged with a similar structure, you could use a single gateway tag change script subscribed to all of the mqtt tags. Construct the corresponding tag write from the event’s tagpath property.

1 Like

I was trying to use change script with incorrect tag paths.

Thanks
Guys