TN Hist210 Extracting data from WW Historian via OPC
Description
How to query data from the Wonderware Historian in real-time via OPC.
- Author: Lewis Talley
- Published: 03/31/2015
- Applies to: Wonderware Historian, FSGateWay
Details
Assumptions
FSGateway is installed on the same machine as the Historian. Version 2014 R2 was used for this quick note, but this functionality is present in many other versions of the Historian as well.
From the SMC add a new SuiteLink object to the FSGateway.
Configure the SuiteLink object to communicate to the real time SuiteLink server that is part of the Historian as shown above.
Add a topic as shown and name it tagname.
Add items you wish to share and make browse able from the OPC Client. You can also import from a CSV if desired.
Activate the FSGateway DAServer.
Configure your OPC Client to connect to the FSGateway. This should populate automatically if things are configured correctly.
Above shows data coming back into the Application Server OPC Client, but any OPC Client that can communicate OPC DA 2.05+ should work.