Not quite so sure, but how is the task configured? Normal, semi-static or static? Maybe it needs to be normal until you have finished debugging and have solid code.
Is there a reason you are running the task behind a Motion Task?
For your background task it is presumed you have set Task_in_foreground to motion task1.
From the system parameter manual:
Task in Foreground contains the name of the task that should run in the foreground
of this task. This means that the task for which the parameter is set will only execute
if the foreground task is idle.
Try setting the background task’s parameter Task in foreground empty.
The task is has been changed to a normal task for quite a while, but possibly there are some “static” remains from being created as a static. So I could try created a new task from scratch I guess.
No safety flag is attached to this task. I possibly could revert rw, but I’m currently using collision avoidance as a backup and asymmetrical zones to squeeze everything out of the production rate.
Yeah, the task is in the background to Rob_1; but RS seems to make you select one motion task in the foreground if the additional task is of type normal.
I think I might try editing a backup offline and then uploading; that should tell me if the route cause is the controller or RS.
Often times when I need to edit a background task I will work from a fresh backup, to ensure that no data is lost. Then do a restore, so that as far as the controller knows, it was always like that. One thing to be sure of though, if the module is automatically loaded, make sure you overwrite the module in the directory from which it will be loaded with your changed module.
Here’s the CAB_TASKS and MECHANICAL_UNIT_GROUP sections of a SYS.CFG file from a system that has a number background tasks. None of them have a task in foreground.