marshg
Electrical
- Sep 15, 2003
- 42
I've had a problem with animating a button in RSView. I have set it up to toggle. During the Up appearance, the button is red and the tag 'N1' is off. During the Down appearance, the button is green and the tag 'N1' is off. The tag 'N1' is supposed to turn on 2 outputs in the PLC and the outputs are sent to 2 tags called 'Out1' and 'Out2'.
I setup a color animation to blink yellow when both 'Out1' and 'Out2' are turned off. I used the expression: NOT Out1 AND NOT Out2. Since I don't have the PLC setup with RSView, the button should blink on and off. This only works when the button is in the Up position ('N1' is off). In the Down position, the button is green.
I've tried to play around with the expression for a couple of hours last night and could not figure it out. Is there a way to do this or do I have to create another object behind the button to do the animation (and possibly have to write a VBA or Macro function)?
Thanks in advance!
I setup a color animation to blink yellow when both 'Out1' and 'Out2' are turned off. I used the expression: NOT Out1 AND NOT Out2. Since I don't have the PLC setup with RSView, the button should blink on and off. This only works when the button is in the Up position ('N1' is off). In the Down position, the button is green.
I've tried to play around with the expression for a couple of hours last night and could not figure it out. Is there a way to do this or do I have to create another object behind the button to do the animation (and possibly have to write a VBA or Macro function)?
Thanks in advance!