Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

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

Comments

  • In configuration of the controller\automatic loading of modules you can define it as shared and then it will be visible for all tasks.
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering