Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 84 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings