Memory tags
- Last UpdatedJul 02, 2024
- 1 minute read
Memory tags define internal system constants and variables within InTouch applications. For example, you can define an internal constant as a real number of 3.414. In process simulations, memory tags can control the actions of background QuickScripts by acting as a counter. Based upon the count associated with the tag, the QuickScript can trigger various animation effects. Memory tags can also act as calculated variables that are accessed by other programs.
Select from the four types of memory tags, based upon the process data associated with the tag.
-
Memory Discrete
Memory discrete tags are associated with the state properties of a process component. The values assigned to memory discrete tags are two possible Boolean states such as:
-
0 or 1
-
False or true
-
On or off
-
High or low
-
-
Memory Integer (Analog)
You can assign memory integer tags 32-bit signed-integers between -2,147,483,648 and 2,147,483,647.
-
Memory Real (Analog)
You can assign memory real tags floating decimal point numbers between -3.4 x 1038 and 3.4 x 1038. When two real tags values are compared, the difference of two real tag values should be greater than FLT_EPSILON (value 1.19209290E-07F, in decimal 0.0000001192092896). All floating point calculations are performed with 64-bit resolution, but the results are stored as 32-bit decimal numbers. For more information about the maximum precision of real numbers, see IEEE decimal units.
-
Memory Message
You can assign memory message tags text strings up to 131 single-byte characters in length.