InduSoft Web Studio - InduSoft Corporation
InduSoft Web Studio - InduSoft Corporation
InduSoft Web Studio - InduSoft Corporation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong><br />
Tutorial training – Revision B – Sep/10/2000<br />
© Copyright <strong>InduSoft</strong> Ltd. 2000<br />
5. Tag Database Configuration<br />
Tags are variables used in screens and task worksheets. Tags can be communication points in the<br />
field equipment, results of calculations, alarm points, and so forth. User-created tags are called<br />
application tags; tags predefined by <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> are called internal tags. You can use<br />
either type of tag with any <strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> module; the only difference is that internal tags<br />
have predetermined functions. Tag values are stored in the Application Database.<br />
Tag syntax rules:<br />
• It can be composed of letters, numbers, and the underscore character (_).<br />
• It must begin with a letter.<br />
• Its maximum length is 32 characters (for a tag), or 16 characters (for a class member).<br />
• The tag name must be different from internal tag names and math functions.<br />
• Tag names are NOT case sensitive.<br />
Examples: Temperature, pressure1, count<br />
<strong>InduSoft</strong> <strong>Web</strong> <strong>Studio</strong> does not differentiate between uppercase and lowercase characters.<br />
However, you can use both uppercase and lowercase characters to make names more clear<br />
(Example: TankLevel instead of tanklevel).<br />
Types of Tags<br />
The value of a tag can be one of the four standard types:<br />
Boolean (4 bytes): Boolean or digital variable (0 or 1).<br />
Integer (4 bytes): Integer number (positive, negative, or zero). Equivalent to the C type long<br />
integer. (with a range of –2147483647 to 2147483647)<br />
Real (floating point, 8 bytes): Real number internally stored as a double word. Equivalent to the<br />
C type double.<br />
String (ASCII, 256 bytes): Character string up to 255 characters (from 0 to 254) that holds<br />
letters, numbers, or special characters.<br />
Examples: Recipe product X123, 01/01/90, *** On ***<br />
All tags are declared in the Application Database module of the Database tab. In addition to the<br />
four types previously listed, you can define new types called classes.<br />
Page 23