MBoerner

GTDesigner3 GOT 1455 switch object script runs continually

4 posts in this topic

Hello!

I want to execute a script exactly one time when I touch a switch.

I add a switch on my screen, I set on the register "script" a little script to test, I checked  "use object script".

When I start the GOT1455, the script runs all the time, even if I never touched the switch.

Can somebody help me to find the issue? Or give a TODO List to exceute a script only If I touch a switch?

Thanks a lot in advance

MBoerner

script.png

script2.png

script1.png

Share this post


Link to post
Share on other sites
17 hours ago, MBoerner said:

Hello!

I want to execute a script exactly one time when I touch a switch.

I add a switch on my screen, I set on the register "script" a little script to test, I checked  "use object script".

When I start the GOT1455, the script runs all the time, even if I never touched the switch.

Can somebody help me to find the issue? Or give a TODO List to exceute a script only If I touch a switch?

Thanks a lot in advance

MBoerner

script.png

script2.png

script1.png

assign lamp hmi bit to the lamp on/off  that is GB0 & button GB200 ALTERNATE AND COPY SCRIPT AS SHOWN IN PIC

Capture.JPG

Capture2.JPG

Share this post


Link to post
Share on other sites

Thanks a lot, it works!

have a good week-end!

Share this post


Link to post
Share on other sites
Just now, MBoerner said:

Thanks a lot, it works!

have a good week-end!

welcome

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now