Connect to controller
Klaus
✭✭
HI.
scn = New NetworkScanner
robGuid = New System.Guid(RobotSytemGUID)
robot1 = scn.Find(robGuid)
robotController = New Controller(robot1)
robotController.Logon(UserInfo.DefaultUser)
Any idears???
BR Klaus
I have a minor problem with connecting to controller.
If my HMI is opened before the robot is started up it won't connect, but if my HMI has got connection to controller and i reboot th controller it will connect again afted the reboot. Strange??
I use a timer with 2 sek to see
If robotController.Connected = FALSE Then
If robotController.Connected = FALSE Then
scn = New NetworkScanner
robGuid = New System.Guid(RobotSytemGUID)
robot1 = scn.Find(robGuid)
robotController = New Controller(robot1)
robotController.Logon(UserInfo.DefaultUser)
Any idears???
BR Klaus
Best Regards
Klaus Soenderhegn
www.cadalysator.dk
Klaus Soenderhegn
www.cadalysator.dk
0
Comments
-
Does it make any difference if you call scan before you call find?Have you tried the overloaded version of Find that has WaitTime and Retries parameters?Or maybe you could use the NetworkWatcher class to notify you when your controller(s) connect or disconnect?Russell Drown0
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