养生 装修 购物 美食 感冒 便秘 营销 加盟 小吃 火锅 管理 创业 搭配 减肥 培训 旅游

如何Kepware之间的数据交换与处理装置SQL数据库

时间:2024-09-22 12:44:56

如何Kepware之间的数据交换与处理装置SQL数据库

工具/原料

KepwareEXV5.X

Driver:ODBCClient,Simulator

Plug-in:AdvancedTag

SQLServer2008R2

方法/步骤

1、PrepareSQLDATABASE,inthisscenario衡痕贤伎s,weuseSQLserver2008R2EnableSQLserv髫潋啜缅ersecurityandcreateauser“sa”withpassword.

如何Kepware之间的数据交换与处理装置SQL数据库

2、Createadatabaseandnamedas“test1”,createtwocolumnasbelow

如何Kepware之间的数据交换与处理装置SQL数据库

3、crea隋茚粟胫teODBC,ifyouuse64bitsystem,pleaseopenbelowEXE“C:\Windows\SysWOW64概嗤先眚\odbcad32.exe”Thecreationprocedureasbelow

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

4、configureKepwareEX,weneedconfigure“Channel/device”,”Advancedtag”

如何Kepware之间的数据交换与处理装置SQL数据库

5、4.1co艘绒庳焰nfigureChannel/deviceCreateasimulatordevicetosimulatePLCsi爿讥旌护gnal.“BatchID”isatagcangetdatafromSQLtable

如何Kepware之间的数据交换与处理装置SQL数据库

6、IcreateanODBCclientchannelanddevicetocommunicationwithSQLserver.

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

7、Icreateadeviceusing“Fixedtable”

如何Kepware之间的数据交换与处理装置SQL数据库

如何Kepware之间的数据交换与处理装置SQL数据库

8、4.2configureAdvancedTag.

如何Kepware之间的数据交换与处理装置SQL数据库

9、SQLtoprocessdevicecommunicationTestingresult:

如何Kepware之间的数据交换与处理装置SQL数据库

© 一点知识