Cannot Logon to controller from Add-In
I have developed an Add-In to RobotStudio that is trying to set a robot GroupSignal input. Whenever the application tries to set the signal I get the following exception:
The controller has no authenticated user, call Logon( ) to authenticate a user
However in the code where I connect to the controller if I attempt to logon (aController.Logon(UserInfo.DefaultUser)) then I get this exception:
System.InvalidOperationException: The call was blocked by the current host.
I have exactly the same code in a PC SDK application to logon to the robot and it works fine, however I want to talk to Robot I/O and Station Signals within the same application and therefore developed an add-in to do this.
I need to either understand why i cannot logon to a robot or need some help to find a better way to set robot inputs from an Add-In
I have set the access level to the inputs to "ALL" and if I set a DigitalInput then it works fine.
0
Comments
-
FYI: I have tried this as a C# and VB add-in and had the same result when trying to log onto the robot. Thanks0
Categories
- All Categories
- 5.5K RobotStudio
- 395 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