40151 error in multimove station

Hi, all!

I have 2 IRB6640 on one controller in Robotstudio 5.11.
To send data between taskts I use PERS data like this in 2 tasks:
PERS num nNumberOfRuns:=7;

I get error: 40151, Initial value of PERS not updated.
Is this a robot studio phenomena or will this create problems for me in the real life system.

/Eiven.

Hi
The reason is that you have initial values in booth tasks

Yes, that is what the error message says.
Question is How do I solve this?
What should the line look like?

/eiven

Just initialize the variable in one task

T_ROB1PERS num nNumberOfRuns:=7;
T_ROB2
PERS num nNumberOfRuns;