Problem about Ball movement in Wincc

kunjuvava

Member
Join Date
Mar 2012
Location
eranakulam
Posts
5
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....:cry:
 
yes.. I tried that too.. but no use. when i initialize the variable "b" with the value X(100), it doesn't start from that position. first it goes to X(0) and then it moves forward. what is the problem with my script.??
 

Similar Topics

On all pages of my project i have a lot of information, texts and details that should not not be shown. I can remove them for each part apart from...
Replies
0
Views
40
Hi, I have had problem with upgrading some projects from v16 to v18. I tried it on 3 diffrent computers. I want to post this so that anyone that...
Replies
3
Views
165
Hi, I am having a challenge installing a new drive ACS355-03E-44A0-4 as it keeps on displaying Fault code F00018 even when the load is not...
Replies
3
Views
135
I have an issue on my vessel, we have water tight door system created in China, company is no longer operating. We have 7 doors each with their...
Replies
4
Views
142
Hi all. Simple as simple can be, I don't understand what's happening. I'm toggling he OSR on, GX_LUB_PUMP1_LEAD should switch. It doesn't. The...
Replies
27
Views
666
Back
Top Bottom