OPC Data Logging (ICONICS) to Microsoft SQL Server

preview_player
Показать описание
Simple OPC data logging using ScriptWorX in GENESIS32 or GENESIS64 SCADA into Microoft SQL Server. See vba script below.

####### .VBA Code ###########

Dim v1 As Variant, v2 As Variant
Dim gc(1 To 2) As New OpcHelper


v1 = gc(1).Read("ICONICS.Simulator.1\SimulatePLC.Sine")
v2 = gc(2).Read("ICONICS.Simulator.1\SimulatePLC.Random")


Рекомендации по теме
Комментарии
Автор

When you start Scriptworx service, it will only be active for 2 hours, after which the service stops. Could you tell me the reason? I use sql server 2014 express and Windows 10.

willianalves
visit shbcf.ru