From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

按钮绑定OPC变量异常

通过NI OPC连接S7-300PLC,按扭绑定到从OPC创建的布尔型共享变量上,按钮机械动作选择的是保持转换直到释放,实际操作时频繁出现按钮已经松开但是值不复位的情况,搞不懂什么原因

0 项奖励
1 条消息(共 4 条)
2,041 次查看

这是新手常见的问题.  与绑定无关.

一个按钮被程序读了才会复位.

 

George Zou
2 条消息(共 4 条)
1,967 次查看

创建一个不关联OPC的变量并绑定到按钮上操作,按钮不会出现问题,是不是按钮操作和OPC的读写有冲突啊,一个按钮被程序读了才能复位具体到程序上怎么是怎么表现的啊,我就是按钮控件绑定变量,然后操作按钮,按钮控件放的循环里也是一样的

0 项奖励
3 条消息(共 4 条)
1,925 次查看

绑定到一个boolean indicator 上.

 

George Zou
0 项奖励
4 条消息(共 4 条)
1,919 次查看