Browse FAQs

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

Published date: 31 May 2019

Issue:
Make a momentary switch with a delay

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.


 

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.