如何Kepware之间的数据交换与处理装置SQL数据库
1、Prepare SQL DATABASE, in this scenarios, we use SQL server 2008 R2
Enable SQL server security and create a user “sa” with password.
2、Create a database and named as “test1”, create two column as below
3、create ODBC, if you use 64bit system, please open below EXE
“C:\Windows\SysWOW64\odbcad32.exe”
The creation procedure as below
4、configure Kepware EX, we need configure “Channel/device”,” Advanced tag”
5、1 configure Channel/device
Create a simulator device to simulate PLC signal.
“Batch ID” is a tag can get data from SQL table
6、I create an ODBC client channel and device to communication with SQL server.
7、I create a device using “Fixed table”
8、2 configure Advanced Tag.
9、SQL to process device communication Testing result:
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:62
阅读量:75
阅读量:85
阅读量:46
阅读量:49