Certain third-party OPC tunneller software may attempt to launch a non-interactive VTS.exe as the OPC server instead of connecting to the already-running VTS.exe. The following actions can help you...
Type: Posts; User: aharvie
Certain third-party OPC tunneller software may attempt to launch a non-interactive VTS.exe as the OPC server instead of connecting to the already-running VTS.exe. The following actions can help you...
For users of the Alarm Dialer: If your system includes more than one modem, and those modems are attached to servers located in regions with different area codes, then you need to able to tell the...
All UDP/IP port tags use an internal listener port to receive datagram responses. The is what the Local Port Number defines (it is also used as the transmit port number). VTS will automatically route...
You may know that when you click on a tag in VTS, a trend window (Historical Data Viewer) pops up, showing the values for that tag. If the tag is being logged, you get the full history, otherwise...
The History Statistics tag calculates 7 statistics from a moving snapshot of tag values. Let me explain that moving snapshot first:
Let's say that you have a sensor monitoring a turbidity level....
The VTS/Internet Server is for more than just internet client connections.
You can also use it to browse the internet from inside a page. Just add the following to your page's source code. (The...
The concept of importing and exporting files is new in VTS 10. It enhances the security of your application in two ways: 1) only authorized users may import the changes made to a source file. 2)...
VTS version 10 uses a proprietary database format to store tags. You cannot work directly with the tags in this database (other than through the VTS Tag Browser), but you can export the tags; work...
You can change the appearance and behaviour of an application through the Edit Properties page of the Application Configuration dialog. Here, you will find several hundred properties, controlling...
Several improvements have been made to how security is configured. To begin with, the Manager1 account no longer exists. Now, when you first access the security dialogs, you'll see a prompt asking...
Application Configuration is one of the biggest new features in VTS. You can access the dialog in either of two ways: Click once on an application's name in the VAM to expand it, then click on the...
The next time you add an application, you'll see a new word: "ChangeSet". Here's what that is...
A ChangeSet is a complete record of an application's development. It's one small file that...
The VTS Application Manager (VAM) has been completely re-designed for version 10. It's far more powerful (and attractive) than it ever was before but, if you were used to the look of the old VAM, you...
You can use the BIT function to test whether a given bit is on or off in a value returned from a register on a PLC. Given an Analog Input tag named AI1 that is connected to the register you're...
You could go searching through the Windows(tm) dialogs to find out the name of the workstation that an application is running on, but a quick VTS expression will tell it to you faster:
...
In the Programmer's Guide, you may see more than one way to refer to a tag's value. The simplest is to just use the tag's name followed by "\value". For example: TankLevel\value.
A longer way...
VTS will never write an INVALID to an output tag. Given that fact, you can create a script that will write a 1 or ON to an output when necessary, but never write a 0 or OFF.
For example, if the...
A quick way to check whether a number is odd or even is to look at the remainder after dividing by two. If a 1 is left over, then the number was odd.
You can get the remainder by using the modulus...
You can also use the Max function to select the greater of two or more values:
Max(Tank1\Value, Tank2\Value, Tank3\Value)
This script will the largest of the three tank values.
Note that,...