Wonderware InTouch Indirect Tag Addressing

aiki202

Member
Join Date
Aug 2007
Location
Pennsylvania
Posts
178
I am trying to use an indirect tag address in a Data Change script as follows:

Whenever the Number tag value changes the following script executes. The problem is that I am not getting the strTempString to populate the IndirectDevice.Name field. Note that the strTempString is being populated correctly (I verified this).

strTempString = "Device_" + Text(Number, "###" ) + "_Busy";
IndirectDevice.Name = strTempString;
IF IndirectDevice == 1 THEN
{Do something...}
ENDIF;

Any ideas?

Thanks
 
I think that "IndirectDevice" has to be declared as an Indirect Analog.
The other issue I have found that after you get the new tag named ok that it will not have/read the data from you IO device immediatly.
Have had to put the new tag in a script that will do the action once it has new data which could be 1-2seconds later.
 

Similar Topics

Hi friends !! I am a beginner to Intouch. Can anyone please guide me on Indirect Tags. Example. I have 100 motors.For 100 motors I want to...
Replies
2
Views
2,851
i try to set constant value to indirect tag but it is not set i write it in button script : boaz.value=23; (boaz is an indirect real tag name )...
Replies
7
Views
10,154
Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
163
Hola chicos. Tengo un problema con el driver de comucicacion dasabcip 5, y un plc controllogix v34, ya realice la comunicacion pero en ciertos...
Replies
2
Views
172
Hi, I am upgrading a Wonderware SCADA form version 9.5 to version 23. I am able to migrate all the graphic, but when to activate the runtime this...
Replies
8
Views
434
Back
Top Bottom