omron — Placing an animated tank

Tutorial: Building a Simple Project 8. Double-click the object to open its Object Properties dialog. The tank symbol's properties A tank is an arrangement of different objects and animations (for example a rectangle, a bar graph, etc.), all combined together as a Linked Symbol. You can modify the properties of this symbol by editing the properties list. For this tutorial, you will modify the tag associated with the tank level. 9. For the property TagLevel , delete the existing value and then type Level[Index] . Note that you do not need to reopen the Project Tags datasheet to create tags as you develop the project.

Because you have not previously created the tag Index in the Project Tags database, an alert message asks you if you would like to create it. 10.Click Yes . A New Tag dialog is displayed. 11.Configure the new tag with Array as 0 , Type as Integer , and Scope as Local . Configuring a new tag 12.Click OK to close the New Tag dialog. You can use the tag Index to set the array position of the tag Level , and show the level for any of the three tanks in the same object:

• When Index equals 1 , the tank object shows the level of Tank #1 (i.e., Level[1] ); • When Index equals 2 , the tank object shows the level of Tank #2 (i.e., Level[2] ); and • When Index equals 3 , the tank object shows the level of Tank #3 (i.e., Level[3] ). Page 72