Наші бренди

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

Вітаємо на веб-сайті Schneider Electric

Ласкаво просимо на наш веб-сайт.
		
Чим ми можемо вам допомогти сьогодні?
How to change text color based on a BOOL type tag in EcoStruxure Operator Terminal Expert?

Issue:

This FAQ demonstrates how to change the color of text based on the value of a Boolean tag. In this example, a converter of type Range is used to achieve this behavior. While the example focuses on a text box, the same approach can be applied to any text element where color needs to reflect tag status.

Product:

EcoStruxure Operator Terminal Expert v3.x , v4.x (EOTE)

Environment:

HMI Configuration Software in Windows

Resolution:

In this example, the color of the text in a text box changes based on the status of a coil from a PLC.

The following tags were created to represent a contact and a coil from the PLC. These tags are directly linked to the corresponding PLC elements and are read through the Modbus TCP driver:

1

A converter of type Range was created as shown below:

2

The Color property of the text inside the text box is configured to change based on the Coil1 variable, which uses the previously created Converter 1.

3

4

A button was created and assigned the Contact1 tag, allowing it to toggle the PLC contact value.

5

Result:

6

7

Schneider Electric Україна

Досліджуйте більше
Серія:
Досліджуйте більше
Серія:
  • Документація Продукції
  • Завантаження ПЗ
  • Інструмент вибору продукту
  • Заміна та заміщення продукту
  • Контактний центр із надання довідки
  • Знайти наші представництва"
  • Де купити
  • Спільнота Schneider Electric
  • Вакансії
  • Профіль компанії
  • Повідомити про проступок
  • Спеціальні можливості
  • Новини
  • Інвестори
  • EcoStruxure
  • Вакансії Пошук
  • Блог
  • Політика конфіденційності
  • Сповіщення про файли cookie
  • Умови користування
  • Change your cookie settings