$Minute Script

Ones_Zeros

Member
Join Date
Feb 2014
Location
at work
Posts
367
Hey Guys
I have several scripts to write in Wonderware & I was concerned about the limit of lines in a script. I have been placing them
under in the Data Change Script by using the variable $Minute.
This is a built in variable within Wonderware that runs the script each minute.

My question is this, I know there must be a limit on the number of lines that a script can be.

Is there a better variable to use or how could I configure these scripts to run each minute without using the $Minute variable?

thanks,
 
I use the $Second and $Minute all the time with no problems. If you want to clean up the code put some of your most common script in a Quick function and then just call that every minute.
 
I use the $Second and $Minute all the time with no problems. If you want to clean up the code put some of your most common script in a Quick function and then just call that every minute.

Agree with this. Use quick functions to keep things tidy. I prefix the quick function name with Min_ so i they are super easy to identify
 

Similar Topics

Hello, I am learning to create shapes and VB Scripts in HMIWeb Display Builder. I wanted to change color of my rounded rectangle by script. I...
Replies
0
Views
71
Hello, I have a quick question. I have been using scripts to change the color of buttons. The reason, I am usually using multiple hmiruntime.tags...
Replies
1
Views
81
Hi All, I'm keep getting double quotes in between selections rather than the beginning and the end. Here's the script and please help to find...
Replies
7
Views
772
Dear guys, I am not a programmer but I can do simple things myself. I'm stuck with the following. if I want to extract a value from my rx3i...
Replies
46
Views
4,650
Hi guys, I'm busy on the migration of old 3G/RS232 modems to 4-5G / Ethernet modems on about 200 pumping stations across the country. To...
Replies
0
Views
426
Back
Top Bottom