xian555
Member
Hi,
Trying to animate a tank level, for training purposes, based on fill and empty pumps being active or not. In Wonderware writing scripting is simple, such as :
If ( Filling_Pump_ON) Tank_level = Tank_level + 1;
In this case Tank_level is a local integer, not connected to a PLC register and is used to animate a tank level, only in the RSview screen.
But such a simple script is a real grief for an RSview beginner like myself. How to do this ? Macros don't seem to have such functions ? VBA is a little overwhelming and how to setup up such a simple procedure (subroutine?) . . . .?
Thanks,
xian
Trying to animate a tank level, for training purposes, based on fill and empty pumps being active or not. In Wonderware writing scripting is simple, such as :
If ( Filling_Pump_ON) Tank_level = Tank_level + 1;
In this case Tank_level is a local integer, not connected to a PLC register and is used to animate a tank level, only in the RSview screen.
But such a simple script is a real grief for an RSview beginner like myself. How to do this ? Macros don't seem to have such functions ? VBA is a little overwhelming and how to setup up such a simple procedure (subroutine?) . . . .?
Thanks,
xian