Task Functions
Description
This function group provides functionality to control and change the tasking and scheduling of the MLC/MLP/XLC system and the user application.
Using the task functions it is possible to hook your task into the real-time task scheduler of the target system. Of course, this makes only sense if your program runs on the same target as the device you are connected to. Using the task functions when connecting via MLPI over ethernet is possible but the timing of the methods is non deterministic. But when running with your application on the target you can make sure, that your task is one of the first tasks to get scheduled, when for example new data has arrived on the sercos bus. To do this you have to increase the task priority of your task using m4MTaskSetCurrentPriority and then you may want to wait for a given system event using m4MTaskWaitForEvent.
More Information
For more information, refer to mlpiCore documentation: TaskLib.
Copyright
Legal notice and version: © 2017 Bosch Rexroth Corporation http://www.boschrexroth.com DC-AE/EAS1 (MGo) Library version: 1.26.2.0.0