Nhãn hiệu của chúng tôi

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

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
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)

Schneider Electric Việt Nam

Phần đính kèm
Test_Animate_Text.vxdz [26.73 KB]
Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings