Data from ROB_1 to ROB_2

Hi everyone!
How to get data from ROB_1 to ROB_2, that it would be able to use data in the task ROB_2. For example, I have an array of data in ROB_1 and I would like to use these data in ROB_2. What should the sample code?

Hi

If it is a multimove system with one controller you just have to declaire the datas in both tasks with the same name and as PERS (persitant).

Best regards

Marcel

Thanks for your quick response.

remeber only to init one off the PERS with values

ROB1

PERS bool Test:=TRUE;

ROB2

PERS bool Test;