我如何在Twincat 3中声明或设置自动价值变化的布尔变量
我是Twincat编程的新手。我想在Twinncat 3中设置4个布尔变量,并使用结构化文本在150毫秒后自动更改值。我该怎么做?
I am new to TwinCAT programming. I want to set 4 boolean variables in TwinnCAT 3 and they will change value automatically after 150 milliseconds using structured text. How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只想在执行计时器后一次更改值,则可以这样使用。
定义变量如上
按照以下来写下您的代码;
有关
计时器
的更多信息,请访问在这里If you want to change values just for once after execute the timer, basicly you can use like this;
Define variables as above,
write your code as below;
For more information about
Timers
please visit here