我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
Operator Terminal Expert- How to change a text (text, font and background color) using a tag value?

Issue:

How to can we change a text representing the state of a machine based on the value of a variable value?

Product Line:

EcoStruxure Operator Terminal Expert (all versions)

Resolution:

There are many ways to achieve the animation of a text to show the state of a machine based on the value of a status register.

Attached is a small example project Test_Animate_Text.vxdz demonstrating 4 ways of doing it. (Software EcoStruxure Operator Terminal Eexpert v3.3 SP1)

Four methods demonstrated:

1- N-State Lamp object that exist and do just that. It is the easiest method but the object name is misleading.

Insert one N-State Lamp object.

In the Properties, Function - Basic:

Set the Type to Word and State Change Condition to State

Configure the number of States (texts) that are needed. (Note: 4 means states 0 to 3.)

Configure the Variable to the variable for the states.

Under Favorite properties:

For each states, define the Text, the Font Color and the Fill color.

2- Multiple String Display objects and display the right text using the Visibility property:

Insert and configure a String Display object for each state.

Pile them over each other, making sure they have the same size.

Use the Visibility property to make the relevant text visible based on the value of the status register.

For that, the use of Expression Converters that will give a "1" for invisible and a "0" for visible is needed.

Need a converter for each state, the expression will be of the form: [FromData] != (value).

3- One String Display object and modify the text and colors using a script.

Insert and configure one String Display object.

Create a screen script that will modify the String Display properties based on the status register value to set the text, colors, etc.

4- One String Display object and use of Range Converters to change the text and colors.

Insert and configure one String Display object.

Create a Range Converter to modify the text.

Create a Range Converter to modify the text color.

Create a Range Converter to modify the String Display background (fill) color.

Modify to appropriate properties to modify them based on the status register value to which the appropriate converter is applied.

See the project for more details.

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

施耐德電機Taiwan

附件
Test_Animate_Text.vxdz [26.73 KB]
探索更多
系列:
探索更多
系列:
  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 施耐德電機社群
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings