{}

搜尋常見問題

{"searchBar":{"inputPlaceholder":"使用關鍵字搜尋或提出問題","searchBtn":"搜尋","error":"請輸入搜尋關鍵字"}}

How to make a momentary switch with a delay in Vijeo Designer?

Issue:
The momentary switch resets too quickly for the PLC to detect the state change from ON to OFF.

Product Line:
Vijeo Designer (all versions)

Resolution:
When the native Momentary On switch does not set a bit long enough for your application (possibly due to slower communications), it is possible to create your own Momentary On switch with a desired delay to wait before resetting the bit. Here we will provide a procedure on how to build this in Vijeo Designer.

1) On the Panel, draw a switch.
2) Set the Operation to "Bit"
3) First select the "Set" Operation
4) Assign your desired variable to the "Destination" Field. For this example, we will create BOOL01.
5) Press the "Add" button.
6) Next, set the Operation to "Delay".
7) In the Field "Delay Time", enter a static value or a mathematical expression. For this example, we will enter 2 (seconds).
8) Press the "Add" button.
9) Next, set the Operation to "Bit"
10) Select the "Reset" Operation
11) Assign BOOL01 to the "Destination" Field.

With the above procedure, you will create a Momentary On switch that sets a bit "BOOL01" for 2 seconds and then resets it afterwards


這是否有幫助?

探索更多
探索更多