As we discussed in Part 1 of our OPC Router Basic Training series, it is quite common for process industry projects to require logging of industrial process data to a database such as Microsoft SQL. On the other side of the coin, it is also quite common for information such as recipes or other data to be stored in a database such as SQL and to then need to push that data down to process devices.
In Part 2 of the series, we will cover step-by-step how to write stored SQL data to OPC UA and DA servers based on flexible scripted trigger conditions with the OPC Router.Watch this video to see how easy it is to write data from your SQL databases to OPC UA and DA servers using OPC Router.
In this video, using OPC Router's Visual Workflow capability, we've shown you:
- How to configure a conditional Database Trigger
- How to read values from a SQL table on trigger
- How to define a global variable for storing SQL data values
- How to use OPC Router's built-in scripting engine to calculate a time difference on monitored variables from SQL
- How to write a calculated value from a script to an OPC UA or DA server
While this how-to video specifically demonstrates reading from SQL and writing to OPC UA or DA servers, the OPC Router supports many other interfaces and can take any data accessible by the OPC Router and integrate it with other systems.
If you missed Part 1, which covered making the connections to SQL and the OPC server in this training example, you can get caught up here
Don't forget to subscribe to our blog to find out about the latest updates regarding OPC Router and for other how-to videos on using OPC Router. Try OPC Router with your own connectivity and integration projects using the fully-functional free trial.
Lastly check out our upcoming OPC to REST to OPC Virtual Training