Hi.
I have a memory tag that gets value from a SQL.
I also have a OPC tag that are connect to a tag in a PLC.
It is necessary that the PLC knows what the memory tags value is.
But I don't know have to make these connection between thus to tag.
Hi.
I have a memory tag that gets value from a SQL.
I also have a OPC tag that are connect to a tag in a PLC.
It is necessary that the PLC knows what the memory tags value is.
But I don't know have to make these connection between thus to tag.
You could add a value change script on the 'SQL' tag that writes the value to your OPC tag
Do be sure to use .writeAsync()
, not .writeBlocking()
, in event scripts on tags.