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

 时间:2026-02-15 20:20:43

1、Prepare SQL DATABASE, in this scenarios, we use SQL server 2008 R2

Enable SQL server security and create a user “sa” with password.

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

2、Create a database and named as “test1”,  create two column as below

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

3、create ODBC, if you use 64bit system, please open below EXE

“C:\Windows\SysWOW64\odbcad32.exe”

The creation procedure as below

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

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

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

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

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

4、configure Kepware EX, we need configure “Channel/device”,” Advanced tag” 

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

5、4.1 configure Channel/device

Create a simulator device to simulate PLC signal.

“Batch ID” is a tag can get data from SQL table

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

6、I create an ODBC client channel and device to communication with SQL server.

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

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

7、I create a device using “Fixed table”

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

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

8、4.2 configure Advanced Tag.

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

9、SQL to process device communication Testing result:

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

  • window7系统注册表查找方法
  • Win10怎样更改库的位置?
  • VM虚拟机安98系统出现VCPU-0错误的应对方法
  • Win 10 “资讯和兴趣”怎样添加自己喜欢的内容
  • Win10下设置开机自动挂载虚拟磁盘VHDX
  • 热门搜索
    祖国在我心中手抄报资料 安全出行我做主手抄报 五四青年节手抄报内容 有关科学的手抄报 健康教育手抄报内容 科技手抄报资料大全 中国梦手抄报设计图 我心中的祖国手抄报 环保手抄报内容50字 迎中秋庆国庆手抄报简单又漂亮