I use Transaction Groups to move data from the PLC to a MSSQL database, but I would like to grab info from a table using a Name query to grab a single bit of data and then move that to a tag on an Allen Bradley PLC.
If this is possible how would I go about doing this?
I have the named query setup to grab the data. So I know that part works. Im just not sure how to use a PLC tag as a trigger to use that script to send the data over to the PLC.
My example shows a key/value pair to work as a WHERE clause. In this instance WHERE ndx = {ndxTag}.
If you are wanting to use a named query then a transaction group is not what you want to use. That would require a script and a gateway tag change event.