Indirect tags
- Last UpdatedMay 28, 2025
- 2 minute read
Indirect tags act as "pointers" to other tags. For example, you can create a single InTouch window and use indirect tags to show data from multiple different sets of tags.
The following figure shows an example of an application window that is capable of displaying several pumps. Instead of creating separate windows for each pump, you can use indirect tags in one window to show the values of different source tags associated with individual pumps.
A QuickScript or operator action points the indirect tag to the source tags. For example, the following script statements assign the two PumpRPM tags to an indirect analog tag called IndPumpRPM based on the value of the PumpNo tag.
IF PumpNo == 1 THEN
IndPumpRPM.Name = "PumpRPM1";
ELSE
IndPumpRPM.Name = "PumpRPM2";
ENDIF;
When you equate an indirect tag to another source tag, the indirect tag acts as if it is the source tag. The values associated with the original source and indirect duplicate tags are synchronized together. If the value of the source tag changes, the indirect tag reflects the change. If the indirect tag's value changes, the source tag changes accordingly.
You can use discrete, analog, and message types of indirect tags. These three types of indirect tags are comparable to similar memory and I/O types of tags.
For more information about indirect tags, see Define indirect tags.