Share procedures between tasks

Hello,

Is it possible to use in a task a procedure or function declared in other task?

For example,
I have two motion tasks which control two similar robots.
I would like to have a third task with some common procedures and functions.
Then, I would like to use them in the motion tasks.

Is it possible? Or do I have to declare in both tasks and always pay attention to do the changes in both tasks?

Thanks,
Paulo

In configuration of the controller\automatic loading of modules you can define it as shared and then it will be visible for all tasks.