I want to change the color of a object when some conditions are true. I would like to know where to actually write the expression for that condition in my visualisation object.
for eg.
if a variable value is greater than say 100 i want the the oject to change its color say red and wen the variable is less than 100 the object changes back to its original color.
looking forward for some reply.
Regards,
Rajat Bansal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to change the color of a object when some conditions are true. I would like to know where to actually write the expression for that condition in my visualisation object.
for eg.
if a variable value is greater than say 100 i want the the oject to change its color say red and wen the variable is less than 100 the object changes back to its original color.
looking forward for some reply.
Regards,
Rajat Bansal
Hi
1) Select a color for normal mode (Page 'Colors') and for 'Alarm' mode.
2) Write your expression in 'Variables' 'Change color'
For example: PLC_PRG.iX1 > 100
Regards,
Igor Petrov
Hi,
Thanks a lot for your reply.
This is exactly what I was looking for.
Regards,
Rajat Bansal