Using InTouch to map Indirect tags through Indirect real to IO real

There is no such data type as "Indirect Real". The Indirect tag for use with either an Integer or a Real data type would be an "Indirect Analog" data type.

Use a script to assign your Indirect Analog tag to mimic either a Memory Real or an IO Real tag.

Let's assume that your Indirect Analog tag is named "IA_Tag1".

Then, let's assume that you have an IO Real tag named "Bin_Level".

The following script would cause IA_Tag1 to reflect the value of Bin_Level:

IA_Tag1.name = Bin_Level.name;

IA_Tag1 will now reflect the value of Bin_Level until such time as you execute another script that assigns a different tag to IA_Tag1.
 
And yes...it is advised to use "IA_", "ID_", or "IM_" as beginning part of indirect tagname.
Then you automatically know it is an indirect tag and if it is an Analog, Discrete or Message tag.

However, I rarely do this any more. It is easier to "point" the Indirect script if I just use "I_". I already know by looking at the tagname if it is analog, discrete, or message.
As an example....I have an app where I am looking at 20 vacuum furnaces. The tags for each furnace start with "V1_", V2_", ...etc for each furnace.
So...V1 furnace Control Tc is shown as "V1_ControlTc".

Here is part of the "Data Change" script where I point all the indirects when the operator picks a furnace to monitor.
"FceNumber" analog tag is tracking what Furnace is being monitored.

I_ControlTC.Name = "V"+ Text( FceNumber, "#" ) +"-ControlTC";
 
Last edited:

Similar Topics

Hi guys We're in the process of creating a ME runtime to operate on a PC running windows using a InTouch INDT156 touchscreen, and we're having an...
Replies
3
Views
140
Greeting, I am doing some investigations on which driver(s) support tag based addressing (eg. Pump001_Running) rather than DB or Modbus based...
Replies
4
Views
3,746
I am curious about developing InTouch applications using the IDE (I have yet to use IDE and am unsure of its capabilities besides the Archestra...
Replies
2
Views
6,730
Hi all, I created InTouchViewApp in ArchestrA IDE, just to use ArchestrA symbols. I want to convert this manged application to standalone so it...
Replies
21
Views
20,842
Hi, I've been trying to get the above setup working. I could do so for IOs and i can read and write to them without any issues. However, when...
Replies
1
Views
2,585
Back
Top Bottom