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 ?
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
Hi,Danlars. I’m trying to IPCommands, but the creation of IpcQueue has encountered an exception.The code that causes the exception is “IpcQueue queue = MyController.Ipc.CreateQueue(“RMQ_OtherTask”, 5, Ipc.MaxMessageSize);” Exception is “‘System.ArgumentException’ occurred in ABB.Robotics.Controllers.PC.dll”. Thanks very much.
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.