Read and Write var without permission
pbe56
✭
Hello,
I have an application in C # that communicates with an ABB robot, I use PC SDK 6.03.
I am looking for a solution to write to a variable (PERS num myVar := 0) in automatic mode and manual mode without asking the user permission (without Mastership.Request).
Is it possible ?
Thank you in advance.
0
Answers
-
In both cases you have to request mastership in your C# application. But only in manual mode, you have to ask for user permission...0
-
You can look into using the IPCommands - where you send a command to a queue and the robot can handle that in a trap rutine to set the variable. This doesn't require mastership - but its more like at message parsing setup. Hence you need to send a command back if you change your value in the robot
You can read more here http://developercenter.robotstudio.com/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/9356e876-116f-4894-964d-0977bc7880a0.htmLars Glud
Danrob A/S0 -
DanLars said:You can look into using the IPCommands - where you send a command to a queue and the robot can handle that in a trap rutine to set the variable. This doesn't require mastership - but its more like at message parsing setup. Hence you need to send a command back if you change your value in the robot
You can read more here http://developercenter.robotstudio.com/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/9356e876-116f-4894-964d-0977bc7880a0.htm0 -
DanLars said:You can look into using the IPCommands - where you send a command to a queue and the robot can handle that in a trap rutine to set the variable. This doesn't require mastership - but its more like at message parsing setup. Hence you need to send a command back if you change your value in the robot
You can read more here http://developercenter.robotstudio.com/Index.aspx?DevCenter=RobotCommunication&OpenDocument&Url=html/9356e876-116f-4894-964d-0977bc7880a0.htm
0 -
pbe56 said:Hello,I have an application in C # that communicates with an ABB robot, I use PC SDK 6.03.I am looking for a solution to write to a variable (PERS num myVar := 0) in automatic mode and manual mode without asking the user permission (without Mastership.Request).Is it possible ?Thank you in advance.
I recently encountered the same problem as you, reading RAPID global var does not need access to mastership permissions, but the need to write variables, and the program at run time to request permission will cause exception.
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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings