Obtaining FP cfg mastership in 5.11
jeroen
✭
Hi all,
using (MasterShip m = MasterShip.Request(this.aController.Configuration))
I am using RAB 5.11. It appears that the MasterShip.Request() function (or Mastership small 's') is no longer supported; only Equals() and ReferenceEquals() functions. How do I obtain mastership in my RAB version now?
I'm trying to write an FP app from which some configuration properties can be changed.
Reading configuration properties works fine, using Controller.Configuration.Read. Writing however results in a SYS_CTRL_E_MASTER_REJECT message.
Maybe I'm completely missing the point, but my guess is I need some mastership.
On the forum, I found some code snippets for obtaining mastership, like:
using (MasterShip m = MasterShip.Request(this.aController.Configuration))
I am using RAB 5.11. It appears that the MasterShip.Request() function (or Mastership small 's') is no longer supported; only Equals() and ReferenceEquals() functions. How do I obtain mastership in my RAB version now?
0
Comments
-
Obtaining mastership from the FlexPendant is not supported because the FlexPendant always has mastership in teach mode (unless a remote client has been granted mastership), and modifying parameters is prohibted in automatic mode from the FP. Make sure that you are in teach, program execution is stopped, and motors are off. Mastership requests only apply to PCSDK. There are a few other conditions under which you might get that return code, you might also make sure that your rev. counters are updated, there are no hardware errors, that you have a program pointer, and also try switching from teach to auto and back to teach again.Russell Drown0
-
Also make sure that you have not disabled configuration access for your user through UAS.Russell Drown0
-
Thank you Russell.It seems I missed the point. I tested this and it worked (of course).I guess I'm done for today: I have learned something.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings