IS controler started in VB
Klaus
✭✭
How can i in VB check if a controler is started or not.
Have read the API doc but can't find anything under proberties to ActiveStation.Mechanisms
Best regards Klaus
Best Regards
Klaus Soenderhegn
www.cadalysator.dk
Klaus Soenderhegn
www.cadalysator.dk
0
Comments
-
Hi Klaus
Here comes an example how to check if controller is started.
Sub ControllerStatus()
Dim m As Mechanism
Dim c As ABBS4Controller
On Error Resume Next
Set m = ActiveMechanism
Set c = m.Controller
If c Is Nothing Then
MsgBox "Controller not Started"
Else
MsgBox "Controller Started"
End If
End SubPer Svensson
Company Specialist
ABB Automation Technology Products0 -
Here is another example
Function isTheControllerStarted(irb As Mechanism) As Boolean
Dim c As ABBS4Controller
isTheControllerStarted = False
On Error GoTo errController:
Set c = irb.Controller
isTheControllerStarted = True
Exit Function
errController:
End Function/Martin Lundh
Product manager
ABB Robotics0
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
- 314 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 794 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings