kunjuvava
Member
Hai all
I am facing a problem in Wincc. I tried for the ball movement in Wincc. I put a ball in the XY plane of the graphic designer with the position X(100). I need the horizontal movement of the ball. I just want to move the ball to the position X(600). When i script in C action for starting the ball from the X position X(100) it just start from the beginning. I am giving the scripting below.
int a,b;
a=Gettagbit("SW");
b=Gettagword("ball");
if(a==1)
{
b=b+1;
Settagword("ball",b);
}
Please help me....
I am facing a problem in Wincc. I tried for the ball movement in Wincc. I put a ball in the XY plane of the graphic designer with the position X(100). I need the horizontal movement of the ball. I just want to move the ball to the position X(600). When i script in C action for starting the ball from the X position X(100) it just start from the beginning. I am giving the scripting below.
int a,b;
a=Gettagbit("SW");
b=Gettagword("ball");
if(a==1)
{
b=b+1;
Settagword("ball",b);
}
Please help me....