摘要
WinCC已归档的数据按照一定的算法保存在数据库中,用户不能对它任意修改,本文介绍了两种方法来实现对WinCC已归档数据的修改,一是直接编写脚本语言,二是通过第三方软件,设计一个控件,从而间接访问WinCC数据库。关键在于灵活运用ODK,对WinCC功能进行了拓展。实际的运行效果证明,利用上述两种方法都实现了对WinCC数据的插入。
WinCC archived data stored in the database in a certain way, users cannot change it arbitrarily. This paper introduced two kinds of methods to modify the data. One way is write the C-script directly, the other is design an ActiveX controller, and then visit the database indirectly. The key of this paper applied ODK function flexibly, and expanded the function of WinCC. The actual exper- iment proved that, both of the method can reach the aim that changes the data in WinCC.
出处
《微计算机信息》
2012年第5期14-16,共3页
Control & Automation