Skip to main content

5.8.3 Setting Symbol Values

There are two ways to set symbol attribute values: manual setting and attribute binding. Manual setting is suitable for defining static appearances and testing linkage effects during editing; once bound, collected live data automatically drives the symbol display.

5.8.3.1 Manual Setting​

Symbols have many attributes, including color, text font, font color, progress, etc. These common attributes can be set directly and manually in the appearance settings. The four attributes of text, progress value, state, and value can also be used for logical judgment in event trigger conditions.

5.8.3.2 Setting via Events​

In event configuration, you can automatically control symbol attributes by selecting the "set symbol attributes" event action. The attributes that can be controlled automatically include: background color, color, text color, text, X, Y, height, width, visibility, progress value, progress color, value, state, rotation, disabled, etc. See 5.8.6 Setting Symbol Events for details on event types and trigger conditions.

5.8.3.3 Attribute Binding​

Besides events, another way is to bind the above attributes to IDMP element attributes. Binding variables enables quick real-time dynamic data display. As shown in the figure below, add an attribute binding to bind the "text" of the symbol to the voltage of the element "em-1". When the element voltage acquisition value changes, the text of the symbol also changes in real time when the data is refreshed.

tip

Before binding variables, it is recommended to manually enter attribute values first and test the desired effects, such as progress bar changes, state changes, and event triggers. After testing achieves the desired effect, bind the attributes to the attributes of an IDMP element. In production operation configurations, the attributes of symbols must be bound to the attributes of elements.