Why don't my Structured Text Timers reset?
Issue
Why don't my Structured Text Timers reset?
Product Line
EcoStruxure Control Expert
Environment
Control Expert v14.1
Resolution
If you are used to high level languages for a computer, some things in PLCs are not immediately obvious. For some developers timers are one of them. In a timer such as the TON procedure the first parameter is a Boolean that controls the timer. If it is True, the timer runs. However, the timer is solved and the clock is reset if the parameter is False. This putting the timer within a conditional will prevent the timer from resetting.
The following code snippet will run to 10 seconds and then continue:
The following will run for 10 seconds and stop:
發佈於: 施耐德電機Taiwan










需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。