PC SDK Writing to RAPID data
plux3001
✭
Hello everybody,
I have question abort developing the pc sdk application.I use VB.net,how can i writing to rapid data.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim rapidBool As ABB.Robotics.Controllers.RapidDomain.Bool
Dim rd As ABB.Robotics.Controllers.RapidDomain.RapidData = controller.Rapid.GetRapidData("T_ROB1", "MainModule", "i")
rapidBool.Value = False
Me.master = Mastership.Request(Me.controller.Rapid)
rd.Value = rapidBool
Me.master.Dispose()
'Dim rapidBool As ABB.Robotics.Controllers.RapidDomain.Bool
'
Dim aTool As ToolData
Dim aPos As New Pos()
aPos.FillFromString("[2,3,3]")
aTool.Tframe.Trans = aPos
Using Mastership.Request(controller.Rapid)
rd.Value = aTool
End Using
End Sub
ERROR: Me.master = Mastership.Request(Me.controller.Rapid)
show at vb.net = GenericControllerException was unhandled
what do i do wrong
I have question abort developing the pc sdk application.I use VB.net,how can i writing to rapid data.
HELP ME PLS
my code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim rapidBool As ABB.Robotics.Controllers.RapidDomain.Bool
Dim rd As ABB.Robotics.Controllers.RapidDomain.RapidData = controller.Rapid.GetRapidData("T_ROB1", "MainModule", "i")
rapidBool.Value = False
Me.master = Mastership.Request(Me.controller.Rapid)
rd.Value = rapidBool
Me.master.Dispose()
'Dim rapidBool As ABB.Robotics.Controllers.RapidDomain.Bool
'
Dim aTool As ToolData
Dim aPos As New Pos()
aPos.FillFromString("[2,3,3]")
aTool.Tframe.Trans = aPos
Using Mastership.Request(controller.Rapid)
rd.Value = aTool
End Using
End Sub
ERROR: Me.master = Mastership.Request(Me.controller.Rapid)
show at vb.net = GenericControllerException was unhandled
what do i do wrong
0
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