在不同的计算机上WinCC跟Microsoft Excel之间如何交换数据?


描述:

在WinCC在线帮助目录中,有一个SIMATIC WinCC和Microsoft Excel之间进行连接的示例。

WinCC V5.1 SP2:
WinCC Information System > Communication > OPC > Examples of OPC DA Coections > WinCC – Microsoft Excel 97 Coection
WinCC V6.0和更高版本:
WinCC INformation System > Communication > OPC > Examples of OPC DA Coections > WinCC – Microsoft Excel 97 Coection
WinCC V6.0 SP2和更高版本:
WinCC Information System > Interfaces > OPC – OLE for Process Control > WinCC-OPC-DA Server> OPC DA Coection Examples > WinCC to Microsoft Excel Coection
WinCC V7.0和更高版本:
WinCC Information System > Interfaces > OPC – Open Coectivity > WinCC-OPC-DA Server > Examples of OPC DA Coections > WinCC – Microsoft Excel Coection

在该示例中提到的SIMATIC WinCC和Microsoft Excel是安装在同一台PC上的。

但是,如果SIMATIC WinCC和Microsoft Excel分别安装在不同的PC上时(因此OPC服务器和OPC客户机在不同的PC上),若要无故障运行,则必须满足下列要求:

需要满足的条件:
两台计算机上(OPC服务器和OPC客户机),防火墙、Windows安全设置和DCOM等必须有充分的权限分配。
导致出错的一个主要原因是没有足够的操作系统级层面的权限分配。
对于Windows XP SP2操作系统,用户需阅读OPC基础注意事项。该内容位于:www.opcfoundation.org > Downloads > White Papers > Using OPC via DCOM with Windows XP Service Pack 2。

注意事项:
在开始组态Excel中的OPC客户机时,先测试OPC服务器功能。例如,可以为此使用WinCC OPC客户机。

另外一种 WinCC和 Excel 通讯的方法是通过 WinCC IndustrialDataBridge选件 。可以不用复杂的编程,做对话框配置就可以通过标准接口是实现数据通讯。更多信息请参阅条目: 21980374.

原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc323490.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2020年11月5日
下一篇 2021年4月12日

相关推荐

发表回复

登录后才能评论