Matthias von Zorn
Member
I was going to mention the manuals and help files too. For example, they explain indirect tags quite well. Then, try and use them. Use wonderware. If you cant get the indirect tag to work, show us what you have done and we can help you with it.
FYI, indirect tags are useful for areas with repetition. Lets say you have 5 motors. They are all the same, conveyor 1 - 5. You create a control screen with stop and start buttons. Well, instead of making a screen for each, you make 1 screen. Populate it with indirect tags. Then, when the desired motor control is to be displayed, run a script that assigns the actual motor tags to the indirects, and open the screen. Like this
idDiscreteTag.name = MyDiscreteTag.name;
idStartMotor.name = Motor1Start.name;
show "myMotorWindow";
etc
The id tags are the indirects, the others the actual tags.
matt
FYI, indirect tags are useful for areas with repetition. Lets say you have 5 motors. They are all the same, conveyor 1 - 5. You create a control screen with stop and start buttons. Well, instead of making a screen for each, you make 1 screen. Populate it with indirect tags. Then, when the desired motor control is to be displayed, run a script that assigns the actual motor tags to the indirects, and open the screen. Like this
idDiscreteTag.name = MyDiscreteTag.name;
idStartMotor.name = Motor1Start.name;
show "myMotorWindow";
etc
The id tags are the indirects, the others the actual tags.
matt