I would like to ask something about how can i change text color an object if alarm state(true/false) released? or selected object number equal to selected object?
Kind Regards,
Last edit: batuhanarslan 2025-03-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Everyone,
I would like to ask something about how can i change text color an object if alarm state(true/false) released? or selected object number equal to selected object?
Kind Regards,
Last edit: batuhanarslan 2025-03-06
Here is the help sections for visual elements rectangle.
https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_elem_rectangle.html
Under "Font Variable" there is "Color" which is a Dword, you can make a variable that changes colour within your code to the color needed.
Note the format for the Dword variable is:
colorVariable := 16#TTRRGGBB
Where:
TT = Transparency 00-FF
RE = Red 00-FF
GG = Green 00-FF
BB = Blue 00-FF
https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_animate_color.html
Last edit: pistola 2025-03-17