Task to execute at Start
Anyone know how to get the current setting of "Task to execute at Start"?
I can get the "ActiveMechanicalUnit"... but that only relates to the mech unit that will be jogged. I would like to know in my application which task(s) will be executed if the operator presses the start button.
The "Task(s) to execute at start" is selected by the operator... how do I determine the setting from my app?.... or even... How do I set it from my app?
2 robot multimove system RAB 5.08...
On closer inspection this information primarily refers to whether or not the task is executable or not, as ready actually means not executable as is. If everything is OK, you will pretty much be started or stopped.
The short answer is that it does not appear to be publicly exposed functionality, at least the ability to change tasks. I'm guessing that it might be this way because of the potential for unexpected motion to occur without explicit operator intervention.
In 5.09, there will be a new event that you can subscribe to on a per task basis called ExecutionStateChanged, which will notify you when you enter each different state, as described below. Maybe you can use this event to get the information you need.
ReadyThe task has no program pointer or execution context. StoppedThe task has a program pointer and an execution context. StartedThe task is executing. UninitializedThe program server is not initialized. This state only exists during startup.Russell Drown0
Currently the TasksToExecuteAtStart setting is not exposed via the FP SDK.
To READ the setting is in the plan to be included in a future release.Best regards,
ABB Robotics, Sweden0
- 10.4K All Categories
- 5.3K RobotStudio
- 351 UpFeed
- 15 Tutorials
- 9 RobotApps
- 282 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 239 ScreenMaker
- 2.6K Robot Controller
- 251 IRC5
- 36 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 702 RAPID Programming
- 14 Wizard Easy Programming
- 107 Collaborative Robots
- 3 Job listings