ResultSpec - Resolved [WebWare SDK]
Comments
-
Hello,
Here's an excerpt from the SDK Help. Basically you enter a value from 0 to 3, depending on your needs. If you for instance want to use the S4Backup method, and want to make sure that the backup is actually fully completed before you do something else in your code, you would probably want to use 3 as a ResultSpec value.
______________________________
Anders Dannberg
ABB Automation Technologies
Support EngineerWhen an application method cannot be serviced immediately because it must communicate with the S4 controller, the caller is provided a mechanism to control how the result of the method execution is returned to the calling program. There is a integer parameter called ResultSpec included in these methods that is used to specify how this is done.
The supported result specifications values are as follows:
0 - NO_NOTIFY: The function immediately returns to the caller after the pulse request has been queued and no result is returned to the caller after the function has executed.
1 - NOTIFY_IF_ERROR: The function immediately returns to the caller after the pulse request has been queued and a RequestComplete event is triggered only if the function encounters an error during its execution.
2 - NOTIFY: The function immediately returns to the caller after the pulse request has been queued and a RequestComplete event is triggered after the pulse has been completed.
3 - WAIT: The function does not return control to the caller until the pulse has been completed. This form should be used when the execution order is important. This is ideal when the timing of several methods being called needs to be control e.g. performing a spot weld.
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings